Implement cast restriction 700 (NPC only)

This commit is contained in:
Michael Cook (mackal) 2015-11-03 18:43:47 -05:00
parent 8d80f39ead
commit a6f6e18969

View File

@ -6230,7 +6230,7 @@ bool Mob::PassCastRestriction(bool UseCastRestriction, int16 value, bool IsDama
Range 410 - 411 : UNKOWN
Range 500 - 599 : Heal if HP less than a specified value
Range 600 - 699 : Limit to Body Type [base2 - 600 = Body]
Range 700 : UNKNOWN -- Was added to higher HTs in Oct 21 2015 live patch
Range 700 : NPC only -- from patch notes "Wizard - Arcane Fusion no longer deals damage to non-NPC targets. This should ensure that wizards who fail their Bucolic Gambit are slightly less likely to annihilate themselves."
Range 701 : NOT PET
Range 800 : UKNOWN
Range 818 - 819 : If Undead/If Not Undead
@ -6394,6 +6394,11 @@ bool Mob::PassCastRestriction(bool UseCastRestriction, int16 value, bool IsDama
return true;
break;
case 700:
if (IsNPC())
return true;
break;
case 701:
if (!IsPet())
return true;