YET ANOTHER ITERATION of the new ability system

I am very tired
This commit is contained in:
gsemaj
2022-07-22 06:47:52 -07:00
parent 8b94bcd5ca
commit ab4b763f00
10 changed files with 214 additions and 169 deletions

View File

@@ -89,7 +89,7 @@ struct Player : public Entity, public ICombatant {
virtual void enterIntoViewOf(CNSocket *sock) override;
virtual void disappearFromViewOf(CNSocket *sock) override;
virtual void addBuff(int buffId, BuffStack* stack) override;
virtual bool addBuff(int buffId, BuffCallback<int, BuffStack*> onUpdate, BuffCallback<time_t> onTick, BuffStack* stack) override;
virtual Buff* getBuff(int buffId) override;
virtual void removeBuff(int buffId) override;
virtual bool hasBuff(int buffId) override;