Jump to content

  •  

Photo

Enchant Npc Problem


  • Please log in to reply
2 replies to this topic

#1 Yuri

Yuri

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 31 March 2015 - 02:15 PM

hi . does anyone know how to modify this script like refiner? armor shield shoes garment only. please help ^_^

 

 

prontera,155,181,5	script	Sample	757,{mes "Which Item you want to Enchant ?";mes "Make sure there is no Card or Rune in it.";next;setarray .EquipID[0],2502,2301,2302,2303,2304,2305,2306,2307,2308,2309,2310;for( set .@i,0; .@i < getarraysize( .EquipID ); set .@i,.@i + 1 )	set .@EquipMenu$,.@EquipMenu$ + getitemname( .EquipID[.@i] )+( !getitemslots(.EquipID[.@i])?"":"["+getitemslots(.EquipID[.@i])+"]" )+":";set .@Equip,select( .@EquipMenu$ ) - 1;if( !countitem( .EquipID[.@Equip] ) ){	mes "You didnt have this Equipment with you.";	close;}mes "Equipment : ^FF0000"+getitemname( .EquipID[.@Equip] )+"^000000";switch( select( "Quint:Mark:Seal:Glyph" )){	Case 1: setarray .RuneID[0],25214,25215,25216,25217,25218,25219,25220,25221,25222,25223; break;	Case 2: setarray .RuneID[0],25224,25225,25226,25227,25228,25229,25230,25231,25232; break;	Case 3: setarray .RuneID[0],25233,25234,25235,25236,25237,25238,25239,25240,25241,25242,25243; break;	Case 4: setarray .RuneID[0],25244,25245,25246,25247,25248,25249; break;}for( set .@i,0; .@i < getarraysize( .RuneID ); set .@i,.@i + 1 )	set .@RuneMenu$,.@RuneMenu$ + getitemname( .RuneID[.@i] )+":";set .@Rune,select( .@RuneMenu$ ) - 1;mes "Rune : ^FF0000"+getitemname( .RuneID[.@Rune] )+"^000000";next;if( select("Confirm:Cancel") == 1 ){	if( !countitem( .RuneID[.@Rune] ) ){		mes "Sorry you didnt have the "+getitemname( .RuneID[.@Rune] )+" with you.";	}else{		delitem .EquipID[.@Equip],1;		delitem .RuneID[.@Rune],1;			getitem2 .EquipID[.@Equip],1,1,0,0,0,0,0,.RuneID[.@Rune];		mes "Done.";		mes "^0000FF"+getitemname( .EquipID[.@Equip] )+"^000000";		mes "Enchanted with ^FF0000"+getitemname( .RuneID[.@Rune] )+"^000000";	}}close;}

 



#2 Yuri

Yuri

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 01 April 2015 - 03:59 PM

BUMP



#3 Yuri

Yuri

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 02 April 2015 - 12:19 PM

BUMP ~






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 24 user(s)