コード例 #1
0
        public static void Initialize()
        {
            if (Table != null)
            {
                return;
            }

            Table = new DroprateTable();
            Table.AddDrop(new ItemCider(1), 30);
            Table.AddDrop(new ItemCola(1), 25);
            Table.AddDrop(new ItemDkPepper(1), 25);
            Table.AddDrop(new ItemStaminaAde(1), 30);
        }
コード例 #2
0
        public static void Initialize()
        {
            if (Table != null)
            {
                return;
            }

            Table = new DroprateTable();
            Table.AddDrop(new ItemApple(1), 5);
            Table.AddDrop(new ItemPlank(4), 15);
            Table.AddDrop(new ItemSilverKey(2), 10);
            Table.AddDrop(new ItemSilverKey(3), 10);
            Table.AddDrop(new ItemGear(5), 10);
        }
コード例 #3
0
    public static void Initialize()
    {
        if (_droprateTable != null)
        {
            return;
        }

        _droprateTable = new DroprateTable();
        _droprateTable.AddDrop(new ItemEmerald(1), 10);
        _droprateTable.AddDrop(new ItemRuby(1), 10);
        _droprateTable.AddDrop(new ItemDiamond(1), 10);
        _droprateTable.AddDrop(new ItemSilver(1), 20);
        _droprateTable.AddDrop(new ItemSilver(2), 25);
        _droprateTable.AddDrop(new ItemMagicalPowder(2), 20);
        _droprateTable.AddDrop(new ItemMagicalPowder(3), 10);
        _droprateTable.AddDrop(new ItemApple(4), 5);
        _droprateTable.AddDrop(new ItemSilverKey(7), 7);
    }