Fix for the holy water bottle bug (being given to any unit causing an event).
This commit is contained in:
parent
c62f8ea1f1
commit
c474fb88ee
1 changed files with 7 additions and 1 deletions
|
@ -1883,6 +1883,9 @@
|
|||
x={X}
|
||||
y={Y}
|
||||
[/removeitem]
|
||||
|
||||
{CLEAR_VARIABLE bottle_x}
|
||||
{CLEAR_VARIABLE bottle_y}
|
||||
[/event]
|
||||
|
||||
#enddef
|
||||
|
@ -1938,8 +1941,11 @@
|
|||
description=Zhul
|
||||
message= _ "It's Holy Water. When anointed on a weapon it makes it deadly to magical creatures. Vials such as these are rare and valuable. We should choose carefully who will use it."
|
||||
[/message]
|
||||
|
||||
{VARIABLE bottle_x $x1}
|
||||
{VARIABLE bottle_y $y1}
|
||||
|
||||
{HOLY_WATER $x1 $y1}
|
||||
{HOLY_WATER $bottle_x $bottle_y}
|
||||
#endif
|
||||
|
||||
#all surviving outlaws flee, so kill all units
|
||||
|
|
Loading…
Add table
Reference in a new issue