mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
20 lines
No EOL
524 B
Lua
Executable file
20 lines
No EOL
524 B
Lua
Executable file
--[[
|
|
Script Name : ItemScripts/Poultice.lua
|
|
Script Purpose : for the item "Poultice"
|
|
Script Author : theFoof
|
|
Script Date : 2013.6.3
|
|
Script Notes :
|
|
--]]
|
|
|
|
local DisarmingRyGorr = 48
|
|
|
|
function used(Item, Player)
|
|
if GetQuestStep(Player, DisarmingRyGorr) == 1 then
|
|
local target = GetTarget(Player)
|
|
if GetName(target) == "a Ry'Gorr weapon" then
|
|
CastEntityCommand(Player, target, 1284, "Poultice")
|
|
end
|
|
else
|
|
SendMessage(Player, "You can only use this on a Ry'Gorr weapon.", "yellow")
|
|
end
|
|
end |