mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10449] Typos in enum names and comments
Also typos find by darkstalker and Neo2003 Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e3d9ebe81e
commit
214c65baa1
12 changed files with 2746 additions and 2746 deletions
|
|
@ -3250,7 +3250,7 @@ void Spell::EffectHeal(SpellEffectIndex /*eff_idx*/)
|
|||
else if ((m_spellInfo->Id == 67486 || m_spellInfo->Id == 67489) && unitTarget->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
Player* player = (Player*)unitTarget;
|
||||
if (player->HasSkill(SKILL_ENGINERING))
|
||||
if (player->HasSkill(SKILL_ENGINEERING))
|
||||
addhealth += int32(addhealth * 0.25);
|
||||
}
|
||||
|
||||
|
|
@ -3556,7 +3556,7 @@ void Spell::EffectEnergize(SpellEffectIndex eff_idx)
|
|||
if (unitTarget->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
Player* player = (Player*)unitTarget;
|
||||
if (player->HasSkill(SKILL_ENGINERING))
|
||||
if (player->HasSkill(SKILL_ENGINEERING))
|
||||
damage += int32(damage * 0.25);
|
||||
}
|
||||
break;
|
||||
|
|
@ -4349,9 +4349,9 @@ void Spell::DoSummonWild(SpellEffectIndex eff_idx, uint32 forceFaction)
|
|||
if (m_caster->GetTypeId()==TYPEID_PLAYER && m_CastItem)
|
||||
{
|
||||
ItemPrototype const *proto = m_CastItem->GetProto();
|
||||
if (proto && proto->RequiredSkill == SKILL_ENGINERING)
|
||||
if (proto && proto->RequiredSkill == SKILL_ENGINEERING)
|
||||
{
|
||||
uint16 skill202 = ((Player*)m_caster)->GetSkillValue(SKILL_ENGINERING);
|
||||
uint16 skill202 = ((Player*)m_caster)->GetSkillValue(SKILL_ENGINEERING);
|
||||
if (skill202)
|
||||
level = skill202/5;
|
||||
}
|
||||
|
|
@ -4413,9 +4413,9 @@ void Spell::DoSummonGuardian(SpellEffectIndex eff_idx, uint32 forceFaction)
|
|||
if (m_caster->GetTypeId() == TYPEID_PLAYER && m_CastItem)
|
||||
{
|
||||
ItemPrototype const *proto = m_CastItem->GetProto();
|
||||
if (proto && proto->RequiredSkill == SKILL_ENGINERING)
|
||||
if (proto && proto->RequiredSkill == SKILL_ENGINEERING)
|
||||
{
|
||||
uint16 skill202 = ((Player*)m_caster)->GetSkillValue(SKILL_ENGINERING);
|
||||
uint16 skill202 = ((Player*)m_caster)->GetSkillValue(SKILL_ENGINEERING);
|
||||
if (skill202)
|
||||
{
|
||||
level = skill202 / 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue