• 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.

Making Feedback Turn on/of

Status
Not open for further replies.
Level 12
Joined
Mar 23, 2008
Messages
942
I gave feedback to my hero, but I want it to be able to turn on and off, and needs mana to cast, like searing arrow.

But even If I edit everything in WE, the ability works like the normal feeback.
Its one of these things you cannot just edit in WE?

Someone know what can I do? (I hate scripts spells...)
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
You need scripts
Any units get damaged (you need a system for that)
if damaged unit has X buff (you simply a skill based on frost arrows or dark arrows and give it X buff)
remove the X buff, do Min(remaining mana of damaged unit, <Feedback power>) damage
and make target lose 20 <Feedback power> mana

Min is a function that returns less one liek:
Min(2,5) = 2
Min(1,-8) = -8
 
Level 12
Joined
Mar 23, 2008
Messages
942
You need scripts
Any units get damaged (you need a system for that)
if damaged unit has X buff (you simply a skill based on frost arrows or dark arrows and give it X buff)
remove the X buff, do Min(remaining mana of damaged unit, <Feedback power>) damage
and make target lose 20 <Feedback power> mana

Min is a function that returns less one liek:
Min(2,5) = 2
Min(1,-8) = -8

But the problem feedback is a orb... So if i give it any other orb spell like fire arrow or dark arrow, I can get a conflict.

I'm trying to do a dummy spell based in replenish (night elve) that give feedback if you turn on/of.
 
Status
Not open for further replies.
Top