diff --git a/data/core/macros/utils.cfg b/data/core/macros/utils.cfg index 67198574c7eaa..31411043931ce 100644 --- a/data/core/macros/utils.cfg +++ b/data/core/macros/utils.cfg @@ -552,6 +552,9 @@ cumulative=no affect_self=yes overwrite_specials=both_sides + [overwrite] + priority=1000 + [/overwrite] [filter_opponent] {SECOND_FILTER} [/filter_opponent] @@ -605,6 +608,9 @@ cumulative=no affect_self=yes overwrite_specials=both_sides + [overwrite] + priority=1000 + [/overwrite] [filter_opponent] {SECOND_FILTER} [/filter_opponent] diff --git a/data/test/scenarios/macro_tests/test_force_chance_to_hit_macro.cfg b/data/test/scenarios/macro_tests/test_force_chance_to_hit_macro.cfg index 74bdd5489ac3b..e230bfa1f5382 100644 --- a/data/test/scenarios/macro_tests/test_force_chance_to_hit_macro.cfg +++ b/data/test/scenarios/macro_tests/test_force_chance_to_hit_macro.cfg @@ -42,6 +42,15 @@ [/chance_to_hit] [/set_specials] [/effect] + [effect]#test if macro work when ability with overwrite_special is used + apply_to=new_ability + [abilities] + [chance_to_hit] + value=100 + overwrite_specials=one_side + [/chance_to_hit] + [/abilities] + [/effect] [filter] id=bob [/filter] @@ -64,6 +73,15 @@ [/chance_to_hit] [/set_specials] [/effect] + [effect]#test if macro work when ability with overwrite_special is used + apply_to=new_ability + [abilities] + [chance_to_hit] + value=100 + overwrite_specials=one_side + [/chance_to_hit] + [/abilities] + [/effect] [filter] id=alice [/filter]