summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-06 16:48:30 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-06 16:48:30 +0000
commit1d19214d1b033389f58b37f770b8dc5cdf46a4b1 (patch)
treed686cda2ee8e2d8adf79c9cb5ace1f012d537e10 /src/map/guild.c
parentd0383c33ac72e17d987e2b5409a519c8e64d6f51 (diff)
downloadhercules-1d19214d1b033389f58b37f770b8dc5cdf46a4b1.tar.gz
hercules-1d19214d1b033389f58b37f770b8dc5cdf46a4b1.tar.bz2
hercules-1d19214d1b033389f58b37f770b8dc5cdf46a4b1.tar.xz
hercules-1d19214d1b033389f58b37f770b8dc5cdf46a4b1.zip
Updated maximum level for Guild Skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@476 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index 32aa2434c..f4ab77dfd 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -54,9 +54,21 @@ int guild_skill_get_inf(int id) { // Modified for new skills [Sara]
int guild_skill_get_sp(int id,int lv){ return 0; }
int guild_skill_get_range(int id){ return 0; }
int guild_skill_get_max(int id) { // Modified for new skills [Sara]
- if(id==GD_EXTENSION) return 10;
- else if(id==GD_REGENERATION) return 3;
- else return 1;
+ switch (id) {
+ case GD_GUARDUP:
+ return 3;
+ case GD_EXTENSION:
+ return 10;
+ case GD_LEADERSHIP:
+ case GD_GLORYWOUNDS:
+ case GD_SOULCOLD:
+ case GD_HAWKEYES:
+ return 5;
+ case GD_REGENERATION:
+ return 3;
+ default:
+ return 1;
+ }
}
// ギルドスキルがあるか確認