mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
Merge remote-tracking branch 'origin/master' into 4.3.4
Conflicts: src/server/game/AI/EventAI/CreatureEventAI.cpp src/server/game/Globals/ObjectMgr.cpp
This commit is contained in:
@@ -973,11 +973,10 @@ bool Guardian::UpdateStats(Stats stat)
|
||||
float mod = 0.75f;
|
||||
if (IsPetGhoul() && (stat == STAT_STAMINA || stat == STAT_STRENGTH))
|
||||
{
|
||||
switch (stat)
|
||||
{
|
||||
case STAT_STAMINA: mod = 0.3f; break; // Default Owner's Stamina scale
|
||||
case STAT_STRENGTH: mod = 0.7f; break; // Default Owner's Strength scale
|
||||
}
|
||||
if (stat == STAT_STAMINA)
|
||||
mod = 0.3f; // Default Owner's Stamina scale
|
||||
else
|
||||
mod = 0.7f; // Default Owner's Strength scale
|
||||
|
||||
// Check just if owner has Ravenous Dead since it's effect is not an aura
|
||||
AuraEffect const* aurEff = owner->GetAuraEffect(SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE, SPELLFAMILY_DEATHKNIGHT, 3010, 0);
|
||||
|
||||
Reference in New Issue
Block a user