mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
35 lines
893 B
Lua
35 lines
893 B
Lua
--[[
|
|
Script Name : Spells/GhostMastersSmite.lua
|
|
Script Author : image
|
|
Script Date : 2025.08.01 08:08:36
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
--[[ Info from spell_display_effects (remove from script when done)
|
|
|
|
*If target is Ghost
|
|
*Decreases STR of target by 20
|
|
*Decreases Attack Speed of target by 10.0
|
|
*Inflicts 163 - 199 divine damage on target
|
|
|
|
--]]
|
|
|
|
function precast(Caster, Target)
|
|
if GetRaceBaseType(Target) ~= 334 then
|
|
return false, 38
|
|
end
|
|
return true
|
|
end
|
|
|
|
function cast(Caster, Target, Amount, SpeedAmount, DmgType, MinVal, MaxVal)
|
|
AddSpellBonus(Target, 2, Amount)
|
|
AddSpellBonus(Target, 0, Amount)
|
|
AddSpellBonus(Target, 617, SpeedAmount)
|
|
SpellDamage(Target, DmgType, MinVal, MaxVal)
|
|
end
|
|
|
|
function remove(Caster, Target)
|
|
RemoveSpellBonus(Target)
|
|
RemoveSkillBonus(Target)
|
|
end
|