- Joined
- Aug 15, 2010
- Messages
- 216
Hey everyone!
So i'm back after all this time still asking stupid questions, but...
i'd really like some help right now from you bros, so here we go:
I'm working on my new map, nothing srs, just something for me and my bros i did like 60% of the terrain and i decided to make a hero.
the problem is with on of his abilities, or so too say his whole system of abilities.
Here is the whole deal:
When he uses his ability, Touch of incineris, he places a buff on an enemy. then IF he uses each one of two of his abilities on that target (Asherbite and Sun Blast), he gains a charge of Incinerium (which is displayed on his normal passive ability), When he gains 6 charges, his Sun blast ability SHOULD transform into Incineris blast, doubling its damage and its healing.
but guess what? it doesnt :'(
Here are the triggers
Thanks
So i'm back after all this time still asking stupid questions, but...
i'd really like some help right now from you bros, so here we go:
I'm working on my new map, nothing srs, just something for me and my bros i did like 60% of the terrain and i decided to make a hero.
the problem is with on of his abilities, or so too say his whole system of abilities.
Here is the whole deal:
When he uses his ability, Touch of incineris, he places a buff on an enemy. then IF he uses each one of two of his abilities on that target (Asherbite and Sun Blast), he gains a charge of Incinerium (which is displayed on his normal passive ability), When he gains 6 charges, his Sun blast ability SHOULD transform into Incineris blast, doubling its damage and its healing.
but guess what? it doesnt :'(
Here are the triggers
-
Sun blast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Sun blast (Neutral Hostile)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff |CFF6633FFTouch Of Incineris|r) Equal to True
-
Then - Actions
- Set Playernumber[1] = (Player number of (Owner of (Casting unit)))
- Set Incinerium[Playernumber[1]] = (Incinerium[Playernumber[1]] + 1)
- Unit - Set level of Incinerium (Spell Breaker) for (Casting unit) to (Incinerium[Playernumber[1]] + 1)
- Floating Text - Create floating text that reads (|c00FF8000 + ((String(Incinerium[Playernumber[1]])) + Charges)) above (Casting unit) with Z offset 0.00, using font size 8.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 (Random real number between 30.00 and 150.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
- Else - Actions
-
If - Conditions
- Set CasterInt[1] = (Intelligence of (Casting unit) (Include bonuses))
- Set CasterStr[1] = (Strength of (Casting unit) (Include bonuses))
- Set SpellLevel = (Level of (Ability being cast) for (Casting unit))
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((0.50 x (Real(SpellLevel))) x ((Real(CasterStr[1])) + (Real(CasterInt[1])))) damage of attack type Spells and damage type Normal
- Set HealAmount = ((0.50 x (Real(SpellLevel))) x (Real(CasterInt[1])))
- Unit - Set life of (Triggering unit) to ((Life of (Casting unit)) + HealAmount)
- Floating Text - Create floating text that reads (|c0046FF46+ + (String((Integer(HealAmount))))) above (Casting unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 100.00 towards (Random real number between 30.00 and 150.00) degrees
- Floating Text - Change (Last created floating text): Disable permanence
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Incinerium[Playernumber[1]] Equal to 6
-
Then - Actions
- Set Incinerium[Playernumber[1]] = 0
- Unit - Set level of Incinerium (Spell Breaker) for (Casting unit) to 1
- Special Effect - Destroy (Last created special effect)
- Set HellionboltLvl = (Level of Sun blast (Neutral Hostile) for (Casting unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HellionboltLvl Greater than 0
-
Then - Actions
- Unit - Remove Sun blast (Neutral Hostile) from (Casting unit)
- Hero - Learn skill for (Casting unit): Incineris Blast (Neutral Hostile)
- Unit - Set level of Incineris Blast (Neutral Hostile) for (Casting unit) to HellionboltLvl
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Asherbite
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Asherbite
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff |CFF6633FFTouch Of Incineris|r) Equal to True
-
Then - Actions
- Set Playernumber[1] = (Player number of (Owner of (Casting unit)))
- Set Incinerium[Playernumber[1]] = (Incinerium[Playernumber[1]] + 1)
- Unit - Set level of Incinerium (Spell Breaker) for (Casting unit) to (Incinerium[Playernumber[1]] + 1)
- Floating Text - Create floating text that reads (|c00FF8000 + ((String(Incinerium[Playernumber[1]])) + Charges)) above (Casting unit) with Z offset 0.00, using font size 8.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 (Random real number between 30.00 and 150.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
- Else - Actions
-
If - Conditions
- Set CasterInt[1] = (Intelligence of (Casting unit) (Include bonuses))
- Set CasterStr[1] = (Strength of (Casting unit) (Include bonuses))
- Set SpellLevel = (Level of (Ability being cast) for (Casting unit))
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((0.50 x (Real(SpellLevel))) x ((Real(CasterStr[1])) + 0.00)) damage of attack type Spells and damage type Normal
- Set HealAmount = ((0.50 x (Real(SpellLevel))) x (Real(CasterStr[1])))
- Unit - Set mana of (Casting unit) to ((Mana of (Casting unit)) + HealAmount)
- Floating Text - Create floating text that reads (|c000080FF+ + (String((Integer(HealAmount))))) above (Casting unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 100.00 towards (Random real number between 30.00 and 150.00) degrees
- Floating Text - Change (Last created floating text): Disable permanence
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Incinerium[Playernumber[1]] Equal to 6
-
Then - Actions
- Set Incinerium[Playernumber[1]] = 0
- Unit - Set level of Incinerium (Spell Breaker) for (Casting unit) to 1
- Set HellionboltLvl = (Level of Sun blast (Neutral Hostile) for (Casting unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HellionboltLvl Greater than 0
-
Then - Actions
- Unit - Remove Sun blast (Neutral Hostile) from (Casting unit)
- Hero - Learn skill for (Casting unit): Incineris Blast (Neutral Hostile)
- Unit - Set level of Incineris Blast (Neutral Hostile) for (Casting unit) to HellionboltLvl
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Asherbite
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Asherbite
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff |CFF6633FFTouch Of Incineris|r) Equal to True
-
Then - Actions
- Set Playernumber[1] = (Player number of (Owner of (Casting unit)))
- Set Incinerium[Playernumber[1]] = (Incinerium[Playernumber[1]] + 1)
- Unit - Set level of Incinerium (Spell Breaker) for (Casting unit) to (Incinerium[Playernumber[1]] + 1)
- Floating Text - Create floating text that reads (|c00FF8000 + ((String(Incinerium[Playernumber[1]])) + Charges)) above (Casting unit) with Z offset 0.00, using font size 8.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 (Random real number between 30.00 and 150.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
- Else - Actions
-
If - Conditions
- Set CasterInt[1] = (Intelligence of (Casting unit) (Include bonuses))
- Set CasterStr[1] = (Strength of (Casting unit) (Include bonuses))
- Set SpellLevel = (Level of (Ability being cast) for (Casting unit))
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((0.50 x (Real(SpellLevel))) x ((Real(CasterStr[1])) + 0.00)) damage of attack type Spells and damage type Normal
- Set HealAmount = ((0.50 x (Real(SpellLevel))) x (Real(CasterStr[1])))
- Unit - Set mana of (Casting unit) to ((Mana of (Casting unit)) + HealAmount)
- Floating Text - Create floating text that reads (|c000080FF+ + (String((Integer(HealAmount))))) above (Casting unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 100.00 towards (Random real number between 30.00 and 150.00) degrees
- Floating Text - Change (Last created floating text): Disable permanence
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Incinerium[Playernumber[1]] Equal to 6
-
Then - Actions
- Set Incinerium[Playernumber[1]] = 0
- Unit - Set level of Incinerium (Spell Breaker) for (Casting unit) to 1
- Set HellionboltLvl = (Level of Sun blast (Neutral Hostile) for (Casting unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HellionboltLvl Greater than 0
-
Then - Actions
- Unit - Remove Sun blast (Neutral Hostile) from (Casting unit)
- Hero - Learn skill for (Casting unit): Incineris Blast (Neutral Hostile)
- Unit - Set level of Incineris Blast (Neutral Hostile) for (Casting unit) to HellionboltLvl
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Thanks