summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-09-29 12:58:43 +0000
committerMadCamel <madcamel@gmail.com>2010-09-29 11:44:44 -0400
commitabe126b7e331fa85f875a7f7fa36b7f8228542eb (patch)
tree6dec493254ef1ae92e3f74828e585dd2d269eabb
parent8fb3575d486e97f5f2d2f405690484d554153ba1 (diff)
downloadtmwa-abe126b7e331fa85f875a7f7fa36b7f8228542eb.tar.gz
tmwa-abe126b7e331fa85f875a7f7fa36b7f8228542eb.tar.bz2
tmwa-abe126b7e331fa85f875a7f7fa36b7f8228542eb.tar.xz
tmwa-abe126b7e331fa85f875a7f7fa36b7f8228542eb.zip
Increase default guild member limit from 16 to 100.
-rw-r--r--src/char/int_guild.c4
-rw-r--r--src/char_sql/int_guild.c4
-rw-r--r--src/common/mmo.h2
-rw-r--r--src/tool/moneycount/mmo.h2
-rw-r--r--src/txt-converter/common/mmo.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index 0d310f6..4b4bfba 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -740,7 +740,7 @@ int guild_calcinfo (struct guild *g)
g->next_exp = guild_nextexp (g->guild_lv);
// メンバ上限(ギルド拡張適用)
- g->max_member = 16 + guild_checkskill (g, 10004) * 2;
+ g->max_member = 100 + guild_checkskill (g, 10004) * 2;
// 平均レベルとオンライン人数
g->average_lv = 0;
@@ -1108,7 +1108,7 @@ int mapif_parse_CreateGuild (int fd, int account_id, char *name,
sprintf (g->position[i].name, "Position %d", i + 1);
// ここでギルド情報計算が必要と思われる
- g->max_member = 16;
+ g->max_member = 100;
g->average_lv = master->lv;
for (i = 0; i < 5; i++)
g->skill[i].id = i + 10000;
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index d5b9b86..5030b41 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -907,7 +907,7 @@ int guild_calcinfo (struct guild *g)
g->next_exp = guild_nextexp (g->guild_lv);
// メンバ上限(ギルド拡張適用)
- g->max_member = 16 + guild_checkskill (g, 10004) * 2; // Updated max_members [PoW]
+ g->max_member = 100 + guild_checkskill (g, 10004) * 2; // Updated max_members [PoW]
// 平均レベルとオンライン人数
g->average_lv = 0;
@@ -1266,7 +1266,7 @@ int mapif_parse_CreateGuild (int fd, int account_id, char *name,
sprintf (g->position[i].name, "Position %d", i + 1);
// Initialize guild property
- g->max_member = 16;
+ g->max_member = 100;
g->average_lv = master->lv;
g->castle_id = -1;
for (i = 0; i < 5; i++)
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 0e70852..11d37b1 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -36,7 +36,7 @@
#define MAX_STORAGE 300
#define MAX_GUILD_STORAGE 1000
#define MAX_PARTY 12
-#define MAX_GUILD 36 // increased max guild members to accomodate for +2 increase for extension levels [Valaris] (removed) [PoW]
+#define MAX_GUILD 120 // increased max guild members to accomodate for +2 increase for extension levels [Valaris] (removed) [PoW]
#define MAX_GUILDPOSITION 20 // increased max guild positions to accomodate for all members [Valaris] (removed) [PoW]
#define MAX_GUILDEXPLUSION 32
#define MAX_GUILDALLIANCE 16
diff --git a/src/tool/moneycount/mmo.h b/src/tool/moneycount/mmo.h
index 3989cea..640065a 100644
--- a/src/tool/moneycount/mmo.h
+++ b/src/tool/moneycount/mmo.h
@@ -34,7 +34,7 @@
#define MAX_STORAGE 300
#define MAX_GUILD_STORAGE 1000
#define MAX_PARTY 12
-#define MAX_GUILD 36 // increased max guild members to accomodate for +2 increase for extension levels [Valaris] (removed) [PoW]
+#define MAX_GUILD 120 // increased max guild members to accomodate for +2 increase for extension levels [Valaris] (removed) [PoW]
#define MAX_GUILDPOSITION 20 // increased max guild positions to accomodate for all members [Valaris] (removed) [PoW]
#define MAX_GUILDEXPLUSION 32
#define MAX_GUILDALLIANCE 16
diff --git a/src/txt-converter/common/mmo.h b/src/txt-converter/common/mmo.h
index 589b569..b9939fd 100644
--- a/src/txt-converter/common/mmo.h
+++ b/src/txt-converter/common/mmo.h
@@ -29,7 +29,7 @@
#define MAX_STORAGE 100
#define MAX_GUILD_STORAGE 1000
#define MAX_PARTY 12
-#define MAX_GUILD 56 // increased max guild members to accomodate for +2 increase for extension levels [Valaris]
+#define MAX_GUILD 140 // increased max guild members to accomodate for +2 increase for extension levels [Valaris]
#define MAX_GUILDPOSITION 56 // increased max guild positions to accomodate for all members [Valaris]
#define MAX_GUILDEXPLUSION 32
#define MAX_GUILDALLIANCE 16