- Joined
- Feb 21, 2008
- Messages
- 205
Hey guys, am back, not that any of you know me. But I joined this site YEARS ago, got sick of modding. But, now am back, and I havent done any triggers in a couple of years. So am tad rusty, anyways, here's my problem. Should be quite simple:
My spell: I have a shredder, who has a fan of knives based spell with no missiles. When he clicks it, he will get the Spiked barricades effect around him (The orc building spikes). When they erupt, every1 in a 200 ish AOE gets damage instantly. That works fine, because its just basiclly a non triggered spell so far, the fan of knives deal this damage.
But the second part is my problem, any1 he touches in a 150 AOE, will start to bleed. The bleed is based off unholy frenzy.
Help?
Just to answer your questions before they arrive:
Yes, The buff the units that are hit is the one listed in the trigger.
My spell: I have a shredder, who has a fan of knives based spell with no missiles. When he clicks it, he will get the Spiked barricades effect around him (The orc building spikes). When they erupt, every1 in a 200 ish AOE gets damage instantly. That works fine, because its just basiclly a non triggered spell so far, the fan of knives deal this damage.
But the second part is my problem, any1 he touches in a 150 AOE, will start to bleed. The bleed is based off unholy frenzy.
-
Spiked
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Spiked
-
-
Actions
-
Set Spiked_unit = (Casting unit)
-
Unit - Create 1 Dummy unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
-
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Spiked buff to (Last created unit)
-
Unit - Order (Last created unit) to Human Priest - Inner Fire Spiked_unit
-
Trigger - Turn on Bleed <gen>
-
-
-
Bleed
-
Events
-
Time - Every 0.20 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units within 150.00 of (Position of Spiked_unit)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) has buff bleed buff thing Bleeding) Equal to False
-
-
Then - Actions
-
Unit - Create 1 Dummy unit for (Owner of Spiked_unit) at (Position of (Picked unit)) facing Default building facing degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Add bleed dummy to (Last created unit)
-
Unit - Set level of bleed dummy for (Last created unit) to (Level of Spiked for Spiked_unit)
-
Unit - Order (Last created unit) to Undead Necromancer - Unholy Frenzy (Picked unit)
-
-
Else - Actions
-
-
-
-
Wait 8.00 seconds
-
Trigger - Turn off (This trigger)
-
-
Help?
Just to answer your questions before they arrive:
Yes, The buff the units that are hit is the one listed in the trigger.