Skip to content

Some Chagorz/Vemiath/Bakragore mechanics #917

Description

@VictorWalking

The current Agony stack implementation appears inaccurate.

if samePosition then
if data.iconCount <= 20 then
data.iconCount = math.max(data.iconCount + 1, 0)
elseif data.iconCount > 21 then
data.iconCount = 21
end
if data.iconCount > 0 and data.iconCount < 15 then
damage = damage + math.floor(player:getMaxHealth() * 0.03)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
elseif data.iconCount >= 15 and data.iconCount < 20 then
damage = damage + math.floor(player:getMaxHealth() * 0.07)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
elseif data.iconCount >= 20 then
damage = damage + math.floor(player:getMaxHealth() * 0.15)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
else
end
else
if data.iconCount > 0 then
data.iconCount = data.iconCount - 1
else
data.iconCount = data.iconCount
end
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
end

if samePosition then
if data.iconCount <= 20 then
data.iconCount = math.max(data.iconCount + 1, 0)
elseif data.iconCount > 21 then
data.iconCount = 21
end
if data.iconCount > 0 and data.iconCount < 15 then
damage = damage + math.floor(player:getMaxHealth() * 0.03)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
elseif data.iconCount >= 15 and data.iconCount < 20 then
damage = damage + math.floor(player:getMaxHealth() * 0.07)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
elseif data.iconCount >= 20 then
damage = damage + math.floor(player:getMaxHealth() * 0.15)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
else
end
else
if data.iconCount > 0 then
data.iconCount = data.iconCount - 1
else
data.iconCount = data.iconCount
end
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
end

if samePosition then
if data.iconCount <= 20 then
data.iconCount = math.max(data.iconCount + 1, 0)
elseif data.iconCount > 21 then
data.iconCount = 21
end
if data.iconCount > 0 and data.iconCount < 15 then
damage = damage + math.floor(player:getMaxHealth() * 0.03)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
elseif data.iconCount >= 15 and data.iconCount < 20 then
damage = damage + math.floor(player:getMaxHealth() * 0.07)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
elseif data.iconCount >= 20 then
damage = damage + math.floor(player:getMaxHealth() * 0.15)
if player.setIcon then
player:setIcon("agony-stacks", CreatureIconCategory_Quests, CreatureIconQuests_RedCross, data.iconCount)
end
else
end
else

The counter should increase by 2 per second up to 21. At maximum stacks, the player takes 15% maximum HP as Agony Damage per second. Moving reduces the counter by 1 and creates a Darkfield, whose separate damage is 3% maximum HP.
The current implementation increases by only one, introduces undocumented 3%/7% damage tiers, and starts the 15% tier at 20. Also, the creature quest icon of this stage is CREATURE_QUEST_ICON_WHITECROSS. - https://tibia.fandom.com/wiki/Rotten_Blood_Quest

The Pillar of Dark Energy manages a separate condition tracked by CREATURE_QUEST_ICON_REDBALL = 3, starting at 11 stacks and decreasing by 1 per second. The bosses charge consuming beam detonates all remaining charges to deal burst elemental damage and resets the counter to 0.

-- Boss Charge Consumption & Damage Scaling
• Chagorz: Fire damage (1,200 per charge)
• Vemiath: Energy damage (1,200 per charge)
• Bakragore: Death damage (1,500 per charge)

Total damage scales linearly based on active stacks: Total Damage = Remaining Charges X Base Damage.

(Example: A player hit with 10 remaining charges takes 10 X 1.500 = 15.000 of death damage from Bakragore, or 10 X 1.200 = 12,000 fire/energy damage from Chagorz/Vemiath).

  • Boss Beam

As mentioned above, the beam cast by Bakragore, Vemiath, and Chagorz consumes the charges (redball) accumulated from the Pillar of Dark Energy. This beam has 8 SQM line (1x9 matrix) and applies the effect: CONST_ME_ELECTRICALSPARK = 221 (Electrical Spark Effect). https://tibia.fandom.com/wiki/Electrical_Spark_Effect

• The first one, from the "monster" Radicular Totem, which is located at specific positions in the "Putrefactory" hunt:

{ x = 34109, y = 31691, z = 14 },
{ x = 34111, y = 31729, z = 14 },
{ x = 34084, y = 31711, z = 14 },
{ x = 34068, y = 31732, z = 14 },
{ x = 34021, y = 31739, z = 14 },
{ x = 34044, y = 31705, z = 14 },
{ x = 34066, y = 31677, z = 14 },
{ x = 34015, y = 31665, z = 14 },
{ x = 34056, y = 31693, z = 15 },

This "monster" has 3 types of beams with different areas and damage:
• Beam 1 - has an area of 3 sqms (1x4 matrix);
• Beam 2 has an area of 7 sqms (1x8 matrix);
• Beam 3 has an area of 29 sqms (15x29 matrix).

The damage currently starts at 4,500 and scales by 10% with each beam and in direct relation to the mentioned effect.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions