diff options
Diffstat (limited to 'doc/sample/npc_test_setmapflag.txt')
-rw-r--r-- | doc/sample/npc_test_setmapflag.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/sample/npc_test_setmapflag.txt b/doc/sample/npc_test_setmapflag.txt new file mode 100644 index 000000000..e68375b58 --- /dev/null +++ b/doc/sample/npc_test_setmapflag.txt @@ -0,0 +1,24 @@ +//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; +}
\ No newline at end of file |