From a6f6e18969c0067f7cfb59fc91ff9c4cff8a2922 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Tue, 3 Nov 2015 18:43:47 -0500 Subject: [PATCH] Implement cast restriction 700 (NPC only) --- zone/spell_effects.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index a2e769320..e866d1e0f 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -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;