mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
DB: Update player_racestats
This commit is contained in:
24
sql/updates/world/3.4.x/2023_11_20_00_world.sql
Normal file
24
sql/updates/world/3.4.x/2023_11_20_00_world.sql
Normal file
@@ -0,0 +1,24 @@
|
||||
DROP TABLE IF EXISTS `player_racestats`;
|
||||
CREATE TABLE IF NOT EXISTS `player_racestats` (
|
||||
`race` tinyint unsigned NOT NULL,
|
||||
`str` smallint NOT NULL COMMENT 'strength',
|
||||
`agi` smallint NOT NULL COMMENT 'agility',
|
||||
`sta` smallint NOT NULL COMMENT 'stamina',
|
||||
`inte` smallint NOT NULL COMMENT 'intellect',
|
||||
`spi` smallint NOT NULL COMMENT 'spirit',
|
||||
`comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
PRIMARY KEY (`race`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Stores race stats.';
|
||||
|
||||
DELETE FROM `player_racestats`;
|
||||
INSERT INTO `player_racestats` (`race`, `str`, `agi`, `sta`, `inte`, `spi`, `comment`) VALUES
|
||||
(1, 0, 0, 0, 0, 0, 'Human'),
|
||||
(2, 3, -3, 1, -3, -2, 'Orc'),
|
||||
(3, 5, -4, 1, -1, -1, 'Dwarf'),
|
||||
(4, -4, 4, 0, 0, 0, 'Night Elf'),
|
||||
(5, -1, -2, 0, -2, 5, 'Undead'),
|
||||
(6, 5, -4, 1, -4, 2, 'Tauren'),
|
||||
(7, -5, 2, 0, 3, 0, 'Gnome'),
|
||||
(8, 1, -2, 0, -4, 1, 'Troll'),
|
||||
(10, -3, 1, 0, 2, 0, 'Blood Elf'),
|
||||
(11, -3, 2, 0, 3, -2, 'Draenei');
|
||||
Reference in New Issue
Block a user