EQ2EMu/server/Spells/Fighter/Brawler/PowerStrike.lua
Image 548007ea96 Base
Starting point..!
2020-02-28 09:17:24 -05:00

23 lines
No EOL
561 B
Lua

--[[
Script Name : Spells/Fighter/Brawler/PowerStrike.lua
Script Author : Dello
Script Date : 2014.07.10 06:07:45
Script Purpose :
:
--]]
function cast(Caster, Target, DmgType, MinVal, MaxVal, DefSkills)
AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkills)
if MaxVal ~= nil and MinVal < MaxVal then
SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
else
SpellDamage(Target, DmgType, MinVal)
end
end
function remove(Caster, Target)
RemoveSkillBonus(Target)
end