HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Shield

01-27-2006, 09:54 AM#1
PhoenixFeather
I'm making a map and I have created a spell called Spell Shield. It's the same spell that is used by Amulet of Spell Shield. I need it to be passive and so it is but I can click the the spell and activate it and thus wasting it. How can I make it unclickable?
01-27-2006, 10:04 AM#2
Earth-Fury
it may work in a hidden spellbook. so train a dummy ability, when the hero trains that ability, add the actual ability into a spellbook and disable the spell book.
01-27-2006, 10:05 AM#3
qwertyui
Try this:
1) Make dummy passive ability with icons and tooltips for your spellshield.
2) Make a spellbook ability
3) Put original spell shield in spellbook
4) Add both dummy ability and spellbook to hero
5) Disable spellbook ability for hero's owner

This should keep the spell shield effect intact, with only the dummy ability showing on taskbar.
You WILL lose the spell shield cooldown visualisation though.

EDIT: Fury is fast, but i am more detailed :P
01-28-2006, 10:48 AM#4
Anitarf
Just... base it on a different spellshield. There are two different spellshield spells, one is active and is used by the spellshield rune item, the other is passive and is used by the amulet of spell shield.
01-28-2006, 01:14 PM#5
PhoenixFeather
Okay, I will try it out.
01-29-2006, 11:07 AM#6
PhoenixFeather
Allright, I will use the rune-Spell Shield as a base for it. Just one more question, how do I disable the Spell Book ability?
01-29-2006, 11:22 AM#7
Blade.dk
Trigger:
Actions
Player - Disable Ability for Player 1 (Red)

Of course you will have to do it for all players.
01-29-2006, 11:32 AM#8
PhoenixFeather
Oh, thanks.
01-29-2006, 01:25 PM#9
SmileyJeff
You can make it easier by putting ur spell into "orb of lightning (new)" and set the chance to 100% for all (units/heroes). It will work for your spell too.
01-30-2006, 03:49 PM#10
Panto
Jeff... that doesn't make any sense. Orbs are used for single-target abilities, not passives or instants. Not to mention that using an orb carrier is an imperfect solution since it won't fire if you don't specifically order the unit to attack.

Regarding the original issue, I should mention that even the better Spell Shield ability has a flaw in that it will fire if you hit the hotkey for it. Since no hotkey is defined by default, that means it'll fire if you hit Escape. I set the hotkey on mine to something unlikely to be pressed ("L", I think), but that's as close to a good solution as you can get.
01-30-2006, 10:20 PM#11
Naakaloh
About the hotkey, if you give it M, H, S, P, A, or some hotkey that's already been taken by something like Move or Attack it should prevent the ability from being used.