mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -2644,7 +2644,6 @@ void Player::RegenerateAll()
|
||||
// xinef: if grace is started, increase it but no more than cap
|
||||
else if (uint32 grace = GetGracePeriod(i))
|
||||
{
|
||||
|
||||
if (grace < RUNE_GRACE_PERIOD)
|
||||
SetGracePeriod(i, std::min<uint32>(grace + m_regenTimer, RUNE_GRACE_PERIOD));
|
||||
}
|
||||
@@ -4110,7 +4109,6 @@ bool Player::IsNeedCastPassiveSpellAtLearn(SpellInfo const* spellInfo) const
|
||||
ShapeshiftForm form = GetShapeshiftForm();
|
||||
return (!spellInfo->Stances || (form && (spellInfo->Stances & (1 << (form - 1)))) ||
|
||||
(!form && spellInfo->HasAttribute(SPELL_ATTR2_NOT_NEED_SHAPESHIFT)));
|
||||
|
||||
}
|
||||
|
||||
void Player::learnSpell(uint32 spellId)
|
||||
@@ -8653,7 +8651,6 @@ void Player::CastItemCombatSpell(Unit* target, WeaponAttackType attType, uint32
|
||||
|
||||
if (spellData.SpellPPMRate)
|
||||
{
|
||||
|
||||
uint32 WeaponSpeed = GetAttackTime(attType);
|
||||
chance = GetPPMProcChance(WeaponSpeed, spellData.SpellPPMRate, spellInfo);
|
||||
}
|
||||
@@ -18837,7 +18834,6 @@ void Player::_LoadInventory(PreparedQueryResult result, uint32 timeDiff)
|
||||
delete item;
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Item's state may have changed after storing
|
||||
|
||||
Reference in New Issue
Block a user