Advertisement
Paldail

CastRestriction

Oct 23rd, 2021
866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 72.63 KB | None | 0 0
  1. enum SpellRestriction
  2. {
  3.     UNKNOWN_3                                                                 = 3,   // | caster restriction | seen in spell 30183 Mind Spiral
  4.     IS_NOT_ON_HORSE                                                           = 5,   // | caster restriction |
  5.     IS_ANIMAL_OR_HUMANOID                                                     = 100, // This spell will only work on animals or humanoid creatures.
  6.     IS_DRAGON                                                                 = 101, // This spell will only work on dragons.
  7.     IS_ANIMAL_OR_INSECT                                                       = 102, // This spell will only work on animals or insects.
  8.     IS_BODY_TYPE_MISC                                                         = 103, // This spell will only work on humanoids, lycanthropes, giants, Kael Drakkel giants, Coldain, animals, insects, constructs, dragons, Skyshrine dragons, Muramites, or creatures constructed from magic.
  9.     IS_BODY_TYPE_MISC2                                                        = 104, // This spell will only work on humanoids, lycanthropes, giants, Kael Drakkel giants, Coldain, animals, or insects.
  10.     IS_PLANT                                                                  = 105, // This spell will only work on plants.
  11.     IS_GIANT                                                                  = 106, // This spell will only work on animals. | Live used to have this on spells restricted to Giants, but those spells were removed... We still have them
  12.     IS_NOT_ANIMAL_OR_HUMANOID                                                 = 108, // This spell will only work on targets that are neither animals or humanoid.
  13.     IS_BIXIE                                                                  = 109, // This spell will only work on bixies.
  14.     IS_HARPY                                                                  = 110, // This spell will only work on harpies.
  15.     IS_GNOLL                                                                  = 111, // This spell will only work on gnolls.
  16.     IS_SPORALI                                                                = 112, // This spell will only work on fungusoids.
  17.     IS_KOBOLD                                                                 = 113, // This spell will only work on kobolds.
  18.     IS_FROSTCRYPT_SHADE                                                       = 114, // This spell will only work on undead creatures or the Shades of Frostcrypt.
  19.     IS_DRAKKIN                                                                = 115, // This spell will only work on Drakkin.
  20.     IS_UNDEAD_OR_VALDEHOLM_GIANT                                              = 116, // This spell will only work on undead creatures or the inhabitants of Valdeholm.
  21.     IS_ANIMAL_OR_PLANT                                                        = 117, // This spell will only work on plants or animals.
  22.     IS_SUMMONED                                                               = 118, // This spell will only work on constructs, elementals, or summoned elemental minions.
  23.     IS_WIZARD_USED_ON_MAGE_FIRE_PET                                           = 119, // This spell will only work on wizards. | Live uses this on high level mage fire pets, which are wizard class
  24.     IS_UNDEAD                                                                 = 120, //  
  25.     IS_NOT_UNDEAD_OR_SUMMONED_OR_VAMPIRE                                      = 121, // This spell will only work on creatures that are not undead, constructs, elementals, or vampires.
  26.     IS_FAE_OR_PIXIE                                                           = 122, // This spell will only work on Fae or pixies.
  27.     IS_HUMANOID                                                               = 123, //  
  28.     IS_UNDEAD_AND_HP_LESS_THAN_10_PCT                                         = 124, // The Essence Extractor whirrs but does not light up.
  29.     IS_CLOCKWORK_AND_HP_LESS_THAN_45_PCT                                      = 125, // This spell will only work on clockwork gnomes.
  30.     IS_WISP_AND_HP_LESS_THAN_10_PCT                                           = 126, // This spell will only work on wisps at or below 10% of their maximum HP.
  31.     IS_CLASS_MELEE_THAT_CAN_BASH_OR_KICK_EXCEPT_BARD                          = 127, // This spell will only work on non-bard targets that can bash or kick.
  32.     IS_CLASS_PURE_MELEE                                                       = 128, // This spell will only affect melee classes (warriors, monks, rogues, and berserkers).
  33.     IS_CLASS_PURE_CASTER                                                      = 129, // This spell will only affect pure caster classes (necromancers, wizards, magicians, and enchanters).
  34.     IS_CLASS_HYBRID_CLASS                                                     = 130, // This spell will only affect hybrid classes (paladins, rangers, shadow knights, bards, and beastlords).
  35.     IS_CLASS_WARRIOR                                                          = 131, // This spell will only affect Warriors.
  36.     IS_CLASS_CLERIC                                                           = 132, // This spell will only affect Clerics.
  37.     IS_CLASS_PALADIN                                                          = 133, // This spell will only affect Paladins.
  38.     IS_CLASS_RANGER                                                           = 134, // This spell will only affect Rangers.
  39.     IS_CLASS_SHADOWKNIGHT                                                     = 135, // This spell will only affect Shadow Knights.
  40.     IS_CLASS_DRUID                                                            = 136, // This spell will only affect Druids.
  41.     IS_CLASS_MONK                                                             = 137, // This spell will only affect Monks.
  42.     IS_CLASS_BARD                                                             = 138, // This spell will only affect Bards.
  43.     IS_CLASS_ROGUE                                                            = 139, // This spell will only affect Rogues.
  44.     IS_CLASS_SHAMAN                                                           = 140, // This spell will only affect Shamans.
  45.     IS_CLASS_NECRO                                                            = 141, // This spell will only affect Necromancers.
  46.     IS_CLASS_WIZARD                                                           = 142, // This spell will only affect Wizards.
  47.     IS_CLASS_MAGE                                                             = 143, // This spell will only affect Magicians.
  48.     IS_CLASS_ENCHANTER                                                        = 144, // This spell will only affect Enchanters.
  49.     IS_CLASS_BEASTLORD                                                        = 145, // This spell will only affect Beastlords.
  50.     IS_CLASS_BERSERKER                                                        = 146, // This spell will only affect Berserkers.
  51.     IS_CLASS_CLR_SHM_DRU                                                      = 147, // This spell will only affect priest classes (clerics, druids, and shaman).
  52.     IS_CLASS_NOT_WAR_PAL_SK                                                   = 148, // This spell will not affect Warriors, Paladins, or Shadow Knights.
  53.     IS_LEVEL_UNDER_100                                                        = 150, // This spell will not affect any target over level 100.
  54.     IS_NOT_RAID_BOSS                                                          = 190, // This spell will not affect raid bosses.
  55.     IS_RAID_BOSS                                                              = 191, // This spell will only affect raid bosses.
  56.     FRENZIED_BURNOUT_ACTIVE                                                   = 192, // This spell will only cast if you have Frenzied Burnout active.
  57.     FRENZIED_BURNOUT_NOT_ACTIVE                                               = 193, // This spell will only cast if you do not have Frenzied Burnout active.
  58.     UNKNOWN_199                                                               = 199, //
  59.     IS_HP_ABOVE_75_PCT                                                        = 201, //  
  60.     IS_HP_LESS_THAN_20_PCT                                                    = 203, // Your target's HP must be at 20% of its maximum or below. | caster restriction |
  61.     IS_HP_LESS_THAN_50_PCT                                                    = 204, // Your target's HP must be at 50% of its maximum or below. | caster restriction |
  62.     IS_HP_LESS_THAN_75_PCT                                                    = 205, // Your target's HP must be at 75% of its maximum or below.   
  63.     IS_NOT_IN_COMBAT                                                          = 216, // This spell will only affect creatures that are not in combat.  
  64.     HAS_AT_LEAST_1_PET_ON_HATELIST                                            = 221, //    
  65.     HAS_AT_LEAST_2_PETS_ON_HATELIST                                           = 222, //    
  66.     HAS_AT_LEAST_3_PETS_ON_HATELIST                                           = 223, //    
  67.     HAS_AT_LEAST_4_PETS_ON_HATELIST                                           = 224, //    
  68.     HAS_AT_LEAST_5_PETS_ON_HATELIST                                           = 225, //    
  69.     HAS_AT_LEAST_6_PETS_ON_HATELIST                                           = 226, //    
  70.     HAS_AT_LEAST_7_PETS_ON_HATELIST                                           = 227, //    
  71.     HAS_AT_LEAST_8_PETS_ON_HATELIST                                           = 228, //    
  72.     HAS_AT_LEAST_9_PETS_ON_HATELIST                                           = 229, //    
  73.     HAS_AT_LEAST_10_PETS_ON_HATELIST                                          = 230, //    
  74.     HAS_AT_LEAST_11_PETS_ON_HATELIST                                          = 231, //    
  75.     HAS_AT_LEAST_12_PETS_ON_HATELIST                                          = 232, //    
  76.     HAS_AT_LEAST_13_PETS_ON_HATELIST                                          = 233, //    
  77.     HAS_AT_LEAST_14_PETS_ON_HATELIST                                          = 234, //    
  78.     HAS_AT_LEAST_15_PETS_ON_HATELIST                                          = 235, //    
  79.     HAS_AT_LEAST_16_PETS_ON_HATELIST                                          = 236, //    
  80.     HAS_AT_LEAST_17_PETS_ON_HATELIST                                          = 237, //    
  81.     HAS_AT_LEAST_18_PETS_ON_HATELIST                                          = 238, //    
  82.     HAS_AT_LEAST_19_PETS_ON_HATELIST                                          = 239, //    
  83.     HAS_AT_LEAST_20_PETS_ON_HATELIST                                          = 240, //    
  84.     IS_HP_LESS_THAN_35_PCT                                                    = 250, // Your target's HP must be at 35% of its maximum or below.
  85.     HAS_BETWEEN_1_TO_2_PETS_ON_HATELIST                                       = 260, // between 1 and 2 pets
  86.     HAS_BETWEEN_3_TO_5_PETS_ON_HATELIST                                       = 261, // between 3 and 5 pets
  87.     HAS_BETWEEN_6_TO_9_PETS_ON_HATELIST                                       = 262, // between 6 and 9 pets
  88.     HAS_BETWEEN_10_TO_14_PETS_ON_HATELIST                                     = 263, // between 10 and 14 pets
  89.     HAS_MORE_THAN_14_PETS_ON_HATELIST                                         = 264, // 15 or more pets
  90.     IS_CLASS_CHAIN_OR_PLATE                                                   = 304, // This spell will only affect plate or chain wearing classes.
  91.     IS_HP_BETWEEN_5_AND_9_PCT                                                 = 350, // Your target's HP must be between 5% and 9% of its maximum. 
  92.     IS_HP_BETWEEN_10_AND_14_PCT                                               = 351, // Your target's HP must be between 10% and 14% of its maximum.
  93.     IS_HP_BETWEEN_15_AND_19_PCT                                               = 352, // Your target's HP must be between 15% and 19% of its maximum.   
  94.     IS_HP_BETWEEN_20_AND_24_PCT                                               = 353, // Your target's HP must be between 20% and 24% of its maximum.
  95.     IS_HP_BETWEEN_25_AND_29_PCT                                               = 354, // Your target's HP must be between 25% and 29% of its maximum.   
  96.     IS_HP_BETWEEN_30_AND_34_PCT                                               = 355, // Your target's HP must be between 30% and 34% of its maximum.
  97.     IS_HP_BETWEEN_35_AND_39_PCT                                               = 356, // Your target's HP must be between 35% and 39% of its maximum.   
  98.     IS_HP_BETWEEN_40_AND_44_PCT                                               = 357, // Your target's HP must be between 40% and 44% of its maximum.
  99.     IS_HP_BETWEEN_45_AND_49_PCT                                               = 358, // Your target's HP must be between 45% and 49% of its maximum.   
  100.     IS_HP_BETWEEN_50_AND_54_PCT                                               = 359, // Your target's HP must be between 50% and 54% of its maximum.
  101.     IS_HP_BETWEEN_55_AND_59_PCT                                               = 360, // Your target's HP must be between 55% and 59% of its maximum.   
  102.     IS_HP_BETWEEN_5_AND_15_PCT                                                = 398, // Your target's HP must be between 5% and 15% of its maximum.
  103.     IS_HP_BETWEEN_15_AND_25_PCT                                               = 399, // Your target's HP must be between 15% and 25% of its maximum.   
  104.     IS_HP_BETWEEN_1_AND_25_PCT                                                = 400, // Your target's HP must be at 25% of its maximum or below.
  105.     IS_HP_BETWEEN_25_AND_35_PCT                                               = 401, // Your target's HP must be between 25% and 35% of its maximum.   
  106.     IS_HP_BETWEEN_35_AND_45_PCT                                               = 402, // Your target's HP must be between 35% and 45% of its maximum.
  107.     IS_HP_BETWEEN_45_AND_55_PCT                                               = 403, // Your target's HP must be between 45% and 55% of its maximum.   
  108.     IS_HP_BETWEEN_55_AND_65_PCT                                               = 404, // Your target's HP must be between 55% and 65% of its maximum.
  109.     IS_HP_BETWEEN_65_AND_75_PCT                                               = 405, // Your target's HP must be between 65% and 75% of its maximum.   
  110.     IS_HP_BETWEEN_75_AND_85_PCT                                               = 406, // Your target's HP must be between 75% and 85% of its maximum.
  111.     IS_HP_BETWEEN_85_AND_95_PCT                                               = 407, // Your target's HP must be between 85% and 95% of its maximum.   
  112.     IS_HP_ABOVE_45_PCT                                                        = 408, // Your target's HP must be at least 45% of its maximum.
  113.     IS_HP_ABOVE_55_PCT                                                        = 409, // Your target's HP must be at least 55% of its maximum.  
  114.     UNKNOWN_TOO_MUCH_HP_410                                                   = 410, // Your target has too much HP to be affected by this spell.  
  115.     UNKNOWN_TOO_MUCH_HP_411                                                   = 411, // Your target has too much HP to be affected by this spell.  
  116.     IS_HP_ABOVE_99_PCT                                                        = 412, //    
  117.     IS_MANA_ABOVE_10_PCT                                                      = 429, // You must have at least 10% of your maximum mana available to cast this spell. | caster restriction |
  118.     IS_HP_BELOW_5_PCT                                                         = 501, //    
  119.     IS_HP_BELOW_10_PCT                                                        = 502, //    
  120.     IS_HP_BELOW_15_PCT                                                        = 503, //    
  121.     IS_HP_BELOW_20_PCT                                                        = 504, // Your target's HP must be at 20% of its maximum or below.
  122.     IS_HP_BELOW_25_PCT                                                        = 505, //  
  123.     IS_HP_BELOW_30_PCT                                                        = 506, //  
  124.     IS_HP_BELOW_35_PCT                                                        = 507, //  
  125.     IS_HP_BELOW_40_PCT                                                        = 508, //  
  126.     IS_HP_BELOW_45_PCT                                                        = 509, // Your target's HP must be at 45% of its maximum or below.   
  127.     IS_HP_BELOW_50_PCT                                                        = 510, //    
  128.     IS_HP_BELOW_55_PCT                                                        = 511, //    
  129.     IS_HP_BELOW_60_PCT                                                        = 512, //    
  130.     IS_HP_BELOW_65_PCT                                                        = 513, //    
  131.     IS_HP_BELOW_70_PCT                                                        = 514, //    
  132.     IS_HP_BELOW_75_PCT                                                        = 515, //    
  133.     IS_HP_BELOW_80_PCT                                                        = 516, //    
  134.     IS_HP_BELOW_85_PCT                                                        = 517, //    
  135.     IS_HP_BELOW_90_PCT                                                        = 518, // This ability requires you to be at or below 90% of your maximum HP. | caster restriction |
  136.     IS_HP_BELOW_95_PCT                                                        = 519, //    
  137.     IS_MANA_BELOW_UNKNOWN_PCT                                                 = 521, //
  138.     IS_ENDURANCE_BELOW_40_PCT                                                 = 522, //    
  139.     IS_MANA_BELOW_40_PCT                                                      = 523, //    
  140.     IS_HP_ABOVE_20_PCT                                                        = 524, // Your target's HP must be at least 21% of its maximum.
  141.     IS_BODY_TYPE_UNDEFINED                                                    = 600, // This spell will only work on creatures with an undefined body type.
  142.     IS_BODY_TYPE_HUMANOID                                                     = 601, // This spell will only work on humanoid creatures.
  143.     IS_BODY_TYPE_WEREWOLF                                                     = 602, // This spell will only work on lycanthrope creatures.
  144.     IS_BODY_TYPE_UNDEAD                                                       = 603, // This spell will only work on undead creatures.
  145.     IS_BODY_TYPE_GIANTS                                                       = 604, // This spell will only work on giants.
  146.     IS_BODY_TYPE_CONSTRUCTS                                                   = 605, // This spell will only work on constructs.
  147.     IS_BODY_TYPE_EXTRAPLANAR                                                  = 606, // This spell will only work on extraplanar creatures.
  148.     IS_BODY_TYPE_MAGICAL_CREATURE                                             = 607, // This spell will only work on creatures constructed from magic.
  149.     IS_BODY_TYPE_UNDEADPET                                                    = 608, // This spell will only work on animated undead servants.
  150.     IS_BODY_TYPE_KAELGIANT                                                    = 609, // This spell will only work on the Giants of Kael Drakkal.
  151.     IS_BODY_TYPE_COLDAIN                                                      = 610, // This spell will only work on Coldain Dwarves.
  152.     IS_BODY_TYPE_VAMPIRE                                                      = 612, // This spell will only work on vampires.
  153.     IS_BODY_TYPE_ATEN_HA_RA                                                   = 613, // This spell will only work on Aten Ha Ra.
  154.     IS_BODY_TYPE_GREATER_AHKEVANS                                             = 614, // This spell will only work on Greater Ahkevans.
  155.     IS_BODY_TYPE_KHATI_SHA                                                    = 615, // This spell will only work on Khati Sha.
  156.     IS_BODY_TYPE_LORD_INQUISITOR_SERU                                         = 616, // This spell will only work on Lord Inquisitor Seru.
  157.     IS_BODY_TYPE_GRIEG_VENEFICUS                                              = 617, // This spell will only work on Grieg Veneficus.
  158.     IS_BODY_TYPE_FROM_PLANE_OF_WAR                                            = 619, // This spell will only work on creatures from the Plane of War.
  159.     IS_BODY_TYPE_LUGGALD                                                      = 620, // This spell will only work on Luggalds.
  160.     IS_BODY_TYPE_ANIMAL                                                       = 621, // This spell will only work on animals.
  161.     IS_BODY_TYPE_INSECT                                                       = 622, // This spell will only work on insects.
  162.     IS_BODY_TYPE_MONSTER                                                      = 623, // This spell will only work on monsters.
  163.     IS_BODY_TYPE_ELEMENTAL                                                    = 624, // This spell will only work on elemental creatures.
  164.     IS_BODY_TYPE_PLANT                                                        = 625, // This spell will only work on plants.
  165.     IS_BODY_TYPE_DRAGON2                                                      = 626, // This spell will only work on dragons.
  166.     IS_BODY_TYPE_SUMMONED_ELEMENTAL                                           = 627, // This spell will only work on summoned elementals.
  167.     IS_BODY_TYPE_WARDER                                                       = 628, //  
  168.     IS_BODY_TYPE_DRAGON_OF_TOV                                                = 630, // This spell will only work on Dragons of Veeshan's Temple.  
  169.     IS_BODY_TYPE_FAMILIAR                                                     = 631, // This spell will only work on familiars.
  170.     IS_BODY_TYPE_MURAMITE                                                     = 634, // This spell will only work on Muramites.
  171.     IS_NOT_UNDEAD_OR_SUMMONED                                                 = 635, //    
  172.     IS_NOT_PLANT                                                              = 636, // This spell will not affect plants. 
  173.     IS_NOT_CLIENT                                                             = 700, // This spell will not work on adventurers.   
  174.     IS_CLIENT                                                                 = 701, // This spell will only work on adventurers.  
  175.     IS_LEVEL_ABOVE_42_AND_IS_CLIENT                                           = 800, // This spell will only work on level 43 or higher adventurers.
  176.     UNKNOWN_812                                                               = 812, // | seen in spell 22616 Thaumatize Pet Mana Regen Base |
  177.     UNKNOWN_814                                                               = 814, // | seen in spell 22704 Vegetentacles I |
  178.     IS_TREANT                                                                 = 815, // This spell will only work on treants.  
  179.     IS_BIXIE2                                                                 = 816, // This spell will only work on bixies.   
  180.     IS_SCARECROW                                                              = 817, // This spell will only work on scarecrows.   
  181.     IS_VAMPIRE_OR_UNDEAD_OR_UNDEADPET                                         = 818, // This spell will only work on vampires, undead, or animated undead creatures.   
  182.     IS_NOT_VAMPIRE_OR_UNDEAD                                                  = 819, // This spell will not work on vampires or undead creatures.  
  183.     IS_CLASS_KNIGHT_HYBRID_MELEE                                              = 820, // This spell will only work on knights, hybrids, or melee classes.   
  184.     IS_CLASS_WARRIOR_CASTER_PRIEST                                            = 821, // This spell will only work on warriors, casters, or priests.
  185.     UNKNOWN_822                                                               = 822, // | seen in spell 22870 Morell's Distraction 822 |
  186.     IS_END_BELOW_21_PCT                                                       = 825, // This ability requires you to be at or below 21% of your maximum endurance. 
  187.     IS_END_BELOW_25_PCT                                                       = 826, // This ability requires you to be at or below 25% of your maximum endurance. 
  188.     IS_END_BELOW_29_PCT                                                       = 827, // This ability requires you to be at or below 29% of your maximum endurance. 
  189.     IS_REGULAR_SERVER                                                         = 836, //
  190.     IS_PROGRESSION_SERVER                                                     = 837, //    
  191.     IS_GOD_EXPANSION_UNLOCKED                                                 = 839, //
  192.     UNKNOWN_840                                                               = 840, // | caster restriction | seen in spell 6883 Expedient Recovery
  193.     UNKNOWN_841                                                               = 841, // | caster restriction | seen in spell 32192 Merciless Blow
  194.     IS_HUMANOID_LEVEL_84_MAX                                                  = 842, //    
  195.     IS_HUMANOID_LEVEL_86_MAX                                                  = 843, //    
  196.     IS_HUMANOID_LEVEL_88_MAX                                                  = 844, //    
  197.     HAS_CRYSTALLIZED_FLAME_BUFF                                               = 845, // This spell will only work on targets afflicted by Crystallized Flame. | On live spell does not appear to be a buff
  198.     HAS_INCENDIARY_OOZE_BUFF                                                  = 847, // This spell will only work on targets afflicted by Incendiary Ooze. 
  199.     IS_LEVEL_90_MAX                                                           = 860, //    
  200.     IS_LEVEL_92_MAX                                                           = 861, //    
  201.     IS_LEVEL_94_MAX                                                           = 862, //    
  202.     IS_LEVEL_95_MAX                                                           = 863, //    
  203.     IS_LEVEL_97_MAX                                                           = 864, //    
  204.     IS_LEVEL_99_MAX                                                           = 865, //    
  205.     HAS_WEAPONSTANCE_DEFENSIVE_PROFICIENCY                                    = 866, // | caster restriction |
  206.     HAS_WEAPONSTANCE_TWO_HAND_PROFICIENCY                                     = 867, // | caster restriction | 
  207.     HAS_WEAPONSTANCE_DUAL_WEILD_PROFICIENCY                                   = 868, // | caster restriction |
  208.     IS_LEVEL_100_MAX                                                          = 869, //    
  209.     IS_LEVEL_102_MAX                                                          = 870, //    
  210.     IS_LEVEL_104_MAX                                                          = 871, //    
  211.     IS_LEVEL_105_MAX                                                          = 872, //    
  212.     IS_LEVEL_107_MAX                                                          = 873, //    
  213.     IS_LEVEL_109_MAX                                                          = 874, //    
  214.     IS_LEVEL_110_MAX                                                          = 875, //    
  215.     IS_LEVEL_112_MAX                                                          = 876, //    
  216.     IS_LEVEL_114_MAX                                                          = 877, //    
  217.     HAS_TBL_ESIANTI_ACCESS                                                    = 997, // This spell will only transport adventurers who have gained access to Esianti: Palace of the Winds.  | not implemented
  218.     HAS_ITEM_CLOCKWORK_SCRAPS                                                 = 999, //    
  219.     IS_BETWEEN_LEVEL_1_AND_75                                                 = 1000, //       
  220.     IS_BETWEEN_LEVEL_76_AND_85                                                = 1001, //       
  221.     IS_BETWEEN_LEVEL_86_AND_95                                                = 1002, //       
  222.     IS_BETWEEN_LEVEL_96_AND_105                                               = 1003, //       
  223.     IS_HP_LESS_THAN_80_PCT                                                    = 1004, //       
  224.     IS_LEVEL_ABOVE_34                                                         = 1474, // Your target must be level 35 or higher.   
  225.     IN_TWO_HANDED_STANCE                                                      = 2000, // You must be in your two-handed stance to use this ability.
  226.     IN_DUAL_WIELD_HANDED_STANCE                                               = 2001, // You must be in your dual-wielding stance to use this ability. 
  227.     IN_SHIELD_STANCE                                                          = 2002, // You must be in your shield stance to use this ability.
  228.     NOT_IN_TWO_HANDED_STANCE                                                  = 2010, // You may not use this ability if you are in your two-handed stance.
  229.     NOT_IN_DUAL_WIELD_HANDED_STANCE                                           = 2011, // You may not use this ability if you are in your dual-wielding stance. 
  230.     NOT_IN_SHIELD_STANCE                                                      = 2012, // You may not use this ability if you are in your shield stance.
  231.     LEVEL_46_MAX                                                              = 2761, //       
  232.     DISABLED_UNTIL_EXPANSION_ROK                                              = 7000, // This ability is disabled until Ruins of Kunark.   
  233.     DISABLED_UNTIL_EXPANSION_SOV                                              = 7001, // This ability is disabled until Scars of Velious.  
  234.     DISABLED_UNTIL_EXPANSION_SOL                                              = 7002, // This ability is disabled until Shadows of Luclin. 
  235.     DISABLED_UNTIL_EXPANSION_POP                                              = 7003, // This ability is disabled until Planes of Power.   
  236.     DISABLED_UNTIL_EXPANSION_LOY                                              = 7004, // This ability is disabled until Legacy of Ykesha.  
  237.     DISABLED_UNTIL_EXPANSION_LDON                                             = 7005, // This ability is disabled until Lost Dungeons of Norrath.  
  238.     DISABLED_UNTIL_EXPANSION_GOD                                              = 7006, // This ability is disabled until Gates of Discord.  
  239.     DISABLED_UNTIL_EXPANSION_OOW                                              = 7007, // This ability is disabled until Omens of War.  
  240.     DISABLED_UNTIL_EXPANSION_DON                                              = 7008, // This ability is disabled until Dragons of Norrath.
  241.     DISABLED_UNTIL_EXPANSION_DOD                                              = 7009, // This ability is disabled until Depths of Darkhollow.  
  242.     DISABLED_UNTIL_EXPANSION_POR                                              = 7010, // This ability is disabled until Prophecy of Ro.
  243.     DISABLED_UNTIL_EXPANSION_TSS                                              = 7011, // This ability is disabled until Serpent's Spine.
  244.     DISABLED_UNTIL_EXPANSION_TBS                                              = 7012, // This ability is disabled until Buried Sea.
  245.     DISABLED_UNTIL_EXPANSION_SOF                                              = 7013, // This ability is disabled until Secrets of Faydwer.
  246.     DISABLED_UNTIL_EXPANSION_SOD                                              = 7014, // This ability is disabled until Seeds of Destruction.
  247.     DISABLED_UNTIL_EXPANSION_UF                                               = 7015, // This ability is disabled until Underfoot.
  248.     DISABLED_UNTIL_EXPANSION_HOT                                              = 7016, // This ability is disabled until House of Thule.
  249.     DISABLED_UNTIL_EXPANSION_VOA                                              = 7017, // This ability is disabled until Veil of Alaris.
  250.     DISABLED_UNTIL_EXPANSION_ROF                                              = 7018, // This ability is disabled until Rain of Fear.
  251.     DISABLED_UNTIL_EXPANSION_COF                                              = 7019, // This ability is disabled until Call of the Forsaken.
  252.     DISABLED_UNTIL_EXPANSION_TDS                                              = 7020, // This ability is disabled until Darkened Sea.
  253.     DISABLED_UNTIL_EXPANSION_TBM                                              = 7021, // This ability is disabled until Broken Mirror.
  254.     DISABLED_UNTIL_EXPANSION_EOK                                              = 7022, // This ability is disabled until Empires of Kunark.
  255.     DISABLED_UNTIL_EXPANSION_ROS                                              = 7023, // This ability is disabled until Ring of Scale.
  256.     DISABLED_UNTIL_EXPANSION_TBL                                              = 7024, // This ability is disabled until The Burning Lands.
  257.     DISABLED_UNTIL_EXPANSION_TOV                                              = 7025, // This ability is disabled until Torment of Velious.
  258.     DISABLED_UNTIL_EXPANSION_COV                                              = 7026, // This ability is disabled until Claws of Veeshan.
  259.     HAS_NO_MANA_BURN_BUFF                                                     = 8450,  // This spell will not take hold until the effects of the previous Mana Burn have expired.
  260.     IS_RACE_FIRST_CUSTOM                                                      = 10000, // | custom range to restrict targets or casters by race *not on live* |
  261.     IS_RACE_LAST_CUSTOM                                                       = 11000, // | custom range to restrict targets or casters by race *not on live* |
  262.     IS_CLIENT_AND_MALE_PLATE_USER                                             = 11044, // Your target wouldn't look right as that Jann.
  263.     IS_CLEINT_AND_MALE_DRUID_ENCHANTER_MAGICIAN_NECROANCER_SHAMAN_OR_WIZARD   = 11090, // Your target wouldn't look right as that Jann.
  264.     IS_CLIENT_AND_MALE_BEASTLORD_BERSERKER_MONK_RANGER_OR_ROGUE               = 11209, // Your target wouldn't look right as that Jann.
  265.     IS_CLIENT_AND_FEMALE_PLATE_USER                                           = 11210, // Your target wouldn't look right as that Jann.
  266.     IS_CLIENT_AND_FEMALE_DRUID_ENCHANTER_MAGICIAN_NECROANCER_SHAMAN_OR_WIZARD = 11211, // Your target wouldn't look right as that Jann.
  267.     IS_CLIENT_AND_FEMALE_BEASTLORD_BERSERKER_MONK_RANGER_OR_ROGUE             = 11248, // Your target wouldn't look right as that Jann.
  268.     HAS_TRAVELED_TO_STRATOS                                                   = 11260, // You must travel to Stratos at least once before wishing to go there.
  269.     HAS_TRAVELED_TO_AALISHAI                                                  = 11261, // You must travel to Aalishai at least once before wishing to go there.
  270.     HAS_TRAVELED_TO_MEARATS                                                   = 11268, // You must travel to Mearatas at least once before wishing to go there.
  271.     HAS_NO_ILLUSIONS_OF_GRANDEUR_BUFF                                         = 12519, //  
  272.     IS_HP_ABOVE_50_PCT                                                        = 16010, //  
  273.     IS_HP_UNDER_50_PCT                                                        = 16031, //  
  274.     IS_OFF_HAND_EQUIPED                                                       = 27672, // You must be wielding a weapon or shield in your offhand to use this ability.
  275.     HAS_NO_PACT_OF_FATE_RECOURSE_BUFF                                         = 29556, // This spell will not work while Pact of Fate Recourse is active. | caster restriction |
  276.     HAS_NO_SHROUD_OF_PRAYER_BUFF                                              = 32339, // Your target cannot receive another Quiet Prayer this soon.
  277.     IS_MANA_BELOW_20_PCT                                                      = 38311, // This ability requires you to be at or below 20% of your maximum mana.
  278.     IS_MANA_ABOVE_50_PCT                                                      = 38312, // This ability requires you to be at or above 50% of your maximum mana.
  279.     COMPLETED_ACHIEVEMENT_LEGENDARY_ANSWERER                                  = 39281, // You have completed Legendary Answerer.
  280.     HAS_NO_ROGUES_FURY_BUFF                                                   = 40297, // This spell will not affect anyone that currently has Rogue's Fury active. | caster restriction |
  281.     NOT_COMPLETED_ACHIEVEMENT_LEGENDARY_ANSWERER                              = 42280, // You must complete Legendary Answerer.
  282.     IS_SUMMONED_OR_UNDEAD                                                     = 49326, //      
  283.     IS_CLASS_CASTER_PRIEST                                                    = 49529, //      
  284.     IS_END_OR_MANA_ABOVE_20_PCT                                               = 49543, // You must have at least 20% of your maximum mana and endurance to use this ability.    //pure melee class check end, other check mana
  285.     IS_END_OR_MANA_BELOW_30_PCT                                               = 49573, // Your target already has 30% or more of their maximum mana or endurance.   //pure melee class check the, other check more
  286.     IS_CLASS_BARD2                                                            = 49574, //      
  287.     IS_NOT_CLASS_BARD                                                         = 49575, //      
  288.     HAS_NO_FURIOUS_RAMPAGE_BUFF                                               = 49612, // This ability cannot be activated while Furious Rampage is active.
  289.     IS_END_OR_MANA_BELOW_30_PCT2                                              = 49809, // You can only perform this solo if you have less than 30% mana or endurance.  
  290.     HAS_NO_HARMONIOUS_PRECISION_BUFF                                          = 50003, // This spell will not work if you have the Harmonious Precision line active.   
  291.     HAS_NO_HARMONIOUS_EXPANSE_BUFF                                            = 50009, // This spell will not work if you have the Harmonious Expanse line active.
  292.     UNKNOWN_99999                                                             = 99999, // | caster restriction | works will spell 27672 Strike of Ire
  293. };enum SpellRestriction
  294. {
  295.     UNKNOWN_3                                                                 = 3,   // | caster restriction | seen in spell 30183 Mind Spiral
  296.     IS_NOT_ON_HORSE                                                           = 5,   // | caster restriction |
  297.     IS_ANIMAL_OR_HUMANOID                                                     = 100, // This spell will only work on animals or humanoid creatures.
  298.     IS_DRAGON                                                                 = 101, // This spell will only work on dragons.
  299.     IS_ANIMAL_OR_INSECT                                                       = 102, // This spell will only work on animals or insects.
  300.     IS_BODY_TYPE_MISC                                                         = 103, // This spell will only work on humanoids, lycanthropes, giants, Kael Drakkel giants, Coldain, animals, insects, constructs, dragons, Skyshrine dragons, Muramites, or creatures constructed from magic.
  301.     IS_BODY_TYPE_MISC2                                                        = 104, // This spell will only work on humanoids, lycanthropes, giants, Kael Drakkel giants, Coldain, animals, or insects.
  302.     IS_PLANT                                                                  = 105, // This spell will only work on plants.
  303.     IS_GIANT                                                                  = 106, // This spell will only work on animals. | Live used to have this on spells restricted to Giants, but those spells were removed... We still have them
  304.     IS_NOT_ANIMAL_OR_HUMANOID                                                 = 108, // This spell will only work on targets that are neither animals or humanoid.
  305.     IS_BIXIE                                                                  = 109, // This spell will only work on bixies.
  306.     IS_HARPY                                                                  = 110, // This spell will only work on harpies.
  307.     IS_GNOLL                                                                  = 111, // This spell will only work on gnolls.
  308.     IS_SPORALI                                                                = 112, // This spell will only work on fungusoids.
  309.     IS_KOBOLD                                                                 = 113, // This spell will only work on kobolds.
  310.     IS_FROSTCRYPT_SHADE                                                       = 114, // This spell will only work on undead creatures or the Shades of Frostcrypt.
  311.     IS_DRAKKIN                                                                = 115, // This spell will only work on Drakkin.
  312.     IS_UNDEAD_OR_VALDEHOLM_GIANT                                              = 116, // This spell will only work on undead creatures or the inhabitants of Valdeholm.
  313.     IS_ANIMAL_OR_PLANT                                                        = 117, // This spell will only work on plants or animals.
  314.     IS_SUMMONED                                                               = 118, // This spell will only work on constructs, elementals, or summoned elemental minions.
  315.     IS_WIZARD_USED_ON_MAGE_FIRE_PET                                           = 119, // This spell will only work on wizards. | Live uses this on high level mage fire pets, which are wizard class
  316.     IS_UNDEAD                                                                 = 120, //  
  317.     IS_NOT_UNDEAD_OR_SUMMONED_OR_VAMPIRE                                      = 121, // This spell will only work on creatures that are not undead, constructs, elementals, or vampires.
  318.     IS_FAE_OR_PIXIE                                                           = 122, // This spell will only work on Fae or pixies.
  319.     IS_HUMANOID                                                               = 123, //  
  320.     IS_UNDEAD_AND_HP_LESS_THAN_10_PCT                                         = 124, // The Essence Extractor whirrs but does not light up.
  321.     IS_CLOCKWORK_AND_HP_LESS_THAN_45_PCT                                      = 125, // This spell will only work on clockwork gnomes.
  322.     IS_WISP_AND_HP_LESS_THAN_10_PCT                                           = 126, // This spell will only work on wisps at or below 10% of their maximum HP.
  323.     IS_CLASS_MELEE_THAT_CAN_BASH_OR_KICK_EXCEPT_BARD                          = 127, // This spell will only work on non-bard targets that can bash or kick.
  324.     IS_CLASS_PURE_MELEE                                                       = 128, // This spell will only affect melee classes (warriors, monks, rogues, and berserkers).
  325.     IS_CLASS_PURE_CASTER                                                      = 129, // This spell will only affect pure caster classes (necromancers, wizards, magicians, and enchanters).
  326.     IS_CLASS_HYBRID_CLASS                                                     = 130, // This spell will only affect hybrid classes (paladins, rangers, shadow knights, bards, and beastlords).
  327.     IS_CLASS_WARRIOR                                                          = 131, // This spell will only affect Warriors.
  328.     IS_CLASS_CLERIC                                                           = 132, // This spell will only affect Clerics.
  329.     IS_CLASS_PALADIN                                                          = 133, // This spell will only affect Paladins.
  330.     IS_CLASS_RANGER                                                           = 134, // This spell will only affect Rangers.
  331.     IS_CLASS_SHADOWKNIGHT                                                     = 135, // This spell will only affect Shadow Knights.
  332.     IS_CLASS_DRUID                                                            = 136, // This spell will only affect Druids.
  333.     IS_CLASS_MONK                                                             = 137, // This spell will only affect Monks.
  334.     IS_CLASS_BARD                                                             = 138, // This spell will only affect Bards.
  335.     IS_CLASS_ROGUE                                                            = 139, // This spell will only affect Rogues.
  336.     IS_CLASS_SHAMAN                                                           = 140, // This spell will only affect Shamans.
  337.     IS_CLASS_NECRO                                                            = 141, // This spell will only affect Necromancers.
  338.     IS_CLASS_WIZARD                                                           = 142, // This spell will only affect Wizards.
  339.     IS_CLASS_MAGE                                                             = 143, // This spell will only affect Magicians.
  340.     IS_CLASS_ENCHANTER                                                        = 144, // This spell will only affect Enchanters.
  341.     IS_CLASS_BEASTLORD                                                        = 145, // This spell will only affect Beastlords.
  342.     IS_CLASS_BERSERKER                                                        = 146, // This spell will only affect Berserkers.
  343.     IS_CLASS_CLR_SHM_DRU                                                      = 147, // This spell will only affect priest classes (clerics, druids, and shaman).
  344.     IS_CLASS_NOT_WAR_PAL_SK                                                   = 148, // This spell will not affect Warriors, Paladins, or Shadow Knights.
  345.     IS_LEVEL_UNDER_100                                                        = 150, // This spell will not affect any target over level 100.
  346.     IS_NOT_RAID_BOSS                                                          = 190, // This spell will not affect raid bosses.
  347.     IS_RAID_BOSS                                                              = 191, // This spell will only affect raid bosses.
  348.     FRENZIED_BURNOUT_ACTIVE                                                   = 192, // This spell will only cast if you have Frenzied Burnout active.
  349.     FRENZIED_BURNOUT_NOT_ACTIVE                                               = 193, // This spell will only cast if you do not have Frenzied Burnout active.
  350.     UNKNOWN_199                                                               = 199, //
  351.     IS_HP_ABOVE_75_PCT                                                        = 201, //  
  352.     IS_HP_LESS_THAN_20_PCT                                                    = 203, // Your target's HP must be at 20% of its maximum or below. | caster restriction |
  353.     IS_HP_LESS_THAN_50_PCT                                                    = 204, // Your target's HP must be at 50% of its maximum or below. | caster restriction |
  354.     IS_HP_LESS_THAN_75_PCT                                                    = 205, // Your target's HP must be at 75% of its maximum or below.   
  355.     IS_NOT_IN_COMBAT                                                          = 216, // This spell will only affect creatures that are not in combat.  
  356.     HAS_AT_LEAST_1_PET_ON_HATELIST                                            = 221, //    
  357.     HAS_AT_LEAST_2_PETS_ON_HATELIST                                           = 222, //    
  358.     HAS_AT_LEAST_3_PETS_ON_HATELIST                                           = 223, //    
  359.     HAS_AT_LEAST_4_PETS_ON_HATELIST                                           = 224, //    
  360.     HAS_AT_LEAST_5_PETS_ON_HATELIST                                           = 225, //    
  361.     HAS_AT_LEAST_6_PETS_ON_HATELIST                                           = 226, //    
  362.     HAS_AT_LEAST_7_PETS_ON_HATELIST                                           = 227, //    
  363.     HAS_AT_LEAST_8_PETS_ON_HATELIST                                           = 228, //    
  364.     HAS_AT_LEAST_9_PETS_ON_HATELIST                                           = 229, //    
  365.     HAS_AT_LEAST_10_PETS_ON_HATELIST                                          = 230, //    
  366.     HAS_AT_LEAST_11_PETS_ON_HATELIST                                          = 231, //    
  367.     HAS_AT_LEAST_12_PETS_ON_HATELIST                                          = 232, //    
  368.     HAS_AT_LEAST_13_PETS_ON_HATELIST                                          = 233, //    
  369.     HAS_AT_LEAST_14_PETS_ON_HATELIST                                          = 234, //    
  370.     HAS_AT_LEAST_15_PETS_ON_HATELIST                                          = 235, //    
  371.     HAS_AT_LEAST_16_PETS_ON_HATELIST                                          = 236, //    
  372.     HAS_AT_LEAST_17_PETS_ON_HATELIST                                          = 237, //    
  373.     HAS_AT_LEAST_18_PETS_ON_HATELIST                                          = 238, //    
  374.     HAS_AT_LEAST_19_PETS_ON_HATELIST                                          = 239, //    
  375.     HAS_AT_LEAST_20_PETS_ON_HATELIST                                          = 240, //    
  376.     IS_HP_LESS_THAN_35_PCT                                                    = 250, // Your target's HP must be at 35% of its maximum or below.
  377.     HAS_BETWEEN_1_TO_2_PETS_ON_HATELIST                                       = 260, // between 1 and 2 pets
  378.     HAS_BETWEEN_3_TO_5_PETS_ON_HATELIST                                       = 261, // between 3 and 5 pets
  379.     HAS_BETWEEN_6_TO_9_PETS_ON_HATELIST                                       = 262, // between 6 and 9 pets
  380.     HAS_BETWEEN_10_TO_14_PETS_ON_HATELIST                                     = 263, // between 10 and 14 pets
  381.     HAS_MORE_THAN_14_PETS_ON_HATELIST                                         = 264, // 15 or more pets
  382.     IS_CLASS_CHAIN_OR_PLATE                                                   = 304, // This spell will only affect plate or chain wearing classes.
  383.     IS_HP_BETWEEN_5_AND_9_PCT                                                 = 350, // Your target's HP must be between 5% and 9% of its maximum. 
  384.     IS_HP_BETWEEN_10_AND_14_PCT                                               = 351, // Your target's HP must be between 10% and 14% of its maximum.
  385.     IS_HP_BETWEEN_15_AND_19_PCT                                               = 352, // Your target's HP must be between 15% and 19% of its maximum.   
  386.     IS_HP_BETWEEN_20_AND_24_PCT                                               = 353, // Your target's HP must be between 20% and 24% of its maximum.
  387.     IS_HP_BETWEEN_25_AND_29_PCT                                               = 354, // Your target's HP must be between 25% and 29% of its maximum.   
  388.     IS_HP_BETWEEN_30_AND_34_PCT                                               = 355, // Your target's HP must be between 30% and 34% of its maximum.
  389.     IS_HP_BETWEEN_35_AND_39_PCT                                               = 356, // Your target's HP must be between 35% and 39% of its maximum.   
  390.     IS_HP_BETWEEN_40_AND_44_PCT                                               = 357, // Your target's HP must be between 40% and 44% of its maximum.
  391.     IS_HP_BETWEEN_45_AND_49_PCT                                               = 358, // Your target's HP must be between 45% and 49% of its maximum.   
  392.     IS_HP_BETWEEN_50_AND_54_PCT                                               = 359, // Your target's HP must be between 50% and 54% of its maximum.
  393.     IS_HP_BETWEEN_55_AND_59_PCT                                               = 360, // Your target's HP must be between 55% and 59% of its maximum.   
  394.     IS_HP_BETWEEN_5_AND_15_PCT                                                = 398, // Your target's HP must be between 5% and 15% of its maximum.
  395.     IS_HP_BETWEEN_15_AND_25_PCT                                               = 399, // Your target's HP must be between 15% and 25% of its maximum.   
  396.     IS_HP_BETWEEN_1_AND_25_PCT                                                = 400, // Your target's HP must be at 25% of its maximum or below.
  397.     IS_HP_BETWEEN_25_AND_35_PCT                                               = 401, // Your target's HP must be between 25% and 35% of its maximum.   
  398.     IS_HP_BETWEEN_35_AND_45_PCT                                               = 402, // Your target's HP must be between 35% and 45% of its maximum.
  399.     IS_HP_BETWEEN_45_AND_55_PCT                                               = 403, // Your target's HP must be between 45% and 55% of its maximum.   
  400.     IS_HP_BETWEEN_55_AND_65_PCT                                               = 404, // Your target's HP must be between 55% and 65% of its maximum.
  401.     IS_HP_BETWEEN_65_AND_75_PCT                                               = 405, // Your target's HP must be between 65% and 75% of its maximum.   
  402.     IS_HP_BETWEEN_75_AND_85_PCT                                               = 406, // Your target's HP must be between 75% and 85% of its maximum.
  403.     IS_HP_BETWEEN_85_AND_95_PCT                                               = 407, // Your target's HP must be between 85% and 95% of its maximum.   
  404.     IS_HP_ABOVE_45_PCT                                                        = 408, // Your target's HP must be at least 45% of its maximum.
  405.     IS_HP_ABOVE_55_PCT                                                        = 409, // Your target's HP must be at least 55% of its maximum.  
  406.     UNKNOWN_TOO_MUCH_HP_410                                                   = 410, // Your target has too much HP to be affected by this spell.  
  407.     UNKNOWN_TOO_MUCH_HP_411                                                   = 411, // Your target has too much HP to be affected by this spell.  
  408.     IS_HP_ABOVE_99_PCT                                                        = 412, //    
  409.     IS_MANA_ABOVE_10_PCT                                                      = 429, // You must have at least 10% of your maximum mana available to cast this spell. | caster restriction |
  410.     IS_HP_BELOW_5_PCT                                                         = 501, //    
  411.     IS_HP_BELOW_10_PCT                                                        = 502, //    
  412.     IS_HP_BELOW_15_PCT                                                        = 503, //    
  413.     IS_HP_BELOW_20_PCT                                                        = 504, // Your target's HP must be at 20% of its maximum or below.
  414.     IS_HP_BELOW_25_PCT                                                        = 505, //  
  415.     IS_HP_BELOW_30_PCT                                                        = 506, //  
  416.     IS_HP_BELOW_35_PCT                                                        = 507, //  
  417.     IS_HP_BELOW_40_PCT                                                        = 508, //  
  418.     IS_HP_BELOW_45_PCT                                                        = 509, // Your target's HP must be at 45% of its maximum or below.   
  419.     IS_HP_BELOW_50_PCT                                                        = 510, //    
  420.     IS_HP_BELOW_55_PCT                                                        = 511, //    
  421.     IS_HP_BELOW_60_PCT                                                        = 512, //    
  422.     IS_HP_BELOW_65_PCT                                                        = 513, //    
  423.     IS_HP_BELOW_70_PCT                                                        = 514, //    
  424.     IS_HP_BELOW_75_PCT                                                        = 515, //    
  425.     IS_HP_BELOW_80_PCT                                                        = 516, //    
  426.     IS_HP_BELOW_85_PCT                                                        = 517, //    
  427.     IS_HP_BELOW_90_PCT                                                        = 518, // This ability requires you to be at or below 90% of your maximum HP. | caster restriction |
  428.     IS_HP_BELOW_95_PCT                                                        = 519, //    
  429.     IS_MANA_BELOW_UNKNOWN_PCT                                                 = 521, //
  430.     IS_ENDURANCE_BELOW_40_PCT                                                 = 522, //    
  431.     IS_MANA_BELOW_40_PCT                                                      = 523, //    
  432.     IS_HP_ABOVE_20_PCT                                                        = 524, // Your target's HP must be at least 21% of its maximum.
  433.     IS_BODY_TYPE_UNDEFINED                                                    = 600, // This spell will only work on creatures with an undefined body type.
  434.     IS_BODY_TYPE_HUMANOID                                                     = 601, // This spell will only work on humanoid creatures.
  435.     IS_BODY_TYPE_WEREWOLF                                                     = 602, // This spell will only work on lycanthrope creatures.
  436.     IS_BODY_TYPE_UNDEAD                                                       = 603, // This spell will only work on undead creatures.
  437.     IS_BODY_TYPE_GIANTS                                                       = 604, // This spell will only work on giants.
  438.     IS_BODY_TYPE_CONSTRUCTS                                                   = 605, // This spell will only work on constructs.
  439.     IS_BODY_TYPE_EXTRAPLANAR                                                  = 606, // This spell will only work on extraplanar creatures.
  440.     IS_BODY_TYPE_MAGICAL_CREATURE                                             = 607, // This spell will only work on creatures constructed from magic.
  441.     IS_BODY_TYPE_UNDEADPET                                                    = 608, // This spell will only work on animated undead servants.
  442.     IS_BODY_TYPE_KAELGIANT                                                    = 609, // This spell will only work on the Giants of Kael Drakkal.
  443.     IS_BODY_TYPE_COLDAIN                                                      = 610, // This spell will only work on Coldain Dwarves.
  444.     IS_BODY_TYPE_VAMPIRE                                                      = 612, // This spell will only work on vampires.
  445.     IS_BODY_TYPE_ATEN_HA_RA                                                   = 613, // This spell will only work on Aten Ha Ra.
  446.     IS_BODY_TYPE_GREATER_AHKEVANS                                             = 614, // This spell will only work on Greater Ahkevans.
  447.     IS_BODY_TYPE_KHATI_SHA                                                    = 615, // This spell will only work on Khati Sha.
  448.     IS_BODY_TYPE_LORD_INQUISITOR_SERU                                         = 616, // This spell will only work on Lord Inquisitor Seru.
  449.     IS_BODY_TYPE_GRIEG_VENEFICUS                                              = 617, // This spell will only work on Grieg Veneficus.
  450.     IS_BODY_TYPE_FROM_PLANE_OF_WAR                                            = 619, // This spell will only work on creatures from the Plane of War.
  451.     IS_BODY_TYPE_LUGGALD                                                      = 620, // This spell will only work on Luggalds.
  452.     IS_BODY_TYPE_ANIMAL                                                       = 621, // This spell will only work on animals.
  453.     IS_BODY_TYPE_INSECT                                                       = 622, // This spell will only work on insects.
  454.     IS_BODY_TYPE_MONSTER                                                      = 623, // This spell will only work on monsters.
  455.     IS_BODY_TYPE_ELEMENTAL                                                    = 624, // This spell will only work on elemental creatures.
  456.     IS_BODY_TYPE_PLANT                                                        = 625, // This spell will only work on plants.
  457.     IS_BODY_TYPE_DRAGON2                                                      = 626, // This spell will only work on dragons.
  458.     IS_BODY_TYPE_SUMMONED_ELEMENTAL                                           = 627, // This spell will only work on summoned elementals.
  459.     IS_BODY_TYPE_WARDER                                                       = 628, //  
  460.     IS_BODY_TYPE_DRAGON_OF_TOV                                                = 630, // This spell will only work on Dragons of Veeshan's Temple.  
  461.     IS_BODY_TYPE_FAMILIAR                                                     = 631, // This spell will only work on familiars.
  462.     IS_BODY_TYPE_MURAMITE                                                     = 634, // This spell will only work on Muramites.
  463.     IS_NOT_UNDEAD_OR_SUMMONED                                                 = 635, //    
  464.     IS_NOT_PLANT                                                              = 636, // This spell will not affect plants. 
  465.     IS_NOT_CLIENT                                                             = 700, // This spell will not work on adventurers.   
  466.     IS_CLIENT                                                                 = 701, // This spell will only work on adventurers.  
  467.     IS_LEVEL_ABOVE_42_AND_IS_CLIENT                                           = 800, // This spell will only work on level 43 or higher adventurers.
  468.     UNKNOWN_812                                                               = 812, // | seen in spell 22616 Thaumatize Pet Mana Regen Base |
  469.     UNKNOWN_814                                                               = 814, // | seen in spell 22704 Vegetentacles I |
  470.     IS_TREANT                                                                 = 815, // This spell will only work on treants.  
  471.     IS_BIXIE2                                                                 = 816, // This spell will only work on bixies.   
  472.     IS_SCARECROW                                                              = 817, // This spell will only work on scarecrows.   
  473.     IS_VAMPIRE_OR_UNDEAD_OR_UNDEADPET                                         = 818, // This spell will only work on vampires, undead, or animated undead creatures.   
  474.     IS_NOT_VAMPIRE_OR_UNDEAD                                                  = 819, // This spell will not work on vampires or undead creatures.  
  475.     IS_CLASS_KNIGHT_HYBRID_MELEE                                              = 820, // This spell will only work on knights, hybrids, or melee classes.   
  476.     IS_CLASS_WARRIOR_CASTER_PRIEST                                            = 821, // This spell will only work on warriors, casters, or priests.
  477.     UNKNOWN_822                                                               = 822, // | seen in spell 22870 Morell's Distraction 822 |
  478.     IS_END_BELOW_21_PCT                                                       = 825, // This ability requires you to be at or below 21% of your maximum endurance. 
  479.     IS_END_BELOW_25_PCT                                                       = 826, // This ability requires you to be at or below 25% of your maximum endurance. 
  480.     IS_END_BELOW_29_PCT                                                       = 827, // This ability requires you to be at or below 29% of your maximum endurance. 
  481.     IS_REGULAR_SERVER                                                         = 836, //
  482.     IS_PROGRESSION_SERVER                                                     = 837, //    
  483.     IS_GOD_EXPANSION_UNLOCKED                                                 = 839, //
  484.     UNKNOWN_840                                                               = 840, // | caster restriction | seen in spell 6883 Expedient Recovery
  485.     UNKNOWN_841                                                               = 841, // | caster restriction | seen in spell 32192 Merciless Blow
  486.     IS_HUMANOID_LEVEL_84_MAX                                                  = 842, //    
  487.     IS_HUMANOID_LEVEL_86_MAX                                                  = 843, //    
  488.     IS_HUMANOID_LEVEL_88_MAX                                                  = 844, //    
  489.     HAS_CRYSTALLIZED_FLAME_BUFF                                               = 845, // This spell will only work on targets afflicted by Crystallized Flame. | On live spell does not appear to be a buff
  490.     HAS_INCENDIARY_OOZE_BUFF                                                  = 847, // This spell will only work on targets afflicted by Incendiary Ooze. 
  491.     IS_LEVEL_90_MAX                                                           = 860, //    
  492.     IS_LEVEL_92_MAX                                                           = 861, //    
  493.     IS_LEVEL_94_MAX                                                           = 862, //    
  494.     IS_LEVEL_95_MAX                                                           = 863, //    
  495.     IS_LEVEL_97_MAX                                                           = 864, //    
  496.     IS_LEVEL_99_MAX                                                           = 865, //    
  497.     HAS_WEAPONSTANCE_DEFENSIVE_PROFICIENCY                                    = 866, // | caster restriction |
  498.     HAS_WEAPONSTANCE_TWO_HAND_PROFICIENCY                                     = 867, // | caster restriction | 
  499.     HAS_WEAPONSTANCE_DUAL_WEILD_PROFICIENCY                                   = 868, // | caster restriction |
  500.     IS_LEVEL_100_MAX                                                          = 869, //    
  501.     IS_LEVEL_102_MAX                                                          = 870, //    
  502.     IS_LEVEL_104_MAX                                                          = 871, //    
  503.     IS_LEVEL_105_MAX                                                          = 872, //    
  504.     IS_LEVEL_107_MAX                                                          = 873, //    
  505.     IS_LEVEL_109_MAX                                                          = 874, //    
  506.     IS_LEVEL_110_MAX                                                          = 875, //    
  507.     IS_LEVEL_112_MAX                                                          = 876, //    
  508.     IS_LEVEL_114_MAX                                                          = 877, //    
  509.     HAS_TBL_ESIANTI_ACCESS                                                    = 997, // This spell will only transport adventurers who have gained access to Esianti: Palace of the Winds.  | not implemented
  510.     HAS_ITEM_CLOCKWORK_SCRAPS                                                 = 999, //    
  511.     IS_BETWEEN_LEVEL_1_AND_75                                                 = 1000, //       
  512.     IS_BETWEEN_LEVEL_76_AND_85                                                = 1001, //       
  513.     IS_BETWEEN_LEVEL_86_AND_95                                                = 1002, //       
  514.     IS_BETWEEN_LEVEL_96_AND_105                                               = 1003, //       
  515.     IS_HP_LESS_THAN_80_PCT                                                    = 1004, //       
  516.     IS_LEVEL_ABOVE_34                                                         = 1474, // Your target must be level 35 or higher.   
  517.     IN_TWO_HANDED_STANCE                                                      = 2000, // You must be in your two-handed stance to use this ability.
  518.     IN_DUAL_WIELD_HANDED_STANCE                                               = 2001, // You must be in your dual-wielding stance to use this ability. 
  519.     IN_SHIELD_STANCE                                                          = 2002, // You must be in your shield stance to use this ability.
  520.     NOT_IN_TWO_HANDED_STANCE                                                  = 2010, // You may not use this ability if you are in your two-handed stance.
  521.     NOT_IN_DUAL_WIELD_HANDED_STANCE                                           = 2011, // You may not use this ability if you are in your dual-wielding stance. 
  522.     NOT_IN_SHIELD_STANCE                                                      = 2012, // You may not use this ability if you are in your shield stance.
  523.     LEVEL_46_MAX                                                              = 2761, //       
  524.     DISABLED_UNTIL_EXPANSION_ROK                                              = 7000, // This ability is disabled until Ruins of Kunark.   
  525.     DISABLED_UNTIL_EXPANSION_SOV                                              = 7001, // This ability is disabled until Scars of Velious.  
  526.     DISABLED_UNTIL_EXPANSION_SOL                                              = 7002, // This ability is disabled until Shadows of Luclin. 
  527.     DISABLED_UNTIL_EXPANSION_POP                                              = 7003, // This ability is disabled until Planes of Power.   
  528.     DISABLED_UNTIL_EXPANSION_LOY                                              = 7004, // This ability is disabled until Legacy of Ykesha.  
  529.     DISABLED_UNTIL_EXPANSION_LDON                                             = 7005, // This ability is disabled until Lost Dungeons of Norrath.  
  530.     DISABLED_UNTIL_EXPANSION_GOD                                              = 7006, // This ability is disabled until Gates of Discord.  
  531.     DISABLED_UNTIL_EXPANSION_OOW                                              = 7007, // This ability is disabled until Omens of War.  
  532.     DISABLED_UNTIL_EXPANSION_DON                                              = 7008, // This ability is disabled until Dragons of Norrath.
  533.     DISABLED_UNTIL_EXPANSION_DOD                                              = 7009, // This ability is disabled until Depths of Darkhollow.  
  534.     DISABLED_UNTIL_EXPANSION_POR                                              = 7010, // This ability is disabled until Prophecy of Ro.
  535.     DISABLED_UNTIL_EXPANSION_TSS                                              = 7011, // This ability is disabled until Serpent's Spine.
  536.     DISABLED_UNTIL_EXPANSION_TBS                                              = 7012, // This ability is disabled until Buried Sea.
  537.     DISABLED_UNTIL_EXPANSION_SOF                                              = 7013, // This ability is disabled until Secrets of Faydwer.
  538.     DISABLED_UNTIL_EXPANSION_SOD                                              = 7014, // This ability is disabled until Seeds of Destruction.
  539.     DISABLED_UNTIL_EXPANSION_UF                                               = 7015, // This ability is disabled until Underfoot.
  540.     DISABLED_UNTIL_EXPANSION_HOT                                              = 7016, // This ability is disabled until House of Thule.
  541.     DISABLED_UNTIL_EXPANSION_VOA                                              = 7017, // This ability is disabled until Veil of Alaris.
  542.     DISABLED_UNTIL_EXPANSION_ROF                                              = 7018, // This ability is disabled until Rain of Fear.
  543.     DISABLED_UNTIL_EXPANSION_COF                                              = 7019, // This ability is disabled until Call of the Forsaken.
  544.     DISABLED_UNTIL_EXPANSION_TDS                                              = 7020, // This ability is disabled until Darkened Sea.
  545.     DISABLED_UNTIL_EXPANSION_TBM                                              = 7021, // This ability is disabled until Broken Mirror.
  546.     DISABLED_UNTIL_EXPANSION_EOK                                              = 7022, // This ability is disabled until Empires of Kunark.
  547.     DISABLED_UNTIL_EXPANSION_ROS                                              = 7023, // This ability is disabled until Ring of Scale.
  548.     DISABLED_UNTIL_EXPANSION_TBL                                              = 7024, // This ability is disabled until The Burning Lands.
  549.     DISABLED_UNTIL_EXPANSION_TOV                                              = 7025, // This ability is disabled until Torment of Velious.
  550.     DISABLED_UNTIL_EXPANSION_COV                                              = 7026, // This ability is disabled until Claws of Veeshan.
  551.     HAS_NO_MANA_BURN_BUFF                                                     = 8450,  // This spell will not take hold until the effects of the previous Mana Burn have expired.
  552.     IS_RACE_FIRST_CUSTOM                                                      = 10000, // | custom range to restrict targets or casters by race *not on live* |
  553.     IS_RACE_LAST_CUSTOM                                                       = 11000, // | custom range to restrict targets or casters by race *not on live* |
  554.     IS_CLIENT_AND_MALE_PLATE_USER                                             = 11044, // Your target wouldn't look right as that Jann.
  555.     IS_CLEINT_AND_MALE_DRUID_ENCHANTER_MAGICIAN_NECROANCER_SHAMAN_OR_WIZARD   = 11090, // Your target wouldn't look right as that Jann.
  556.     IS_CLIENT_AND_MALE_BEASTLORD_BERSERKER_MONK_RANGER_OR_ROGUE               = 11209, // Your target wouldn't look right as that Jann.
  557.     IS_CLIENT_AND_FEMALE_PLATE_USER                                           = 11210, // Your target wouldn't look right as that Jann.
  558.     IS_CLIENT_AND_FEMALE_DRUID_ENCHANTER_MAGICIAN_NECROANCER_SHAMAN_OR_WIZARD = 11211, // Your target wouldn't look right as that Jann.
  559.     IS_CLIENT_AND_FEMALE_BEASTLORD_BERSERKER_MONK_RANGER_OR_ROGUE             = 11248, // Your target wouldn't look right as that Jann.
  560.     HAS_TRAVELED_TO_STRATOS                                                   = 11260, // You must travel to Stratos at least once before wishing to go there.
  561.     HAS_TRAVELED_TO_AALISHAI                                                  = 11261, // You must travel to Aalishai at least once before wishing to go there.
  562.     HAS_TRAVELED_TO_MEARATS                                                   = 11268, // You must travel to Mearatas at least once before wishing to go there.
  563.     HAS_NO_ILLUSIONS_OF_GRANDEUR_BUFF                                         = 12519, //  
  564.     IS_HP_ABOVE_50_PCT                                                        = 16010, //  
  565.     IS_HP_UNDER_50_PCT                                                        = 16031, //  
  566.     IS_OFF_HAND_EQUIPED                                                       = 27672, // You must be wielding a weapon or shield in your offhand to use this ability.
  567.     HAS_NO_PACT_OF_FATE_RECOURSE_BUFF                                         = 29556, // This spell will not work while Pact of Fate Recourse is active. | caster restriction |
  568.     HAS_NO_SHROUD_OF_PRAYER_BUFF                                              = 32339, // Your target cannot receive another Quiet Prayer this soon.
  569.     IS_MANA_BELOW_20_PCT                                                      = 38311, // This ability requires you to be at or below 20% of your maximum mana.
  570.     IS_MANA_ABOVE_50_PCT                                                      = 38312, // This ability requires you to be at or above 50% of your maximum mana.
  571.     COMPLETED_ACHIEVEMENT_LEGENDARY_ANSWERER                                  = 39281, // You have completed Legendary Answerer.
  572.     HAS_NO_ROGUES_FURY_BUFF                                                   = 40297, // This spell will not affect anyone that currently has Rogue's Fury active. | caster restriction |
  573.     NOT_COMPLETED_ACHIEVEMENT_LEGENDARY_ANSWERER                              = 42280, // You must complete Legendary Answerer.
  574.     IS_SUMMONED_OR_UNDEAD                                                     = 49326, //      
  575.     IS_CLASS_CASTER_PRIEST                                                    = 49529, //      
  576.     IS_END_OR_MANA_ABOVE_20_PCT                                               = 49543, // You must have at least 20% of your maximum mana and endurance to use this ability.    //pure melee class check end, other check mana
  577.     IS_END_OR_MANA_BELOW_30_PCT                                               = 49573, // Your target already has 30% or more of their maximum mana or endurance.   //pure melee class check the, other check more
  578.     IS_CLASS_BARD2                                                            = 49574, //      
  579.     IS_NOT_CLASS_BARD                                                         = 49575, //      
  580.     HAS_NO_FURIOUS_RAMPAGE_BUFF                                               = 49612, // This ability cannot be activated while Furious Rampage is active.
  581.     IS_END_OR_MANA_BELOW_30_PCT2                                              = 49809, // You can only perform this solo if you have less than 30% mana or endurance.  
  582.     HAS_NO_HARMONIOUS_PRECISION_BUFF                                          = 50003, // This spell will not work if you have the Harmonious Precision line active.   
  583.     HAS_NO_HARMONIOUS_EXPANSE_BUFF                                            = 50009, // This spell will not work if you have the Harmonious Expanse line active.
  584.     UNKNOWN_99999                                                             = 99999, // | caster restriction | works will spell 27672 Strike of Ire
  585. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement