mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[c12562] Cleanup Style
This commit is contained in:
parent
d988eb4038
commit
bf5c6b1ddd
19 changed files with 3432 additions and 1071 deletions
|
|
@ -5546,7 +5546,7 @@ bool Spell::DoSummonVehicle(CreatureSummonPositions& list, SummonPropertiesEntry
|
|||
}
|
||||
|
||||
Creature* spawnCreature = m_caster->SummonCreature(creatureEntry, list[0].x, list[0].y, list[0].z, m_caster->GetOrientation(),
|
||||
(m_duration == 0) ? TEMPSUMMON_CORPSE_DESPAWN : TEMPSUMMON_TIMED_OOC_OR_CORPSE_DESPAWN, m_duration);
|
||||
(m_duration == 0) ? TEMPSUMMON_CORPSE_DESPAWN : TEMPSUMMON_TIMED_OOC_OR_CORPSE_DESPAWN, m_duration);
|
||||
|
||||
if (!spawnCreature)
|
||||
{
|
||||
|
|
@ -10039,7 +10039,7 @@ void Spell::EffectWMOChange(SpellEffectEntry const* effect)
|
|||
return;
|
||||
}
|
||||
|
||||
DEBUG_LOG("Spell::EffectWMOChange, spell Id %u, object %u, misc-value %u", m_spellInfo->Id,gameObjTarget->GetEntry(), effect->EffectMiscValue);
|
||||
DEBUG_LOG("Spell::EffectWMOChange, spell Id %u, object %u, misc-value %u", m_spellInfo->Id, gameObjTarget->GetEntry(), effect->EffectMiscValue);
|
||||
|
||||
Unit* caster = GetAffectiveCaster();
|
||||
if (!caster)
|
||||
|
|
@ -10060,7 +10060,7 @@ void Spell::EffectWMOChange(SpellEffectEntry const* effect)
|
|||
gameObjTarget->ForceGameObjectHealth(0, caster);
|
||||
break;
|
||||
default:
|
||||
sLog.outError("Spell::EffectWMOChange, spell Id %u with undefined change value %u", m_spellInfo->Id,effect->EffectMiscValue);
|
||||
sLog.outError("Spell::EffectWMOChange, spell Id %u with undefined change value %u", m_spellInfo->Id, effect->EffectMiscValue);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue