Use this to change max hp:
http://www.hiveworkshop.com/forums/jass-functions-413/vjass-system-unit-properties-142012/
Without Leaks:
- Untitled Trigger 001
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to (==) (Ability)
- Actions
- Set TempLoc = (Position of (Casting unit))
- Unit Group - Pick every unit in (Units within 150.00 of TempLoc and do (Actions)
- Loop - Actions
- Unit - Set life of (Picked unit) to 150.00
- Custom Script: call RemoveLocation(udg_TempLoc)