Added a Spell for KilJaeden (need it later)
--HG-- branch : trunk
This commit is contained in:
@@ -5044,6 +5044,15 @@ void Aura::HandleAuraModPacify(bool apply, bool Real)
|
|||||||
m_target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
m_target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
||||||
else
|
else
|
||||||
m_target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
m_target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
|
||||||
|
|
||||||
|
|
||||||
|
if(m_spellProto->Id == 45839){
|
||||||
|
if(apply){
|
||||||
|
m_target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||||
|
}else{
|
||||||
|
m_target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Aura::HandleAuraModPacifyAndSilence(bool apply, bool Real)
|
void Aura::HandleAuraModPacifyAndSilence(bool apply, bool Real)
|
||||||
|
|||||||
Reference in New Issue
Block a user