From 49f5f55dad7c68b514a83d8a0b48014020f71a6f Mon Sep 17 00:00:00 2001 From: Lupus Date: Thu, 27 Apr 2006 06:53:32 +0000 Subject: added setmapflag sample git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6305 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/sample/npc_test_setmapflag.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 npc/sample/npc_test_setmapflag.txt (limited to 'npc/sample/npc_test_setmapflag.txt') diff --git a/npc/sample/npc_test_setmapflag.txt b/npc/sample/npc_test_setmapflag.txt new file mode 100644 index 000000000..64311823e --- /dev/null +++ b/npc/sample/npc_test_setmapflag.txt @@ -0,0 +1,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; +} -- cgit v1.2.3-70-g09d2