same orts2 datapack but from different user, here you go:
I already got these parts, but they don't have the boss room mechanic.I would recommend that you look in Canary, there they have all the systems of an RL
![]()
Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.github.com
![]()
GitHub - opentibiabr/canary: Canary Server 15.11 for OpenTibia community.
Canary Server 15.11 for OpenTibia community. . Contribute to opentibiabr/canary development by creating an account on GitHub.github.com
local kosheiBoss = Action()
function kosheiBoss.onUse(player, item, fromPosition, target, toPosition, isHotkey)
if target.itemid ~= 7538 then
return false
end
if player:getStorageValue(Storage.SweetyCyclops.AmuletStatus) == 2 and player:getStorageValue(Storage.KosheiTheDeathless.RewardDoor) ~= 1 then
player:removeItem(7532, 1)
player:setStorageValue(Storage.KosheiTheDeathless.RewardDoor, 1)
player:setStorageValue(Storage.KosheiTheDeathless.KosheiMission, 1)
player:setStorageValue(Storage.TibiaTales.KosheiTheDeathlessQ, 1)
player:setStorageValue(Storage.TibiaTales.DefaultStart, 1)
toPosition:sendMagicEffect(CONST_ME_MAGIC_RED)
player:say("At last.. I have it back, my precious amulet. I am glad you didn't use it! I allow you to ...ahh... enter door ...ahh", TALKTYPE_MONSTER_SAY, false, player, toPosition)
end
return true
end
kosheiBoss:id(7532)
kosheiBoss:register()
1)When you enter the room the boss spawnsEle praticamente nem tem nenhuma mecânica, você só precisa matá-lo e usar o koshei no corpo, se é isso que você quer dizer.
alterar os ids.LUA:local kosheiBoss = Ação() função kosheiBoss.onUse(jogador, item, fromPosition, alvo, toPosition, isHotkey) se target.itemid ~= 7538 então retorna falso fim se jogador:getStorageValue(Storage.SweetyCyclops.AmuletStatus) == 2 e jogador:getStorageValue(Storage.KosheiTheDeathless.RewardDoor) ~= 1 então jogador:removeItem(7532, 1) jogador:setStorageValue(Armazenamento.KosheiTheDeathless.RewardDoor, 1) jogador:setStorageValue(Armazenamento.KosheiTheDeathless.KosheiMission, 1) jogador:setStorageValue(Armazenamento.TibiaTales.KosheiTheDeathlessQ, 1) jogador:setStorageValue(Armazenamento.TibiaTales.DefaultStart, 1) paraPosição:enviarEfeitoMágico(CONST_ME_MAGIC_RED) player:say("Finalmente... Eu o tenho de volta, meu precioso amuleto. Estou feliz que você não o usou! Eu permito que você...ahh... entre pela porta...ahh", TALKTYPE_MONSTER_SAY, false, player, toPosition) fim retornar verdadeiro fim kosheiChefe:id(7532) kosheiBoss:registrar()
same orts2 datapack but from different user, here you go: