• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Vampiric for 1 hit with 12 secomds cooldown.

Status
Not open for further replies.
Level 10
Joined
Mar 17, 2012
Messages
582
Hi there!
Guys, help me please to create an item that has an ability:
passive
gives owner 100% vampiric and +100 damage (vampiric potion) for 1 attack.
Cooldown 12 seconds.
 
Last edited:
You can use "Vampiric Potion" ability and remove it when the unit deals damage with that buff.

If you play DotA, it will be similar to Earthshaker's "Enchant Totem".

You don't understand! I already have "Satanic :ogre_hurrhurr:"
It must be PASSIVE ability... like Gondar's "Jinada"
It must enchant weapon with buff every 12 seconds and that buff have to be removed when owner make a hit.

I know how to buff hero, I also know how to remove buff, I don't know how to create a Cooldown on the item.
 
Then do the same but disable trigger for 12 seconds, removing the bonuses everytime the unit deals the damage from an attack. You can use use two passive item abilities for the bonuses.

And if my hero won't attack for more than 12 seconds?

But wait, is there an ability that buffs unit vampirism? Or how will I make owner of item to cast vampiric potion on himself? Add ability - disable ability - use ability - remove ability??

You say "use tha same"))) I don't know how that spell is made :vw_sad:
 
Personally I'd just save the unit's handleid and a value onto a hashtable after he has attacked, remove the buff then create a timer counting down for 12 seconds, that way if he drops the item and picks it up again he wont get the buff because you can check if the hashtable has a value on his handleid + custom value you assigned earlier. After the 12 seconds if the unit has the item then add the buff again, but if the unit doesn't have the item then remove the value from the hashtable so if he picks it up again it'll instantly affect him instead of waiting.
 
Personally I'd just save the unit's handleid and a value onto a hashtable after he has attacked, remove the buff then create a timer counting down for 12 seconds, that way if he drops the item and picks it up again he wont get the buff because you can check if the hashtable has a value on his handleid + custom value you assigned earlier. After the 12 seconds if the unit has the item then add the buff again, but if the unit doesn't have the item then remove the value from the hashtable so if he picks it up again it'll instantly affect him instead of waiting.

Could you male an example? because I dont quite catch how to do it... :goblin_cry:
 
Status
Not open for further replies.
Back
Top