Aura.Channel.World.Entities.Creature.DropItems C# (CSharp) Method

DropItems() private method

Drops creature's drop items.
private DropItems ( Creature killer, Random rnd, Position pos ) : void
killer Creature
rnd Random
pos Position
return void
		private void DropItems(Creature killer, Random rnd, Position pos)
		{
			// Normal
			this.DropItems(killer, rnd, pos, this.Drops.Drops);

			// Event
			var eventDrops = ChannelServer.Instance.GameEventManager.GlobalBonuses.GetDrops(this);
			if (eventDrops.Count != 0)
				this.DropItems(killer, rnd, pos, eventDrops);

			// Static
			foreach (var item in this.Drops.StaticDrops)
				item.Drop(this.Region, pos, Item.DropRadius, killer, false);

			this.Drops.ClearStaticDrops();
		}

Same methods

Creature::DropItems ( Creature killer, Random rnd, Position pos, IEnumerable dataCollection ) : void