Skip to content

Commit

Permalink
Update actions_frozen_horror.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
htc16 committed Oct 23, 2024
1 parent d3e27a9 commit 7b0f3c4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ local monsters = {
{ monster = "melting frozen horror", pos = Position(32267, 31071, 14) },
}

local leverZyrtarch = Action()
local leverMeltingFrozenHorror = Action()

function leverZyrtarch.onUse(player, item, fromPosition, target, toPosition, isHotkey)
function leverMeltingFrozenHorror.onUse(player, item, fromPosition, target, toPosition, isHotkey)
if item.itemid == 8911 then
if player:getPosition() ~= Position(32302, 31088, 14) then
item:transform(8912)
Expand Down Expand Up @@ -55,5 +55,5 @@ function leverZyrtarch.onUse(player, item, fromPosition, target, toPosition, isH
return true
end

leverZyrtarch:position(Position(33391, 31177, 10))
leverZyrtarch:register()
leverMeltingFrozenHorror:position(Position(32302, 31087, 14))
leverMeltingFrozenHorror:register()

0 comments on commit 7b0f3c4

Please sign in to comment.