Functions or System API:
CriticalStrike.update takes unit whichUnit, real multiplier, real chance, string fx, string attachment, string msg returns nothing
// This adds critical strike on unit.
Example: call CriticalStrike.update(u, 2.0, 25.0, "Abilities\\Weapons\\HydraliskImpact\\HydraliskImpact.mdl", "chest", "|cFFFF0000<>!|r")
Tip: You can set fx to ".mdl" to create no effects.
Note: The <> represents the damage amount.
CriticalStrike.remove takes unit whichUnit returns nothing
// This removes the critical strike from unit.
Example: call CriticalStrike.remove(u)
Bash.update takes unit whichUnit, real damagebonus, real duration, real chance, string fx, string attachment returns nothing
// This adds bash on unit.
Example: call Bash.update(u, 50.00, 2.00, 25.00, ".mdl", "chest")
Tip: You can set fx to ".mdl" to create no effects.
Bash.remove takes unit whichUnit returns nothing
// This removes the bash from unit.
Example: call Bash.remove(u)
Evasion.update takes unit whichUnit, real chance, string fx, string attachment, string msg returns nothing
// This adds evasion on unit.
Example: call Evasion.update(u, 30.00, ".mdl", "chest", "|cFFFF0000miss|r")
Tip: You can set fx to ".mdl" to create no effects.
Evasion.remove takes unit whichUnit returns nothing
// This removes the evasion from unit.
Example: call Evasion.remove(u)
Cleave.update takes unit whichUnit, real dmgfactor, real AoE, string fx, string attach returns nothing
// This adds cleave on unit.
Example: call Cleave.update(u, 0.75, 200, ".mdl", "chest")
Tip: You can set fx to ".mdl" to create no effects.
Cleave.remove takes unit whichUnit returns nothing
// This removes the cleave from unit.
Example: call Cleave.remove(u)