Jump to content

questlua_global problem


Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Questscroll5.quest

        function reward_table_get_value(item_array)
            local prob_sum=questscroll5.reward_table_get_prob_sum(item_array)
            local prob_pos=number(0, prob_sum)

 training_grand_master_skill.quest

                       pc.change_alignment(-number(need_alignment/3, need_alignment/2))

main_quest_lv14.quest

            local i = stones[number( 1, 3 )];
            local stone =  (i+number(1,14)-1) 

levelup.quest

                    local ll = lev - 20
                    if lev < 26 then

                        local n = table.getn(special.levelup_reward_item_21[ll])
                        local t = special.levelup_reward_item_21[ll][number(1, n)]
                        say_reward(gameforge.levelup._80_sayReward)
                        if type(t) == 'table' then

 hair.quest

             local vnum = input_number()

 deviltower_zone.quest

    function get_4floor_stone_pos()
        local positions =
            {
                {368, 629}, {419, 630}, {428, 653}, {422, 679},
                {395, 689}, {369, 679}, {361, 658},
        }
        for i = 1, 6 do
            local j = number(i, 7)
            if i != j then
                local t = positions;
                positions = positions[j];
                positions[j] = t;
            end
        end 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.