Skip to content

Instantly share code, notes, and snippets.

@apemon
Created June 27, 2020 05:58
Show Gist options
  • Save apemon/73a1a2ae1ec9f427b539c4c8ca7dec94 to your computer and use it in GitHub Desktop.
Save apemon/73a1a2ae1ec9f427b539c4c8ca7dec94 to your computer and use it in GitHub Desktop.
new_1-1,53,114,4 script Vitalik#nv1 727,{
mes "[Vitalik]";
mes "Welcome to stupid hackathon#4";
mes "We will hold pvp map on prontera";
next;
menu "Prepare for Battle",L_Job,"Heal me pls",L_Heal,"Join the Battle",L_Warp;
close;
L_Heal:
percentheal 100, 100;
close;
L_Job:
mes "Please select a job.";
setarray .@jobs,Job_Knight,Job_Priest,Job_Wizard,Job_Blacksmith,Job_Huner,Job_Assasin,Job_Crusader,Job_Monk,Job_Sage,Job_Rouge,Job_Alchemist,((Sex)?Job_Bard:Job_Dancer);
set .@size, getarraysize(.@jobs);
for(set .@i,0; .@i<.@size; set .@i,.@i+1)
set .@menu$,.@menu$+jobname(.@jobs[.@i])+":";
set .@i, select(.@menu$)-1;
jobchange .@jobs[.@i];
set Zeny,1000000;
set BaseLevel, 99;
set JobLevel, 50;
ResetSkill;
ResetStatus;
close;
L_Warp:
warp "prontera", 156, 194;
close;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment