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
commita0d5cefbeed3b697692ce31d008533a8a69da4b1 (patch)
tree18233cc106236397404bfd01c0258abff8cad8dc /src/map/battle.c
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/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, },