Please help me. Everyone knows Naix from DotA and his spell Open Wounds. Does anybody know how this spell works? I tried to give all units that attack wounded target vampiric aura but nothing has happened
since i never play dota i got no idea what your talking about so yeah describe it in detail please if u need a perfect replica or upload a replay of you using the spell and looking at the tooltips
I thought somebody can make trigger or map with complete spell. If you don't know what this spell do - here is the description: OPEN WOUNDS
Naix rends the enemy, slowing his movement speed and allowing his allies to feast on his life force, regenerating a portion of the damage dealt. Victim slowly recovers movement speed over 8 seconds.
Level 1 - 10%.
Level 2 - 15%.
Level 3 - 20%.
Level 4 - 25%.
Note that you ned to know if it is spell damage or normal attacks, which is not so simple.
I think that DotA does is like this:
trigger1:Event: Any Unit Is Attacked. Creates a dynamic trigger (trigger2) for attacked unit. Starts some timer, which destroys this trigger after X seconds.
trigger2.Event: Unit Takes Damage. Heals attacking unit for X% of damage taken.
I don't think I'll have the time to post a code or something for you but this is how the spell is coded exactly in DotA:
Open Wounds (A0TI)
Based on Storm Bolt, with 0.01 seconds stun time.
When it goes into effect, call (1) with 0, then save "Cache" (0 for now), "Level" (Open Wounds' level), "Source" (N'aix) and "Target" to the cache, and create a trigger which can be called either every 1 second or when the unit is damaged.
The new trigger recovers "Level" "Count" "Source" and "Target" from the cache, then checks if it was called not because "Target" was damaged, then increase Count by 1, then call (1) with Count, and if Count==7 then disable this trigger, else save Count to the cache. If it was called because the unit was damaged, if the damage was bigger than 5, being done by a nonstructure enemy of "Target", set the unit's life to CurrentLife + ((5+OpenWoundslvl*5)/100)*EventDamage, then show and destroy the Vampiric Aura effect on the damager.
(1): It first creates a dummy unit (e00E) for N'aix, then if it was called with 0, give the dummy a storm bolt ability (A0UP) and told to use it on the target, meaning 1 second stun, if it was called with 1 up to 4 it is given a slow ability (A0TH) with that level, 70%/50%/30%/10% slow for one second.
By the way, this is nowhere close to being a DotA forum. So don't expect everyone here to know what and how DotA spells are exactly. Many people here don't bother playing DotA so my advice is to save those questions for the official forums at www.dota-allstars.com. Hope this helped.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!