mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19:22 +02:00
Bugfix: Powergamers: Support negative values in first day changes
This commit is contained in:
parent
61d0bfcc8e
commit
2e465075ae
@ -75,7 +75,7 @@ if ($cache->hasExpired()) {
|
|||||||
THEN `hfb`.`experience`
|
THEN `hfb`.`experience`
|
||||||
ELSE `h7b`.`experience`
|
ELSE `h7b`.`experience`
|
||||||
END AS `diff_exp`,
|
END AS `diff_exp`,
|
||||||
`p`.`experience` - IFNULL(`h1b`.`experience`, 0) AS `diff_0`,
|
CAST(`p`.`experience` as SIGNED) - IFNULL(`h1b`.`experience`, 0) AS `diff_0`,
|
||||||
IFNULL(`h1b`.`experience`, 0) - IFNULL(`h2b`.`experience`, 0) AS `diff_1`,
|
IFNULL(`h1b`.`experience`, 0) - IFNULL(`h2b`.`experience`, 0) AS `diff_1`,
|
||||||
IFNULL(`h2b`.`experience`, 0) - IFNULL(`h3b`.`experience`, 0) AS `diff_2`,
|
IFNULL(`h2b`.`experience`, 0) - IFNULL(`h3b`.`experience`, 0) AS `diff_2`,
|
||||||
IFNULL(`h3b`.`experience`, 0) - IFNULL(`h4b`.`experience`, 0) AS `diff_3`,
|
IFNULL(`h3b`.`experience`, 0) - IFNULL(`h4b`.`experience`, 0) AS `diff_3`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user