diff --git a/data/actions/scripts/misc/skill_trainer.lua b/data/actions/scripts/misc/skill_trainer.lua index a41a360..792ee77 100644 --- a/data/actions/scripts/misc/skill_trainer.lua +++ b/data/actions/scripts/misc/skill_trainer.lua @@ -7,24 +7,24 @@ local statues = { } function onUse(player, item, fromPosition, target, toPosition, isHotkey) - local skill = statues[item:getActionId()] - if not player:isPremium() then - player:sendCancelMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT) - return true - end + -- local skill = statues[item:getActionId()] + -- if not player:isPremium() then + -- player:sendCancelMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT) + -- return true + -- end - if player:isPzLocked() then - return false - end + -- if player:isPzLocked() then + -- return false + -- end - local entreePrice = 1000 - if player:getBankBalance() < entreePrice then - player:sendCancelMessage("You do not have 1000 gold coins in your bank account balance to participate in offline training.") - return true - end + -- local entreePrice = 1000 + -- if player:getBankBalance() < entreePrice then + -- player:sendCancelMessage("You do not have 1000 gold coins in your bank account balance to participate in offline training.") + -- return true + -- end - player:setOfflineTrainingSkill(skill) - player:setBankBalance(player:getBankBalance() - entreePrice) - player:remove() + -- player:setOfflineTrainingSkill(skill) + -- player:setBankBalance(player:getBankBalance() - entreePrice) + -- player:remove() return true end diff --git a/data/world792/map.otbm b/data/world792/map.otbm index dc57ef3..dd0e434 100644 Binary files a/data/world792/map.otbm and b/data/world792/map.otbm differ