Added initial duration to buff tracking and corrected buff removal

This commit is contained in:
dannuic
2026-04-30 00:33:42 -06:00
parent 190af8d3f6
commit c95611e018
12 changed files with 54 additions and 29 deletions
+1
View File
@@ -228,6 +228,7 @@ struct Buffs_Struct {
uint32 casterid; // Maybe change this to a pointer sometime, but gotta make sure it's 0'd when it no longer points to anything
char caster_name[64];
int32 ticsremaining;
int32 initialduration;
uint32 counters;
uint32 hit_number; //the number of physical hits this buff can take before it fades away, lots of druid armor spells take advantage of this mixed with powerful effects
uint32 melee_rune;