• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is there anyway to make +1/2/3/4 hp per str spell ?

Status
Not open for further replies.
Level 4
Joined
Jan 30, 2006
Messages
93
If youre trying to say that if u activate a spell it willadd 1/2/3/4 health depending on the strengght of hero?
Code:
Events
    Unit - A unit Finishes casting an ability
Conditions
    (Ability being cast) Equal to [ability you want]
Actions
    Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + ((1.00 x (Real((Level of (Ability being cast) for (Triggering unit))))) x (Real((Strength of (Triggering unit) (Include bonuses))))))
You need to make a real varible called ehaterver u want. This meathod will revert it to the ORIGNALE HEALTH of the unit when he/she CASTED THE ABILITY
hopefully this is what you want
Set [varible name] = (Life of (Triggering unit))
 
Level 1
Joined
Mar 31, 2006
Messages
3
No it's a passive skill.
I don't know how to check when the str is changed.

Whenever he gains a level or gets/drops an item, his health should be increased by 1/2/3/4 per str if he has learned this passive skill.
 
Status
Not open for further replies.
Top