[DiscordArchive] Hi is there any solution to remove the Fatigue from Azerothcore ?
[DiscordArchive] Hi is there any solution to remove the Fatigue from Azerothcore ?
Archived author: Rymercyble • Posted: 2023-09-05T21:03:01.529000+00:00
Original source
i want my caves
Archived author: Bench • Posted: 2023-09-05T21:03:37.234000+00:00
Original source
Then you better learn to love Blender
Archived author: Kitzunu • Posted: 2023-09-05T21:03:40.085000+00:00
Original source
Open ceiling caves
Archived author: mynameismeat • Posted: 2023-09-05T21:03:59.407000+00:00
Original source
https://giphy.com/gifs/digg-that-smile-w...o5kaFxeBig
Archived author: Rymercyble • Posted: 2023-09-05T21:04:09.749000+00:00
Original source
im not saying i hate blender but i used it only in high school so thats another thing to learn
Archived author: Synz • Posted: 2023-09-05T21:15:08.022000+00:00
Original source
Basicly i just removed ```// In dark water
if (m_MirrorTimerFlags & UNDERWATER_INDARKWATER)
{
// Fatigue timer not activated - activate it
// Basically here we detect the player is in a Fatigue zone but does not have a fatigue bar yet -- show it
if (m_MirrorTimer[FATIGUE_TIMER] == DISABLED_MIRROR_TIMER)
{
m_MirrorTimer[FATIGUE_TIMER] = getMaxTimer(FATIGUE_TIMER);
SendMirrorTimer(FATIGUE_TIMER, m_MirrorTimer[FATIGUE_TIMER], m_MirrorTimer[FATIGUE_TIMER], -1);
}
// Otherwise player already has fatigue bar shown
else
{
// Update fatigue time
m_MirrorTimer[FATIGUE_TIMER] -= time_diff;
// Timer limit - need deal damage or teleport ghost to graveyard
// If the fatigue time is less than 0 ms remaining, then
if (m_MirrorTimer[FATIGUE_TIMER] < 0)
{
m_MirrorTimer[FATIGUE_TIMER] += 1 * IN_MILLISECONDS;
// If player is alive damage them
if (IsAlive()) // Calculate and deal damage
{
uint32 damage = GetMaxHealth() / 5 + urand(0, GetLevel() - 1);
EnvironmentalDamage(DAMAGE_EXHAUSTED, damage);
}
// Otherwise move to graveyard on release
else if (HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST)) // Teleport ghost to graveyard
RepopAtGraveyard();
}
else if (!(m_MirrorTimerFlagsLast & UNDERWATER_INDARKWATER))
SendMirrorTimer(FATIGUE_TIMER, getMaxTimer(FATIGUE_TIMER), m_MirrorTimer[FATIGUE_TIMER], -1);
}
}```
Archived author: Synz • Posted: 2023-09-05T21:15:18.533000+00:00
Original source
& it work to remove the Fatigue
Archived author: Synz • Posted: 2023-09-05T21:15:22.416000+00:00
Original source
in Player.cpp