From 0726bd3b9652427f989e5da7a67f01b020a6b8ec Mon Sep 17 00:00:00 2001 From: Saint-of-Grey <42332565+Saint-of-Grey@users.noreply.github.com> Date: Mon, 16 Sep 2019 17:17:45 -0700 Subject: [PATCH] JSONize some artifact effects (#33924) * Created legacy_artifact_active.json and copied over the artifact effects that only need json. * fix AEA_BLOOD spell and remove zeros --- data/json/legacy_artifact_active.json | 101 ++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 data/json/legacy_artifact_active.json diff --git a/data/json/legacy_artifact_active.json b/data/json/legacy_artifact_active.json new file mode 100644 index 0000000000000..60e1f51e26bfd --- /dev/null +++ b/data/json/legacy_artifact_active.json @@ -0,0 +1,101 @@ +[ + { + "type": "SPELL", + "id": "AEA_ADRENALINE", + "name": "Artifact Adrenaline", + "description": "Causes a surge of adrenaline to flow throughout your body.", + "valid_targets": [ "self" ], + "effect": "target_attack", + "effect_str": "adrenaline", + "base_casting_time": 100, + "//": "duration is randomly selected from the below values", + "min_duration": 120000, + "max_duration": 150000, + "message": "You're filled with a roaring energy!" + }, + { + "type": "SPELL", + "id": "AEA_BLOOD", + "name": "Artifact Blood", + "description": "Causes blood to leak from nearby terrian.", + "valid_targets": [ "ground", "self", "hostile", "ally" ], + "effect": "target_attack", + "base_casting_time": 100, + "min_aoe": 4, + "max_aoe": 4, + "field_id": "fd_blood", + "field_chance": 4, + "min_field_intensity": 3, + "max_field_intensity": 3, + "message": "Blood soaks out of the ground and walls." + }, + { + "type": "SPELL", + "id": "AEA_HEAL", + "name": "Artifact Heal", + "description": "Will heal injuries all over your body.", + "valid_targets": [ "self" ], + "effect": "target_attack", + "base_casting_time": 100, + "min_damage": 2, + "max_damage": 2, + "message": "You feel healed." + }, + { + "type": "SPELL", + "id": "AEA_CONFUSED", + "name": "Artifact Confused", + "description": "Causes nearby enemies to become confused.", + "valid_targets": [ "hostile" ], + "effect": "target_attack", + "effect_str": "stunned", + "base_casting_time": 100, + "min_aoe": 8, + "max_aoe": 8, + "//": "duration is randomly selected from the below values", + "min_duration": 500, + "max_duration": 1500 + }, + { + "type": "SPELL", + "id": "AEA_PAIN", + "name": "Artifact Pain", + "description": "Owchie that hurts.", + "valid_targets": [ "self" ], + "effect": "recover_energy", + "effect_str": "PAIN", + "base_casting_time": 100, + "//": "Damage is randomly selected from the below values", + "min_damage": -5, + "max_damage": -15, + "message": "You're wracked with pain!" + }, + { + "type": "SPELL", + "id": "AEA_ATTENTION", + "name": "Artifact Attention", + "description": "You're not quite sure what you did, but something is watching you for it.", + "valid_targets": [ "self" ], + "effect": "target_attack", + "effect_str": "attention", + "base_casting_time": 100, + "//": "duration is randomly selected from the below values", + "min_duration": 360000, + "max_duration": 1080000, + "message": "You feel like your action has attracted attention." + }, + { + "type": "SPELL", + "id": "AEA_TELEGLOW", + "name": "Artifact Teleglow", + "description": "DO YOU HEAR THE VOICES TOO?", + "valid_targets": [ "self" ], + "effect": "target_attack", + "effect_str": "teleglow", + "base_casting_time": 100, + "//": "duration is randomly selected from the below values", + "min_duration": 180000, + "max_duration": 720000, + "message": "You feel unhinged." + } +]