Implement buff handling for CombatNPC

This commit is contained in:
gsemaj
2023-07-25 13:49:40 -04:00
parent 82bee2051a
commit e325f7a40b
9 changed files with 224 additions and 131 deletions

View File

@@ -66,6 +66,7 @@ public:
BuffClass maxClass();
int getValue(BuffValueSelector selector);
EntityRef getLastSource();
/*
* In general, a Buff object won't exist
@@ -86,5 +87,7 @@ public:
namespace Buffs {
void timeBuffUpdate(EntityRef self, Buff* buff, int status, BuffStack* stack);
void timeBuffTick(EntityRef self, Buff* buff);
void timeBuffTimeout(EntityRef self);
void tickDrain(EntityRef self, Buff* buff);
}