public override void OnDeath(Container c) { if (Utility.Random(2) == 0) { Item item; switch (Utility.Random(1)) { default: case 1: item = new IrkBrain(); break; } c.DropItem(item); } base.OnDeath(c); }
public override void OnDeath(Container c) { if (Utility.Random(2) == 0) { Item item; switch (Utility.Random(1)) { default: case 1: item = new IrkBrain(); break; } c.DropItem(item); } /* * // TODO: uncomment once added * if ( Utility.RandomDouble() < 0.025 ) * c.DropItem( new PaladinGloves() ); */ base.OnDeath(c); }