Re: Transylvania UPDATEd
Posted: Mon Apr 04, 2011 1:43 am
AoE ensnare, one of my favorite spells of all time.
But it had to go.
Will be missed.
EDIT: Variables are faster than food dummies.
Player - Set Player(x) Food cap to Property of player x(FoodCap) +- 20
Unless it is possible to go over 300 then back down again.
Why?
Because if you are already at 300 and repair a house, the new food cap will also be 300, making you lose a house's supply provided forever.
But it had to go.
Will be missed.
EDIT: Variables are faster than food dummies.
Add
A unit is repaired Unit type is house Set Player_x_FoodCap = Player_x_FoodCap + 20
A unit is repaired Unit type is house Set Player_x_FoodCap = Player_x_FoodCap + 20
Minus
A unit dies Unit type was house Set Player_x_FoodCap = Player_x_FoodCap - 20
A unit dies Unit type was house Set Player_x_FoodCap = Player_x_FoodCap - 20
Update
Player - Set Player(x) Food cap to Player_x_FoodCap
The variable is not even necessary, you can just use:Player - Set Player(x) Food cap to Player_x_FoodCap
Player - Set Player(x) Food cap to Property of player x(FoodCap) +- 20
Unless it is possible to go over 300 then back down again.
Why?
Because if you are already at 300 and repair a house, the new food cap will also be 300, making you lose a house's supply provided forever.