Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,150,150,3 script Healer 4_M_HUWOMAN,{
- .@name$ = "[Healer]"; // Sets the name when you use "mes .@name$;"
- set .price,5000; // Sets the price
- if (BaseLevel >= 75) {
- mes .@name$;
- mes "You must pay " + .price + "z to use my service.";
- next;
- .@menu = select("Heal:Cancel");
- switch(.@menu) {
- case 1:
- mes .@name$;
- if (Zeny > .price) {
- mes "You don't have enough zeny!";
- close;
- }
- else {
- percentheal 100,100;
- Zeny -= .price;
- mes "You are healed.";
- close;
- }
- break;
- case 2:
- close;
- break;
- }
- else {
- percentheal 100,100;
- mes .@name$;
- mes "You are healed!"
- close;
- }
- }
Add Comment
Please, Sign In to add comment