You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
892 B
Plaintext
34 lines
892 B
Plaintext
4 months ago
|
//===== rAthena Script =======================================
|
||
|
//= Sample: Mapflag Test
|
||
|
//===== By: ==================================================
|
||
|
//= Jbain
|
||
|
//===== Last Updated: ========================================
|
||
|
//= 20140208
|
||
|
//===== Description: =========================================
|
||
|
//= Demonstrates mapflag commands.
|
||
|
//============================================================
|
||
|
|
||
|
prontera,165,145,0 script EXPflagtest 123,{
|
||
|
mes "[EXPflagtest]";
|
||
|
mes "Set up the map rates:";
|
||
|
next;
|
||
|
switch(select("Job EXP:Base EXP:PVP on:Reset all flags")) {
|
||
|
case 1:
|
||
|
input .@rate;
|
||
|
setmapflag "prontera",mf_jexp,.@rate;
|
||
|
close;
|
||
|
case 2:
|
||
|
input .@rate;
|
||
|
setmapflag "prontera",mf_bexp,.@rate;
|
||
|
close;
|
||
|
case 3:
|
||
|
setmapflag "prontera",mf_pvp;
|
||
|
close;
|
||
|
case 4:
|
||
|
removemapflag "prontera",mf_bexp;
|
||
|
removemapflag "prontera",mf_jexp;
|
||
|
removemapflag "prontera",mf_pvp;
|
||
|
close;
|
||
|
}
|
||
|
}
|