[8093] Fixed effect of spell 25771. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-01 17:50:26 -05:00
parent 8b0e141226
commit bc2b02708f
2 changed files with 6 additions and 1 deletions

View File

@@ -4338,6 +4338,11 @@ void AuraEffect::HandleModMechanicImmunity(bool apply, bool Real, bool /*changeA
//immune movement impairment and loss of control
if(GetId()==42292 || GetId()==59752)
mechanic=IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK;
// Forbearance
// in DBC wrong mechanic immune since 3.0.x
else if (GetId() == 25771)
mechanic = 1 << MECHANIC_IMMUNE_SHIELD;
if (!mechanic)
return;

View File

@@ -6159,7 +6159,7 @@ void Spell::EffectCharge2(uint32 /*i*/)
{
target->GetContactPoint(m_caster, x, y, z);
// not all charge effects used in negative spells
if ( !IsPositiveSpell(m_spellInfo->Id) && m_caster->GetTypeId() == TYPEID_PLAYER)
if(!IsPositiveSpell(m_spellInfo->Id) && m_caster->GetTypeId() == TYPEID_PLAYER)
m_caster->Attack(target, true);
}
else