- Joined
- Apr 2, 2006
- Messages
- 28
I get fatal error when the hero gets less than 50% hp:
BattleOrders - int variable
Offense, defense - abilities
Unit- HERO takes damage
(percentage life of HERO) less than 50.00
Set BattleOrders = level of Offense for triggering unit
Unit - remove Offense from triggering unit
Unit - add defense to triggering unit
Unit -set level of Defense for triggering unit to BattleOrders
_____________________________________________________________
Also this ability teleports hero units when it shouldnt:
Pick every unit in (region) matching ((picked unit is a hero ) equal to false) and do (actions)
Move (picked unit) instantly to (random point in region2)
BattleOrders - int variable
Offense, defense - abilities
Unit- HERO takes damage
(percentage life of HERO) less than 50.00
Set BattleOrders = level of Offense for triggering unit
Unit - remove Offense from triggering unit
Unit - add defense to triggering unit
Unit -set level of Defense for triggering unit to BattleOrders
_____________________________________________________________
Also this ability teleports hero units when it shouldnt:
Pick every unit in (region) matching ((picked unit is a hero ) equal to false) and do (actions)
Move (picked unit) instantly to (random point in region2)