[refactor] Active power handling

This commit is contained in:
gsemaj
2022-11-27 17:36:47 -05:00
committed by gsemaj
parent 4ece1bb89b
commit 82bee2051a
17 changed files with 330 additions and 247 deletions

View File

@@ -21,8 +21,6 @@ namespace MobAI {
}
struct Mob : public CombatNPC {
// general
std::unordered_map<int32_t,time_t> unbuffTimes = {};
// dead
time_t killedTime = 0;
@@ -71,8 +69,6 @@ struct Mob : public CombatNPC {
offsetX = 0;
offsetY = 0;
cbf = 0;
// NOTE: there appear to be discrepancies in the dump
hp = maxHealth;