THoT: fixup 0440b0dcda
. Forgot that filter needed to catch all side 1 units so as to display the cannot_use_message
This commit is contained in:
parent
5b83fb37e1
commit
e722c640f6
1 changed files with 6 additions and 3 deletions
|
@ -38,9 +38,7 @@ Mage,Red Mage,White Mage,Arch Mage,Great Mage,Mage of Light,Silver Mage #enddef
|
|||
first_time_only=no
|
||||
[filter]
|
||||
side=1
|
||||
type={MAGES}
|
||||
x={X}
|
||||
y={Y}
|
||||
x,y={X},{Y}
|
||||
[/filter]
|
||||
|
||||
[object]
|
||||
|
@ -50,6 +48,11 @@ Mage,Red Mage,White Mage,Arch Mage,Great Mage,Mage of Light,Silver Mage #enddef
|
|||
duration=forever
|
||||
description= _ "This staff gives a dying mage a final strike that will destroy all nearby enemies."
|
||||
cannot_use_message= _ "Only mages can wield the Staff."
|
||||
[filter]
|
||||
side=1
|
||||
type={MAGES}
|
||||
x,y=$x1,$y1
|
||||
[/filter]
|
||||
[then]
|
||||
{MODIFY_UNIT x,y=$x1,$y1 variables.has_sorf yes}
|
||||
[/then]
|
||||
|
|
Loading…
Add table
Reference in a new issue