summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-10-30 01:59:04 +0100
committerHaru <haru@dotalux.com>2017-11-05 18:30:44 +0100
commit09d5c20572424e7a92dff5cf560001278c6ffaa0 (patch)
treee9a1f3347e58b85f0cd6d9e39fbf986e1b08b16b /src/map/status.h
parent581f8c7393757ea70c4aaa64f6e20b57f74a32ae (diff)
downloadhercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.tar.gz
hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.tar.bz2
hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.tar.xz
hercules-09d5c20572424e7a92dff5cf560001278c6ffaa0.zip
Reduce confusion between skill IDs and skill DB indexes (part 2)
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum skill ID. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.h b/src/map/status.h
index a104c66ab..e9c2218e8 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -2257,7 +2257,7 @@ BEGIN_ZEROED_BLOCK; /* Everything within this block will be memset to 0 when sta
int HP_table[CLASS_COUNT][MAX_LEVEL + 1];
int SP_table[CLASS_COUNT][MAX_LEVEL + 1];
int aspd_base[CLASS_COUNT][MAX_SINGLE_WEAPON_TYPE+1]; // +1 for RENEWAL_ASPD
- sc_type Skill2SCTable[MAX_SKILL]; // skill -> status
+ sc_type Skill2SCTable[MAX_SKILL_DB]; // skill -> status
int IconChangeTable[SC_MAX]; // status -> "icon" (icon is a bit of a misnomer, since there exist values with no icon associated)
unsigned int ChangeFlagTable[SC_MAX]; // status -> flags
int SkillChangeTable[SC_MAX]; // status -> skill