Untitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to [Your spell]
Actions
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + [Mana bonus])
Myself said:Trigger:
- manatouch
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Mana Touch
- Actions
- Set ManaGiven[1] = 50.00
- Set ManaGiven[2] = 100.00
- Set ManaGiven[3] = 150.00
- Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + ManaGiven[(Level of Mana Touch for (Triggering unit))])
Innervate
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Innervate
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Innervate for (Triggering unit)) Equal to 1
Then - Actions
Lightning - Create a Drain lightning effect from source (Position of (Triggering unit)) to target (Position of (Target unit of ability being cast))
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Wait 1.00 seconds
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + 8.33)
Lightning - Destroy (Last created lightning effect)
Else - Actions
Wait a second...
You changed the type of ability you want now? You want a channeling ability that gives mana over time now?
Do you want it to be a buff put on, or a channeling(unit standing still while channeling/casting the spell)?
There is no such thing as a "while" command to my knowledge, no.
Using 'Waits' in a trigger will make it un-MUI (Meaning more units can't use it at once)
Please describe what EXACTLY it is you want now, because this is starting to confuse me
Innervate
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Innervate
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Innervate for (Triggering unit)) Equal to 1
Then - Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Lightning - Create a Drain Mana lightning effect from source (Position of (Target unit of ability being cast)) to target (Position of (Triggering unit))
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + 8.33)
Else - Actions
READ THIS
IF you are trying make innervate like in World of Warcraft, it doesnt get more SIMPLE -->
Go to abilities, pick "Rejuvenation". Make it a hero spell with 3 levels. Set Hit Points Gained 0 Mana Points Gained: 50 / 100 / 150.
Done