From 50216b7ef65c8a596ca708dab37fc8ea5d34e1bb Mon Sep 17 00:00:00 2001 From: brianluau Date: Sat, 4 Jul 2009 10:35:56 +0000 Subject: [PATCH] - Added documentation for 'getmapflag' (follow up to r12175). (bugreport:3314) - Fixed a zeny check in Transcending quest. (bugreport:3334) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13930 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 26 +++++++++++++++++--------- npc/jobs/valkyrie.txt | 2 +- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 415f88f41a..e5cefac8df 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5083,7 +5083,7 @@ If this behavior is undesirable, use some other timer mechanism (like 'sleep'). *startnpctimer{ "" {, } } | { "" | }; *setnpctimer {,""}; -*getnpctimer({,""}); +*getnpctimer({,""}) *attachnpctimer {""}; *detachnpctimer {""}; @@ -5522,8 +5522,22 @@ mf_fireworks) and whether day/night will be in effect on this map (mf_indoors). --------------------------------------- +*removemapflag "",; + +This command removes a mapflag from a specified map. +See 'setmapflag' for a list of mapflags. + +--------------------------------------- + +*getmapflag("",) + +This command checks the status of a given mapflag. +Returns 1 for ON, 0 for OFF. See 'setmapflag' for a list of mapflags. + +--------------------------------------- + *setbattleflag "",; -*getbattleflag ""; +*getbattleflag(") Sets or gets the value of the given battle flag. Battle flags are the flags found in the battle/*.conf files and is also used in Lupus' variable rates script. @@ -5538,12 +5552,6 @@ Example(s): --------------------------------------- -*removemapflag "",; - -This command removes a mapflag from a specified map. See 'setmapflag'. - ---------------------------------------- - *warpportal ,,"",,; Creates a warp Portal as if a acolyte class character did it. @@ -5798,7 +5806,7 @@ memory of where the points are set whatsoever. This command will display a picture stored in the GRF file in the client for the player. -The files are taken from '\data\texture\A_AAIIAI\illust' directory in the +The files are taken from '\data\texture\̽\illust' directory in the GRF file. Also it seems that card cutins from \cardbmp will work here as well. Only bitmaps (images stored in the bitmap format) will actually get displayed. The '.bmp' extension is optional. diff --git a/npc/jobs/valkyrie.txt b/npc/jobs/valkyrie.txt index 73bb62ff7b..592dfd1860 100644 --- a/npc/jobs/valkyrie.txt +++ b/npc/jobs/valkyrie.txt @@ -228,7 +228,7 @@ yuno_in02,88,164,5 script Metheus Sylphe#Library 742,{ mes "1,285,000 zeny."; next; if (select("Donate.:Cancel.") == 1) { - if (Zeny > 1284449) { + if (Zeny >= 1285000) { set zeny,zeny-1285000; set valkyrie_Q,1; mes "[Metheus Sylphe]";