Skip to content

Commit

Permalink
chore: change offline training to core (opentibiabr#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored Feb 20, 2024
1 parent d5f826f commit 4db5809
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 109 deletions.
31 changes: 0 additions & 31 deletions data-otservbr-global/scripts/actions/other/offline_training.lua

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local offlineTraining = CreatureEvent("Offline Training")
local offlineTraining = CreatureEvent("OfflineTraining")

function offlineTraining.onLogin(player)
local lastLogout = player:getLastLogout()
Expand Down Expand Up @@ -72,7 +72,6 @@ function offlineTraining.onLogin(player)
if updateSkills then
player:addOfflineTrainingTries(SKILL_SHIELD, trainingTime / 4)
end

return true
end

Expand Down

0 comments on commit 4db5809

Please sign in to comment.