gainster81 8 Report post Posted May 29, 2018 Hey guys, my fairy marriage system isnt working. I edited forge.lua to make sure i could marry angelas to get angela jr. I gave item ID 983 and 984 to both pets. I leveled 2 angelas to lv20 and marriage them and instead of getting an angela JR i got a fairy of luck. What is wrong with my forge? It looks like the following. if Item_EMstone_ID ==3918 then ---Çàɬ¶ñħ¹ûʵ local j1 = TakeItem( role, 0,4530, 10 ) ---ÃÀζÎÚÔôÈâ local j2 = TakeItem( role, 0,3434, 10 ) ----·ÏÁéÎäÊ¿º¡¹Ç if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end local Item_newJL = GetChaItem ( role , 2 , r2 ) --ȡо«ÁéµÀ¾ßÖ¸Õë local Item_newJL_ID = GetItemID ( Item_newJL ) local Num_newJL = GetItemForgeParam ( Item_newJL , 1 ) local Part1_newJL = GetNum_Part1 ( Num_newJL ) --Get Num Part 1 µ½ Part 7 local Part2_newJL = GetNum_Part2 ( Num_newJL ) local Part3_newJL = GetNum_Part3 ( Num_newJL ) local Part4_newJL = GetNum_Part4 ( Num_newJL ) local Part5_newJL = GetNum_Part5 ( Num_newJL ) local Part6_newJL = GetNum_Part6 ( Num_newJL ) local Part7_newJL = GetNum_Part7 ( Num_newJL ) if lv_JLone>=20 and lv_JLother >=20 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 1 ---------³õ¼¶½×¶Î end if lv_JLone>=25 and lv_JLother >=25 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 2 ---------Öм¶½×¶Î end if lv_JLone>=35 and lv_JLother >=35 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 3 ---------¸ß¼¶½×¶Î end local rad1 = math.random ( 1, 100 ) if Part3_newJL==3 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end Quote Share this post Link to post Share on other sites
Dan 184 Report post Posted May 30, 2018 (edited) I think you forgot one line? else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end TIP: Do not make pets above line 500 if you do, the stats will bug when possing, it will grant random stats also passively. Also, if it doesn't work, try changing mordo jr id 681 to your Angela Jr Id and marry 2 mordos? Edited May 30, 2018 by Joah Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 30, 2018 (edited) i hope this will help you if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end else --------- delete this line r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck ------------- delete this line end ------------- delete this line elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then and also elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end end ----------add this line so the script become if Item_EMstone_ID ==3918 then ---Çàɬ¶ñħ¹ûʵ local j1 = TakeItem( role, 0,4530, 10 ) ---ÃÀζÎÚÔôÈâ local j2 = TakeItem( role, 0,3434, 10 ) ----·ÏÁéÎäÊ¿º¡¹Ç if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end end local Item_newJL = GetChaItem ( role , 2 , r2 ) --ȡо«ÁéµÀ¾ßÖ¸Õë local Item_newJL_ID = GetItemID ( Item_newJL ) local Num_newJL = GetItemForgeParam ( Item_newJL , 1 ) local Part1_newJL = GetNum_Part1 ( Num_newJL ) --Get Num Part 1 µ½ Part 7 local Part2_newJL = GetNum_Part2 ( Num_newJL ) local Part3_newJL = GetNum_Part3 ( Num_newJL ) local Part4_newJL = GetNum_Part4 ( Num_newJL ) local Part5_newJL = GetNum_Part5 ( Num_newJL ) local Part6_newJL = GetNum_Part6 ( Num_newJL ) local Part7_newJL = GetNum_Part7 ( Num_newJL ) if lv_JLone>=20 and lv_JLother >=20 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 1 ---------³õ¼¶½×¶Î end if lv_JLone>=25 and lv_JLother >=25 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 2 ---------Öм¶½×¶Î end if lv_JLone>=35 and lv_JLother >=35 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 3 ---------¸ß¼¶½×¶Î end local rad1 = math.random ( 1, 100 ) if Part3_newJL==3 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end Edited May 30, 2018 by opexone78 Quote Share this post Link to post Share on other sites
Dan 184 Report post Posted May 30, 2018 (edited) Did you try replacing mordo jr ID of if 2x mordo then give mordo jr -> to Angela Jr ID? and test if it works? Also I don't remember, but I think it might be Game.exe sided Edited May 30, 2018 by Joah Quote Share this post Link to post Share on other sites
gainster81 8 Report post Posted May 31, 2018 On 5/29/2018 at 11:31 PM, opexone78 said: i hope this will help you if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end else --------- delete this line r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck ------------- delete this line end ------------- delete this line elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then and also elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end end ----------add this line so the script become if Item_EMstone_ID ==3918 then ---Çàɬ¶ñħ¹ûʵ local j1 = TakeItem( role, 0,4530, 10 ) ---ÃÀζÎÚÔôÈâ local j2 = TakeItem( role, 0,3434, 10 ) ----·ÏÁéÎäÊ¿º¡¹Ç if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end end local Item_newJL = GetChaItem ( role , 2 , r2 ) --ȡо«ÁéµÀ¾ßÖ¸Õë local Item_newJL_ID = GetItemID ( Item_newJL ) local Num_newJL = GetItemForgeParam ( Item_newJL , 1 ) local Part1_newJL = GetNum_Part1 ( Num_newJL ) --Get Num Part 1 µ½ Part 7 local Part2_newJL = GetNum_Part2 ( Num_newJL ) local Part3_newJL = GetNum_Part3 ( Num_newJL ) local Part4_newJL = GetNum_Part4 ( Num_newJL ) local Part5_newJL = GetNum_Part5 ( Num_newJL ) local Part6_newJL = GetNum_Part6 ( Num_newJL ) local Part7_newJL = GetNum_Part7 ( Num_newJL ) if lv_JLone>=20 and lv_JLother >=20 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 1 ---------³õ¼¶½×¶Î end if lv_JLone>=25 and lv_JLother >=25 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 2 ---------Öм¶½×¶Î end if lv_JLone>=35 and lv_JLother >=35 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 3 ---------¸ß¼¶½×¶Î end local rad1 = math.random ( 1, 100 ) if Part3_newJL==3 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end Edited your way but it still fails and gives me fairy of luck. here is my updated file: if Item_EMstone_ID ==3918 then ---Çàɬ¶ñħ¹ûʵ local j1 = TakeItem( role, 0,4530, 10 ) ---ÃÀζÎÚÔôÈâ local j2 = TakeItem( role, 0,3434, 10 ) ----·ÏÁéÎäÊ¿º¡¹Ç if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end end On 5/29/2018 at 10:53 PM, Joah said: I think you forgot one line? else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end TIP: Do not make pets above line 500 if you do, the stats will bug when possing, it will grant random stats also passively. Also, if it doesn't work, try changing mordo jr id 681 to your Angela Jr Id and marry 2 mordos? Where should that line go? I read that the id should be below 1000 and the stats and poss are both working fine. Quote Share this post Link to post Share on other sites
opexone78 1 Report post Posted May 31, 2018 (edited) try this if Item_EMstone_ID ==3918 then ---Çàɬ¶ñħ¹ûʵ local j1 = TakeItem( role, 0,4530, 10 ) ---ÃÀζÎÚÔôÈâ local j2 = TakeItem( role, 0,3434, 10 ) ----·ÏÁéÎäÊ¿º¡¹Ç if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR end elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID end else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end hope it work Edited May 31, 2018 by opexone78 Quote Share this post Link to post Share on other sites
gainster81 8 Report post Posted May 31, 2018 12 hours ago, Joah said: 7 hours ago, NabSlayer said: The first steps i did to add angela jr in pet marriage was following that guide. The first file i showed above was made following that guide. Quote Share this post Link to post Share on other sites
NabSlayer 12 Report post Posted June 2, 2018 On 5/30/2018 at 1:22 AM, gainster81 said: Hey guys, my fairy marriage system isnt working. I edited forge.lua to make sure i could marry angelas to get angela jr. I gave item ID 983 and 984 to both pets. I leveled 2 angelas to lv20 and marriage them and instead of getting an angela JR i got a fairy of luck. What is wrong with my forge? It looks like the following. if Item_EMstone_ID ==3918 then ---Çàɬ¶ñħ¹ûʵ local j1 = TakeItem( role, 0,4530, 10 ) ---ÃÀζÎÚÔôÈâ local j2 = TakeItem( role, 0,3434, 10 ) ----·ÏÁéÎäÊ¿º¡¹Ç if j1==0 or j2==0 then SystemNotice ( role ,"Deletion of pet fairy reborn tools failed") return end local rad = math.random ( 1, 100 ) local r1 = 0 local r2 = 0 if Item_JLone_ID ==680 or Item_JLother_ID ==680 then if Item_JLone_ID==Item_JLother_ID then r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=20 and lv_JLone<25 and lv_JLother >=20 and lv_JLother<25 and rad>=88 then --12% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=25 and lv_JLone<35 and lv_JLother >=25 and lv_JLother<35 and rad>=50 then --50% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) elseif lv_JLone>=35 and lv_JLother >=35 and rad>=10 then --90% Chance of Mordo JR r1,r2 =MakeItem ( role , 681 , 1 , 4 ) --Mordo JR else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end else r1,r2 =MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end elseif Item_JLone_ID == 983 and Item_JLother_ID == 983 then if lv_JLone >= 20 and lv_JLone < 25 and lv_JLother >= 20 and lv_JLother < 25 and rad >= 90 then --Pet Lv20-24 10% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )-- Your Angela Jr ID elseif lv_JLone >= 25 and lv_JLone < 35 and lv_JLother >= 25 and lv_JLother < 35 and rad >= 80 then --Pet Lv25-34 20% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID elseif lv_JLone >= 35 and lv_JLone < 50 and lv_JLother >= 35 and lv_JLother < 50 and rad >= 70 then --Pet Lv35-49 30% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 50 and lv_JLone < 70 and lv_JLother >= 50 and lv_JLother < 70 and rad >= 60 then --Pet Lv50-69 40% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 70 and lv_JLone < 85 and lv_JLother >= 70 and lv_JLother < 85 and rad >= 50 then --Pet Lv70-84 50% Chance of Angela JR r1,r2 = MakeItem ( role , 984 , 1 , 4 ) --Your Angela Jr ID elseif lv_JLone >= 85 and lv_JLother >= 85 and rad >= 25 then --Pet Lv85 above 75% Chance of Angela JR r1,r2 =MakeItem ( role , 984 , 1 , 4 )--Your Angela Jr ID else r1,r2 = MakeItem ( role , 231 , 1 , 4 ) --Fairy of Luck end local Item_newJL = GetChaItem ( role , 2 , r2 ) --ȡо«ÁéµÀ¾ßÖ¸Õë local Item_newJL_ID = GetItemID ( Item_newJL ) local Num_newJL = GetItemForgeParam ( Item_newJL , 1 ) local Part1_newJL = GetNum_Part1 ( Num_newJL ) --Get Num Part 1 µ½ Part 7 local Part2_newJL = GetNum_Part2 ( Num_newJL ) local Part3_newJL = GetNum_Part3 ( Num_newJL ) local Part4_newJL = GetNum_Part4 ( Num_newJL ) local Part5_newJL = GetNum_Part5 ( Num_newJL ) local Part6_newJL = GetNum_Part6 ( Num_newJL ) local Part7_newJL = GetNum_Part7 ( Num_newJL ) if lv_JLone>=20 and lv_JLother >=20 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 1 ---------³õ¼¶½×¶Î end if lv_JLone>=25 and lv_JLother >=25 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 2 ---------Öм¶½×¶Î end if lv_JLone>=35 and lv_JLother >=35 then Part2_newJL = 6 ---------ÔËÖ®¾«Áé¼¼ÄܱàºÅ Part3_newJL = 3 ---------¸ß¼¶½×¶Î end local rad1 = math.random ( 1, 100 ) if Part3_newJL==3 then GiveItem ( role , 0 , 609 , 1 , 4 ) --Expert Fairy Possession GiveItem ( role , 0 , 612 , 1 , 4 ) --Expert Self Destruct end Try make 100% chance for ajr, if it will fail then there's something with script, but with script i can help you tommorow when i will be in home Quote Share this post Link to post Share on other sites