WarStomp/Bloodlust Spell Problem

Sinan2

New Member
Reaction score
9
Hello, I'm making an AOS map and there's a hero called viking. He has a spell based on War Stomp, called Bloodlust. The trigger's supposed to create a stomp at the position of the hero's position every 5 seconds, and it's supposed to bloodlust the Viking. Bloodlust(Speed) is based on bloodlust, and Bloodlust(stomp) is based on war stomp. All abilities have 0 mana cost.Here are the triggers:
Code:
Viking Bloodlust Begin
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Bloodlust 
    Actions
        Set Hero[1] = (Casting unit)
        Set TempInt[1] = 0
        Countdown Timer - Start Timer[1] as a Repeating timer that will expire in 5.00 seconds
        Set TempPoint = (Position of Hero[1])
        Unit - Create 1 Dummy for (Owner of Hero[1]) at TempPoint facing Default building facing degrees
        Unit - Add Bloodlust (Speed) to (Last created unit)
        Unit - Order (Last created unit) to Orc Shaman - Bloodlust Hero[1]
        Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
        Custom script:   call RemoveLocation (udg_TempPoint)
Code:
Viking Bloodlust Stomp
    Events
        Time - Timer[1] expires
    Conditions
        TempInt[1] Less than or equal to 6
    Actions
        Set TempInt[1] = (TempInt[1] + 1)
        Set TempPoint = (Position of Hero[1])
        Unit - Create 1 Dummy for (Owner of Hero[1]) at TempPoint facing Default building facing degrees
        Unit - Add Bloodlust (Stomp) to (Triggering unit)
        Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
        Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
 
T

Tubba

Guest
Check mana cost.

And why the arrays...?


Wait, I see it! You remove TempPoint before the trigger fires!
 

BlackNerubia

New Member
Reaction score
12
not sure if this is accurate or not but i don't think that
Set Hero[1] = (Casting unit)
is the right one for a hero taking a buff in effect, i believe that triggering unit may be more effective for it
 

Sinan2

New Member
Reaction score
9
I'll try that, thanks!
EDIT:Wait...I don't see a TempPoint destroyed before a trigger fires...And, all the spells cost 0 mana.
 

Sinan2

New Member
Reaction score
9
Thanks guys :p Noticed that I had a requirement for Bloodlust, and especially thanks to Flare for pointing out my dumb mistake:)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top