[
  {
    "note": "Spells that activate from hitting, getting hit and intermittence.",
    "type": "SPELL",
    "id": "v_spell_null",
    "name": "null",
    "description": "null... just ignore this.",
    "valid_targets": [ "none" ],
    "flags": [ "SILENT" ],
    "message": "",
    "effect": "target_attack"
  },
  {
    "type": "SPELL",
    "id": "v_hemo_whip_spell_ss_maybe",
    "name": "Sweeping Strike?",
    "description": "1/10 chance to do Sweeping Strike.",
    "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": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_hemo_whip_spell_ss_yes" }
    ]
  },
  {
    "note": "Notify the player about the casted on-hit spell.",
    "type": "SPELL",
    "id": "v_hemo_whip_spell_ss_yes",
    "name": "Sweeping Strike!",
    "description": "Does the Sweeping Strike.",
    "valid_targets": [ "none" ],
    "message": "The leech's whip strikes a wide arc!",
    "effect": "target_attack",
    "flags": [ "SILENT" ],
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [ { "id": "v_hemo_whip_spell_ss" } ]
  },
  {
    "id": "v_hemo_whip_spell_ss",
    "type": "SPELL",
    "name": "Sweeping Strike",
    "description": "Swipes through an arc, dealing 16 cutting damage.",
    "valid_targets": [ "hostile", "ground" ],
    "effect": "cone_attack",
    "flags": [ "SILENT" ],
    "min_damage": 16,
    "max_damage": 16,
    "min_aoe": 100,
    "max_aoe": 100,
    "min_range": 1,
    "max_range": 1,
    "damage_type": "cut"
  },
  {
    "id": "v_hemo_whip_spell_d_maybe",
    "type": "SPELL",
    "name": "Drain?",
    "description": "1/5 chance to do Drain.",
    "valid_targets": [ "none" ],
    "effect": "target_attack",
    "extra_effects": [
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_hemo_whip_spell_d_yes" }
    ],
    "min_damage": 1,
    "max_damage": 1,
    "flags": [ "SILENT", "WONDER" ]
  },
  {
    "type": "SPELL",
    "id": "v_hemo_whip_spell_d_yes",
    "name": "Drain!",
    "description": "Does the Drain Damage and Drain Heal.",
    "valid_targets": [ "none" ],
    "message": "The leech's whip absorbs the life force from a nearby creature!",
    "effect": "target_attack",
    "flags": [ "SILENT" ],
    "extra_effects": [ { "id": "v_hemo_whip_spell_d_dmg" }, { "id": "v_hemo_whip_spell_d_heal", "hit_self": true } ]
  },
  {
    "id": "v_hemo_whip_spell_d_dmg",
    "type": "SPELL",
    "name": "Drain Damage",
    "description": "Deals 2 hp.",
    "valid_targets": [ "hostile" ],
    "effect": "target_attack",
    "min_damage": 2,
    "max_damage": 2,
    "min_range": 1,
    "max_range": 1,
    "flags": [ "SILENT" ],
    "damage_type": "none"
  },
  {
    "id": "v_hemo_whip_spell_d_heal",
    "type": "SPELL",
    "name": "Drain Heal",
    "description": "Heals 1 hp.",
    "valid_targets": [ "self" ],
    "effect": "target_attack",
    "min_damage": -1,
    "flags": [ "SILENT" ],
    "max_damage": -1,
    "damage_type": "none"
  },
  {
    "id": "v_hemo_crimsoncoat_coat_pr_maybe",
    "type": "SPELL",
    "name": "Piercing Retaliation?",
    "description": "3/4 chance to do Piercing Retaliation.",
    "valid_targets": [ "none" ],
    "effect": "target_attack",
    "extra_effects": [
      { "id": "v_spell_null" },
      { "id": "v_hemo_crimsoncoat_coat_pr_yes" },
      { "id": "v_hemo_crimsoncoat_coat_pr_yes" },
      { "id": "v_hemo_crimsoncoat_coat_pr_yes" }
    ],
    "min_damage": 1,
    "max_damage": 1,
    "flags": [ "SILENT", "WONDER" ]
  },
  {
    "type": "SPELL",
    "id": "v_hemo_crimsoncoat_coat_pr_yes",
    "name": "Piercing Retaliation!",
    "description": "Does the Piercing Retaliation.",
    "valid_targets": [ "none" ],
    "message": "The crimson coat retaliates to the attack!",
    "effect": "target_attack",
    "flags": [ "SILENT" ],
    "extra_effects": [ { "id": "v_hemo_crimsoncoat_coat_pr" } ]
  },
  {
    "id": "v_hemo_crimsoncoat_coat_pr",
    "type": "SPELL",
    "name": "Piercing Retaliation",
    "description": "Deals 12 stab damage and stuns for 1-3 turns.",
    "valid_targets": [ "hostile" ],
    "flags": [ "SILENT", "RANDOM_DURATION" ],
    "effect": "target_attack",
    "effect_str": "stunned",
    "min_damage": 12,
    "max_damage": 12,
    "min_range": 2,
    "max_range": 2,
    "min_duration": 100,
    "max_duration": 300,
    "damage_type": "stab"
  },
  {
    "id": "v_hemo_orusform_bloodling",
    "type": "SPELL",
    "name": "Orus: Rise! Bloodling!",
    "description": "Summons a bloodling at a random blood field in range.",
    "valid_targets": [ "fd_blood" ],
    "effect": "summon",
    "effect_str": "mon_orus_bloodling",
    "spell_class": "VAMP_BLOOD_spellcaster",
    "min_damage": 1,
    "max_damage": 1,
    "min_aoe": 2,
    "max_aoe": 2,
    "min_range": 10,
    "max_range": 10,
    "min_duration": 10000,
    "max_duration": 30000,
    "flags": [ "RANDOM_DURATION", "RANDOM_TARGET" ]
  },
  {
    "type": "SPELL",
    "id": "v_war_etherealenchant_ss_maybe",
    "name": "Summon Silhouette?",
    "description": "1/20 chance to do Summon Silhouette.",
    "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": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_war_etherealenchant_ss_yes" }
    ]
  },
  {
    "type": "SPELL",
    "id": "v_war_etherealenchant_ss_yes",
    "name": "Summon Silhouette!",
    "description": "Does the Summon Silhouette.",
    "valid_targets": [ "none" ],
    "message": "An etherean silhouette emerges from your weapon!",
    "effect": "target_attack",
    "flags": [ "SILENT" ],
    "min_damage": 1,
    "max_damage": 1,
    "extra_effects": [ { "id": "v_war_etherealenchant_ss", "hit_self": true } ]
  },
  {
    "id": "v_war_etherealenchant_ss",
    "type": "SPELL",
    "name": "Summon Silhouette",
    "description": "Summons an etherean silhouette.",
    "valid_targets": [ "self", "ground" ],
    "effect": "summon",
    "effect_str": "mon_ether_shadow",
    "flags": [ "SILENT", "RANDOM_DURATION" ],
    "min_damage": 1,
    "max_damage": 1,
    "min_aoe": 2,
    "max_aoe": 2,
    "min_duration": 1500,
    "max_duration": 2500
  }
]