Jump to content
flamyman1412

Forge rates. Can anyone help? Detailed Description

Recommended Posts

1 hour ago, flamyman1412 said:

I do not understand Forge rates.
Can anyone help? Detailed Description

 

How do I do it?

look around in scripts/calculate/forge.lua

  • Thanks 1

Share this post


Link to post
Share on other sites
----Modified Forge Rate----
--1 = 100% 0.X or .X = that % I.E: .2 or 0.20 = 20%

	
	 local Check_A
     local CheckFaild


    
            if Baoshi_NeedLv < 4 then        --Gem Below Lv4
                Check_A = 1
                CheckFaild = Percentage_Random ( Check_A )

        elseif Baoshi_NeedLv == 4 then -- Gem Lv4
                Check_A = 1
                CheckFaild = Percentage_Random ( Check_A )        
 
        elseif Baoshi_NeedLv == 5 then -- Gem Lv5
                Check_A = 1
                CheckFaild = Percentage_Random ( Check_A )
                                
        elseif Baoshi_NeedLv == 6 then -- Gem Lv6
                Check_A = 1
                CheckFaild = Percentage_Random ( Check_A ) 
       
        elseif Baoshi_NeedLv == 7 then -- Gem Lv7
                Check_A = 1
               CheckFaild = Percentage_Random ( Check_A )
            
        elseif Baoshi_NeedLv == 8 then -- Gem Lv8
                Check_A = 1
                CheckFaild = Percentage_Random ( Check_A )
                
        elseif Baoshi_NeedLv == 9 then -- Gem Lv9
                Check_A = 1
                CheckFaild = Percentage_Random ( Check_A )
                
                
        end
                                
                                
                               

 

 -- Combine Rate
function Check_CG_HechengBS ( Item_Lv , Item_Type , Sklv )

        Item_Lv = Item_Lv - 1
        if Item_Type == 49 then
                local a
                local b

                if Item_Lv < 3 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 3 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 4 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 5 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 6 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 7 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 8 then
                        a = 1
                        b = Percentage_Random ( a )

                elseif Item_Lv == 9 then
                        a = 1
                        b = Percentage_Random ( a )
                end

 

  • Thanks 1

Nissan-GT-R.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...