fix: hero dying and revival doesn't work correctly with multiple heroes

This commit is contained in:
Martin Ambrus
2017-11-02 23:59:03 +01:00
parent bf0409a18e
commit 90f8982245
14 changed files with 56 additions and 48 deletions
+2 -1
View File
@@ -916,7 +916,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%hero` (
PRIMARY KEY (`heroid`),
KEY `uid` (`uid`, `dead`) USING BTREE,
KEY `lastupdate` (`lastupdate`),
KEY `inrevive` (`inrevive`)
KEY `inrevive` (`inrevive`),
KEY `intraining` (`intraining`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
--