mikey69

Members
  • Content Count

    4
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mikey69

  • Rank
    New Member
  1. i have headgear also sir & how about the cards? switch(select("Headgear.:Valkyrie Armor.:God Armor.:Maybe next time.")) { thank you.
  2. script / enchan_arm.txt. TY lots sa maka help //===== rAthena Script ======================================= //= Armor Enchanter //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== //= 1.3a //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= [Official Conversion] //= Add a +1, +2, or +3 random stat to a specified armor. //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Corrected typo (Sit -> Suit) (bugreport:4586) //= 1.2 Optimized. [Euphy] //= 1.3 Fixed some typos and optimized a little more. [Daegaladh] //= 1.3a Added 'disable_items' command. [Euphy] //============================================================ prontera,164,157,3 script Apprentice Enchanter 73,{ disable_items; mes "[Apprentice Craftsman]"; if (Zeny >= 1) { mes "I've been studying ways to enhance an armor to maximize its capability."; next; mes "[Apprentice Craftsman]"; mes "Enchanting is an awesome skill that infuses a mysterious status powers into the armor's hidden socket."; next; mes "[Apprentice Craftsman]"; mes "However, you have to keep in mind that if there are two armors of the same kind in your possession, the Enchantment will be applied in the order they are placed in your inventory."; next; mes "[Apprentice Craftsman]"; mes "In that case, the Enchantment may be applied to an item which you didn't mean to Enchant. So just bring ^5555ffONE Armor^000000 you want enchanted to be safe..."; next; mes "[Apprentice Craftsman]"; mes "I'm not responsible for what would happen if you have more than one of the same kind in your inventory."; next; switch(select("Headgear.:Valkyrie Armor.:God Armor.:Maybe next time.")) { case 1: setarray [email protected][0],2286,5353,5389,5358; set [email protected],12; break; case 2: setarray [email protected][0],2357,2115,2524,2421; set [email protected],12; set [email protected],1; break; case 3: setarray [email protected][0],2383,2541,2554,2410; set [email protected],12; break; case 4: mes "[Apprentice Craftsman]"; mes "Please come back when you have any interest in enchanting your armor."; close; } set [email protected]$,""; for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1) set [email protected]$, [email protected]$+getitemname([email protected][[email protected]])+(([email protected])?" [1]":"")+":"; callsub S_EnchantArmor, [email protected][select([email protected]$)-1], [email protected]; end; } mes "I am in charge of Enchanting Armors. Simply put, I've been studying ways to power-up armor."; next; mes "[Apprentice Craftsman]"; mes "If by any chance, you would want to enchant your armor, bring me 50 poring coins and the armor you want to enchant and you are all set to go."; close; S_EnchantArmor: set [email protected],getarg(0); set [email protected],getarg(1); mes "[Apprentice Craftsman]"; if (countitem([email protected]) == 1) { mes "Socket enchant will cost you ^ff5555 50 poring coins^000000. And there will be a random option enchanted."; next; mes "[Apprentice Craftsman]"; mes "First and most importantly."; mes "^ff5555Existing Refine Level of the Armor"; mes "and Cards will be GONE.^000000"; mes "Do you still want to try an Enchant?"; next; if(select("Hmm... Let me think it over.:Go ahead.") == 1) { mes "[Apprentice Craftsman]"; mes "Well, I can't blame you. Safety first, eh?"; mes "Now you have a nice day."; close; } mes "[Apprentice Craftsman]"; mes "Quite of an adventurer huh? Well, shall we?"; close2; specialeffect2 EF_MAPPILLAR; if (countitem(7539) < 49) { mes "[Apprentice Craftsman]"; mes "Sorry, but you don't have enough poring coins."; close; } set [email protected], 7539; delitem [email protected],50; delitem [email protected],1; switch (rand(1,[email protected])) { case 1: set [email protected],4701;break; case 2: set [email protected],4711;break; case 3: set [email protected],4721;break; case 4: set [email protected],4731;break; case 5: set [email protected],4741;break; case 6: set [email protected],4751;break; case 7: set [email protected],4700;break; case 8: set [email protected],4710;break; case 9: set [email protected],4720;break; case 10: set [email protected],4730;break; case 11: set [email protected],4740;break; case 12: set [email protected],4750;break; default: specialeffect2 EF_PHARMACY_FAIL; break; mes "[Apprentice Craftsman]"; mes "Well that's too bad."; mes "The requested equipment has failed to enchant."; close; } getitem2 [email protected], 1, 1, 0, 0, 0, 0, 0, [email protected]; } else { mes "Hmm? There's nothing to be enchanted!"; mes "Please come back with just ONE equipment to be enchanted."; close; } }
  3. Here's the script //===== rAthena Script ======================================= //= Armor Enchanter //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== //= 1.3a //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= [Official Conversion] //= Add a +1, +2, or +3 random stat to a specified armor. //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Corrected typo (Sit -> Suit) (bugreport:4586) //= 1.2 Optimized. [Euphy] //= 1.3 Fixed some typos and optimized a little more. [Daegaladh] //= 1.3a Added 'disable_items' command. [Euphy] //============================================================ prontera,164,157,3 script Apprentice Enchanter 73,{ disable_items; mes "[Apprentice Craftsman]"; if (Zeny >= 1) { mes "I've been studying ways to enhance an armor to maximize its capability."; next; mes "[Apprentice Craftsman]"; mes "Enchanting is an awesome skill that infuses a mysterious status powers into the armor's hidden socket."; next; mes "[Apprentice Craftsman]"; mes "However, you have to keep in mind that if there are two armors of the same kind in your possession, the Enchantment will be applied in the order they are placed in your inventory."; next; mes "[Apprentice Craftsman]"; mes "In that case, the Enchantment may be applied to an item which you didn't mean to Enchant. So just bring ^5555ffONE Armor^000000 you want enchanted to be safe..."; next; mes "[Apprentice Craftsman]"; mes "I'm not responsible for what would happen if you have more than one of the same kind in your inventory."; next; switch(select("Headgear.:Valkyrie Armor.:God Armor.:Maybe next time.")) { case 1: setarray [email protected][0],2286,5353,5389,5358; set [email protected],12; break; case 2: setarray [email protected][0],2357,2115,2524,2421; set [email protected],12; set [email protected],1; break; case 3: setarray [email protected][0],2383,2541,2554,2410; set [email protected],12; break; case 4: mes "[Apprentice Craftsman]"; mes "Please come back when you have any interest in enchanting your armor."; close; } set [email protected]$,""; for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1) set [email protected]$, [email protected]$+getitemname([email protected][[email protected]])+(([email protected])?" [1]":"")+":"; callsub S_EnchantArmor, [email protected][select([email protected]$)-1], [email protected]; end; } mes "I am in charge of Enchanting Armors. Simply put, I've been studying ways to power-up armor."; next; mes "[Apprentice Craftsman]"; mes "If by any chance, you would want to enchant your armor, bring me 50 poring coins and the armor you want to enchant and you are all set to go."; close; S_EnchantArmor: set [email protected],getarg(0); set [email protected],getarg(1); mes "[Apprentice Craftsman]"; if (countitem([email protected]) == 1) { mes "Socket enchant will cost you ^ff5555 50 poring coins^000000. And there will be a random option enchanted."; next; mes "[Apprentice Craftsman]"; mes "First and most importantly."; mes "^ff5555Existing Refine Level of the Armor"; mes "and Cards will be GONE.^000000"; mes "Do you still want to try an Enchant?"; next; if(select("Hmm... Let me think it over.:Go ahead.") == 1) { mes "[Apprentice Craftsman]"; mes "Well, I can't blame you. Safety first, eh?"; mes "Now you have a nice day."; close; } mes "[Apprentice Craftsman]"; mes "Quite of an adventurer huh? Well, shall we?"; close2; specialeffect2 EF_MAPPILLAR; if (countitem(7539) < 49) { mes "[Apprentice Craftsman]"; mes "Sorry, but you don't have enough poring coins."; close; } set [email protected], 7539; delitem [email protected],50; delitem [email protected],1; switch (rand(1,[email protected])) { case 1: set [email protected],4701;break; case 2: set [email protected],4711;break; case 3: set [email protected],4721;break; case 4: set [email protected],4731;break; case 5: set [email protected],4741;break; case 6: set [email protected],4751;break; case 7: set [email protected],4700;break; case 8: set [email protected],4710;break; case 9: set [email protected],4720;break; case 10: set [email protected],4730;break; case 11: set [email protected],4740;break; case 12: set [email protected],4750;break; default: specialeffect2 EF_PHARMACY_FAIL; break; mes "[Apprentice Craftsman]"; mes "Well that's too bad."; mes "The requested equipment has failed to enchant."; close; } getitem2 [email protected], 1, 1, 0, 0, 0, 0, 0, [email protected]; } else { mes "Hmm? There's nothing to be enchanted!"; mes "Please come back with just ONE equipment to be enchanted."; close; } } Help. Thanks.