public virtual void OnApplied(Sprite Affected, Debuff debuff) { if (Affected.Debuffs.TryAdd(debuff.Name, debuff)) { Display(Affected); } }
public virtual void OnEnded(Sprite Affected, Debuff debuff) { if (Affected.Debuffs.TryRemove(debuff.Name, out var removed)) { (Affected as Aisling)?.Client .Send(new ServerFormat3A(Icon, byte.MinValue)); } }
public virtual void OnEnded(Sprite Affected, Debuff debuff) { if (Affected is Aisling) { (Affected as Aisling) .Client .Send(new ServerFormat3A(Icon, byte.MinValue)); } Affected.Debuffs.Remove(debuff); }
public virtual void OnDurationUpdate(Sprite Affected, Debuff buff) { Display(Affected); }
public virtual void OnApplied(Sprite Affected, Debuff debuff) { Display(Affected); Affected.Debuffs.Add(debuff); }