• 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.

[Trigger] Help about dota huskar's spell

Status
Not open for further replies.
Level 2
Joined
Oct 30, 2011
Messages
19
Hello there,
I'm having trouble with dota huskar's spell the Burning Spear. Because the trigger wont run when " autocast " is enabled. Can any one help me with this please? :ogre_hurrhurr:

skill-1.gif

Using his own life force to set them aflame, the Sacred Warrior can cause his spears to deal stackable damage over time as they impact the foe.

LevelMana CostCooldownCasting rangeArea of EffectDurationAllowed TargetsEffects
1Healthcost: 150450N/A6 seconds Enemy unit 4 damage per second
2Healthcost: 150450N/A6 seconds Enemy unit 8 damage per second
3Healthcost: 150450N/A6 seconds Enemy unit 12 damage per second
4Healthcost: 150450N/A6 seconds Enemy unit 16 damage per second
 
Level 10
Joined
May 27, 2009
Messages
495
perhaps posting the triggers might help

and you can detect autocast orders by using the
  • Unit - A unit Is issued an order with no target
Event

then perform a boolean check to the ordered string

like
  • (Issued order) Equal to (Order(poisonarrows))
or
  • (Issued order) Equal to (Order(unpoisonarrows))
 
Level 10
Joined
May 27, 2009
Messages
495
the simplest way perhaps is to add the unit into a group when it auto casts something.. then remove it when it disables the auto cast...

When a unit attacks or takes damage or whatsoever, check if the unit is in that group then set its life and so on and so forth

if you want some help, you may check out the World Editor Help Zone forums.. that's the proper forum if you want some help in constructing these triggers

Cheers!
 
Level 2
Joined
Oct 30, 2011
Messages
19
Oh my God. posting in a wrong board. darn!

but what about when the Player Order(stop) then the trigger runs (Unit is Attack) and then Huskar takes 15hp.
 
Level 2
Joined
Oct 30, 2011
Messages
19
well that's the problem, the one I said is an easy way to do in GUI... for that you may need to add some works of jass

or play with the Object Editor abilities but not sure what ability though

ahh. btw thank you. now do you have any idea how to move this thread to the right section?
 
Status
Not open for further replies.
Top