public override void Update(DwarfTime gameTime, ChunkManager chunks, Camera camera) { if (Buff == null) { return; } base.Update(gameTime, chunks, camera); foreach (var creature in Creatures) { creature.Stats.AddBuff(Buff.Clone()); // Todo: Check if the creature already has this kind of buff and dissalow if so. } }
public void Drink(Creature creature) { creature.Stats.AddBuff(Effects.Clone()); }