diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-27 06:53:32 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-27 06:53:32 +0000 |
commit | 49f5f55dad7c68b514a83d8a0b48014020f71a6f (patch) | |
tree | 901f758b584fc1b08a49ee4856b73e494903743f /npc | |
parent | 3dc2a55dcdf7b3919b6024d7a9aeec26a7416b6f (diff) | |
download | hercules-49f5f55dad7c68b514a83d8a0b48014020f71a6f.tar.gz hercules-49f5f55dad7c68b514a83d8a0b48014020f71a6f.tar.bz2 hercules-49f5f55dad7c68b514a83d8a0b48014020f71a6f.tar.xz hercules-49f5f55dad7c68b514a83d8a0b48014020f71a6f.zip |
added setmapflag sample
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6305 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r-- | npc/sample/npc_test_setmapflag.txt | 24 |
1 files changed, 24 insertions, 0 deletions
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; +} |