From 911c4fcfb8243d1c9d837850ea1c17b673bf98ac Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 24 Jan 2022 21:16:47 -0800 Subject: Port back a number of fixes and cleanups from my attempt to port the mod to DDA. --- vamp_stuff/Modification_Files/Spells/v_spell.json | 43 ++++++++++++++++++++++ .../Modification_Files/Spells/v_spell_combo.json | 2 +- .../Modification_Files/Spells/v_spell_effects.json | 2 +- .../Spells/v_spell_hit_time.json | 4 +- .../Spells/v_spell_monspell.json | 2 +- 5 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 vamp_stuff/Modification_Files/Spells/v_spell.json (limited to 'vamp_stuff/Modification_Files/Spells') diff --git a/vamp_stuff/Modification_Files/Spells/v_spell.json b/vamp_stuff/Modification_Files/Spells/v_spell.json new file mode 100644 index 0000000..f23faf8 --- /dev/null +++ b/vamp_stuff/Modification_Files/Spells/v_spell.json @@ -0,0 +1,43 @@ +[ + { + "id": "t0_vampire_bite", + "type": "SPELL", + "name": { "str": "Vampire Bite" }, + "message": "You bite and drink their blood!", + "sound_description": "slurp!", + "description": "Bite the target and drink their blood.", + "difficulty": 1, + "max_level": 10, + "energy_source": "STAMINA", + "base_energy_cost": 5000, + "effect": "target_attack", + "extra_effects": [ { "id": "t0_vampire_bite_spell_blood" } ], + "valid_targets": [ "ally", "hostile" ], + "min_damage": 20, + "max_damage": 60, + "damage_increment": 4, + "damage_type": "stab", + "affected_body_parts": [ "head"], + "min_range": 1, + "max_range": 1, + "base_casting_time": 150, + "casting_time_increment": -25, + "final_casting_time": 25, + "flags": [ "NO_LEGS", "VERBAL" ] + }, + { + "id": "t0_vampire_bite_spell_blood", + "type": "SPELL", + "name": { "str": "Vampire Drink" }, + "description": "Creates blood.", + "difficulty": 1, + "max_level": 10, + "flags": [ "SILENT", "PERMANENT" ], + "valid_targets": [ "self" ], + "effect": "spawn_item", + "effect_str": "blood", + "min_damage": 1, + "max_damage": 1, + "damage_type": "none" + } +] diff --git a/vamp_stuff/Modification_Files/Spells/v_spell_combo.json b/vamp_stuff/Modification_Files/Spells/v_spell_combo.json index 1ae86d0..b593b1e 100644 --- a/vamp_stuff/Modification_Files/Spells/v_spell_combo.json +++ b/vamp_stuff/Modification_Files/Spells/v_spell_combo.json @@ -1,6 +1,6 @@ [ { - "note": "Any spell that are casted indirectly are taken here.", + "//": "Any spell that are casted indirectly are taken here.", "id": "t1_blood_transfusion_spell", "type": "SPELL", "name": { "str": "Tranfusion Spell" }, diff --git a/vamp_stuff/Modification_Files/Spells/v_spell_effects.json b/vamp_stuff/Modification_Files/Spells/v_spell_effects.json index 7917345..0badc63 100644 --- a/vamp_stuff/Modification_Files/Spells/v_spell_effects.json +++ b/vamp_stuff/Modification_Files/Spells/v_spell_effects.json @@ -131,7 +131,7 @@ { "type": "effect_type", "id": "hit_by_player", - "note": "Freezing effects are removed with just a hit.", + "//": "Freezing effects are removed with just a hit.", "removes_effects": [ "v_spell_elem_freeze", "v_spell_elem_flashfreeze" ] }, { diff --git a/vamp_stuff/Modification_Files/Spells/v_spell_hit_time.json b/vamp_stuff/Modification_Files/Spells/v_spell_hit_time.json index bed14e2..cead524 100644 --- a/vamp_stuff/Modification_Files/Spells/v_spell_hit_time.json +++ b/vamp_stuff/Modification_Files/Spells/v_spell_hit_time.json @@ -1,6 +1,6 @@ [ { - "note": "Spells that activate from hitting, getting hit and intermittence.", + "//": "Spells that activate from hitting, getting hit and intermittence.", "type": "SPELL", "id": "v_spell_null", "name": { "str": "null" }, @@ -35,7 +35,7 @@ ] }, { - "note": "Notify the player about the casted on-hit spell.", + "//": "Notify the player about the casted on-hit spell.", "type": "SPELL", "id": "v_hemo_whip_spell_ss_yes", "name": { "str": "Sweeping Strike!" }, diff --git a/vamp_stuff/Modification_Files/Spells/v_spell_monspell.json b/vamp_stuff/Modification_Files/Spells/v_spell_monspell.json index 47d7d33..2e5e918 100644 --- a/vamp_stuff/Modification_Files/Spells/v_spell_monspell.json +++ b/vamp_stuff/Modification_Files/Spells/v_spell_monspell.json @@ -1,6 +1,6 @@ [ { - "note": "Spells that are casted by monsters. Seperated from monster_magic.json, for as it is casted by allied minions.", + "//": "Spells that are casted by monsters. Seperated from monster_magic.json, for as it is casted by allied minions.", "type": "SPELL", "id": "mon_ether_shadow_spell_target", "name": { "str": "a spell" }, -- cgit v1.2.1