summaryrefslogtreecommitdiff
path: root/npc/sample/npc_test_setmapflag.txt
blob: 64311823ee8c410d841ae1a6ef79cb96ba25851d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//by Jbain

prontera.gat,165,145,0	script	EXPflagtest	123,{
	mes "[Yo man]";
	mes "Setup the map rates";
	menu "Job EXP",L_job,"Base  EXP",L_base,"PVP ON",L_pvp,"Reset all flags",-;

	removemapflag "prontera.gat",MF_BEXP;
	removemapflag "prontera.gat",MF_JEXP;
	removemapflag "prontera.gat",MF_PVP;
	close;

L_job:
	input @rate;
	setmapflag "prontera.gat",MF_JEXP,@rate;
	close;
L_base:
	input @rate;
	setmapflag "prontera.gat",MF_BEXP,@rate;
	close;
L_pvp:
	setmapflag "prontera.gat",MF_PVP;
	close;
}