Browse Source

Updated MAX_GUARDIANS to support an insane amount of guardians.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12529 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 17 năm trước cách đây
mục cha
commit
18bd823cf8
3 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/common/mmo.h
  3. 1 1
      src/map/clif.h

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2008/04/07
+	* Rev. 12529 Updated MAX_GUARDIANS to support an insane amount of guardians. [L0ne_W0lf]
 	* Immunity to magic now makes you immune to the SC effect as well. (r12527) [Kevin]
 	* Made script command 'flagemblem' and guild_emblem_change send an update 
 	  of the emblem_id to the players in the area.

+ 1 - 1
src/common/mmo.h

@@ -49,7 +49,7 @@
 #define MAX_GUILDSKILL	15 // increased max guild skills because of new skills [Sara-chan]
 #define MAX_GUILDCASTLE 34	// Updated to include new entries for WoE:SE. [L0ne_W0lf]
 #define MAX_GUILDLEVEL 50
-#define MAX_GUARDIANS 8	//Local max per castle. [Skotlex]
+#define MAX_GUARDIANS 46	//Local max per castle. [Skotlex]
 
 #define MIN_HAIR_STYLE battle_config.min_hair_style
 #define MAX_HAIR_STYLE battle_config.max_hair_style

+ 1 - 1
src/map/clif.h

@@ -37,7 +37,7 @@ struct guild;
 // v8 - 2007-05-21aSakexe+ - 0x283
 // v9 - 2007-11-06aSakexe+ - 0x78, 0x7c, 0x22c
 #ifndef PACKETVER
-	#define PACKETVER	9
+	#define PACKETVER	8
 #endif
 
 // packet DB