summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-11 06:17:49 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-11 06:17:49 +0000
commit31ac1ba472e692330136f02bcae3a19ef86f5749 (patch)
treefc9a58ffe4146f83c37ed3a03263c78a7d1931f4 /src/map/status.h
parent8938559e752595bf98d353c9901a0120cf945654 (diff)
downloadhercules-31ac1ba472e692330136f02bcae3a19ef86f5749.tar.gz
hercules-31ac1ba472e692330136f02bcae3a19ef86f5749.tar.bz2
hercules-31ac1ba472e692330136f02bcae3a19ef86f5749.tar.xz
hercules-31ac1ba472e692330136f02bcae3a19ef86f5749.zip
Implemented official cash food behavior, including use delay, not being dispelled (including on death), distinct status effects and icons from the ordinary food types.
Updated items accordingly. (bugreport:2560) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14426 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/map/status.h b/src/map/status.h
index e2ec346a4..e46494a36 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -323,6 +323,12 @@ typedef enum sc_type {
SC_SPL_DEF, //300
SC_MANU_MATK,
SC_SPL_MATK,
+ SC_FOOD_STR_CASH,
+ SC_FOOD_AGI_CASH,
+ SC_FOOD_VIT_CASH,
+ SC_FOOD_DEX_CASH,
+ SC_FOOD_INT_CASH,
+ SC_FOOD_LUK_CASH,
SC_MAX, //Automatically updated max, used in for's to check we are within bounds.
} sc_type;
@@ -601,12 +607,12 @@ enum si_type {
// SI_DA_EDARKNESS = 268,
// SI_DA_EGUARDIAN = 269,
// SI_DA_TIMEOUT = 270,
-// SI_FOOD_STR_CASH = 271,
-// SI_FOOD_AGI_CASH = 272,
-// SI_FOOD_VIT_CASH = 273,
-// SI_FOOD_DEX_CASH = 274,
-// SI_FOOD_INT_CASH = 275,
-// SI_FOOD_LUK_CASH = 276,
+ SI_FOOD_STR_CASH = 271,
+ SI_FOOD_AGI_CASH = 272,
+ SI_FOOD_VIT_CASH = 273,
+ SI_FOOD_DEX_CASH = 274,
+ SI_FOOD_INT_CASH = 275,
+ SI_FOOD_LUK_CASH = 276,
SI_MERC_FLEEUP = 277,
SI_MERC_ATKUP = 278,
SI_MERC_HPUP = 279,