From a0d5cefbeed3b697692ce31d008533a8a69da4b1 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Mon, 11 Oct 2010 06:17:49 +0000 Subject: 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 --- src/map/status.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/map/status.h') 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, -- cgit v1.2.3-60-g2f50