summaryrefslogblamecommitdiff
path: root/npc/sample/npc_test_setmapflag.txt
blob: e68375b582a246024af7f666d4139cfd2b694ee3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

          
                                                     



                                                                                   


                                         



                    
                                            


                    
                                            

              
                                     
              
 
//by Jbain

prontera,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",MF_BEXP;
	removemapflag "prontera",MF_JEXP;
	removemapflag "prontera",MF_PVP;
	close;

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