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