EI items: add [filter_second] to Sentinel Shield and set delay=0 (#8984)

Delay=0 fixes an annoying animation issue, as the default is delay=500.
This commit is contained in:
Dalas121 2024-06-09 21:10:53 -05:00 committed by GitHub
parent e1fa71cf16
commit 6bd7832c61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -439,6 +439,9 @@ sentinel #enddef
is_enemy=no
[/filter_adjacent]
[/filter]
[filter_second]
id=${ATTACKER}.id
[/filter_second]
amount=$sentinel_damage
damage_type=${WEAPON}.type
@ -446,6 +449,7 @@ sentinel #enddef
poisoned=$sentinel_poisons
slowed=$sentinel_slows
animate=yes
delay=0
fire_event=yes
# variable=sentinel_damage_dealt # this throws an error if the unit dies. Instead, base drain_amount on $sentinel_damage, regardless of resistances
[/harm_unit]