mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
Core/Mechanics:
- Add basic support for focus used by players (hunters) - Drop all support for pet happieness (as it has been completely removed) - Add new fields to characters db to store new power values (Should now be able to create characters again)
This commit is contained in:
@@ -737,7 +737,6 @@ CREATE TABLE `character_pet` (
|
||||
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`curhealth` int(10) unsigned NOT NULL DEFAULT '1',
|
||||
`curmana` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`curhappiness` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`savetime` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`abdata` text,
|
||||
PRIMARY KEY (`id`),
|
||||
@@ -1034,6 +1033,10 @@ CREATE TABLE `character_stats` (
|
||||
`maxpower5` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`maxpower6` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`maxpower7` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`maxpower8` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`maxpower9` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`maxpower10` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`maxpower11` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`strength` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`agility` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`stamina` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
@@ -1160,6 +1163,10 @@ CREATE TABLE `characters` (
|
||||
`power5` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power6` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power7` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power8` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power9` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power10` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`power11` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`latency` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`speccount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||
`activespec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `character_stats`
|
||||
ADD COLUMN `maxpower8` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `maxpower7`,
|
||||
ADD COLUMN `maxpower9` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `maxpower8`,
|
||||
ADD COLUMN `maxpower10` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `maxpower9`,
|
||||
ADD COLUMN `maxpower11` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `maxpower10`;
|
||||
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `characters`
|
||||
ADD COLUMN `power8` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `power7`,
|
||||
ADD COLUMN `power9` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `power8`,
|
||||
ADD COLUMN `power10` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `power9`,
|
||||
ADD COLUMN `power11` int(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `power10`;
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE `character_pet` DROP COLUMN `curhappiness`;
|
||||
Reference in New Issue
Block a user