mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-24 07:20:49 +00:00
Move drain to new system
TODO - There is a seg fault that happens when drain kills the mob - leech unimplemented - mob skills unimplemented
This commit is contained in:
@@ -66,6 +66,7 @@ public:
|
||||
BuffClass maxClass();
|
||||
|
||||
int getValue(BuffValueSelector selector);
|
||||
EntityRef getLastSource();
|
||||
|
||||
/*
|
||||
* In general, a Buff object won't exist
|
||||
@@ -88,4 +89,5 @@ 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user