mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 02:24:21 +00:00
fix some training and hero bugs + fix GameEngine/Admin/database.php (now should to work fine)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user