mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
24 lines
582 B
Lua
24 lines
582 B
Lua
--[[
|
|
Script Name : Spells/MurdunksTactics.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2024.05.07 10:05:45
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function cast(Caster, Target)
|
|
AddProc(Caster, 1, 5.0)
|
|
end
|
|
|
|
function proc(Caster, Target, Type)
|
|
Level = GetLevel(Caster)
|
|
MinDmg = math.floor(Level * 0.5)
|
|
MaxDmg = math.floor(Level * 1.0)
|
|
if Type == 1 then
|
|
ProcDamage(Caster, Target, "Murdunk's Tactics", 0, MakeRandomInt(MinDmg, MaxDmg))
|
|
end
|
|
end
|
|
|
|
function remove(Caster, Target)
|
|
RemoveProc()
|
|
end
|