sunshinex3
You can change this now in User CP.
- Reaction score
- 7
i have this working so far i just need ideas on how to finish it.
these triggers use siphon mana(bloodmage ability)[side note to get the spell to work properly you have to edit gameplay constants specifically game play - Drain transfers mana = true ]
aside from the playergroup action every thing works, reason i put the playergroup action in their is that i thought that's how i would bring the unit back to its original owner in another trigger here:
but that didn't work...
So how do i bring the unit back to its original owner after the spell ends?
these triggers use siphon mana(bloodmage ability)[side note to get the spell to work properly you have to edit gameplay constants specifically game play - Drain transfers mana = true ]
Code:
Sylvanas Start Channel
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Control (Sylvanas Scourge)
Actions
Unit - Set mana of (Casting unit) to 99.00%
Unit - Set mana of (Target unit of ability being cast) to 99.00%
Player Group - Add (Owner of (Target unit of ability being cast)) to ControlPlayerGroup
Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Casting unit)) and Retain color
Unit - Add Control Mana Drain (Sylvanis Scourge) to (Casting unit)
Unit - Set level of Control Mana Drain (Sylvanis Scourge) for (Casting unit) to (Level of Control (Sylvanas Scourge) for (Casting unit))
aside from the playergroup action every thing works, reason i put the playergroup action in their is that i thought that's how i would bring the unit back to its original owner in another trigger here:
Code:
Sylvanas End Channel
Events
Unit - A unit Stops casting an ability
Conditions
(Ability being cast) Equal to Control (Sylvanas Scourge)
Actions
Unit - Remove Control Mana Drain (Sylvanis Scourge) from (Casting unit)
Unit - Change ownership of (Target unit of ability being cast) to (Random player from ControlPlayerGroup) and Retain color
but that didn't work...
So how do i bring the unit back to its original owner after the spell ends?