Remove unused RESIST_DAMAGE macro

This commit is contained in:
Gunter Labes 2023-11-22 15:44:58 +01:00
parent 1fa8946eb1
commit 0722356699

View file

@ -116,27 +116,6 @@
[/trait]
#enddef
#define RESIST_DAMAGE DAMAGE PERCENTAGE
[resistance]
affect_self=yes
[filter_self]
[filter_adjacent]
# ok, ok, yes, I know, this will trigger even if you're attacking non-undead as long as you're adjacent to undead.
# but that's such an unusual edge case, and I don't know how to filter this by enemy
trait=undead
[or]
type_adv_tree=Dark Adept,Vampire Bat
[/or]
[/filter_adjacent]
[/filter_self]
[filter_second_weapon]
damage={DAMAGE}
[/filter_second_weapon]
add={PERCENTAGE}
max_value=100 # required by WML
[/resistance]
#enddef
#define TRAIT_SURVIVOR
[trait]
id=survivor