--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-22 17:52:01 -05:00
5 changed files with 21 additions and 4 deletions
+9
View File
@@ -5390,6 +5390,15 @@ void AuraEffect::HandleAuraModPacify(bool apply, bool Real)
m_target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
else
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 AuraEffect::HandleAuraModPacifyAndSilence(bool apply, bool Real)