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
commita0d5cefbeed3b697692ce31d008533a8a69da4b1 (patch)
tree18233cc106236397404bfd01c0258abff8cad8dc /src/map/status.h
parent6ce604ea27be125d26422dfe3690608e3f1fa8d7 (diff)
downloadhercules-a0d5cefbeed3b697692ce31d008533a8a69da4b1.tar.gz
hercules-a0d5cefbeed3b697692ce31d008533a8a69da4b1.tar.bz2
hercules-a0d5cefbeed3b697692ce31d008533a8a69da4b1.tar.xz
hercules-a0d5cefbeed3b697692ce31d008533a8a69da4b1.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/trunk@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,