Advertisement
johnlol

MVP Kill Points

May 22nd, 2019
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. ________________     ______            ________      
  3. ___    |_____  /________  /______      ___  __ \_____
  4. __  /| |  __  /_  __ \_  __ \  _ \     __  /_/ /  __ \
  5. _  ___ / /_/ / / /_/ /  /_/ /  __/     _  _, _// /_/ /
  6. /_/  |_\__,_/  \____//_.___/\___/      /_/ |_| \____/
  7.  
  8. */
  9.  
  10. sec_in02,166,153,2  script  MVP Points  505,{
  11.     if (#MVPPoint < 1){
  12.         mes "You don't have any MVP Points.";
  13.         close;
  14.     }
  15.     mes "You have "+#MVPPoint+" MVP Points.";
  16.     mes "Would you like to purchase items?";
  17.     switch(select("No thanks:Yes please")){
  18.     case 1:
  19.         close;
  20.     case 2:
  21.         switch(select("Cancel:1 Bloody Branch (20 pts):Old Card Album (10 pts):50k Zeny (1 pt)")){
  22.         case 1:
  23.             close;
  24.         case 2:
  25.             if (#MVPPoint >= 20) {
  26.                 #MVPPoint = #MVPPoint - 20;
  27.                 getitem 12103,1;  //Bloody Branch
  28.                 end;
  29.             }
  30.             else { mes "You don't have enough points"; close; }
  31.         case 3:
  32.             if (#MVPPoint >= 10) {
  33.                 #MVPPoint = #MVPPoint - 10;
  34.                 getitem 616,1;  //OLD CARD ALB
  35.                 end;
  36.             }
  37.             else { mes "You don't have enough points"; close; }
  38.         case 4:
  39.             if (#MVPPoint >= 1) {
  40.                 #MVPPoint = #MVPPoint - 1;
  41.                 Zeny = Zeny + 50000;
  42.                 end;
  43.             }
  44.             else { mes "You don't have enough points"; close; }
  45.         }
  46.     }
  47. }
  48. -   script  MonsterKill -1,{
  49. OnNPCKillEvent:
  50.     if( getmonsterinfo(killedrid, MOB_MVPEXP) ){
  51.     set #MVPPoint,#MVPPoint+1;
  52.     dispbottom "Gained 1 MVP Points. Total : "+ #MVPPoint +" MVP Points.";
  53.     }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement