Advertisement
existence_dev92

Untitled

May 17th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. - script Enchant Girl 112,{
  2. mes .@npc_name$ = "[^0080FF"+ strnpcinfo(1) +"^000000]";
  3. mes "I can enchant Quest Armor with some orb";
  4. setarray .@q_armor, 62001, 62002, 62003;
  5. for (.@i = 0; .@i < getarraysize(.@q_armor); .@i++)
  6. {
  7. if (countitem(.@q_armor[.@i]))
  8. .@menu$ = .@menu$ + getitemname(.@q_armor[.@i]) +":";
  9. else
  10. .@menu$ = .@menu$ + ":"
  11. }
  12. .@s = select(.@menu$)-1;
  13. clear;
  14. mes .@npc_name$;
  15. mes "Alright i will enchant it now please don't move";
  16. progressbar 3, 0xFFFFFF;
  17. .@q_orb = rand(62101, 62105);
  18. clear;
  19. mes .@npc_name$;
  20. if (countitem(.@q_armor[.@s]))
  21. {
  22. delitem .@q_armor[.@s], 1;
  23. getitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};
  24. getitem2 .@q_armor[.@s], 1, 1, 0, 0, 0, 0, 0, .@q_orb;
  25. mes "Congratulation now your "+ getitemname(.@q_armor[.@s]) +" has "+ getitemname(.@q_orb) +" inside it";
  26. close;
  27. }
  28. mes "Where is the armor "+ getitemname(.@q_armor[.@s]);
  29. close;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement