Chaosy
Tutorial Reviewer
- Joined
- Jun 9, 2011
- Messages
- 13,219
Got another problem, I got it half working I think. Atm i use UnitMaxState but somehow it wont work.
Hey, I know this have been asked more than once but I want to make sure that its true/false.
I want to edit the max hp/mana through triggers and I dont want to download a libary for it or use abilitys to add the bonus.
-
call
-
Events
- Unit - A unit Starts the effect of an ability
- Conditions
-
Actions
- Custom script: set u = GetTriggerUnit()
- Custom script: set state = UNIT_STATE_MAX_MANA
- Custom script: set newValue = 300
- Custom script: call SetUnitMaxState(u, state, newValue)
-
Events
JASS:
globals
unit u
integer newValue
unitstate state
endglobals
Hey, I know this have been asked more than once but I want to make sure that its true/false.
I want to edit the max hp/mana through triggers and I dont want to download a libary for it or use abilitys to add the bonus.
Last edited: