Recent content by superkar

  1. S

    Apply timed life not working and memory leaks

    The lag doesn't depend on the dummy units being created, it actually appears mostly when AbsorbOFF is used! Anyway, if I used a special effect, I wouldn't be able to destroy it after 1 second as the commands are inside a "pick" loop
  2. S

    Apply timed life not working and memory leaks

    Well! I've made this ability called Absorb. It deals damage to enemies in 400 range and gives back 20% of that damage to the caster. I had to make 2 dummy abilities ( ON and OFF) to make it work properly, here is the code! AbsorbON triggers: function Trig_Absorb_Effect_Conditions takes nothing...
  3. S

    Help with jass auto ability trigger

    It still had problems, fixed it changing the duration of the polled wait! This time it looks like it really works as intended! Still hasn't fixed the manual trigger though!
  4. S

    Help with jass auto ability trigger

    OMG it works! IT WORKS!! I've simply put a GetEventDamage()!=0 condition and it works! Imp Midna i would have NEVER done this without your help! THANK YOU very muchhh!! I'll put your name in the "thanks to" part of my map. It's worth nothing but sadly it's the best I can do :D Actually this 0...
  5. S

    Help with jass auto ability trigger

    You are right about the trigger firing twice, if I auto-use the ability on a unit and then attack it without the ability, and then auto-use the ability again the trigger is fired twice, the tags are like +5, no tag because of notmal attack, +10 and +15 together on top of each other when I...
  6. S

    Help with jass auto ability trigger

    Well thank you, this would work but not as i'd like it to. I want it to be a clean autocast that resets totally when the target changes! I just need some1 to tell me why both the if and elseif are executed!
  7. S

    Help with jass auto ability trigger

    wow thanks for the multiple answers! Oh my GOD! I can u believe I didn't know that incinerate did basically what I needed? Jesus! Anyway, I need it to be autocast, also because, if I'll be able to, I'd like to add a cumulative mana cost as well! So incinerate would not be good for it. Plus I'd...
  8. S

    Help with jass auto ability trigger

    Hello everyone! I am decent at programming but I'm pretty new to jass so I might just have done something stupid! I'm trying to create an auto cast ability, like cold arrow, that deals a scaling dmg, let's say 5 per each level multoplied by the times the target has remained the same, meaning...
Top