Exemplo n.º 1
0
        public override void OnDeath(Container c)
        {
            base.OnDeath(c);

            if (Utility.RandomMinMax(1, 4) == 1)
            {
                Item acid = new BottleOfAcid();
                acid.Name   = "jar of acidic ichor";
                acid.ItemID = 0x1007;
                acid.Hue    = 0xBAB;
                c.DropItem(acid);
            }

            Mobile killer = this.LastKiller;

            if (killer != null && !Controlled)
            {
                if (killer is BaseCreature)
                {
                    killer = ((BaseCreature)killer).GetMaster();
                }

                if (killer is PlayerMobile)
                {
                    if (Utility.RandomMinMax(1, 100) == 1)
                    {
                        c.DropItem(new AlienEgg());
                    }
                }
            }
        }
Exemplo n.º 2
0
        public override void OnDeath(Container c)
        {
            base.OnDeath(c);

            if (Utility.RandomMinMax(1, 8) == 1)
            {
                Item acid = new BottleOfAcid();
                acid.Name   = "jar of acidic ichor";
                acid.ItemID = 0x1007;
                acid.Hue    = 0xB96;
                c.DropItem(acid);
            }
        }
Exemplo n.º 3
0
        public override void OnDeath(Container c)
        {
            base.OnDeath(c);

            if (Utility.RandomMinMax(1, 2) == 1)
            {
                Item acid = new BottleOfAcid();
                acid.Name   = "jar of alien blood";
                acid.ItemID = 0x1007;
                acid.Hue    = 1167;
                c.DropItem(acid);
            }
        }