Skip to content

Commit

Permalink
Merge branch 'main' into tibia14
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 authored Dec 9, 2024
2 parents 6e3f6a7 + e325965 commit 011b203
Show file tree
Hide file tree
Showing 15 changed files with 309 additions and 357 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ endif()
# *****************************************************************************
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)

# Configure build options for compatibility with commodity CPUs
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=x86-64 -mtune=generic -mno-avx -mno-sse4")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=x86-64 -mtune=generic -mno-avx -mno-sse4")


# *****************************************************************************
# Include cmake tools
# *****************************************************************************
Expand Down
114 changes: 0 additions & 114 deletions data-canary/scripts/creaturescripts/player_death.lua

This file was deleted.

146 changes: 0 additions & 146 deletions data-otservbr-global/scripts/creaturescripts/others/player_death.lua

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
local svargrondArenaPlayerDeath = CreatureEvent("SvargrondArenaPlayerDeath")

function svargrondArenaPlayerDeath.onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified)
if player:getStorageValue(Storage.Quest.U8_0.BarbarianArena.PitDoor) > 0 then
player:setStorageValue(Storage.Quest.U8_0.BarbarianArena.PitDoor, 0)
end
end

svargrondArenaPlayerDeath:register()
Loading

0 comments on commit 011b203

Please sign in to comment.