Test case for modifing the vision range.
This commit is contained in:
parent
ffe0ab21ad
commit
921c415651
1 changed files with 24 additions and 0 deletions
|
@ -94,6 +94,7 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
id=statue
|
||||
generate_name=yes
|
||||
hitpoints=4
|
||||
vision=15
|
||||
[status]
|
||||
petrified=yes
|
||||
[/status]
|
||||
|
@ -371,6 +372,29 @@ When this attack hits a living unit, the user is healed for 20 HP."
|
|||
[/unit]
|
||||
[/side]
|
||||
|
||||
[label]
|
||||
x,y=20,12
|
||||
text="Enhance Vision"
|
||||
[/label]
|
||||
[event]
|
||||
name=moveto
|
||||
first_time_only=no
|
||||
[filter]
|
||||
x,y=20,12
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message="Now my Vision value is 15 and I can see 16 hex fields wide."
|
||||
[/message]
|
||||
[modify_unit]
|
||||
[filter]
|
||||
x,y=20,12
|
||||
[/filter]
|
||||
vision=15
|
||||
[/modify_unit]
|
||||
[/event]
|
||||
|
||||
|
||||
[label]
|
||||
x,y=14,10
|
||||
text="Vision Test"
|
||||
|
|
Loading…
Add table
Reference in a new issue