aboutsummaryrefslogtreecommitdiff
path: root/sql/characters.sql
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-28 18:22:54 -0500
committermegamage <none@none>2009-05-28 18:22:54 -0500
commitcfa2e223c03b2b6fbc7bce39ba942ebbecd95c5a (patch)
treed27375776985bd1b75f18001acdee2aa725fee4e /sql/characters.sql
parent4a7a63e4388baceb4ada57f978fc2dbd303c8213 (diff)
[7903] Load and save for pets only talents. Not store unused (in fact) free talent point amount. Author: VladimirMangos
* Other pet spell types auto-learned at level setup/load. * Code will cleanup pet_spell table from non-talents spell if detect any at load. * Free talents points recalculated at loading and levelup so store its in DB useless. Note: bug with not highlighting learned pet talents (except first line) until learn one more talent not fixed. --HG-- branch : trunk
Diffstat (limited to 'sql/characters.sql')
-rw-r--r--sql/characters.sql23
1 files changed, 22 insertions, 1 deletions
diff --git a/sql/characters.sql b/sql/characters.sql
index 6785c3a59a8..6b27a1753cd 100644
--- a/sql/characters.sql
+++ b/sql/characters.sql
@@ -15,6 +15,28 @@
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+/*
+
+--
+-- Table structure for table `character_db_version`
+--
+
+DROP TABLE IF EXISTS `character_db_version`;
+CREATE TABLE `character_db_version` (
+ `required_7903_01_characters_character_pet` bit(1) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
+
+--
+-- Dumping data for table `character_db_version`
+--
+
+LOCK TABLES `character_db_version` WRITE;
+INSERT INTO `character_db_version` VALUES
+(NULL);
+UNLOCK TABLES;
+
+*/
+
--
-- Table structure for table `account_data`
--
@@ -538,7 +560,6 @@ CREATE TABLE `character_pet` (
`level` int(11) unsigned NOT NULL default '1',
`exp` int(11) unsigned NOT NULL default '0',
`Reactstate` tinyint(1) unsigned NOT NULL default '0',
- `talentpoints` int(11) unsigned NOT NULL default '0',
`name` varchar(100) default 'Pet',
`renamed` tinyint(1) unsigned NOT NULL default '0',
`slot` int(11) unsigned NOT NULL default '0',