Fix #10754: lava and heat damage problems in 6a
This commit is contained in:
parent
45dd008589
commit
fe6b722224
1 changed files with 12 additions and 5 deletions
|
@ -1031,7 +1031,7 @@
|
|||
[filter]
|
||||
side=1,3,4
|
||||
[not]
|
||||
type=Zhul Shyde,Zhul Star,Desert Shyde,Desert Star
|
||||
type=Zhul Shyde,Zhul Star,Desert Shyde,Desert Star,Dust Devil
|
||||
[/not]
|
||||
[/filter]
|
||||
variable=locs
|
||||
|
@ -1075,6 +1075,11 @@
|
|||
[/set_variable]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{VARIABLE temp $heat_damage}
|
||||
{VARIABLE_OP temp multiply -1}
|
||||
{VARIABLE_OP lava_damage add $temp}
|
||||
{CLEAR_VARIABLE temp}
|
||||
|
||||
[set_variable]
|
||||
name=unitstats.hitpoints
|
||||
|
@ -1143,11 +1148,13 @@
|
|||
[/redraw]
|
||||
|
||||
[store_locations]
|
||||
x=15-32,23-29,12-16
|
||||
y=12-24,25-26,15-22
|
||||
terrain=Uu, Re, Rr, Uh, Uu^Uf
|
||||
x=1-33
|
||||
y=11-27
|
||||
[filter]
|
||||
side=1
|
||||
side=1,3,4
|
||||
[not]
|
||||
description=Guardian Phoenix,Dust Devil
|
||||
[/not]
|
||||
[/filter]
|
||||
variable=locs
|
||||
[/store_locations]
|
||||
|
|
Loading…
Add table
Reference in a new issue