Skip to content

Commit

Permalink
improvement: claustrophobic inferno raids and safe zones
Browse files Browse the repository at this point in the history
  • Loading branch information
phacUFPE authored and s2leandro155 committed Jul 5, 2024
1 parent 1aefe43 commit ce39480
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function callback.playerOnThink(player, interval)

if accumulatedTime[playerId] >= 10000 then
local soulWarQuest = player:soulWarQuestKV()
if player:getSoulWarZoneMonster() ~= nil and not player:isInSafeZone() and player:getTaintNameByNumber(5) ~= nil then
if player:getSoulWarZoneMonster() ~= nil and player:getTaintNameByNumber(5) ~= nil then
local hpLoss = math.ceil(player:getHealth() * 0.1)
local manaLoss = math.ceil(player:getMana() * 0.1)
player:addHealth(-hpLoss)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ soul_war_megalomania_entrance:position({ x = 33611, y = 31430, z = 10 })
soul_war_megalomania_entrance:register()

local claustrophobicInfernoTeleportPositions = {
[Position(34013, 31049, 9)] = Position(34014, 31058, 9),
[Position(34010, 31073, 10)] = Position(34012, 31063, 10),
[Position(34009, 31038, 11)] = Position(34012, 31047, 11),
[Position(34022, 31091, 11)] = Position(33685, 31599, 14),
}

Expand Down

0 comments on commit ce39480

Please sign in to comment.