mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[8137] Init player display id + native display id on login.
* Temporary reset of display id on save no longer needed. * Players always have the right model for their gender. Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
a295979484
commit
38197b539f
6 changed files with 43 additions and 59 deletions
|
|
@ -2321,7 +2321,7 @@ void Spell::EffectUnlearnSpecialization( uint32 i )
|
|||
|
||||
_player->removeSpell(spellToUnlearn);
|
||||
|
||||
sLog.outDebug( "Spell: Player %u have unlearned spell %u from NpcGUID: %u", _player->GetGUIDLow(), spellToUnlearn, m_caster->GetGUIDLow() );
|
||||
sLog.outDebug( "Spell: Player %u has unlearned spell %u from NpcGUID: %u", _player->GetGUIDLow(), spellToUnlearn, m_caster->GetGUIDLow() );
|
||||
}
|
||||
|
||||
void Spell::EffectPowerDrain(uint32 i)
|
||||
|
|
@ -3324,7 +3324,7 @@ void Spell::EffectLearnSpell(uint32 i)
|
|||
uint32 spellToLearn = ((m_spellInfo->Id==SPELL_ID_GENERIC_LEARN) || (m_spellInfo->Id==SPELL_ID_GENERIC_LEARN_PET)) ? damage : m_spellInfo->EffectTriggerSpell[i];
|
||||
player->learnSpell(spellToLearn,false);
|
||||
|
||||
sLog.outDebug( "Spell: Player %u have learned spell %u from NpcGUID=%u", player->GetGUIDLow(), spellToLearn, m_caster->GetGUIDLow() );
|
||||
sLog.outDebug( "Spell: Player %u has learned spell %u from NpcGUID=%u", player->GetGUIDLow(), spellToLearn, m_caster->GetGUIDLow() );
|
||||
}
|
||||
|
||||
void Spell::EffectDispel(uint32 i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue