[
  {
    "note": "Any spell that are casted indirectly are taken here.",
    "id": "t1_blood_transfusion_spell",
    "type": "SPELL",
    "name": { "str": "Tranfusion Spell" },
    "message": "You feel refreshed as you cast!",
    "description": "It will cast Transfusion Damage and Transfusion Heal.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "ally", "hostile" ],
    "effect": "target_attack",
    "extra_effects": [ { "id": "t1_blood_transfusion_spell_heal", "hit_self": true }, { "id": "t1_blood_transfusion_spell_dmg" } ],
    "min_range": 10,
    "max_range": 10
  },
  {
    "id": "t1_blood_transfusion_spell_heal",
    "type": "SPELL",
    "name": { "str": "Tranfusion Heal" },
    "description": "Heals the caster with 1 hp.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "self" ],
    "effect": "target_attack",
    "min_damage": -1,
    "max_damage": -1,
    "damage_type": "none"
  },
  {
    "id": "t1_blood_transfusion_spell_dmg",
    "type": "SPELL",
    "name": { "str": "Tranfusion Damage" },
    "description": "Damages the target with 2 hp.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "ally", "hostile" ],
    "effect": "target_attack",
    "min_damage": 2,
    "max_damage": 2,
    "min_range": 10,
    "max_range": 10,
    "damage_type": "none"
  },
  {
    "id": "t3_blood_crimsonhaze_blind",
    "type": "SPELL",
    "name": { "str": "Crimson Haze Blind" },
    "description": "Blind foes within a 4 tile radius.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "hostile", "ally", "ground" ],
    "effect": "projectile_attack",
    "effect_str": "blind",
    "min_aoe": 4,
    "max_aoe": 4,
    "min_duration": 700,
    "max_duration": 700,
    "damage_type": "bio"
  },
  {
    "id": "t5_blood_outrage_bash",
    "type": "SPELL",
    "name": { "str": "Outrage Bash" },
    "description": "Deals 25 bash damage.",
    "message": "A thick tentacle strikes!",
    "flags": [ "SILENT", "RANDOM_TARGET" ],
    "valid_targets": [ "hostile" ],
    "effect": "target_attack",
    "base_energy_cost": 3,
    "energy_source": "HP",
    "min_damage": 25,
    "max_damage": 25,
    "min_range": 12,
    "max_range": 12,
    "damage_type": "bash"
  },
  {
    "id": "t5_blood_outrage_cut",
    "type": "SPELL",
    "name": { "str": "Outrage Cut" },
    "description": "Deals 25 cut damage.",
    "message": "A tentacle strand slashes!",
    "flags": [ "SILENT", "RANDOM_TARGET" ],
    "valid_targets": [ "hostile" ],
    "effect": "target_attack",
    "base_energy_cost": 3,
    "energy_source": "HP",
    "min_damage": 25,
    "max_damage": 25,
    "min_range": 12,
    "max_range": 12,
    "damage_type": "cut"
  },
  {
    "id": "t5_blood_outrage_stab",
    "type": "SPELL",
    "name": { "str": "Outrage Stab" },
    "description": "Deals 25 stab damage.",
    "message": "A long tendril impales!",
    "flags": [ "SILENT", "RANDOM_TARGET" ],
    "valid_targets": [ "hostile" ],
    "effect": "target_attack",
    "base_energy_cost": 3,
    "energy_source": "HP",
    "min_damage": 25,
    "max_damage": 25,
    "min_range": 12,
    "max_range": 12,
    "damage_type": "stab"
  },
  {
    "id": "t5_blood_outrage_drain",
    "type": "SPELL",
    "name": { "str": "Outrage Drain" },
    "message": "You steal their life force!",
    "description": "It will cast Drain Damage and Drain Heal.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "ally", "hostile", "ground" ],
    "effect": "target_attack",
    "extra_effects": [ { "id": "t5_blood_outrage_drain_heal", "hit_self": true }, { "id": "t5_blood_outrage_drain_dmg" } ],
    "min_range": 12,
    "max_range": 12
  },
  {
    "id": "t5_blood_outrage_drain_heal",
    "type": "SPELL",
    "name": { "str": "Drain Heal" },
    "description": "Heals the caster with 5 hp.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "self" ],
    "effect": "target_attack",
    "min_damage": -5,
    "max_damage": -5,
    "damage_type": "none"
  },
  {
    "id": "t5_blood_outrage_drain_dmg",
    "type": "SPELL",
    "name": { "str": "Drain Damage" },
    "description": "Damages the target with 10 hp.",
    "flags": [ "SILENT", "RANDOM_TARGET" ],
    "valid_targets": [ "hostile" ],
    "effect": "target_attack",
    "min_damage": 10,
    "max_damage": 10,
    "min_range": 12,
    "max_range": 12,
    "damage_type": "none"
  },
  {
    "id": "t4_mana_darkburst_push",
    "type": "SPELL",
    "name": { "str": "Dark Burst Push" },
    "description": "Push monsters within a 4 tile radius.",
    "effect": "area_push",
    "effect_filter": [ "hostile" ],
    "flags": [ "SILENT" ],
    "valid_targets": [ "self", "ally", "hostile", "ground" ],
    "min_aoe": 3,
    "max_aoe": 3
  },
  {
    "type": "SPELL",
    "id": "t5_mana_megamagic_exhaust_maybe",
    "name": { "str": "Megamagic Exhaust?" },
    "description": "1/4 chance to do Megamagic Exhaust.",
    "valid_targets": [ "none" ],
    "message": "",
    "effect": "target_attack",
    "flags": [ "WONDER", "SILENT" ],
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "t5_mana_megamagic_exhaust_yes" }
    ]
  },
  {
    "type": "SPELL",
    "id": "t5_mana_megamagic_exhaust_yes",
    "name": { "str": "Megamagic Exhaust!" },
    "description": "Does the Megamagic Exhaust.",
    "valid_targets": [ "none" ],
    "message": "",
    "effect": "target_attack",
    "flags": [ "WONDER", "SILENT" ],
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [ { "id": "t5_mana_megamagic_exhaust" } ]
  },
  {
    "id": "t5_mana_megamagic_exhaust",
    "type": "SPELL",
    "name": { "str": "Megamagic Exhaust" },
    "description": "Weakens the player.",
    "flags": [ "SILENT" ],
    "valid_targets": [ "self" ],
    "effect": "target_attack",
    "effect_str": "v_spell_megamagic_exhaust",
    "extra_effects": [ { "id": "t5_mana_megamagic_exhaust_stam" } ],
    "min_duration": 1200,
    "max_duration": 1200,
    "damage_type": "bio"
  },
  {
    "id": "t5_mana_megamagic_exhaust_stam",
    "type": "SPELL",
    "name": { "str": "Exhaustion" },
    "description": "Depletes the stamina.",
    "valid_targets": [ "self" ],
    "flags": [ "SILENT" ],
    "min_damage": -10000,
    "max_damage": -10000,
    "effect": "recover_energy",
    "effect_str": "STAMINA"
  },
  {
    "id": "t6_mana_darkpillar_bash",
    "type": "SPELL",
    "name": { "str": "Dark Pillar Bash" },
    "description": "Aims to make a crater under the target. If not, then don't.",
    "valid_targets": [ "hostile" ],
    "flags": [ "SILENT" ],
    "min_damage": 10000,
    "max_damage": 10000,
    "effect": "bash"
  }
]