Core/Auras: Implemented PROC_HIT_INTERRUPT
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user