[
  {
    "note": "Spells that activate from hitting, getting hit and intermittence.",
    "type": "SPELL",
    "id": "v_spell_null",
    "name": { "str": "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": { "str": "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": { "str": "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": { "str": "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": { "str": "Drain?" },
    "description": "100% chance to do Drain.",
    "valid_targets": [ "none" ],
    "effect": "target_attack",
    "extra_effects": [
      { "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": { "str": "Drain!" },
    "description": "Call the Drain Damage and Drain Heal spells.",
    "valid_targets": [ "none" ],
    "message": "The blood sword absorbs the life force of 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": { "str": "Drain Damage" },
    "description": "Deals 5 damage.",
    "valid_targets": [ "hostile" ],
    "effect": "target_attack",
    "min_damage": 5,
    "max_damage": 5,
    "min_range": 1,
    "max_range": 1,
    "flags": [ "SILENT" ],
    "damage_type": "none"
  },
  {
    "id": "v_hemo_whip_spell_d_heal",
    "type": "SPELL",
    "name": { "str": "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": { "str": "Piercing Retaliation?" },
    "description": "75% chance to retaliate with a blood tentacle when hit.",
    "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": { "str": "Piercing Retaliation!" },
    "description": "Calls the Piercing Retaliation spell with Crimson Coat message.",
    "valid_targets": [ "none" ],
    "message": "The crimson coat retaliates against your attacker with a blood tentacle!",
    "effect": "target_attack",
    "flags": [ "SILENT" ],
    "extra_effects": [ { "id": "v_hemo_crimsoncoat_coat_pr" } ]
  },
  {
    "id": "v_hemo_crimsoncoat_coat_pr",
    "type": "SPELL",
    "name": { "str": "Piercing Retaliation" },
    "description": "Deals 15 stab damage and stuns for 1-3 turns.",
    "valid_targets": [ "hostile" ],
    "flags": [ "SILENT", "RANDOM_DURATION" ],
    "effect": "target_attack",
    "effect_str": "stunned",
    "min_damage": 15,
    "max_damage": 15,
    "min_range": 2,
    "max_range": 2,
    "min_duration": 100,
    "max_duration": 300,
    "damage_type": "stab"
  },
  {
    "id": "v_hemo_orusform_bloodling_strike_maybe",
    "type": "SPELL",
    "name": { "str": "Spawn Bloodling on Attack Dice Roll!" },
    "description": "20% chance to do create a bloodling when attacking. 5% chance to do create a greater bloodling when attacking.",
    "valid_targets": [ "none" ],
    "effect": "target_attack",
    "extra_effects": [
      { "id": "v_hemo_orusform_bloodling_strike" },
      { "id": "v_hemo_orusform_bloodling_strike" },
      { "id": "v_hemo_orusform_bloodling_strike" },
      { "id": "v_hemo_orusform_bloodling_strike" },
      { "id": "v_hemo_orusform_bloodling_strike_greater" },
      { "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" }
    ],
    "min_damage": 1,
    "max_damage": 1,
    "flags": [ "SILENT", "WONDER" ]
  },
  {
    "id": "v_hemo_orusform_bloodling_strike",
    "type": "SPELL",
    "name": { "str": "Spawn Bloodling!" },
    "description": "Transform a portion of the target into a bloodling.",
    "valid_targets": [ "self" ],
    "effect": "summon",
    "effect_str": "mon_orus_bloodling",
    "spell_class": "VAMP_BLOOD_spellcaster",
    "min_damage": 1,
    "max_damage": 1,
    "min_aoe": 3,
    "max_aoe": 3,
    "min_duration": 10000,
    "max_duration": 30000,
    "flags": [ "RANDOM_DURATION" ]
  },
  {
    "id": "v_hemo_orusform_bloodling_strike_greater",
    "type": "SPELL",
    "name": { "str": "Spawn Greater Bloodling!" },
    "description": "Transform a portion of the target into a greater bloodling.",
    "valid_targets": [ "self" ],
    "effect": "summon",
    "effect_str": "mon_orus_bloodling)greater",
    "spell_class": "VAMP_BLOOD_spellcaster",
    "min_damage": 1,
    "max_damage": 1,
    "min_aoe": 3,
    "max_aoe": 3,
    "min_duration": 10000,
    "max_duration": 30000,
    "flags": [ "RANDOM_DURATION" ]
  },
  {
    "id": "v_hemo_orusform_bloodling_impact_maybe",
    "type": "SPELL",
    "name": { "str": "Spawn Bloodling or Retaliate when Hit Dice Roll!" },
    "description": "10% chance to do create a bloodling when hit. 40% chance to retaliate with blood tentacles when hit.",
    "valid_targets": [ "none" ],
    "effect": "target_attack",
    "extra_effects": [
      { "id": "v_hemo_orusform_bloodling_impact" },
      { "id": "v_hemo_orusform_pr_impact" },
      { "id": "v_hemo_orusform_pr_impact" },
      { "id": "v_hemo_orusform_pr_impact" },
      { "id": "v_hemo_orusform_pr_impact" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" },
      { "id": "v_spell_null" }
    ],
    "min_damage": 1,
    "max_damage": 1,
    "flags": [ "SILENT", "WONDER" ]
  },
  {
    "id": "v_hemo_orusform_bloodling_impact",
    "type": "SPELL",
    "name": { "str": "Spawn Bloodling!" },
    "description": "Transforms the blood lost from being attacked into a bloodling.",
    "valid_targets": [ "self" ],
    "effect": "summon",
    "effect_str": "mon_orus_bloodling",
    "spell_class": "VAMP_BLOOD_spellcaster",
    "min_damage": 1,
    "max_damage": 1,
    "min_aoe": 3,
    "max_aoe": 3,
    "min_duration": 10000,
    "max_duration": 30000,
    "flags": [ "RANDOM_DURATION" ]
  },
  {
    "type": "SPELL",
    "id": "v_hemo_orusform_pr_impact",
    "name": { "str": "Piercing Retaliation!" },
    "description": "Calls the Piercing Retaliation spell with Blood Ascended message.",
    "valid_targets": [ "none" ],
    "message": "You retaliate against your attacker with a blood tentacle!",
    "effect": "target_attack",
    "flags": [ "SILENT" ],
    "extra_effects": [ { "id": "v_hemo_crimsoncoat_coat_pr" } ]
  },
  {
    "id": "v_hemo_orusform_bloodling",
    "type": "SPELL",
    "name": { "str": "Spawn Bloodling!" },
    "description": "Transform a random pool of blood into a bloodling.",
    "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": { "str": "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": { "str": "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": { "str": "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
  }
]