Making a hero unselectable for spell duration...

Level 2
Joined
Dec 26, 2007
Messages
22
I'm working on a "Fear" spell, and to prevent people from countering the effects, I want to make the target of the spell unselectable by the controller. The spell currently disables all spells, all attacks, and increases thier movement speed by 225%; the idea is that they run away from damage sources (a caster who deals his damage through damage-over-time spells, see the connection? :wink:)

Any feedback would be great!
 
Level 6
Joined
May 3, 2007
Messages
199
This might work or this might not. But I think I remember seeing this be used before in spells.
  • Checking
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set Caster = (Casting unit)
      • Selection - Remove Caster from selection
      • Wait 2.00 game-time seconds
      • Selection - Add Caster to selection
      • Set Caster = No unit
 
Level 17
Joined
Apr 11, 2007
Messages
1,817
This might work or this might not. But I think I remember seeing this be used before in spells.
  • Checking
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set Caster = (Casting unit)
      • Selection - Remove Caster from selection
      • Wait 2.00 game-time seconds
      • Selection - Add Caster to selection
      • Set Caster = No unit

Also, that'd deselect the casting unit, not the target...
 
Level 2
Joined
Dec 26, 2007
Messages
22
Kaitech[SanD];551712 said:
Ho hum... That would allow the unit to run through walls, doodads and all sorts of other crap, not to mention invulnerable aswell...

Anyway... Is it to be a channeling thingy?

Thanks for all the feedback everyone, very much appreciated :)

It's not a channeling skill, I based it off Drunken Haze, for the attack/spell/specials inhibitions, as well as the speed bonus.
 
Top