summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-14 21:35:53 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-14 21:35:53 +0000
commit11595c1ead1494189ecd8bbed1fa6252649b84f1 (patch)
treeaf409eb5d001e24539c88f83ef867e708dad7ea1 /src/map/status.h
parent1ed902348f70cfb24fa4d08c04853485853b4498 (diff)
downloadhercules-11595c1ead1494189ecd8bbed1fa6252649b84f1.tar.gz
hercules-11595c1ead1494189ecd8bbed1fa6252649b84f1.tar.bz2
hercules-11595c1ead1494189ecd8bbed1fa6252649b84f1.tar.xz
hercules-11595c1ead1494189ecd8bbed1fa6252649b84f1.zip
- Hiding cancels Close Confine.
- Added the move enable condition to High Jump and Jump Kick. - ST_MOVE_ENABLE now also checks for pc_can_move(), and only perform a walk check if the skill is ground targetted. - Moved the berserk_cancel_buffs code to status_change_start. - Moved most checks of status_isimmune() to status_get_sc_def - Allowed Endow skills to go through status_isinmune characters. - Added variable type to skill_castend_nodamage_id which holds the value of SkillStatusChangeTable[skillid] to simplify code reading afterwards. - Fixed PR_BENEDICTIO not taking away all SP - Fixed the most horrible typo ever. (SC_STAN -> SC_STUN) - Added StatusSkillChangeTable which returns the Skill for a given SC. Used in skill_additional_effect for SC cards. - Removed the whole ugly static implementation of SkillStatusChangeTable, see status_initChangeTables() for new format which is much easier to read. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5278 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/status.h b/src/map/status.h
index e4774a4f8..2ad97bf9b 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -11,7 +11,7 @@ enum {
//First we enumerate common status ailments which are often used around.
SC_STONE = 0,
SC_FREEZE,
- SC_STAN,
+ SC_STUN,
SC_SLEEP,
SC_POISON,
SC_CURSE,
@@ -232,7 +232,8 @@ enum {
//
SC_MAX, //Automatically updated max, used in for's and at startup to check we are within bounds. [Skotlex]
};
-extern int SkillStatusChangeTable[];
+extern int SkillStatusChangeTable[MAX_SKILL];
+extern int StatusSkillChangeTable[SC_MAX];
//Numerates the Number for the status changes (client-dependent), imported from jA
enum {