diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-19 15:27:53 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-19 15:27:53 +0000 |
commit | 1600b2069d640c1d199811d4c83814efb180cd5c (patch) | |
tree | e0b29369e84e62b1daadf23833689a861cc56691 /src/map/status.c | |
parent | f8d306dc977e1014ed8cf389614d73218b65b1af (diff) | |
download | hercules-1600b2069d640c1d199811d4c83814efb180cd5c.tar.gz hercules-1600b2069d640c1d199811d4c83814efb180cd5c.tar.bz2 hercules-1600b2069d640c1d199811d4c83814efb180cd5c.tar.xz hercules-1600b2069d640c1d199811d4c83814efb180cd5c.zip |
- Merged Rayce's cleanups of the script engine that account for duplicate labels, non-numeric labels and makes the engine case-insensitive towards keywords like if/case/switch/etc/
- Added the icons for the Food boosts (need packet version 8 to get them).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9673 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index fccf33847..320045761 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -418,7 +418,14 @@ void initChangeTables(void) { StatusIconChangeTable[SC_INCSTR] = SI_INCSTR; StatusIconChangeTable[SC_MIRACLE] = SI_SPIRIT; StatusIconChangeTable[SC_INTRAVISION] = SI_INTRAVISION; - +#if PACKETVER > 7 + StatusIconChangeTable[SC_STRFOOD] = SI_FOODSTR; + StatusIconChangeTable[SC_AGIFOOD] = SI_FOODAGI; + StatusIconChangeTable[SC_VITFOOD] = SI_FOODVIT; + StatusIconChangeTable[SC_INTFOOD] = SI_FOODDEX; + StatusIconChangeTable[SC_DEXFOOD] = SI_FOODINT; + StatusIconChangeTable[SC_LUKFOOD] = SI_FOODLUK; +#endif //Other SC which are not necessarily associated to skills. StatusChangeFlagTable[SC_ASPDPOTION0] = SCB_ASPD; StatusChangeFlagTable[SC_ASPDPOTION1] = SCB_ASPD; |