Skip to content

Commit

Permalink
fix yakchal boss
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospess0a committed Dec 2, 2023
1 parent 65de5d7 commit f0e7d3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ end
local iceYakchal = Action()
function iceYakchal.onUse(player, item, fromPosition, target, toPosition, isHotkey)
local sarcophagus = Position(32205, 31002, 14)
if toPosition.x == sarcophagus.x and toPosition.y == sarcophagus.y and toPosition.z == sarcophagus.z and target.itemid == 7362 and item.itemid == 2361 then
if toPosition.x == sarcophagus.x and toPosition.y == sarcophagus.y and toPosition.z == sarcophagus.z and target.itemid == 7362 and item.itemid == 3249 then
if Game.getStorageValue(GlobalStorage.Yakchal) < os.time() then
Game.setStorageValue(GlobalStorage.Yakchal, os.time() + 24 * 60 * 60)
if math.random(2) == 2 then
Expand Down

0 comments on commit f0e7d3d

Please sign in to comment.