- Joined
- Jul 26, 2008
- Messages
- 1,009
Well I tried posting this in the Trigger/Jass section, but I only got 2 responses that were of little help. I suppose that's just not the best place to ask for help.
Well, here's my first trigger. It's got two skills that it takes into account. The skill itself is a Searing Arrow skill. There's another skill, a Dragon Breath skill with DoT damage based on Breath of Frost.
I want the Searing Arrow skill (Draconic Lance) to work like incinerate when the unit is under DoT damage (Dragon's Breath) in that the unit causes AoE damage if killed by Dragonic Lane. I have no idea how to do that though.
Then, if the skill is level 4 or above, and the unit is killed with less than 1% HP remaining, instead of normal AoE damage, it does Megaflare. I'm not sure if I have it set properly though.
So could someone assist me here on this skill. +Rep of course.
Also I want the Yoodu Voodoo to replenish hitpoints on the targets over time, but for the effect to end when the hero stops channeling. So far, this is all I've gotten on Yoodu Voodoo:
Oh, and one more issue! I have a skill that uses a spellbook. However, all 5 skills in the book are based off of Lightning Orb (The one that casts purge). I'm quiet positive that they won't stack, though I think I changed that in gameplay constants? (You can do stuff like that for movespeed...) So what do you think? Will I have to turn those skills into trigger based skills?
Well, here's my first trigger. It's got two skills that it takes into account. The skill itself is a Searing Arrow skill. There's another skill, a Dragon Breath skill with DoT damage based on Breath of Frost.
I want the Searing Arrow skill (Draconic Lance) to work like incinerate when the unit is under DoT damage (Dragon's Breath) in that the unit causes AoE damage if killed by Dragonic Lane. I have no idea how to do that though.
Then, if the skill is level 4 or above, and the unit is killed with less than 1% HP remaining, instead of normal AoE damage, it does Megaflare. I'm not sure if I have it set properly though.
So could someone assist me here on this skill. +Rep of course.
-
Draconic Lance
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Draconic Lance (Troll Dragoon)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff Dragon's Breath ) Equal to True
-
Then - Actions
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - ((Real((Level of Draconic Lance (Troll Dragoon) for (Casting unit)))) x 10.00))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Real((Level of Draconic Lance (Troll Dragoon) for (Casting unit)))) Greater than or equal to 4.00
- (Percentage life of (Target unit of ability being cast)) Less than or equal to 1.00
-
Then - Actions
- Special Effect - Create a special effect at (Target point of ability being cast) using Megaflare.mdx
- Unit - Cause (Target unit of ability being cast) to damage circular area after 0.50 seconds of radius (500.00 + ((Real((Level of Draconic Lance (Troll Dragoon) for (Casting unit)))) x 35.00)) at (Target point of ability being cast), dealing (((Real((Level of Draconic Lance (Troll Dragoon) for (Casting unit)))) x 200.00) + 150.00) damage of attack type Chaos and damage type Sonic
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Also I want the Yoodu Voodoo to replenish hitpoints on the targets over time, but for the effect to end when the hero stops channeling. So far, this is all I've gotten on Yoodu Voodoo:
-
Yoodu Voodoo
-
Events
- Unit - A unit Begins channeling an ability
-
Conditions
- (Ability being cast) Equal to Yoodu Voodoo (Troll Witchdoctor)
-
Actions
- Unit - Set life of (Target unit of ability being cast) to ((Percentage life of (Target unit of ability being cast)) + (20.00 x (Real((Level of Yoodu Voodoo (Troll Witchdoctor) for (Casting unit))))))%
- Wait 1.00 seconds
- Unit - Set life of (Target unit of ability being cast) to ((Percentage life of (Target unit of ability being cast)) + (20.00 x (Real((Level of Yoodu Voodoo (Troll Witchdoctor) for (Casting unit))))))%
- Wait 1.00 seconds
- Unit - Set life of (Target unit of ability being cast) to ((Percentage life of (Target unit of ability being cast)) + (20.00 x (Real((Level of Yoodu Voodoo (Troll Witchdoctor) for (Casting unit))))))%
- Wait 1.00 seconds
- Unit - Set life of (Target unit of ability being cast) to ((Percentage life of (Target unit of ability being cast)) + (20.00 x (Real((Level of Yoodu Voodoo (Troll Witchdoctor) for (Casting unit))))))%
- Wait 1.00 seconds
- Unit - Set life of (Target unit of ability being cast) to ((Percentage life of (Target unit of ability being cast)) + (20.00 x (Real((Level of Yoodu Voodoo (Troll Witchdoctor) for (Casting unit))))))%
-
Events
Oh, and one more issue! I have a skill that uses a spellbook. However, all 5 skills in the book are based off of Lightning Orb (The one that casts purge). I'm quiet positive that they won't stack, though I think I changed that in gameplay constants? (You can do stuff like that for movespeed...) So what do you think? Will I have to turn those skills into trigger based skills?
Last edited: