mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
11 lines
347 B
Lua
Executable file
11 lines
347 B
Lua
Executable file
local IcemanesCometh = 18
|
|
function used(Item, Player)
|
|
if GetQuestStep(Player, IcemanesCometh) == 1 then
|
|
target = GetTarget(Player)
|
|
if GetName(target) == 'an icemane cub' then
|
|
if not (GetInfoStructUInt(target, "engaged_encounter") == 1) then
|
|
CastEntityCommand(Player, target, 1278, "Leash")
|
|
end
|
|
end
|
|
end
|
|
end
|