-
Increase Heroes Constitution
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Increase Constitution
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Triggering unit)) Current lumber) Greater than or equal to 1
-
-
Then - Actions
-
Player - Add -1 to (Owner of (Triggering unit)) Current lumber
-
Set HERO_Constitution[(Player number of (Owner of (Triggering unit)))] = (HERO_Constitution[(Player number of (Owner of (Triggering unit)))] + 1)
-
Player - Set the current research level of Increase Constitution to (HERO_Constitution[(Player number of (Owner of (Triggering unit)))] + 1) for (Owner of (Triggering unit))
-
-
Else - Actions
-
Game - Display to (Player group((Triggering player))) for 1.00 seconds the text: You've insufficient...
-
-
-
-
The upgrade was originally Animal War Training. Can anyone tell me why this wouldn't work?
Increase Constitution Upgrade Data
Data - Effect 1
Data - Effect 1 - Hit Point bonus - Increment
Data - Effect 1 - Hit Point Bonus - Base
Data - Effect 2 - None
Data - Effect 3 - None
Data - Effect 4 - None
Stats - Applies to all units - True
Stats - Class - None
Stats - Gold Base - 0
Stats - Gold Increment - 0
Stats - Levels - 100
Stats - Lumber Base - 0
Stats - Lumber Increment - 0
Data - Race - Human
Stats - Time Base - 0
Stats - Time Increment - 0
Stats - Transfer with Unit Ownership - True