1234567891011121314151617181920212223242526 |
- --[[
- Script Name : Rob.lua
- Script Purpose : Brigand Direct Damage + Debuff
- Script Author : Zcoretri
- Script Date : 17.April.2010
- Script Notes :
- --]]
- function cast(Caster, Target, DmgType, MinDmg, MaxDmg, StatAmt)
- -- Add check for Caster is using sneaking ability
- if MaxDmg ~= nil and MinDmg < MaxDmg then
- dmgAmount = math.random(MinDmg, MaxDmg)
- SpellDamage(Target, DmgType, dmgAmount)
- else
- SpellDamage(Target, DmgType, MinDmg)
- end
- --AddSpellBonus(Target, 0, StatAmt)
- end
- function tick(Caster, Target, DmgType, MinDmg, MaxDmg, StatAmt)
- end
- function remove(Caster, Target, DmgType, MinDmg, MaxDmg, StatAmt)
- --RemoveSpellBonus(Target)
- end
|