Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace special deprecated by special_id/type #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion episode3/scenarios/06_Divergence.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
id=Irylean
[has_attack]
type=arcane
special=poison
special_id=poison
[/has_attack]
[/have_unit]
[then]
Expand Down
2 changes: 1 addition & 1 deletion episode3/scenarios/07A_Dark_Fire_part_2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
type=Boss Guardian of Darkness Elyssa
[/filter_second]
[filter_attack]
special=slow
special_id=slow
[/filter_attack]

[fire_event]
Expand Down
4 changes: 2 additions & 2 deletions macros/amla-final.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
Expand All @@ -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")}
Expand Down
6 changes: 3 additions & 3 deletions macros/weapon-specials-implementation.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name=attacker hits
first_time_only=no
[filter_attack]
special=stun
special_id=stun
[/filter_attack]
[filter_second]
[not]
Expand Down Expand Up @@ -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"}
Expand All @@ -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"}
Expand Down