diff --git a/src/game/SharedDefines.h b/src/game/SharedDefines.h index 91abdb0c2..1956a25e0 100644 --- a/src/game/SharedDefines.h +++ b/src/game/SharedDefines.h @@ -933,6 +933,111 @@ enum SpellCastResult SPELL_CAST_OK = 255 // custom value, don't must be send to client }; +// Used in addition to SPELL_FAILED_CUSTOM_ERROR +enum SpellCastResultCustom +{ + // Postfix _NONE will not display the text in client + SPELL_FAILED_CUSTOM_ERROR_1 = 1, // "Something bad happened, and we want to display a custom message!" + SPELL_FAILED_CUSTOM_ERROR_2 = 2, // "Alex broke your quest! Thank him later!" + SPELL_FAILED_CUSTOM_ERROR_3 = 3, // "This spell may only be used on Helpless Wintergarde Villagers that have not been rescued." + SPELL_FAILED_CUSTOM_ERROR_4 = 4, // "Requires that you be wearing the Warsong Disguise." + SPELL_FAILED_CUSTOM_ERROR_5 = 5, // "You must be closer to a plague wagon in order to drop off yor 7th Legion Siege Engineer." + SPELL_FAILED_CUSTOM_ERROR_6 = 6, // "You cannot target friendly targets outside your party." + SPELL_FAILED_CUSTOM_ERROR_7 = 7, // "You must target a weakened chill nymph." + SPELL_FAILED_CUSTOM_ERROR_8 = 8, // "The Imbued Scourge Shroud will only work when equipped in the Temple City of En'Kilah" + SPELL_FAILED_CUSTOM_ERROR_9 = 9, // "Requires Corpse Dust" + SPELL_FAILED_CUSTOM_ERROR_10 = 10, // "You cannot summon another gargoyle yet." + SPELL_FAILED_CUSTOM_ERROR_11 = 11, // "Requires Corpse Dust if the target is not dead and humanoid." + SPELL_FAILED_CUSTOM_ERROR_12 = 12, // "Can only be placed near Shatterhorn." + SPELL_FAILED_CUSTOM_ERROR_13 = 13, // "You must first select a Proto-Drake Egg" + SPELL_FAILED_CUSTOM_ERROR_14_NONE = 14, // "You must be close to a marked tree." + SPELL_FAILED_CUSTOM_ERROR_15 = 15, // "You must target a Fjord Turkey." + SPELL_FAILED_CUSTOM_ERROR_16 = 16, // "You must target a Fjord Hawk." + SPELL_FAILED_CUSTOM_ERROR_17 = 17, // "You are too far away from the bouy." + SPELL_FAILED_CUSTOM_ERROR_18 = 18, // "Must be used near an oil slick." + SPELL_FAILED_CUSTOM_ERROR_19 = 19, // "You must be closer to the bouy!" + SPELL_FAILED_CUSTOM_ERROR_20 = 20, // "You may only call for the aid of a Wyrmrest Vanquisher in Wyrmrest Temple, The Dragon Wastes, Galakrond's Rest or The Wicked Coil." + SPELL_FAILED_CUSTOM_ERROR_21 = 21, // "Can only be used on a Ice Heart Jormungar Spawn." + SPELL_FAILED_CUSTOM_ERROR_22 = 22, // "You must be closer to a sinkhole to use your map." + SPELL_FAILED_CUSTOM_ERROR_23 = 23, // "You may only call down a stampede on Harold Lane." + SPELL_FAILED_CUSTOM_ERROR_24 = 24, // "You may only use the Pouch of Crushed Bloodspore on Gammothra or other magnataur in the Bloodspore Plains and Gammoth." + SPELL_FAILED_CUSTOM_ERROR_25 = 25, // "Requires the magmawyrm ressurection chamber in the back of the Maw of Neltharion." + SPELL_FAILED_CUSTOM_ERROR_26 = 26, // "You may only call down a Wintergarde Gryphon in Wintergarde Keep or the Carrion Fields." + SPELL_FAILED_CUSTOM_ERROR_27 = 27, // "What are you doing? Only aim that thing at Wilhelm!" + SPELL_FAILED_CUSTOM_ERROR_28 = 28, // "Not enough health!" + SPELL_FAILED_CUSTOM_ERROR_29 = 29, // "There are no nearby corpses to use" + SPELL_FAILED_CUSTOM_ERROR_30 = 30, // "You've created enough ghouls. Return to Gothik the Harvester at Death's Breach." + SPELL_FAILED_CUSTOM_ERROR_31 = 31, // "Your companion does not want to come here. Go further from the Sundered Shard." + SPELL_FAILED_CUSTOM_ERROR_32 = 32, // "Must be in Cat Form" + SPELL_FAILED_CUSTOM_ERROR_33 = 33, // "Only Death Knights may enter Ebon Hold." + SPELL_FAILED_CUSTOM_ERROR_34 = 34, // "Must be in Cat Form, Bear Form, or Dire Bear Form." + SPELL_FAILED_CUSTOM_ERROR_35 = 35, // "You must be within range of a Helpless Wintergarde Villager" + SPELL_FAILED_CUSTOM_ERROR_36 = 36, // "You cannot target an elemental or mechanical corpse." + SPELL_FAILED_CUSTOM_ERROR_37 = 37, // "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once." + SPELL_FAILED_CUSTOM_ERROR_38 = 38, // "You are already holding something in your hand. You must throw the creature in your hand before picking up another." + SPELL_FAILED_CUSTOM_ERROR_39 = 39, // "You don't have anything to throw! Find a Vargul and use Gymer Grab to pick one up!" + SPELL_FAILED_CUSTOM_ERROR_40 = 40, // "Bouldercrag's War Horn can only be used within 10 yards of Valduran the Stormborn." + SPELL_FAILED_CUSTOM_ERROR_41 = 41, // "You are not carrying a passenger. There is nobody to drop off." + SPELL_FAILED_CUSTOM_ERROR_42 = 42, // "You cannot build any more siege vehicles." + SPELL_FAILED_CUSTOM_ERROR_43 = 43, // "You are already carrying a captured Argent Crusader. You must return to the Argen Vanguard Infirmary and drop off your passenger before you may pick up another." + SPELL_FAILED_CUSTOM_ERROR_44 = 44, // "You can't do that while rooted." + SPELL_FAILED_CUSTOM_ERROR_45 = 45, // "Requires a nearby target." + SPELL_FAILED_CUSTOM_ERROR_46 = 46, // "Nothing left to discover." + SPELL_FAILED_CUSTOM_ERROR_47 = 47, // "No targets close enough to bluff." + SPELL_FAILED_CUSTOM_ERROR_48 = 48, // "Your Iron Rune Construct is out of range." + SPELL_FAILED_CUSTOM_ERROR_49 = 49, // "Requires Grand Master Engineer." + SPELL_FAILED_CUSTOM_ERROR_50 = 50, // "You can't use that mount." + SPELL_FAILED_CUSTOM_ERROR_51 = 51, // "There is nobody to eject!" + SPELL_FAILED_CUSTOM_ERROR_52 = 52, // "The target must be bound to you." + SPELL_FAILED_CUSTOM_ERROR_53 = 53, // "Target must be undead." + SPELL_FAILED_CUSTOM_ERROR_54 = 54, // "You have no target or your target is too far away." + SPELL_FAILED_CUSTOM_ERROR_55 = 55, // "Missing Reagents: Dark Matter" + SPELL_FAILED_CUSTOM_ERROR_56 = 56, // "You can't use that item." + SPELL_FAILED_CUSTOM_ERROR_57 = 57, // "You can't do that when Cycloned." + SPELL_FAILED_CUSTOM_ERROR_58 = 58, // "Target is already affected by a scroll." + SPELL_FAILED_CUSTOM_ERROR_59 = 59, // "That anti-venom is not strong enough to dispel that poison." + SPELL_FAILED_CUSTOM_ERROR_60 = 60, // "You must have a lance equipped." + SPELL_FAILED_CUSTOM_ERROR_61 = 61, // "You must be near the Maiden of Winter's Breath Lake" + SPELL_FAILED_CUSTOM_ERROR_62 = 62, // "You have learned everything from that book." + SPELL_FAILED_CUSTOM_ERROR_63_NONE = 63, // "Your pet is dead" + SPELL_FAILED_CUSTOM_ERROR_64_NONE = 64, // "There are no valid targets within range." + SPELL_FAILED_CUSTOM_ERROR_65 = 65, // "Only GMs may use that. Your account has been reported for investigation." + SPELL_FAILED_CUSTOM_ERROR_66 = 66, // "You must reach level 58 to use this portal." + SPELL_FAILED_CUSTOM_ERROR_67 = 67, // "You already have the maximum amount of honor." + SPELL_FAILED_CUSTOM_ERROR_68 = 68, // "" + SPELL_FAILED_CUSTOM_ERROR_69 = 69, // "" + SPELL_FAILED_CUSTOM_ERROR_70 = 70, // "" + SPELL_FAILED_CUSTOM_ERROR_71 = 71, // "" + SPELL_FAILED_CUSTOM_ERROR_72 = 72, // "" + SPELL_FAILED_CUSTOM_ERROR_73 = 73, // "" + SPELL_FAILED_CUSTOM_ERROR_74 = 74, // "" + SPELL_FAILED_CUSTOM_ERROR_75 = 75, // "You must have a demonic circle active." + SPELL_FAILED_CUSTOM_ERROR_76 = 76, // "You already have maximum rage" + SPELL_FAILED_CUSTOM_ERROR_77 = 77, // "Requires Engineering (350)" + SPELL_FAILED_CUSTOM_ERROR_78 = 78, // "Your soul belongs to the Lich King" + SPELL_FAILED_CUSTOM_ERROR_79 = 79, // "Your attendant already has an Argent Pony" + SPELL_FAILED_CUSTOM_ERROR_80 = 80, // "" + SPELL_FAILED_CUSTOM_ERROR_81 = 81, // "" + SPELL_FAILED_CUSTOM_ERROR_82 = 82, // "" + SPELL_FAILED_CUSTOM_ERROR_83 = 83, // "You must have a Fire Totem active." + SPELL_FAILED_CUSTOM_ERROR_84 = 84, // "You may not bite other vampires." + SPELL_FAILED_CUSTOM_ERROR_85 = 85, // "Your pet is already at your level." + SPELL_FAILED_CUSTOM_ERROR_86 = 86, // "You do not meet the level requirements for this item." + SPELL_FAILED_CUSTOM_ERROR_87 = 87, // "There are too many Mutated Abominations." + SPELL_FAILED_CUSTOM_ERROR_88 = 88, // "The potions have all been depleted by Professor Putricide." + SPELL_FAILED_CUSTOM_ERROR_89 = 89, // "" + SPELL_FAILED_CUSTOM_ERROR_90 = 90, // "Requires level 65" + SPELL_FAILED_CUSTOM_ERROR_91 = 91, // "" + SPELL_FAILED_CUSTOM_ERROR_92 = 92, // "" + SPELL_FAILED_CUSTOM_ERROR_93 = 93, // "" + SPELL_FAILED_CUSTOM_ERROR_94 = 94, // "" + SPELL_FAILED_CUSTOM_ERROR_95 = 95, // "" + SPELL_FAILED_CUSTOM_ERROR_96 = 96, // "You already have the max number of recruits." + SPELL_FAILED_CUSTOM_ERROR_97 = 97, // "You already have the max number of volunteers." + SPELL_FAILED_CUSTOM_ERROR_98 = 98, // "Frostmourne has rendered you unable to ressurect." + SPELL_FAILED_CUSTOM_ERROR_99 = 99, // "You can't mount while affected by that shapeshift." +}; + // Spell aura states enum AuraState { // (C) used in caster aura state (T) used in target aura state diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 35091c3dd..52680a590 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11569" + #define REVISION_NR "11570" #endif // __REVISION_NR_H__