HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Storm bolt, removing stun - speculate

06-13-2004, 07:46 PM#1
Mozared
Hello,

Lately i tryed to remove stun from the storm bolt spell to use it as a dummy spell to enable triggers. though i've done it now (made it last 1 second) i couldn't get it done!

I first tryed putting down ALL durations to 0, so every stun would last 00:00 seconds.

Didn't work.

Secondly i tryed de-activating stun by removing all buffs.

Didn't work.

both of these methods should work in theory. can somebody explain me why they dont work, and what i've done wrong?

Mozared
06-13-2004, 08:12 PM#2
Anitarf
All right. First of all, in many cases, a value of 0 for duration is considered infinite, including stormbolt. Second, the effect is hardcoded into the spell, buffs are there only for graphical effects/tooltips. So you could apply, for example, the silence buff to the storm bolt, and it would still stun; only the graphics would be different.

An alternative spell for you to use could be cripple, if you set it to low duration and no speed/damage reduction, then it will have no effect other than what you trigger...
06-13-2004, 08:21 PM#3
Mozared
Quote:
Originally Posted by Anitar
All right. First of all, in many cases, a value of 0 for duration is considered infinite, including stormbolt. Second, the effect is hardcoded into the spell, buffs are there only for graphical effects/tooltips. So you could apply, for example, the silence buff to the storm bolt, and it would still stun; only the graphics would be different.

An alternative spell for you to use could be cripple, if you set it to low duration and no speed/damage reduction, then it will have no effect other than what you trigger...

That post opened half a new world for me ^_^

at the first, i didn't knew this, but it's very handy to know, i never knew that "0" was infinite!

and second, i've already fixed it now, but cripple indeed will show no other effect, now that you mention it, thnx for the hint!

:D

Mozared
06-13-2004, 08:47 PM#4
Anitarf
Well, the 0 = infinite was not true for storm bolt before, it only happened with 1.15 (and forced quite many mapmakers to re-release their maps because some of their spels got an infinite stun; I myself only recently discovered I have this bug in my map with one spell as well :( ), but before that it was true for some summon spells and the like...

Other good dummy spells are frost armor, some ward spells if you want to target ground (the witchdoctor's wards have an area indicator, serpent wards don't), well, that's basically it, you may need to search for additional spells if you have a single hero with multiple similar spells (that all target units or all target ground), but otherwise you'll never need more than that.
06-13-2004, 09:52 PM#5
AIAndy
The most important dummy spell is Channel since it does nothing, is highly customizable and you can have multiple channel based skills on a hero.
06-14-2004, 02:16 PM#6
Mozared
Thank you for all your help, i'l keep this in mind while spell editing again.

Mozared
06-14-2004, 09:34 PM#7
Vexorian
Don't ever use channel it will force you to make a custom ai, and doesn't appear on spellbooks, my advice is to not get used to it.

And if you want a projectile you can just use drunkenhaze, and give it permanent immolation (neutral hostile ) buff
06-14-2004, 11:43 PM#8
AIAndy
You do not necessarily need an AI for every ability and even then, the AI of the dummy spell might not really fit your custom spell. With Channel you can at least be sure that the hard coded AI won't interfer by using it.

A good projectile dummy spell is pocket factory set to spawn no factory.
06-15-2004, 02:50 PM#9
Mozared
Quote:
Originally Posted by AIAndy
You do not necessarily need an AI for every ability and even then, the AI of the dummy spell might not really fit your custom spell. With Channel you can at least be sure that the hard coded AI won't interfer by using it.

A good projectile dummy spell is pocket factory set to spawn no factory.

What i use as dummy spells:

AOE = depends on spell, mostly blizzard or something so far
Target (unit) = storm bolt, so far removing stun worked for me
Target (ground) = never needed this before. i'l prolly use archimonde's summong spell (Dark portal)

Mozared
06-15-2004, 04:33 PM#10
Turn-A Gamer
You can remove the stun from Storm Bolt. I've done it, with TFT 1.15. Just did it a few days ago. Here's how.

Set the stun to 0.01. That's it. No, they're not stunned for 0.01 seconds - even if the "stunned" unit is running it will keep on running. If you notice the stun graphic will appear for... 0.01ths of a second. Bah, who cares.
06-15-2004, 04:37 PM#11
AIAndy
Even that stun of 0.01 seconds breaks channeling spells so it does matter.

The nicest thing about Channel is that you can set the way it targets like no target/unit target/ground target. Also it can be set to be channeling or not and its UI can be hidden.
06-15-2004, 05:06 PM#12
Mozared
Quote:
Originally Posted by AIAndy
Even that stun of 0.01 seconds breaks channeling spells so it does matter.

The nicest thing about Channel is that you can set the way it targets like no target/unit target/ground target. Also it can be set to be channeling or not and its UI can be hidden.

Your right, though in my spell that doesn't matter;

"Being very spiritual, Kian is able to pick up objects (units in this case) in a range of 600 and move them back to himself."

this is supposed to stop channeling spells, else you could pick up for example an archmage, and place him in it's own blizzard :8

Mozared
06-15-2004, 11:48 PM#13
PhantasyDreamer
Do I need to create Ai if I don't care if my dummy channelling unit start chanelling or whatever? And you say I can use this spell more than one time on a same unit? That will help lots if all I said was right, thank you... but tell me if i am wrong :(
Thanks that is a good idea!
06-16-2004, 02:08 PM#14
AIAndy
You only need AI if you want computer units that have that ability automatically use it.
Yes, you can use it more than once by setting different base order ids.
06-16-2004, 09:24 PM#15
Vexorian
Channel doesn't allow missiles anyways.