Hello, I'm kinda new here but not new in WE.
I have problem with DoT spell (Damage over Time) used by Warlocks in World of Warcraft.
Spell has duration of 15 seconds but cooldown is 6 seconds and problem is: If when it affects one unit and then I'll cast it on another old one stops taking damage.
I need it affect all units that will be targeted by it for full of its duration.
Discription of spell: Ignites target enemy causing X intial damage and then Y damage over 15 seconds. [|cffffcc00Damage over time is increased by spell power.|r]
Spell power is given from items and abilities and thats a variable.
Variables:
Here are my triggers.
(My World Editor is in polish so I tried to change all polish words to english ones.)
Setup trigger (sets caster, target and damage.)
Damage causing trigger
In last trigger, 20% of total damage calculated is dealt every 3 seconds.
I hope you can help me.
Hope You can help me.
I have problem with DoT spell (Damage over Time) used by Warlocks in World of Warcraft.
Spell has duration of 15 seconds but cooldown is 6 seconds and problem is: If when it affects one unit and then I'll cast it on another old one stops taking damage.
I need it affect all units that will be targeted by it for full of its duration.
Discription of spell: Ignites target enemy causing X intial damage and then Y damage over 15 seconds. [|cffffcc00Damage over time is increased by spell power.|r]
Spell power is given from items and abilities and thats a variable.
Variables:
Here are my triggers.
(My World Editor is in polish so I tried to change all polish words to english ones.)
Setup trigger (sets caster, target and damage.)
Code:
Immolate
Wydarzenia
Jednostka - A unit begins casting an abilitie
Warunki
(Ability being cast) is equal to Immolate (preparing)
Akcje
Set Immolate_Count = (Immolate_Count + 1)
Set Immolate_Target[Immolate_Count] = (Target unit of ability being cast)
Set Immolate_Caster[Immolate_Count] = (Casting unit)
Set Immolate_Damage[Immolate_Count] = (((Real((Level of Immolate (preparing) for Immolate_Caster[Immolate_Count]))) x 30.00) - 10.00)
Unit - Cause (Casting unit) to damage Immolate_Target[Immolate_Count], dealing (8.00 x (Real((Level of Immolate (preparing) for Immolate_Caster[Immolate_Count])))) damage of attack type Zaklęcia and damage type Uniwersalne
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditons
(Random integer number between 1 and 100) Lower or equal to (((Inteligencja of (Casting unit) (with bonuses)) / 10) + (((Integer(Spell_Crit_Rating[(Player number of (Owner of (Casting unit)))])) / 20) + 1))
then - Actions
Set Immolate_Damage[Immolate_Count] = (Immolate_Damage[Immolate_Count] x 2.00)
Gra - Display to (All players matching ((Owner of (Casting unit)) RĂłwna siÄ™ (Matching player))) the text: (|c00ff0000Your immolate deals|r + ((String(((Real((Level of Immolate (preparing) for Immolate_Caster[Immolate_Count]))) x 8.00))) + ( |c00ff0000 intial damage to + ((Proper name of (Target unit of ability being cast)) + (and will deal additonal|r + ((Stri
Trigger - Run Immolate DoT <gen> (ignoring conditions)
Else - Actions
Game - Display to (All players matching ((Owner of (Casting unit)) RĂłwna siÄ™ (Matching player))) the text: (|cffffcc00Your immolate deals|r + ((String(((Real((Level of Immolate (preparing) for Immolate_Caster[Immolate_Count]))) x 8.00))) + ( |cffffcc00 intial damage to + ((Proper name of (Target unit of ability being cast)) + (and will deal additonal|r + ((Stri
Wyzwalacz - Run Immolate DoT <gen> (ignoring conditions)
Damage causing trigger
Code:
Immolate DoT
Wydarzenia
Warunki
Akcje
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Immolate_Target[Immolate_Count] has buff Immolate ) RĂłwna siÄ™ TAK
Then - Actions
Unit - Cause Immolate_Caster[Immolate_Count] to damage Immolate_Target[Immolate_Count], dealing ((Immolate_Damage[Immolate_Count] + SpellPower[(Player number of (Owner of Immolate_Caster[Immolate_Count]))]) / 5.00) damage of attack type Spells and damage type Normal
Else - Actions
Do nothing
Wait 3.00 seconds
In last trigger, 20% of total damage calculated is dealt every 3 seconds.
I hope you can help me.
Hope You can help me.