• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

question on stacking spells

Status
Not open for further replies.
Level 10
Joined
Jul 2, 2004
Messages
690
how do you make a spell where enemy units in an area get slowed overtime?

Level 1- First 5 seconds, slow 10%, second 5 seconds slow 20%, and last 5 seconds slow 30%
Level 2- First 5 seconds, slow 20%, second 5 seconds slow 30%, and last 5 seconds slow 40%
Level 3- First 5 seconds, slow 40%, second 5 seconds slow 50%, and last 5 seconds slow 60%

the buff will last for say 30 seconds, and the channeling of the spell for 15 seconds, etc.
 
I don't know if this way works perfectly, but, i think that it can help you.
Create a dummy unit in a hidden place of the map with slow poison ability and attack range 99999 owned by neutral hostile and then, the trigger of the spell.

A unit begins casting an ability

Ability Being cast equal to ...

:arrow: Set level of slow poison to dummy unit to 1.
:arrow: Order dummy unit to attack target unit of ability being cast.
:arrow: Wait 5 game-time seconds.
:arrow: Set level of slow poison to dummy unit to 2.
:arrow: Order dummy unit to attack target unit of ability being cast.
:arrow: Wait 5 game-time seconds.
:arrow: Set level of slow poison to dummy unit to 3.
:arrow: Order dummy unit to attack target unit of ability being cast...

:roll: I'm giving only an idea on how to do what you want, hope that helped. :wink:
 
the idea of thanathos with the dummy unit is the best i think. but instead of that attacking you may give the dummy an aura based on (orc-hero, sry dont know english description :roll: ) with target enemies and a negative speed bonus.
i didnt try that - just another idea :wink:
 
that might work, but it would be tedious if i changed to a period of 3 seconds and channeling lasts 30 seconds. and it might cause alot of lag. hmm...
 
other idea: make a dummy spell of a warstomp-like spell that gives a buff for 30 sec. then:

Code:
EVENT
unit-a unit starts casting an ability

CONDITION
(ability being cast) equal to warstomp

ACTION
wait 0,1 sec
if -(target of ability being cast) has buff xxx equal to true   >>boolean comp<<

then - unit set movement speed of (target of ...) to xx%

else -

wait 30 sec
unit set movement speed of (target of...) to 100%
and if you now add some if-then-else to get the different spell levels, i think you can make this very well working...

duh... i hope i dont talk rubbish - you have to test :wink:
 
Play with the tornado aura.

it doesn't normally show as an aura, so you can add ekstra some of those. then have a trigger add and remove them as the level goes up.

for graphics i normally use the flamestrik under abillities (the effect one). use the stun icon and you're rolling
 
Status
Not open for further replies.
Back
Top