From c3c4cc4c467e1052d0ee7193e6edb1b65beff5d8 Mon Sep 17 00:00:00 2001 From: newfrenchy83 Date: Thu, 4 Nov 2021 23:26:49 +0100 Subject: [PATCH 1/2] replace special dprecated by special_id/type --- episode3/scenarios/06_Divergence.cfg | 2 +- episode3/scenarios/07A_Dark_Fire_part_2.cfg | 2 +- macros/weapon-specials-implementation.cfg | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/episode3/scenarios/06_Divergence.cfg b/episode3/scenarios/06_Divergence.cfg index 941cec70..21972381 100644 --- a/episode3/scenarios/06_Divergence.cfg +++ b/episode3/scenarios/06_Divergence.cfg @@ -114,7 +114,7 @@ id=Irylean [has_attack] type=arcane - special=poison + special_id=poison [/has_attack] [/have_unit] [then] diff --git a/episode3/scenarios/07A_Dark_Fire_part_2.cfg b/episode3/scenarios/07A_Dark_Fire_part_2.cfg index cd92fbe7..ac8d0ea0 100644 --- a/episode3/scenarios/07A_Dark_Fire_part_2.cfg +++ b/episode3/scenarios/07A_Dark_Fire_part_2.cfg @@ -502,7 +502,7 @@ type=Boss Guardian of Darkness Elyssa [/filter_second] [filter_attack] - special=slow + special_id=slow [/filter_attack] [fire_event] diff --git a/macros/weapon-specials-implementation.cfg b/macros/weapon-specials-implementation.cfg index f7927735..d3e534d9 100644 --- a/macros/weapon-specials-implementation.cfg +++ b/macros/weapon-specials-implementation.cfg @@ -6,7 +6,7 @@ name=attacker hits first_time_only=no [filter_attack] - special=stun + special_id=stun [/filter_attack] [filter_second] [not] @@ -93,7 +93,7 @@ name=defender hits first_time_only=no [filter_second_attack] - special=seismic + special_id=seismic [/filter_second_attack] {EVENT_INVERSE_DISPATCH "seismic hits"} From fbd4e387b747cee35ba54d2694885287ef486bfb Mon Sep 17 00:00:00 2001 From: newfrenchy83 Date: Thu, 4 Nov 2021 23:39:16 +0100 Subject: [PATCH 2/2] fix special= forgeted --- macros/amla-final.cfg | 4 ++-- macros/weapon-specials-implementation.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macros/amla-final.cfg b/macros/amla-final.cfg index 2f5c7feb..488563c9 100644 --- a/macros/amla-final.cfg +++ b/macros/amla-final.cfg @@ -181,7 +181,7 @@ Note: Other units may be exempt from the effects of this weapon special." name=attacker hits first_time_only=no [filter_attack] - special={_SPECIAL_ID} + special_id={_SPECIAL_ID} [/filter_attack] {EVENT_FORWARD_DISPATCH ({_SPECIAL_ID}+" hits")} @@ -192,7 +192,7 @@ Note: Other units may be exempt from the effects of this weapon special." name=defender hits first_time_only=no [filter_second_attack] - special={_SPECIAL_ID} + special_id={_SPECIAL_ID} [/filter_second_attack] {EVENT_INVERSE_DISPATCH ({_SPECIAL_ID}+" hits")} diff --git a/macros/weapon-specials-implementation.cfg b/macros/weapon-specials-implementation.cfg index d3e534d9..79f32a00 100644 --- a/macros/weapon-specials-implementation.cfg +++ b/macros/weapon-specials-implementation.cfg @@ -82,7 +82,7 @@ name=attacker hits first_time_only=no [filter_attack] - special=seismic + special_id=seismic [/filter_attack] {EVENT_FORWARD_DISPATCH "seismic hits"}