Core/Auras: Implemented PROC_HIT_INTERRUPT

This commit is contained in:
hondacrx
2017-12-04 14:06:36 -05:00
parent 4ed0efb830
commit c788e45b6f
3 changed files with 2 additions and 2 deletions
@@ -2140,7 +2140,7 @@ namespace Framework.Constants
Deflect = 0x200,
Absorb = 0x400, // Partial Or Full Absorb
Reflect = 0x800,
Interrupt = 0x1000, // (Not Used Atm)
Interrupt = 0x1000,
FullBlock = 0x2000,
MaskAll = 0x0003FFF
}
@@ -191,7 +191,6 @@ namespace Game.Collision
return false;
}
public void setUnloaded() { iModel = null; }
Matrix3 iInvRot;
+1
View File
@@ -2855,6 +2855,7 @@ namespace Game.Spells
{
int duration = m_spellInfo.GetDuration();
unitTarget.GetSpellHistory().LockSpellSchool(curSpellInfo.GetSchoolMask(), (uint)unitTarget.ModSpellDuration(m_spellInfo, unitTarget, duration, false, (uint)(1 << (int)effIndex)));
m_originalCaster.ProcSkillsAndAuras(unitTarget, ProcFlags.DoneSpellMagicDmgClassNeg, ProcFlags.TakenSpellMagicDmgClassNeg, ProcFlagsSpellType.MaskAll, ProcFlagsSpellPhase.Hit, ProcFlagsHit.Interrupt, null, null, null);
}
ExecuteLogEffectInterruptCast(effIndex, unitTarget, curSpellInfo.Id);
unitTarget.InterruptSpell(i, false);