Advertisement
Guest User

Untitled

a guest
Apr 18th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. prontera,150,150,0 script Sample 100,{
  2. mes $npc$;
  3. mes "What do you want?";
  4. next;
  5. if (select("- Increase my strength:- Nothing") - 1) close;
  6. mes $npc$;
  7. mes "Orayt then, Increase by how many? (1-50)";
  8. next;
  9. input @input;
  10. if (@input > 50 || @input == 0) close;
  11. mes $npc$;
  12. mes "So you want to increase your strength by " +@input+ "?";
  13. next;
  14. if (select("Yes:No") - 1) close;
  15. mes $npc$;
  16. mes "Done!";
  17. set @desire,1;
  18. close;
  19.  
  20. OnPCStatCalcEvent:
  21. if (@desire == 1) {
  22. bonus bstr, @input;
  23. }
  24. end;
  25.  
  26. OnInit:
  27. set $npc$,"["+strnpcinfo(1)+"]";
  28. end;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement