HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how can I avoid spell steal and/or Abolish magic??

11-27-2006, 12:26 PM#1
moyack
Hi guys:

I have one spell which is based in bloodlust, it works fine, but I don't want that abolish magic or spell steal can't remove the effect from the target unit. How can I do that??

Thanks for your help.
11-27-2006, 12:54 PM#2
Anitarf
You could try a triggered buff, using a self-targeting tornado-slow aura to display it and alter attack and movement speed.
11-27-2006, 05:39 PM#3
moyack
Quote:
Originally Posted by Anitarf
You could try a triggered buff, using a self-targeting tornado-slow aura to display it and alter attack and movement speed.

Hmm... I'm afraid you didn't undertand me :)

My intention is to give to a spell a buff which would be invulnerable to spell steal, abolish magic and other similar spells.

I was thinking in something like this:

Avoid Abolish Magic:
Avoid Abolish Magic
Collapse Events
Unit - A unit begins to cast an ability
Collapse Conditions
Collapse Or - Multiple conditions
(Ability being cast) Equal to Abolish Magic
(Ability being cast) Equal to Spell Steal
(Target spell unit) has the buff (Super Bloodlust) equal true
Collapse Actions
Unit - Do your stuff....

So in theory, I can stop the caster unit with this trigger, but I should add AAALLLL the Abolish Magic and Spell Steal abilities in Warcraft, and it should work, but what if somebody creates a custom ability based on abolish magic, the trigger won't work for this new ability.

Could be another way to do that verification?? maybe checking the base code?? Is there an event option to detect an order instead an ability???
11-27-2006, 05:49 PM#4
Captain Griffen
He did understand, and his solution is fine. Re-read and understand his post.

Your way would make the unit immune to dispell abilities, so no abilities on him could be removed.
11-27-2006, 07:40 PM#5
moyack
Quote:
Originally Posted by Captain Griffen
He did understand, and his solution is fine. Re-read and understand his post.

Your way would make the unit immune to dispell abilities, so no abilities on him could be removed.

Ahhh, so Slow aura can't be affected by Abolish Magic and Spell Steal??? HURAYYYY!!!


Thanks Captain Griffen for point me out. I'll do my test as soon as possible.
11-27-2006, 07:44 PM#6
Captain Griffen
No aura can be dispelled; it is a constantly generated effect.
11-27-2006, 07:55 PM#7
Rising_Dusk
Unfortunately, aura buffs last past when you remove the source of the aura.
So it can lead to your buff lasting longer than you'd like.

That just means it won't be perfect --
But I can't think of any other way to do better, so I'd say run with it.
11-27-2006, 09:09 PM#8
Captain Griffen
Remove the ability, then remove the buff straight afterwards, perhaps?
11-27-2006, 11:02 PM#9
Rising_Dusk
Yeah, that might do it.
11-28-2006, 03:11 PM#10
moyack
Well... I did the changes, and it works, but not as I like it.

It looks bad becasue the effect must happen when the hero is attacked, so, every time it is hurted, it gets more angry and attack faster, so the spell must be an attack => an effect. With the slow aura, the effect appear (without fx, I don't know why) and keeps for 8 seconds and dissapear until a enemy attacks.

I did a modification to the spell, so it can be used only on heroes, disabling almost completely spell steal. About abolish Magic.... probably it is something which I can live :)

Thanks for your help guys, you will receive your deserved rep.