tcmod-npcbots/SQL/characters_bots.sql
trickerer 1f07eae770 NPCBots v4.10.0a. Update for 26 Mar 2021 (TC 80f30d5ca9).
Drop 2013 version.
Fix int16 overflow in item randomPropertyId saving.
Add shell scripts for merging SQL files (kind of tested).
Fix a mistake in `4_world_generate_bot_equips.sql`.
Ref #88.
2021-03-29 10:51:30 +07:00

26 lines
1.4 KiB
SQL

DROP TABLE IF EXISTS `characters_npcbot`;
CREATE TABLE `characters_npcbot` (
`entry` int(10) unsigned NOT NULL COMMENT 'creature_template.entry',
`owner` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'characters.guid (lowguid)',
`roles` smallint(5) unsigned NOT NULL COMMENT 'bitmask: tank(1),dps(2),heal(4),ranged(8)',
`faction` int(10) unsigned NOT NULL DEFAULT '35',
`equipMhEx` int(10) unsigned NOT NULL DEFAULT '0',
`equipOhEx` int(10) unsigned NOT NULL DEFAULT '0',
`equipRhEx` int(10) unsigned NOT NULL DEFAULT '0',
`equipHead` int(10) unsigned NOT NULL DEFAULT '0',
`equipShoulders` int(10) unsigned NOT NULL DEFAULT '0',
`equipChest` int(10) unsigned NOT NULL DEFAULT '0',
`equipWaist` int(10) unsigned NOT NULL DEFAULT '0',
`equipLegs` int(10) unsigned NOT NULL DEFAULT '0',
`equipFeet` int(10) unsigned NOT NULL DEFAULT '0',
`equipWrist` int(10) unsigned NOT NULL DEFAULT '0',
`equipHands` int(10) unsigned NOT NULL DEFAULT '0',
`equipBack` int(10) unsigned NOT NULL DEFAULT '0',
`equipBody` int(10) unsigned NOT NULL DEFAULT '0',
`equipFinger1` int(10) unsigned NOT NULL DEFAULT '0',
`equipFinger2` int(10) unsigned NOT NULL DEFAULT '0',
`equipTrinket1` int(10) unsigned NOT NULL DEFAULT '0',
`equipTrinket2` int(10) unsigned NOT NULL DEFAULT '0',
`equipNeck` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`entry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;