HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Add slow to immolation?

07-13-2007, 09:46 AM#1
Adi_Nemesis
Hey guys I'd like some help.

I'm new to map making and was trying to imitate DotA's Rot spell. I figured I'd base Rot off immolation, remove mana cost and add "self" as target, however i cant figure out how to add the 20% slow to movespeed. Can someone please help me out. Just incase you don't know Rot here's what it's suppose to do-

Level 1 - Deals 25 (magical) damage to self and surrounding enemy land units. (225 AOE) Also slows movespeed of enemies by 20% at all levels
lvl 2 - 50 damage
lvl 3 - 75 damage
lvl 4 - 100 damage.

plus it has no cooldown/manacost and is activateable/deactivateable
07-13-2007, 09:56 AM#2
maximilianx
two triggers.
Trigger:
trigger A
Collapse Events
Unit starts the effect of an ability
Collapse Conditions
Ability being cast equal to Rot
Collapse Actions
Turn on trigger B

not completely sure that's the right event for immolation.

Trigger:
trigger B
Collapse Events
Periodic event - every .2 seconds of the game
Conditions
Collapse Actions
Collapse if/then/else
Collapse if
unit has buff (rot)
Collapse then
Collapse pick all units within 200 of unit
Create 1 dummy for owner of unit
add slow to last created unit
order last created unit to slow picked unit
add 1 second generic expiration timer to last created unit
Collapse else
turn off this trigger

too lazy right now to make it look pretty, but do you understand now?
07-13-2007, 10:07 AM#3
Adi_Nemesis
i understood most of it but i didn't understand a couple of things, how do you create a dummy unit? and do i have to create a new buff named rot and add make immolation add it to caster?

edit- now that i tried to code the trigger i had another problem, i dont know how to add further commands after picking units in "then" section.
:(. sorry about all the questions it's just that im really new to the editor.
07-13-2007, 10:13 AM#4
maximilianx
well..
you have to make your rot buff first
then change the buff field in your immolation spell to the rot buff..

a dummy unit is a custom unit used for casting spells to add to other spells.. coulda worded that better but oh well.

to make a dummy unit just make a unit with no attack, no model, no shadow, no collision, and the locust ability. oh yeah and no vision.

that way it wont apear in game in any way shape or form..except for the spells it casts.

bed time for me so i wont be able to answer any further questions for a bit
07-13-2007, 11:17 AM#5
DioD
dota ownz...

add tornado slow aura to unit used immolation and remove it if unit stop immolation.
07-13-2007, 11:19 AM#6
maximilianx
dota is teh boring.
it was fun for a while..
but not as fun as people make it out to be.

and yeah tornado slow aura is a wiser choice. >.<

or perhaps an endurance aura with negative values, i don't know wtf i was thinking with the slowing dummys.
i should get some sleep. lol.
07-13-2007, 12:14 PM#7
Panto
This should be a trigger question; moved.

You'll need four triggers that I can think of:
One to add the slow aura and do damage when the unit starts immolation
One to remove the slow aura when the unit stops immolation
One to remove the slow aura when the unit runs low on mana
One to add an event (Specific Unit's mana is less than X) to the "low mana" trigger for each unit that can have the immolation ability
07-13-2007, 12:28 PM#8
DioD
You have single trigger

1) Immolation is hardcoded spell, no triggers needed
2) Order Event, if order immolationof remove ability, if immolationon add ability

there is dota source around, no link allowed, but you may try to seek it by yourself.
07-13-2007, 11:10 PM#9
Panto
I'm pretty sure even a really simple test would show you that the Immolation ability does not fire any order when it cancels due to low mana. You should be more careful about researching what you say before you say it.
Attached Files
File type: w3xImmolationOrderDemo.w3x (10.3 KB)
07-13-2007, 11:20 PM#10
xombie
Immolation has a buff known as Immolation (caster) that isn't visible to anybody. It has no icon, and no special effects. When your version of Pudge activates 'Rot', start a timer that expires every 0.1 seconds. Each time the timer expires, check to see if the caster (Pudge) has the buff "Immolation (caster)".

If he does, hooray, keep going, if he doesn't, boo, remove the "Tornado Slow aura" (Endurance Aura leaves an icon, btw) and your spell is complete.
07-14-2007, 08:18 PM#11
TaintedReality
Quote:
I'm pretty sure even a really simple test would show you that the Immolation ability does not fire any order when it cancels due to low mana. You should be more careful about researching what you say before you say it.

In the original post he says he is removing the mana cost on Immolation. So there's no need to worry about that situation ^^.

Wouldn't you just need an aura ability that gives negative move speed to all nearby enemies, and add/remove it when immolation is turned on and off?