fix some training and hero bugs + fix GameEngine/Admin/database.php (now should to work fine)

This commit is contained in:
unknown
2012-06-11 15:51:40 +03:00
parent 787ba148e3
commit 1412af8f2c
21 changed files with 344 additions and 170 deletions
+8 -7
View File
@@ -793,19 +793,20 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%hero` (
`uid` int(11) unsigned NOT NULL,
`unit` smallint(2) unsigned NOT NULL,
`name` tinytext NOT NULL,
`wref` mediumint(3) unsigned NOT NULL,
`level` tinyint(1) unsigned NOT NULL,
`wref` int(11) unsigned NOT NULL,
`level` mediumint(3) unsigned NOT NULL,
`points` mediumint(3) unsigned NOT NULL,
`experience` int(11) NOT NULL,
`dead` tinyint(1) unsigned NOT NULL,
`health` float(12,9) unsigned NOT NULL,
`attack` tinyint(1) unsigned NOT NULL,
`defence` tinyint(1) unsigned NOT NULL,
`attackbonus` tinyint(1) unsigned NOT NULL,
`defencebonus` tinyint(1) unsigned NOT NULL,
`regeneration` tinyint(1) unsigned NOT NULL,
`attack` tinyint(3) unsigned NOT NULL,
`defence` tinyint(3) unsigned NOT NULL,
`attackbonus` tinyint(3) unsigned NOT NULL,
`defencebonus` tinyint(3) unsigned NOT NULL,
`regeneration` tinyint(3) unsigned NOT NULL,
`autoregen` int(2) NOT NULL,
`trainingtime` int(11) unsigned NOT NULL,
`nothome` tinyint(1) unsigned NOT NULL,
PRIMARY KEY (`heroid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;