Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
majestyotbr committed Jan 9, 2024
1 parent d2a22b4 commit 161a974
Showing 1 changed file with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ local config = {
}

local entrancesTiles = {
{ position = { x = 31937, y = 32324, z = 10 } },
{ position = { x = 31937, y = 32325, z = 10 } },
{ position = { x = 31937, y = 32326, z = 10 } },
{ position = { x = 31951, y = 32310, z = 10 } },
{ position = { x = 31952, y = 32310, z = 10 } },
{ position = { x = 31953, y = 32310, z = 10 } },
{ position = { x = 31954, y = 32310, z = 10 } },
{ position = { x = 31955, y = 32310, z = 10 } },
{ position = { x = 31956, y = 32310, z = 10 } },
{ position = { x = 31957, y = 32310, z = 10 } },
{ position = { x = 31951, y = 32339, z = 10 } },
{ position = { x = 31952, y = 32339, z = 10 } },
{ position = { x = 31953, y = 32339, z = 10 } },
{ position = { x = 31953, y = 32340, z = 10 } },
{ position = { x = 31954, y = 32340, z = 10 } },
{ position = { x = 31955, y = 32340, z = 10 } },
{ position = { x = 31955, y = 32341, z = 10 } },
{ position = { x = 31969, y = 32323, z = 10 } },
{ position = { x = 31969, y = 32324, z = 10 } },
{ position = { x = 31969, y = 32325, z = 10 } },
{ position = { x = 31969, y = 32326, z = 10 } },
{ position = { x = 31969, y = 32327, z = 10 } },
{ x = 31937, y = 32324, z = 10 },
{ x = 31937, y = 32325, z = 10 },
{ x = 31937, y = 32326, z = 10 },
{ x = 31951, y = 32310, z = 10 },
{ x = 31952, y = 32310, z = 10 },
{ x = 31953, y = 32310, z = 10 },
{ x = 31954, y = 32310, z = 10 },
{ x = 31955, y = 32310, z = 10 },
{ x = 31956, y = 32310, z = 10 },
{ x = 31957, y = 32310, z = 10 },
{ x = 31951, y = 32339, z = 10 },
{ x = 31952, y = 32339, z = 10 },
{ x = 31953, y = 32339, z = 10 },
{ x = 31953, y = 32340, z = 10 },
{ x = 31954, y = 32340, z = 10 },
{ x = 31955, y = 32340, z = 10 },
{ x = 31955, y = 32341, z = 10 },
{ x = 31969, y = 32323, z = 10 },
{ x = 31969, y = 32324, z = 10 },
{ x = 31969, y = 32325, z = 10 },
{ x = 31969, y = 32326, z = 10 },
{ x = 31969, y = 32327, z = 10 },
}

local zone = Zone("boss." .. toKey(config.bossName))
Expand Down Expand Up @@ -124,8 +124,8 @@ function teleportBoss.onStepIn(creature, item, position, fromPosition)
player:sendBosstiaryCooldownTimer()
end

for value in pairs(entrancesTiles) do
teleportBoss:position(entrancesTiles[value].position)
for _, registerPosition in ipairs(entrancesTiles) do
teleportBoss:position(registerPosition)
end

teleportBoss:type("stepin")
Expand Down

0 comments on commit 161a974

Please sign in to comment.