This commit is contained in:
Uleat 2016-08-04 16:12:58 -04:00
commit 4c49397ef6

View File

@ -6226,7 +6226,7 @@ bool Mob::PassCastRestriction(bool UseCastRestriction, int16 value, bool IsDama
{ {
/*If return TRUE spell met all restrictions and can continue (this = target). /*If return TRUE spell met all restrictions and can continue (this = target).
This check is used when the spell_new field CastRestriction is defined OR spell effect '0'(DD/Heal) has a defined limit This check is used when the spell_new field CastRestriction is defined OR spell effect '0'(DD/Heal) has a defined limit
Range 1 : UNKNOWN Range 1 : UNKNOWN -- the spells with this seem to not have a restiction, true for now
Range 100 : *Animal OR Humanoid Range 100 : *Animal OR Humanoid
Range 101 : *Dragon Range 101 : *Dragon
Range 102 : *Animal OR Insect Range 102 : *Animal OR Insect
@ -6253,7 +6253,10 @@ bool Mob::PassCastRestriction(bool UseCastRestriction, int16 value, bool IsDama
Range 124 : *Undead HP < 10% Range 124 : *Undead HP < 10%
Range 125 : *Clockwork HP < 10% Range 125 : *Clockwork HP < 10%
Range 126 : *Wisp HP < 10% Range 126 : *Wisp HP < 10%
Range 127-130 : UNKNOWN Range 127 : UNKNOWN
Range 128 : pure melee -- guess
Range 129 : pure caster -- guess
Range 130 : hybrid -- guess
Range 150 : UNKNOWN Range 150 : UNKNOWN
Range 190 : No Raid boss flag *not implemented Range 190 : No Raid boss flag *not implemented
Range 191 : This spell will deal less damage to 'exceptionally strong targets' - Raid boss flag *not implemented Range 191 : This spell will deal less damage to 'exceptionally strong targets' - Raid boss flag *not implemented
@ -6265,12 +6268,17 @@ bool Mob::PassCastRestriction(bool UseCastRestriction, int16 value, bool IsDama
Range 300 - 303 : UNKOWN *not implemented Range 300 - 303 : UNKOWN *not implemented
Range 304 : Chain + Plate class (buffs) Range 304 : Chain + Plate class (buffs)
Range 399 - 409 : Heal if HP within a specified range (400 = 0-25% 401 = 25 - 35% 402 = 35-45% ect) Range 399 - 409 : Heal if HP within a specified range (400 = 0-25% 401 = 25 - 35% 402 = 35-45% ect)
Range 410 - 411 : UNKOWN Range 410 - 411 : UNKOWN -- examples are auras that cast on NPCs maybe in combat/out of combat?
Range 500 - 599 : Heal if HP less than a specified value Range 500 - 599 : Heal if HP less than a specified value
Range 600 - 699 : Limit to Body Type [base2 - 600 = Body] Range 600 - 699 : Limit to Body Type [base2 - 600 = Body]
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 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 701 : NOT PET
Range 800 : UKNOWN Range 800 : UKNOWN -- Target's Target Test (16598)
Range 812 : UNKNOWN -- triggered by Thaumatize Owner
Range 814 : UNKNOWN -- Vegetentacles
Range 815 : UNKNOWN -- Pumpkin Pulp Splash
Range 816 : UNKNOWN -- Rotten Fruit Splash
Range 817 : UNKNOWN -- Tainted Bixie Pollen Splash
Range 818 - 819 : If Undead/If Not Undead Range 818 - 819 : If Undead/If Not Undead
Range 820 - 822 : UKNOWN Range 820 - 822 : UKNOWN
Range 835 : Unknown *not implemented Range 835 : Unknown *not implemented
@ -6290,6 +6298,9 @@ bool Mob::PassCastRestriction(bool UseCastRestriction, int16 value, bool IsDama
switch(value) switch(value)
{ {
case 1:
return true;
case 100: case 100:
if ((GetBodyType() == BT_Animal) || (GetBodyType() == BT_Humanoid)) if ((GetBodyType() == BT_Animal) || (GetBodyType() == BT_Humanoid))
return true; return true;