smarter filtering for the 100xp event
This commit is contained in:
parent
695adb5b8e
commit
d217771f43
1 changed files with 10 additions and 4 deletions
|
@ -563,10 +563,16 @@ _s, _s, _s, _s, Aa, Aa, _s, _s, _s, _s
|
|||
[event]
|
||||
name=moveto
|
||||
first_time_only=no
|
||||
|
||||
{MODIFY_UNIT (side=1
|
||||
x=7
|
||||
y=10) experience 100}
|
||||
[filter]
|
||||
x=7
|
||||
y=10
|
||||
[/filter]
|
||||
{VARIABLE_OP unit.experience add 100}
|
||||
[unstore_unit]
|
||||
variable=unit
|
||||
text="100 XP"
|
||||
red,green,blue=200,200,50
|
||||
[/unstore_unit]
|
||||
[/event]
|
||||
|
||||
[/test]
|
||||
|
|
Loading…
Add table
Reference in a new issue