Jump to content

Dragon_soul.quest


xabugas123
 Share

Recommended Posts

Em 17/06/2018 em 19:22, wery disse:

remove essa parte da quest e volta a tentar


            ------------
            if pc.get_map_index() >= 2400000 and pc.get_map_index() <= 2405000 or pc.get_map_index() >= 2350000 and pc.get_map_index() <= 2355000 then
            return
            else

e remova um end 

  1.             end
  2.             ------------

Continua a não dropar ._.

Link to comment
Share on other sites

Em 18/06/2018 em 21:50, xabugas123 disse:

Continua a não dropar ._.

Compare a sua quest com essa que mandei no anexo.

add em questlib.lua

function drop_gamble_with_flag(drop_flag)
        local dp, range = pc.get_killee_drop_pct()
        dp = 40000 * dp / game.get_event_flag(drop_flag)
        if dp < 0 or range < 0 then
            return false
        end
        return dp >= number(1, range)
end

 

dragon_soul.lua

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...