Skip to content

Commit

Permalink
feat: Timira The Many-Headed Boss fight mechanic (#2044)
Browse files Browse the repository at this point in the history
# Description

Timira The Many-Headed Boss fight mechanic. 
Previously, boss lever teleported players straight to boss room. 
This PR covers whole mechanic for this fight.

First stage - players have to use bucket full of sparkles on trapped
water,
End of first stage spawns Reward box and teleport to second stage. 
Second stage - players have to use corupted water with 8s cooldown,
until end of stage is triggered.
End of second stage spawn Reward box and teleport to third stage. 
Third stage is just a boss fight.

**Map requires changes:** 

Lack of water around first stage  

![image](https://github.com/opentibiabr/canary/assets/106963095/aec56eff-bd46-48f6-95db-afb96d6e0599)

Borders are walkable :
1. vertical borders should have an id : 38126
2. horizontal borders should have an id: 38125

![image](https://github.com/opentibiabr/canary/assets/106963095/8b4e1350-e35d-463d-a77a-c6cb2dd19388)

---------

Co-authored-by: Elson Costa <[email protected]>
Co-authored-by: Luan Santos <[email protected]>
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Dec 30, 2023
1 parent 2874951 commit 37bd3dc
Show file tree
Hide file tree
Showing 4 changed files with 411 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ monster.loot = {
{ name = "giant topaz", chance = 2041 },
{ name = "dawnfire sherwani", chance = 200 },
{ name = "frostflower boots", chance = 200 },
{ name = "feverbloom boots", chance = 200 },
{ id = 39233, chance = 200 }, -- enchanted turtle amulet
{ name = "midnight tunic", chance = 200 },
{ name = "midnight sarong", chance = 200 },
{ name = "naga quiver", chance = 200 },
{ name = "naga sword", chance = 200 },
{ name = "naga axe", chance = 200 },
{ name = "naga club", chance = 200 },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
local config = {
boss = {
name = "Timira The Many-Headed",
position = Position(33815, 32703, 9),
},
boss = { name = "Timira the Many-Headed" },
encounter = "Timira the Many-Headed",
requiredLevel = 250,
playerPositions = {
{ pos = Position(33809, 32702, 8), teleport = Position(33816, 32708, 9), effect = CONST_ME_TELEPORT },
{ pos = Position(33808, 32702, 8), teleport = Position(33816, 32708, 9), effect = CONST_ME_TELEPORT },
{ pos = Position(33807, 32702, 8), teleport = Position(33816, 32708, 9), effect = CONST_ME_TELEPORT },
{ pos = Position(33806, 32702, 8), teleport = Position(33816, 32708, 9), effect = CONST_ME_TELEPORT },
{ pos = Position(33805, 32702, 8), teleport = Position(33816, 32708, 9), effect = CONST_ME_TELEPORT },
{ pos = Position(33809, 32702, 8), teleport = Position(33787, 32680, 10), effect = CONST_ME_TELEPORT },
{ pos = Position(33808, 32702, 8), teleport = Position(33787, 32680, 10), effect = CONST_ME_TELEPORT },
{ pos = Position(33807, 32702, 8), teleport = Position(33787, 32680, 10), effect = CONST_ME_TELEPORT },
{ pos = Position(33806, 32702, 8), teleport = Position(33787, 32680, 10), effect = CONST_ME_TELEPORT },
{ pos = Position(33805, 32702, 8), teleport = Position(33787, 32680, 10), effect = CONST_ME_TELEPORT },
},
specPos = {
from = Position(33803, 32690, 9),
Expand All @@ -21,3 +19,7 @@ local config = {
local lever = BossLever(config)
lever:position({ x = 33810, y = 32702, z = 8 })
lever:register()

local zone = lever:getZone()
zone:addArea({ x = 33777, y = 32673, z = 10 }, { x = 33801, y = 32700, z = 10 })
zone:addArea({ x = 33784, y = 32701, z = 9 }, { x = 33806, y = 32716, z = 9 })
Loading

0 comments on commit 37bd3dc

Please sign in to comment.