summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-17 19:38:03 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-17 19:38:03 +0000
commit71d7f4a76ad303785d9179342ab963613eaa24c2 (patch)
treebd7b8f697fd90850a7c10eccf03f12a5fef3cd8c /src/map/status.c
parenteff843d3c539370892143c18cb49f5ec7d16e1a2 (diff)
downloadhercules-71d7f4a76ad303785d9179342ab963613eaa24c2.tar.gz
hercules-71d7f4a76ad303785d9179342ab963613eaa24c2.tar.bz2
hercules-71d7f4a76ad303785d9179342ab963613eaa24c2.tar.xz
hercules-71d7f4a76ad303785d9179342ab963613eaa24c2.zip
HELLO WORLD.
- Fixed bugreport:5424, deep sleep status now makes target unable to move - Fixed bugreport:5335, savage steak and similar foods now provide their bonus correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15695 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b4e95ae71..f5c588b27 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -864,6 +864,14 @@ void initChangeTables(void)
StatusChangeFlagTable[SC_DEATHHURT] |= SCB_REGEN;
StatusChangeFlagTable[SC_VENOMBLEED] |= SCB_MAXHP;
StatusChangeFlagTable[SC_OBLIVIONCURSE] |= SCB_REGEN;
+
+ StatusChangeFlagTable[SC_SAVAGE_STEAK] |= SCB_STR;
+ StatusChangeFlagTable[SC_COCKTAIL_WARG_BLOOD] |= SCB_INT;
+ StatusChangeFlagTable[SC_MINOR_BBQ] |= SCB_VIT;
+ StatusChangeFlagTable[SC_SIROMA_ICE_TEA] |= SCB_DEX;
+ StatusChangeFlagTable[SC_DROCERA_HERB_STEAMED] |= SCB_AGI;
+ StatusChangeFlagTable[SC_PUTTI_TAILS_NOODLES] |= SCB_LUK;
+
#if RE_EDP
/**
* In RE EDP increases your atk and weapon atk
@@ -7742,7 +7750,10 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC_STONE: sc->opt1 = OPT1_STONEWAIT; break;
case SC_FREEZE: sc->opt1 = OPT1_FREEZE; break;
case SC_STUN: sc->opt1 = OPT1_STUN; break;
- case SC_SLEEP: sc->opt1 = OPT1_SLEEP; break;
+ case SC_SLEEP:
+ case SC_DEEPSLEEP:
+ sc->opt1 = OPT1_SLEEP;
+ break;
case SC_BURNING: sc->opt1 = OPT1_BURNING; break; // Burning need this to be showed correctly. [pakpil]
case SC_WHITEIMPRISON: sc->opt1 = OPT1_IMPRISON; break;
//OPT2
@@ -8545,6 +8556,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case SC_FREEZE:
case SC_STUN:
case SC_SLEEP:
+ case SC_DEEPSLEEP:
case SC_BURNING:
sc->opt1 = 0;
break;