mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
[7272] Trailing whitespace cleaning Author: freghar
--HG-- branch : trunk
This commit is contained in:
@@ -1163,7 +1163,7 @@ void WorldSession::HandleSocketOpcode(WorldPacket& recv_data)
|
||||
if(i!=0 && !itemProto->Socket[i-1].Color && (i+1 >= MAX_GEM_SOCKETS || itemProto->Socket[i+1].Color))
|
||||
return;
|
||||
|
||||
// ok, this is first not colored socket for item with prismatic socket
|
||||
// ok, this is first not colored socket for item with prismatic socket
|
||||
}
|
||||
|
||||
// tried to put normal gem in meta socket
|
||||
|
||||
@@ -2286,7 +2286,7 @@ void Spell::handle_immediate()
|
||||
{
|
||||
//apply haste mods
|
||||
m_caster->ModSpellCastTime(m_spellInfo, duration);
|
||||
// Apply duration mod
|
||||
// Apply duration mod
|
||||
if(Player* modOwner = m_caster->GetSpellModOwner())
|
||||
modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DURATION, duration);
|
||||
m_spellState = SPELL_STATE_CASTING;
|
||||
|
||||
@@ -440,9 +440,9 @@ m_updated(false), m_isRemovedOnShapeLost(true), m_in_use(false)
|
||||
if(modOwner)
|
||||
modOwner->ApplySpellMod(GetId(), SPELLMOD_CHARGES, m_procCharges);
|
||||
|
||||
m_isRemovedOnShapeLost = (m_caster_guid==m_target->GetGUID() &&
|
||||
m_isRemovedOnShapeLost = (m_caster_guid==m_target->GetGUID() &&
|
||||
m_spellProto->Stances &&
|
||||
!(m_spellProto->AttributesEx2 & SPELL_ATTR_EX2_NOT_NEED_SHAPESHIFT) &&
|
||||
!(m_spellProto->AttributesEx2 & SPELL_ATTR_EX2_NOT_NEED_SHAPESHIFT) &&
|
||||
!(m_spellProto->Attributes & SPELL_ATTR_NOT_SHAPESHIFT));
|
||||
}
|
||||
|
||||
@@ -5893,7 +5893,7 @@ void Aura::PeriodicTick()
|
||||
Powers pt = m_target->getPowerType();
|
||||
if(int32(pt) != m_modifier.m_miscvalue)
|
||||
return;
|
||||
|
||||
|
||||
if ( GetSpellProto()->AuraInterruptFlags & AURA_INTERRUPT_FLAG_NOT_SEATED )
|
||||
{
|
||||
// eating anim
|
||||
@@ -5904,7 +5904,7 @@ void Aura::PeriodicTick()
|
||||
// cannibalize anim
|
||||
m_target->HandleEmoteCommand(EMOTE_STATE_CANNIBALIZE);
|
||||
}
|
||||
|
||||
|
||||
// Warrior talent, gain 1 rage every 3 seconds while in combat
|
||||
if(pt == POWER_RAGE && m_target->isInCombat())
|
||||
m_target->ModifyPower(pt, m_modifier.m_amount*10/17);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7271"
|
||||
#define REVISION_NR "7272"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
||||
Reference in New Issue
Block a user