Amulet of Spell Shield?

Da_HP_Geek

New Member
Reaction score
8
I want to have an item that looks like Amulet of Spell Shield, but I want that a spell shall work anyway. Its a Harry Potter map, and nothing can stop the avada kedavra curse! Pllz somebody help me, and tell me all details, cause I am a noob ;)

Thanks in advance!
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
maybe you can just change the icon of a different item, or trigger the effects
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
Check to see if the unit being targetted has that item, if it does, you create a dummy unit to cast a useless spell on him/her.
 

Malkier

New Member
Reaction score
2
can you please clarify: do you want it to not block spells, or you want it to block everything but avada kedavra?
 

Da_HP_Geek

New Member
Reaction score
8
I want it to block everyting without avada kedavra, yes. And I want a timer for, let me see, 120 seconds, after that, it can be used again.
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
I want it to block everyting without avada kedavra, yes. And I want a timer for, let me see, 120 seconds, after that, it can be used again.

put a 120 cool down on the ability the item uses
then get a dummy unit to cast the spell at the same time the caster who uses avada kedavra does
EDIT set the level of the spell to the level of the spell the caster has
 

Fluffball

Well-Known Member
Reaction score
35
I think what he is trying to say is, make a dummy unit, order it to cast the spell, then wait a couple of seconds, then kill the target of Avada Kedavra. (with cool effects)
 

Ouguiya

New Member
Reaction score
11
Hey, sorry everyone for warming up this rather old thread, but since I have a similar problem, I didn't want to create a new thread for the same thing.

I am having something similar in my map. I am creating a spell which is only supposed to be blocked by one single object (not the spell shield). The problem is that the spell shield also blocks this spell (we are talking about the Soul Theft spell of the Soul gem item).

I followed the suggestions here in this post, trying to create a dummy unit, and casting the spell on it. Sadly, this doesn't work...

My code is as such:

Code:
Soulguard
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Item Soul Theft
    Actions
        Set Removable_Unit = (Target unit of ability being cast)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Target unit of ability being cast) has an item of type Amulet of Spell Shield) Equal to True
            Then - Actions
                Set Removable_Point = (Position of Removable_Unit)
                Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Removable_Point facing Default building facing (270.0) degrees
                Unit - Order (Last created unit) to Special Archimonde - Finger Of Death Removable_Unit
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Custom script: call RemoveLocation (udg_Removable_Point)
            Else - Actions
                Do nothing

I cannot really see the problem with this. I tried looking at where this thing fails, by simply inserting a model into the "dummy" (which normally has the model: none.mdl). Thing is: The unit is created, casts the spell, and then gets killed by the expiration timer.

It seems that the unit is "too late" in casting the spell. My question is: How do I avoid this?

Thanks to anybody who has any suggestions.

Yours,

Ouguiya
 

madd_999

New Member
Reaction score
14
make the spell ultimate..
dont know how its done, but let me explain..

ultimate spell cant be resist or blocked..
stampade hits dryads (witch are macg imune)
star fall does it to.. and these spells wont tricker amulet of spell shield..

there must be a way to aplly this to happen to other spells to..
 

WolfieeifloW

WEHZ Helper
Reaction score
372
That works fine if you leave everything as normal WC3 :p .
Ultimate's can indeed be blocked (as far as i know) .
 

Ouguiya

New Member
Reaction score
11
I am posting back to this post since it got the first postings...

Thing is: I noticed that (well it's a nobrainer, really, but it should be worth mentioning), that friendly spells do not get blocked (obviously). Would there be a method to "fool" the game into thinking that Soul Gem is a "friendly" spell, and then the unit simply is devoured?

@ madd_999 the suggestion sounds good, but sadly, I see no real "button" for making an ability "ultimate" or "not ultimate". Actually, it's just the level 6 requirement and the "has only 1 level", which makes it ultimate, otherwise it's just a normal spell.

The reason the star fall and stampede spells do not get blocked is because they are untargeted spells. They simply hit or miss anything in their Area of Effect. The soul gem spell on the other hand is a targeted spell, like a death coil, which has a direct effect on only one unit. And sadly, that's just the kind of spell the Spell blocker blocks.
 

Never_Quit

New Member
Reaction score
16
haha u could

Trigger:
  • Casting
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to AVADA KADAVRA
      • ((Target unit of ability being cast) has an item of type Stupid Sheild) Equal to True
    • Actions
      • Item - Remove (Item carried by (Target unit of ability being cast) of type Stupid Sheild)
      • Game - Display to (Player group((Owner of (Target unit of ability being cast)))) the text: HAHA OMG YOUR STOOPID SHEILD JUST GOT BROKE


make the spell ultimate..
dont know how its done, but let me explain..

ultimate spell cant be resist or blocked..
stampade hits dryads (witch are macg imune)
star fall does it to.. and these spells wont tricker amulet of spell shield..

there must be a way to aplly this to happen to other spells to..

I think that is because they are aoe
(also i dont think starfall hits dryads :/)
 

madd_999

New Member
Reaction score
14
I think that is because they are aoe
(also i dont think starfall hits dryads :/)

it does :p i just tested it..

and i think i found the solution..
base it of "finger of deat(archimond)"...
the only thing you need to do then is change the spell art, set the correct damage, change it so it can target hero's..

i tryed it on a enamy hero witch had amulet of spelshield equiped..
and it wasent resisted..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top