public ShitTarget(Mobile thrower, Shitpile shit) : base(10, false, TargetFlags.None) { m_Thrower = thrower; m_Shit = shit; }
public ShitTarget( Mobile thrower, Shitpile shit ) : base ( 10, false, TargetFlags.None ) { m_Thrower = thrower; m_Shit = shit; }
protected override void OnTick() { object shit = new Shitpile(); Shitpile spawn = (Shitpile) Activator.CreateInstance(shit.GetType() ); spawn.Map = Mare.Map; spawn.Location = Mare.Location; Effects.PlaySound( spawn.Location, spawn.Map, 1064); }