How can i do the feedback ability but with triggers?

Nocturne

New Member
Reaction score
1
Hello,
I need to do an ability with triggers, and that does what does the skill feedback... I need to do it by triggers becouse for some reason that ability(feedback) isn't work right...The ability is have to work exactly like the feedback but without bugs :S

How can i do it?

thanks, +rep for any help

PS: The feedback ability stops working anytime in the game without any apparent motive.
the ability is for a hero meele
 

Zakyath

Member
Reaction score
238
a unit is attacked

level of feedback for attacking unit is not equal to 0

set mana of attacked unit to (mana of attacked unit)-X

or create a dummy unit to mana burn, actually seems easier to me :p then it will do damage depending on how much mana is drained
 

Nocturne

New Member
Reaction score
1
a unit is attacked

level of feedback for attacking unit is not equal to 0

set mana of attacked unit to (mana of attacked unit)-X

or create a dummy unit to mana burn, actually seems easier to me :p then it will do damage depending on how much mana is drained

Oh thanks, i'm only have this:

Untitled Trigger 004
Events
Unit - A unit Is attacked
Conditions
(Level of Ability1 for (Attacking unit)) Not equal to 0
Actions
Set VarLvl = (Level of Ability1 for (Attacking unit))
Unit - Set mana of (Attacked unit) to ((Mana of (Attacked unit)) - (10.00 x LEVEL OF ABILTY))

LEVEL OF ABILTY: how can i do something like that?
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
On Arthimetic, interger. Level of ability for (Triggering unit)/(Attacking unit)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top