Skip to content
Permalink
Browse files

Script/Commands: Update ".npc info" command with wildpet flag.

Signed-off-by: AriDEV <aridev666@gmail.com>
  • Loading branch information...
AriDEV committed Jul 7, 2019
1 parent a920d63 commit fb2d96fb03d7625f501cac2a7b0c12b5299bc298
@@ -0,0 +1,3 @@
DELETE FROM skyfire_string WHERE entry=885;
INSERT INTO skyfire_string (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8, content_loc9, content_loc10, content_loc11) VALUES
(885, '* is WildPetCapturable (%u)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -806,6 +806,7 @@ enum SkyFireStrings
LANG_NPCINFO_REFORGER = 882,
LANG_NPCINFO_TRANSMOGRIFIER = 883,
LANG_NPCINFO_VAULTKEEPER = 884,
LANG_NPCINFO_WILDPET_CAPTURABLE = 885,

// Pinfo commands
LANG_PINFO_PLAYER = 453,
@@ -859,7 +860,11 @@ enum SkyFireStrings
// = 879, see LANG_PINFO_CHR_REGMAILS
LANG_ACCOUNT_SEC_TYPE = 880,
LANG_RBAC_EMAIL_REQUIRED = 881,
// Room for in-game strings 885-999 not used
// = 882, see LANG_NPCINFO_REFORGER
// = 883, see LANG_NPCINFO_TRANSMOGRIFIER
// = 884, see LANG_NPCINFO_VAULTKEEPER
// = 885, see LANG_NPCINFO_WILDPET_CAPTURABLE
// Room for in-game strings 886-999 not used

// Level 4 (CLI only commands)
LANG_COMMAND_EXIT = 1000,
@@ -44,7 +44,7 @@ struct EnumName

#define CREATE_NAMED_ENUM(VALUE) { VALUE, STRINGIZE(VALUE) }

#define NPCFLAG_COUNT 27
#define NPCFLAG_COUNT 28

EnumName<NPCFlags, int32> const npcFlagTexts[NPCFLAG_COUNT] =
{
@@ -74,7 +74,8 @@ EnumName<NPCFlags, int32> const npcFlagTexts[NPCFLAG_COUNT] =
{ UNIT_NPC_FLAG_VENDOR_AMMO, LANG_NPCINFO_VENDOR_AMMO },
{ UNIT_NPC_FLAG_VENDOR_FOOD, LANG_NPCINFO_VENDOR_FOOD },
{ UNIT_NPC_FLAG_VENDOR_POISON, LANG_NPCINFO_VENDOR_POISON },
{ UNIT_NPC_FLAG_VENDOR_REAGENT, LANG_NPCINFO_VENDOR_REAGENT }
{ UNIT_NPC_FLAG_VENDOR_REAGENT, LANG_NPCINFO_VENDOR_REAGENT },
{ UNIT_NPC_FLAG_WILDPET_CAPTURABLE, LANG_NPCINFO_WILDPET_CAPTURABLE }
};

EnumName<Mechanics> const mechanicImmunes[MAX_MECHANIC] =

0 comments on commit fb2d96f

Please sign in to comment.
You can’t perform that action at this time.