summaryrefslogtreecommitdiff
path: root/src/map/battle.c
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/battle.c
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/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 2a7b4de18..fde6402a3 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3755,6 +3755,7 @@ static const struct _battle_data {
{ "combo_delay_rate", &battle_config.combo_delay_rate, 100, 0, INT_MAX, },
{ "item_check", &battle_config.item_check, 0, 0, 1, },
{ "item_use_interval", &battle_config.item_use_interval, 100, 0, INT_MAX, },
+ { "cashfood_use_interval", &battle_config.cashfood_use_interval, 60000, 0, INT_MAX, },
{ "wedding_modifydisplay", &battle_config.wedding_modifydisplay, 0, 0, 1, },
{ "wedding_ignorepalette", &battle_config.wedding_ignorepalette, 0, 0, 1, },
{ "xmas_ignorepalette", &battle_config.xmas_ignorepalette, 0, 0, 1, },