Jump to content

ryukenr

Members
  • Posts

    2
  • Joined

  • Last visited

ryukenr's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Hello, rAthena i need a guide step by step how to change the formula. I want to change the FIX ELEMENT on Ground Drift Which is Neutral element to Any Element, and Ground drift it self cannot be effected by Thanatos Card, and i want it to be effected by Thanatos Card. Thank you in advance
  2. Hello rathena, i need somehelp with this script iam using unofficial faw enchantment for base script i tried to change it, but i still don't understand about this script //===== rAthena Script ======================================= //= Unofficial Fallen Angel Wing (FAW) Enchants //===== By: ================================================== //= Nerfwood //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Enchants FAW as per iROWiki's information //= Dialogue are unofficial //===== Additional Comments: ================================= //= 1.0 First Version //============================================================ prontera,156,166,3 script Valkyrie#gmg 403,{ disable_items; mes [email protected]_name$ = "[^AA0000Valkyrie^000000]"; mes "I am here to enchant the", "magnificent ^000099Gigantic Majestic Goat^000000.", "Would you like to enchant yours?"; next; [email protected]$ = select("Information:Enchant Gigantic Majestic Goat:Reset Enchantment"); switch([email protected]$) { default: case 1: break; case 2: callsub S_Check; [email protected] = getequiprefinerycnt(EQI_HEAD_TOP); [email protected][0] = getequipcardid(EQI_HEAD_TOP,0); [email protected][1] = getequipcardid(EQI_HEAD_TOP,1); [email protected][2] = getequipcardid(EQI_HEAD_TOP,2); [email protected][3] = getequipcardid(EQI_HEAD_TOP,3); // Check if enchantment slot is full here, do no need to continue if full. if([email protected][1] && [email protected][2] && [email protected][3]) { mes [email protected]_name$, "Hmm.. it seems that all", "slots have already been enchanted."; close; } if ([email protected] >= 7) [email protected]_count = 2; else if ([email protected] > 8) [email protected]_count = 3; else [email protected]_count = 1; mes [email protected]_name$; mes "You have a ^000099+"[email protected]+" Gigantic Majestic Goat^000000.", "It can have a total of "[email protected]_count+" enchantment"+([email protected]_count > 1? "s.":".")+" Please"; mes "select your preferred","enchantment."; next; [email protected]$ = ""; for ([email protected] = 0; [email protected] < getarraysize(.enchant_type$); [email protected]++) [email protected]$ = [email protected]$ + .enchant_type$[[email protected]]+":"; [email protected] = select([email protected]$); [email protected]_stat = getd(".enc"[email protected]+"["+callsub(S_ChanceType, .chance_type, [email protected][1], [email protected][2], [email protected][3])+"]"); if(.enchant_cost) { if(Zeny < .enchant_cost) { mes [email protected]_name$, "You don't have enough zeny."; close; } Zeny -= .enchant_cost; } if (([email protected][1] && [email protected][2] && ([email protected] < 7)) || ([email protected][1] && [email protected][2] && [email protected][3] && ([email protected] < 9))) { mes [email protected]_name$, "Sorry, but your", "^000099Gigantic Majestic Goat^000000's", "refinement level is too", "low to continue"; close; } delitem2 5518, 1, 1, [email protected], 0, [email protected][0], [email protected][1], [email protected][2], [email protected][3]; if([email protected][1]) [email protected][1] = [email protected]_stat; else if([email protected][2] && [email protected] > 6) [email protected][2] = [email protected]_stat; else if([email protected][3] && [email protected] > 8) [email protected][3] = [email protected]_stat; getitem2 5518, 1, 1, [email protected], 0, [email protected][0], [email protected][1], [email protected][2], [email protected][3]; mes [email protected]_name$, "Your ^000099Gigantic Majestic Goat^000000 has", "been enchanted with ^000099"+getitemname([email protected]_stat)+"^000000."; close; case 3: callsub S_Check; mes [email protected]_name$, "This will cost 1x Gold.", "Are you sure?"; next; select("Yes"); mes [email protected]_name$; if(countitem(969) < 1) { mes "You don't bring enough Gold."; close; } delitem 969,1; [email protected] = getequiprefinerycnt(EQI_HEAD_TOP); [email protected][0] = getequipcardid(EQI_HEAD_TOP,0); [email protected][1] = getequipcardid(EQI_HEAD_TOP,1); [email protected][2] = getequipcardid(EQI_HEAD_TOP,2); [email protected][3] = getequipcardid(EQI_HEAD_TOP,3); delitem2 5518, 1, 1, [email protected], 0, [email protected][0], [email protected][1], [email protected][2], [email protected][3]; getitem2 5518, 1, 1, [email protected], 0, [email protected][0], 0, 0, 0; mes "Your ^000099Gigantic Majestic Goat^000000's", "enchantments have been reset."; equip 5518; // didn't know it will work while npc set disable_items specialeffect2 261; specialeffect2 119; close; } mes [email protected]_name$, "I can enchant your", "^000099Gigantic Majestic Goat^000000 for", (.enchant_cost ? callfunc("F_InsertComma",.enchant_cost)+"z":"free")+" to give it various.", "effects. In fact, I can do it", "twice if its refinement level is", "+7 ~ +8, and thrice if its", "+9 and above."; next; mes [email protected]_name$, "The 3rd enchantment has a", "chance to be more powerful", "than the first two."; next; mes [email protected]_name$, "There is no chance to", "fail, so enchant away", "as much as you like."; next; mes [email protected]_name$, "But if you're not happy", "with the results, you can", "reset the enchantments", "for ^009900"+callfunc("F_InsertComma",.reset_cost)+"z^000000."; next; mes [email protected]_name$, "That's about everything."; close; S_Check: if (getequipid(EQI_HEAD_TOP) != 5518) { mes [email protected]_name$; mes "Please equip your", "^000099Gigantic Majestic Goat^000000 if", "you want to have it enchanted."; close; } return; S_ChanceType: switch(getarg(0)) { case 1: //Decreasing Chance of Enchantment //60% low, 30% mid, 10% high for 1st & 2nd enchant slot //40% low, 30% mid, 20% high, 10% special for 3rd enchant slot [email protected] = rand(1,10); if(getarg(2) && getarg(3)) { //For 3rd & 4th Card Slot aka 2nd & 3rd Enchant Slot if ([email protected] < 5 ) [email protected] = 0; else if ([email protected] < 7) [email protected] = 1; else if ([email protected] < 9) [email protected] = 2; else [email protected] = 3; } else { //For 2nd Card slot aka 1st Enchant Slot if ([email protected] < 7) [email protected]=0; else if ([email protected] < 10) [email protected] = 1; else [email protected] = 2; } return [email protected]; case 0: if(getarg(2) && getarg(3)) return rand(0,3); else return rand(0,2); } OnInit: setarray .enchant_type$, "Fighting Enchant"; setarray .enc1[0], 4809,4808,4820, 4821; //Fighting 3~5 // 1 = 60% low, 30% mid, 10% high for 1st & 2nd enchant slot && 40% low, 30% mid, 20% high, 10% special for 3rd enchant slot // 0 = Equal Chance .chance_type = 1; //Cost for Enchanting. It's free in iRO .enchant_cost = 6000000; //Cost to reset | Costs 1Mz in iRO .reset_cost = 6000000; } how to make the enchantment give 3 stones of enchant(str,agi,dex stone) in 1 process(click) thank you in advance
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.