mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
[8093] Fixed effect of spell 25771. Author: ApoC
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user