|
|
@@ -222,7 +222,7 @@ module.exports = function AutoPOT(mod) {
|
|
|
});
|
|
|
|
|
|
//Because S_PLAYER_STAT_UPDATE faster than CREATURE
|
|
|
- mod.hook('S_PLAYER_STAT_UPDATE', 13, e => {
|
|
|
+ mod.hook('S_PLAYER_STAT_UPDATE', mod.majorPatchVersion >= 93 ? 14 : 13, e => {
|
|
|
if (config.enabled) {
|
|
|
useHP(Math.round(s2n(e.hp) / s2n(e.maxHp) * 100));
|
|
|
useMP(Math.round(s2n(e.mp) / s2n(e.maxMp) * 100));
|