From 5f2901fbbb6d4f7deafa6f1a6638ca7f1d4dce87 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 22 Dec 2006 15:38:30 +0000 Subject: - Simplified the global function "getJobName" - Simplified function agitcheck so it isn't crash prone. Now it takes no arguments, and will return whether WoE is on or not. - Updated bundled scripts as required for this change. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9559 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/guild/gldfunc_manager.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/guild') diff --git a/npc/guild/gldfunc_manager.txt b/npc/guild/gldfunc_manager.txt index d42f37ed7..619291df8 100644 --- a/npc/guild/gldfunc_manager.txt +++ b/npc/guild/gldfunc_manager.txt @@ -231,7 +231,7 @@ function script F_GldManager { //set @SGuardian,strmobinfo(4,1287) + (@Defence*2000); //uncomment the following line to disable guardians Installation during WoE - //if(agitcheck(0) != 0) goto L_CantGuard; + //if(agitcheck()) goto L_CantGuard; mes "Would you like to install a guardian? Guardians will protect the guild base from enemies."; mes "Please choose a guardian."; next; -- cgit v1.2.3-70-g09d2