I looked this up on search, found a couple of threads, but none like mine, probably because I'm missing something HUGE here.
So why doesn't the life part work? I want the health of the unit to scale with the health of the caster.
I based this spell off of cripple.
Trigger:
- Mind Control
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Mind Control
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- MindControlInteger[(Player number of (Owner of (Casting unit)))] Greater than or equal to 5
- Then - Actions
- Else - Actions
- Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Casting unit)) and Change color
- Unit - Set life of (Target unit of ability being cast) to (Life of (Casting unit))
- Set MindControlInteger[(Player number of (Owner of (Casting unit)))] = (MindControlInteger[(Player number of (Owner of (Casting unit)))] + 1)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
So why doesn't the life part work? I want the health of the unit to scale with the health of the caster.
I based this spell off of cripple.