[
  {
    "type": "enchantment",
    "id": "SHAMAN",
    "condition": "ALWAYS",
    "name": { "str": "Spirits" },
    "description": "Your Shaman abilities double your natural mana regeneration.",
    "values": [ { "value": "REGEN_MANA", "multiply": 1 } ]
  },
  {
    "id": "mind_read",
    "type": "SPELL",
    "name": "Mind Reading",
    "description": "You can predict some movements of your enemies (just slowdown in fact).  If you are seeing this spell, you have debugged it in.",
    "valid_targets": [ "hostile" ],
    "flags": [ "SILENT", "NO_PROJECTILE", "NO_EXPLOSION_SFX" ],
    "effect": "attack",
    "shape": "blast",
    "effect_str": "mind_reading",
    "min_damage": 0,
    "max_damage": 0,
    "min_duration": 500,
    "max_duration": 500,
    "min_aoe": 7,
    "max_aoe": 7
  },
  {
    "type": "enchantment",
    "id": "SHAMAN_MIND_READING",
    "condition": "ALWAYS",
    "name": { "str": "Mind Reading" },
    "description": "Your mind reading abilities improve your social skill, and make your fights much easier.",
    "values": [
      { "value": "SOCIAL_INTIMIDATE", "add": 20 },
      { "value": "SOCIAL_LIE", "add": 20 },
      { "value": "SOCIAL_PERSUADE", "add": 20 }
    ],
    "intermittent_activation": { "effects": [ { "frequency": "5 seconds", "spell_effects": [ { "id": "mind_read" } ] } ] }
  },
  {
    "type": "effect_on_condition",
    "id": "EOC_GIVE_MIND_READ",
    "recurrence": [ "60 s", "60 s" ],
    "condition": {
      "and": [
        { "u_has_trait": "SHAMAN" },
        {
          "not": { "u_has_var": "u_got_shaman_attunement", "type": "attunement", "context": "attunement", "value": "yes" }
        }
      ]
    },
    "deactivate_condition": { "not": { "u_has_trait": "SHAMAN" } },
    "effect": [
      { "u_add_trait": "MIND_READ_OFF" },
      { "u_add_var": "u_got_shaman_attunement", "type": "attunement", "context": "attunement", "value": "yes" }
    ]
  },
  {
    "type": "mutation",
    "id": "MIND_READ_OFF",
    "starting_trait": false,
    "purifiable": false,
    "valid": false,
    "name": { "str": "Mind Reading" },
    "points": 0,
    "active": true,
    "description": "You can feel the living energy of creatures around you, which allows you to predict their movements or words.  You suppress it now.",
    "transform": { "target": "MIND_READ_ON", "msg_transform": "Living creatures around you are crushed!", "active": true, "moves": 10 }
  },
  {
    "type": "mutation",
    "id": "MIND_READ_ON",
    "starting_trait": false,
    "purifiable": false,
    "valid": false,
    "active": true,
    "name": { "str": "Mind Reading (on)" },
    "points": 0,
    "description": "You can feel the living energy of creatures around you, which allows you to predict their movements or words.",
    "enchantments": [ "SHAMAN_MIND_READING" ],
    "transform": { "target": "MIND_READ_OFF", "msg_transform": "You suppress your mind abilities.", "active": false, "moves": 10 }
  }
]
