コード例 #1
0
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new CrimsonCincture());
            }

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new MarkOfTravesty());
            }

            if (10000 > Utility.Random(100000))
            {
                c.DropItem(new TragicRemainsOfTravesty());
            }

            if (Utility.RandomBool())
            {
                c.DropItem(new TravestysCollectionOfShells());
            }

            if (Utility.RandomBool())
            {
                c.DropItem(new TravestysFineTeakwoodTray());
            }

            if (25000 > Utility.Random(100000))
            {
                c.DropItem(new TravestysSushiPreparation());
            }

            if (5000 > Utility.Random(100000))
            {
                c.DropItem(new ImprisonedDogStatuette());
            }

            if (10000 > Utility.Random(100000))
            {
                c.DropItem(new HumanFeyLeggings());
            }

            for (int i = 0; i < 3; i++)
            {
                if (Utility.RandomBool())
                {
                    c.DropItem(new EyeOfTheTravesty(Utility.RandomMinMax(1, 3)));
                }
            }

            for (int i = 0; i < 2; i++)
            {
                if (5000 > Utility.Random(100000))
                {
                    c.DropItem(SetItemsHelper.GetRandomSetItem());
                }
            }
        }
コード例 #2
0
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (3000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }
コード例 #3
0
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new CrimsonCincture());
            }

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new ScepterOfTheChief());
            }

            if (5000 > Utility.Random(100000))
            {
                c.DropItem(new ParoxysmusSwampDragonStatuette());
            }

            if (10000 > Utility.Random(100000))
            {
                c.DropItem(new HumanFeyLeggings());
            }

            c.DropItem(new SweatOfParoxysmus());

            switch (Utility.RandomMinMax(1, 3))
            {
            case 1:
                c.DropItem(new ParoxysmusDinner());
                break;

            case 2:
                c.DropItem(new StringOfPartsOfParoxysmusVictims());
                break;

            case 3:
                c.DropItem(new ParoxysmusCorrodedStein());
                break;
            }

            for (int i = 0; i < 3; i++)
            {
                if (Utility.RandomBool())
                {
                    c.DropItem(new LardOfParoxysmus());
                }
            }

            for (int i = 0; i < 3; i++)
            {
                if (5000 > Utility.Random(100000))
                {
                    c.DropItem(SetItemsHelper.GetRandomSetItem());
                }
            }
        }
コード例 #4
0
ファイル: ShimmeringEffusion.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            c.DropItem(new CapturedEssence());
            c.DropItem(new ShimmeringCrystals());

            if (Utility.RandomDouble() < 0.05)
            {
                switch (Utility.Random(4))
                {
                case 0:
                    c.DropItem(new ShimmeringEffusionStatuette());
                    break;

                case 1:
                    c.DropItem(new CorporealBrumeStatuette());
                    break;

                case 2:
                    c.DropItem(new MantraEffervescenceStatuette());
                    break;

                case 3:
                    c.DropItem(new FetidEssenceStatuette());
                    break;
                }
            }

            if (Utility.RandomDouble() < 0.05)
            {
                c.DropItem(new FerretImprisonedInCrystal());
            }

            if (Utility.RandomDouble() < 0.025)
            {
                c.DropItem(new CrystallineRing());
            }

            if (Utility.RandomDouble() < 0.025)
            {
                c.DropItem(new CrimsonCincture());
            }

            if (Utility.RandomDouble() < 0.1)
            {
                c.DropItem(new HumanFeyLeggings());
            }

            for (int i = 0; i < 2; i++)
            {
                if (5000 > Utility.Random(100000))
                {
                    c.DropItem(SetItemsHelper.GetRandomSetItem());
                }
            }
        }
コード例 #5
0
ファイル: Grobu.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);
            c.AddItem(new Engines.MLQuests.GrobusFur());

            if (1000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }
コード例 #6
0
ファイル: LadyMelisande.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (Utility.RandomBool())
            {
                c.DropItem(new DiseasedBark(Utility.RandomMinMax(1, 3)));
            }

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new CrimsonCincture());
            }

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new MelisandesCorrodedHatchet());
            }

            if (20000 > Utility.Random(100000))
            {
                c.DropItem(new EternallyCorruptTree());
            }

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new MelisandeHairDye());
            }

            if (5000 > Utility.Random(100000))
            {
                c.DropItem(new AlbinoSquirrelImprisonedInCrystal());
            }

            if (5000 > Utility.Random(100000))
            {
                c.DropItem(new MelisandesFermentedWine());
            }

            if (10000 > Utility.Random(100000))
            {
                c.DropItem(new HumanFeyLeggings());
            }

            for (int i = 0; i < 2; i++)
            {
                if (5000 > Utility.Random(100000))
                {
                    c.DropItem(SetItemsHelper.GetRandomSetItem());
                }
            }
        }
コード例 #7
0
ファイル: MasterMikael.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (0.15 > Utility.RandomDouble())
            {
                c.DropItem(new Engines.MLQuests.DisintegratingThesisNotes());
            }

            if (3000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }
コード例 #8
0
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (Utility.RandomBool())
            {
                c.DropItem(new SpleenOfThePutrefier());
            }

            if (2000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }
コード例 #9
0
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (0.2 > Utility.RandomDouble())
            {
                c.DropItem(new SabrixsEye());
            }

            if (2000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }
コード例 #10
0
ファイル: Tangle.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (Utility.RandomDouble() < 0.3)
            {
                c.DropItem(new TaintedSeeds());
            }

            if (2000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }
コード例 #11
0
        protected override void OnAfterDeath(Server.Items.Container c)
        {
            if (Utility.RandomBool())
            {
                c.DropItem(new Engines.MLQuests.CoilsFang());
            }

            if (2000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }

            base.OnAfterDeath(c);
        }
コード例 #12
0
ファイル: DreadHorn.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (1500 > Utility.Random(100000))
            {
                c.DropItem(new CrimsonCincture());
            }

            if (2500 > Utility.Random(100000))
            {
                c.DropItem(new DreadsRevenge());
            }

            if (20000 > Utility.Random(100000))
            {
                c.DropItem(new DreadHornTaintedMushroom());
            }
            if (20000 > Utility.Random(100000))
            {
                c.DropItem(new HornOfDreadHorn());
            }
            if (20000 > Utility.Random(100000))
            {
                c.DropItem(new MangledHeadOfDreadHorn());
            }
            if (20000 > Utility.Random(100000))
            {
                c.DropItem(new PristineDreadHorn());
            }
            if (5000 > Utility.Random(100000))
            {
                c.DropItem(new DreadFlute());
            }
            if (10000 > Utility.Random(100000))
            {
                c.DropItem(new HumanFeyLeggings());
            }

            c.DropItem(new DreadHornMane());

            for (int i = 0; i < 2; i++)
            {
                if (5000 > Utility.Random(100000))
                {
                    c.DropItem(SetItemsHelper.GetRandomSetItem());
                }
            }
        }
コード例 #13
0
ファイル: LadyLissith.cs プロジェクト: nogu3ira/xrunuo
        protected override void OnAfterDeath(Container c)
        {
            base.OnAfterDeath(c);

            if (0.2 > Utility.RandomDouble())
            {
                c.DropItem(new LissithsSilk());
            }

            if (0.05 > Utility.RandomDouble())
            {
                c.DropItem(new AcolyteTunic());
            }

            if (2000 > Utility.Random(100000))
            {
                c.DropItem(SetItemsHelper.GetRandomSetItem());
            }
        }