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

Acid Spit problem (kills with one hit)

Status
Not open for further replies.
Level 9
Joined
Oct 28, 2004
Messages
533
Code:
Acid Spit
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Acid Spit 
    Actions
        Unit Group - Pick every unit in (Units within ((Real((Agility of (Casting unit) (Include bonuses)))) x 5.00) of (Position of (Target unit of ability being cast))) and do (Actions)
            Loop - Actions
                Unit - Create 1 Dummy Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike (Picked unit)

Thats the trigger and this is the spell...
Code:
Shadow Strike
Decay Power-1.50
Decay Damage-5.00

And somehow, it kills instantly on hit, while i just want it to poison them...
Any help will be appreciated,
aark
 
Level 10
Joined
Jul 14, 2004
Messages
463
Well, this won't help really, but firstly, you should always use the event "unit starts the effect of an ability" for spells.
And then I remember I had this kill-bug once, too... but I think I didn't get it, too. Perhaps you could try to give the Dummy units poison arrows instead of shadow strike and just set their attack cooldown to a very high value? :?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Firstly your spell leaks a load of groups and a load of locations.

You did not tell us enough for example what damage intervil you set it to.
If it was 0.00 it would inflect enough damage to 1 hit kill the unit.
Also maybe you should check the unit hp you cast it appon.

If that doesnt work try using soul burn.
It has simlar effects.
 
Level 9
Joined
Oct 28, 2004
Messages
533
3 things:
The ability itself does not let you modify the interval
and i cast it on an Abomination, 1-hit killed it to..
and finally, i dont know much about how to fix leaks or what leaks are

ill try the soul burn thing
 
Level 2
Joined
Sep 10, 2004
Messages
21
Some Abilities cause problems if you set certain values to 0, like when you set a duration to 0 it will be an everlasting buff;) better set it to 0.01.
Maybe you set such a value to 0 but you also should make sure your dummy caster can´t attack (I had once one that could and he killed everything very quickly:S)
 
Level 9
Joined
Oct 28, 2004
Messages
533
Thanks for all the ideas, but Waldbar's was the only one that worked. There was no values set on 0.00, lowest was 0.01, so i assumed that it was a glitch.

Ive got abit of work left on the spell, but nothing major,
thanks for all the help,
Aark
 
Status
Not open for further replies.
Top