From 304fd107a96daae4ad3cd844ec45ffcc9c63e5b6 Mon Sep 17 00:00:00 2001 From: Zsolt Molnar Date: Sat, 18 Jan 2025 18:35:03 +0100 Subject: [PATCH] Add fire and frost strengths and weaknesses --- .../data/wizards/spell/fire_blast.json | 8 ++++++++ .../data/wizards/spell/fire_breath.json | 8 ++++++++ .../data/wizards/spell/fire_meteor.json | 8 ++++++++ .../data/wizards/spell/fire_scorch.json | 8 ++++++++ .../data/wizards/spell/fire_wall.json | 8 ++++++++ .../data/wizards/spell/fireball.json | 8 ++++++++ .../data/wizards/spell/frost_blizzard.json | 20 +++++++++++++++++++ .../data/wizards/spell/frost_nova.json | 6 ++++++ .../data/wizards/spell/frost_shard.json | 14 +++++++++++++ .../data/wizards/spell/frostbolt.json | 14 +++++++++++++ 10 files changed, 102 insertions(+) diff --git a/src/main/resources/data/wizards/spell/fire_blast.json b/src/main/resources/data/wizards/spell/fire_blast.json index 9a403b5..32a09c2 100644 --- a/src/main/resources/data/wizards/spell/fire_blast.json +++ b/src/main/resources/data/wizards/spell/fire_blast.json @@ -76,6 +76,14 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "critical_chance_bonus": 0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/fire_breath.json b/src/main/resources/data/wizards/spell/fire_breath.json index 8a2c133..085758e 100644 --- a/src/main/resources/data/wizards/spell/fire_breath.json +++ b/src/main/resources/data/wizards/spell/fire_breath.json @@ -62,6 +62,14 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "critical_chance_bonus": 0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/fire_meteor.json b/src/main/resources/data/wizards/spell/fire_meteor.json index 534fbd5..d33c277 100644 --- a/src/main/resources/data/wizards/spell/fire_meteor.json +++ b/src/main/resources/data/wizards/spell/fire_meteor.json @@ -79,6 +79,14 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "critical_chance_bonus": 0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/fire_scorch.json b/src/main/resources/data/wizards/spell/fire_scorch.json index 7b28d6c..44a3e86 100644 --- a/src/main/resources/data/wizards/spell/fire_scorch.json +++ b/src/main/resources/data/wizards/spell/fire_scorch.json @@ -35,6 +35,14 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "critical_chance_bonus": 0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/fire_wall.json b/src/main/resources/data/wizards/spell/fire_wall.json index dad7db0..ecd81b2 100644 --- a/src/main/resources/data/wizards/spell/fire_wall.json +++ b/src/main/resources/data/wizards/spell/fire_wall.json @@ -423,6 +423,14 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "critical_chance_bonus": 0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/fireball.json b/src/main/resources/data/wizards/spell/fireball.json index ff6f667..325bbd7 100644 --- a/src/main/resources/data/wizards/spell/fireball.json +++ b/src/main/resources/data/wizards/spell/fireball.json @@ -67,6 +67,14 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "critical_chance_bonus": 0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/frost_blizzard.json b/src/main/resources/data/wizards/spell/frost_blizzard.json index 0c97483..58476d6 100644 --- a/src/main/resources/data/wizards/spell/frost_blizzard.json +++ b/src/main/resources/data/wizards/spell/frost_blizzard.json @@ -71,6 +71,20 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_hurts_extra_types", + "modifier": { + "power_multiplier": 0.3 + } + }, + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "power_multiplier": -0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { @@ -83,6 +97,12 @@ } }, { + "target_conditions": [ + { + "entity_type": "#c:bosses", + "allow_action": false + } + ], "action": { "type": "STATUS_EFFECT", "status_effect": { diff --git a/src/main/resources/data/wizards/spell/frost_nova.json b/src/main/resources/data/wizards/spell/frost_nova.json index 9e47102..576480d 100644 --- a/src/main/resources/data/wizards/spell/frost_nova.json +++ b/src/main/resources/data/wizards/spell/frost_nova.json @@ -75,6 +75,12 @@ } }, { + "target_conditions": [ + { + "entity_type": "#c:bosses", + "allow_action": false + } + ], "action": { "type": "STATUS_EFFECT", "status_effect": { diff --git a/src/main/resources/data/wizards/spell/frost_shard.json b/src/main/resources/data/wizards/spell/frost_shard.json index c27aa70..ce43b9f 100644 --- a/src/main/resources/data/wizards/spell/frost_shard.json +++ b/src/main/resources/data/wizards/spell/frost_shard.json @@ -61,6 +61,20 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_hurts_extra_types", + "modifier": { + "power_multiplier": 0.3 + } + }, + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "power_multiplier": -0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": { diff --git a/src/main/resources/data/wizards/spell/frostbolt.json b/src/main/resources/data/wizards/spell/frostbolt.json index 61bd470..f8f6cb5 100644 --- a/src/main/resources/data/wizards/spell/frostbolt.json +++ b/src/main/resources/data/wizards/spell/frostbolt.json @@ -72,6 +72,20 @@ }, "impact": [ { + "target_conditions": [ + { + "entity_type": "#minecraft:freeze_hurts_extra_types", + "modifier": { + "power_multiplier": 0.3 + } + }, + { + "entity_type": "#minecraft:freeze_immune_entity_types", + "modifier": { + "power_multiplier": -0.3 + } + } + ], "action": { "type": "DAMAGE", "damage": {