- Joined
- Aug 15, 2010
- Messages
- 216
hello my friends!
as always, sorry for being a noob and wasting your time with my stupid questions, but here we go:
so, I am making this hero, avenger, (hellion phoenix avenger dafaq?)
and I have a little problem! looka here:
the spell, hellion reap, goes as this : Tries to take the soul out of the body of an enemy, dealing X + (str x Lvl) + (int x Lvl) damage to the target, in addition, if the target dies within 2 seconds, heals you equal to 10 x Lvl% health, and also resets the cooldown of hellion trasmission. this effect will not occur if the cooldown is reset. Level 1 X: 40 Level 2 X: 80 Level 3 X: 120 Level 4 X:160 Level 5 X: 200|R
So as you can see, its VERY complicated and only pro guys should do it! (just kidding), turns out, the damaging trigger goes really well, but there are a few problems :
when a unit dies in one shot with this, it wont work, when it resets its cd as said, it wont work. help plz?
as always, sorry for being a noob and wasting your time with my stupid questions, but here we go:
so, I am making this hero, avenger, (hellion phoenix avenger dafaq?)
and I have a little problem! looka here:
the spell, hellion reap, goes as this : Tries to take the soul out of the body of an enemy, dealing X + (str x Lvl) + (int x Lvl) damage to the target, in addition, if the target dies within 2 seconds, heals you equal to 10 x Lvl% health, and also resets the cooldown of hellion trasmission. this effect will not occur if the cooldown is reset. Level 1 X: 40 Level 2 X: 80 Level 3 X: 120 Level 4 X:160 Level 5 X: 200|R
So as you can see, its VERY complicated and only pro guys should do it! (just kidding), turns out, the damaging trigger goes really well, but there are a few problems :
-
Hellion reap
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Hellion reap (Neutral Hostile)
-
Actions
- Set HellionboltLvl = (Level of Hellion reap (Neutral Hostile) for (Casting unit))
- Set CastinHeroInt = (Real((Intelligence of (Casting unit) (Include bonuses))))
- Set CastinHeroStr = (Real((Strength of (Casting unit) (Include bonuses))))
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((CastinHeroInt x (Real(HellionboltLvl))) + (CastinHeroStr x (Real(HellionboltLvl)))) damage of attack type Normal and damage type Normal
- Special Effect - Create a special effect attached to the chest of (Target unit of ability being cast) using Life Low_Portrait.mdx
- Set REALCASTER = (Casting unit)
- Set Justtorollhellionspell = (Random integer number between 1 and 100)
- Set CHANCE = (10 x (Level of Crusade for (Casting unit)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Justtorollhellionspell Less than or equal to CHANCE
-
Then - Actions
- Set HellionboltLvl = (Level of Hellion reap (Neutral Hostile) for REALCASTER)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HellionboltLvl Greater than 0
-
Then - Actions
- Unit - Remove Hellion reap (Neutral Hostile) from REALCASTER
- Unit - Add Hellion reap (Neutral Hostile) to REALCASTER
- Unit - Set level of Hellion reap (Neutral Hostile) for REALCASTER to HellionboltLvl
- Floating Text - Create floating text that reads |CFF0033FF Hellion ... above REALCASTER with Z offset 70.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 34.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Special Effect - Destroy (Last created special effect)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
Events
-
Undertheeffect
-
Events
- Unit - A unit Dies
-
Conditions
- ((Dying unit) has buff Bieng reaped) Equal to True
- (Unit-type of (Killing unit)) Equal to |CFFFF3300Hellion Phoenix Avenger|R
-
Actions
- Set HellionboltLvl = (Level of Hellion reap (Neutral Hostile) for (Casting unit))
- Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + (((Max life of (Casting unit)) / 100.00) x (10.00 x (Real(HellionboltLvl)))))
-
Events
when a unit dies in one shot with this, it wont work, when it resets its cd as said, it wont work. help plz?