mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[c12575] Fix typos
This commit is contained in:
parent
1e15277bba
commit
4fa06e1c91
2 changed files with 3 additions and 3 deletions
|
|
@ -4145,7 +4145,7 @@ void Spell::EffectUnlearnSpecialization(SpellEffectEntry const* effect)
|
||||||
_player->removeSpell(spellToUnlearn);
|
_player->removeSpell(spellToUnlearn);
|
||||||
|
|
||||||
if (WorldObject const* caster = GetCastingObject())
|
if (WorldObject const* caster = GetCastingObject())
|
||||||
DEBUG_LOG("Spell: %s has unlearned spell %u at %s", _player->GetGuidStr().c_str(), spellToUnlearn, m_caster->GetGuidStr().c_str());
|
DEBUG_LOG("Spell: %s has unlearned spell %u at %s", _player->GetGuidStr().c_str(), spellToUnlearn, caster->GetGuidStr().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::EffectPowerDrain(SpellEffectEntry const* effect)
|
void Spell::EffectPowerDrain(SpellEffectEntry const* effect)
|
||||||
|
|
@ -5851,7 +5851,7 @@ void Spell::EffectLearnSkill(SpellEffectEntry const* effect)
|
||||||
((Player*)unitTarget)->SetSkill(skillid, skillval ? skillval : 1, damage * 75, damage);
|
((Player*)unitTarget)->SetSkill(skillid, skillval ? skillval : 1, damage * 75, damage);
|
||||||
|
|
||||||
if (WorldObject const* caster = GetCastingObject())
|
if (WorldObject const* caster = GetCastingObject())
|
||||||
DEBUG_LOG("Spell: %s has learned skill %u (to maxlevel %u) from %s", unitTarget->GetGuidStr().c_str(), skillid, damage * 75, m_caster->GetGuidStr().c_str());
|
DEBUG_LOG("Spell: %s has learned skill %u (to maxlevel %u) from %s", unitTarget->GetGuidStr().c_str(), skillid, damage * 75, caster->GetGuidStr().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::EffectAddHonor(SpellEffectEntry const* /*effect*/)
|
void Spell::EffectAddHonor(SpellEffectEntry const* /*effect*/)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12574"
|
#define REVISION_NR "12575"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue