Remove unused RESIST_DAMAGE macro
This commit is contained in:
parent
1fa8946eb1
commit
0722356699
1 changed files with 0 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue