mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
ec0141261a
commit
68abd76c97
20 changed files with 88 additions and 88 deletions
|
|
@ -663,7 +663,7 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
|
|||
if (m_spellInfo->SpellIconID == 1578)
|
||||
{
|
||||
if (m_caster->HasAura(57627)) // Charge 6 sec post-affect
|
||||
damage *= 2;
|
||||
damage *= 2;
|
||||
}
|
||||
// Mongoose Bite
|
||||
else if ((m_spellInfo->SpellFamilyFlags & UI64LIT(0x000000002)) && m_spellInfo->SpellVisual[0]==342)
|
||||
|
|
@ -2300,8 +2300,8 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
((*itr)->GetSpellProto()->SpellFamilyFlags & UI64LIT(0x0000000000200000)) &&
|
||||
(*itr)->GetCastItemGUID() == item->GetGUID())
|
||||
{
|
||||
m_damage += m_damage * damage / 100;
|
||||
return;
|
||||
m_damage += m_damage * damage / 100;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3781,7 +3781,7 @@ void Spell::EffectSummonType(SpellEffectIndex eff_idx)
|
|||
case SUMMON_PROP_TYPE_DK:
|
||||
case SUMMON_PROP_TYPE_CONSTRUCT:
|
||||
{
|
||||
// JC golems - 32804, etc -- fits much better totem AI
|
||||
// JC golems - 32804, etc -- fits much better totem AI
|
||||
if(m_spellInfo->SpellIconID == 2056)
|
||||
DoSummonTotem(eff_idx);
|
||||
if(prop_id == 832) // scrapbot
|
||||
|
|
@ -6962,13 +6962,13 @@ void Spell::DoSummonCritter(SpellEffectIndex eff_idx, uint32 forceFaction)
|
|||
// If dest location if present
|
||||
if (m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION)
|
||||
{
|
||||
x = m_targets.m_destX;
|
||||
y = m_targets.m_destY;
|
||||
z = m_targets.m_destZ;
|
||||
x = m_targets.m_destX;
|
||||
y = m_targets.m_destY;
|
||||
z = m_targets.m_destZ;
|
||||
}
|
||||
// Summon if dest location not present near caster
|
||||
else
|
||||
m_caster->GetClosePoint(x, y, z, critter->GetObjectSize());
|
||||
m_caster->GetClosePoint(x, y, z, critter->GetObjectSize());
|
||||
|
||||
critter->Relocate(x, y, z, m_caster->GetOrientation());
|
||||
critter->SetSummonPoint(x, y, z, m_caster->GetOrientation());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue