- Joined
- Aug 16, 2018
- Messages
- 39
Hello, I'm making a map full of custom heroes, and there's an ability that involves lumber, and I want it to decrease the player's current lumber and be disabled when the required cost isn't there.
I've tried this
I've tried this
-
Lob Lumber Cost
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Lob Lumber
-
Actions
- Set Lumber = (Player 1 (Red) Current lumber)
- Player - Set Player 1 (Red) Current lumber to -20
-
Events
-
Lob Lumber Disable
-
Events
- Player - Player 1 (Red)'s Current lumber becomes Less than 20.00
- Conditions
-
Actions
- Player - Disable Lob Lumber for Player 1 (Red)
-
Events
-
Lob Lumber Enable
-
Events
- Player - Player 1 (Red)'s Current lumber becomes Greater than or equal to 20.00
- Conditions
-
Actions
- Player - Enable Lob Lumber for Player 1 (Red)
-
Events
Last edited: