summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-07-04 19:54:21 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-07-04 19:54:21 +0800
commit408e8ce47ec298b80e43b537efa58db5b74a19b8 (patch)
treebf2de6d00b1030f2d1e7266060ff49ca8f2d982a /src/map/status.c
parent188cc4784d36f2526f25df9137230bcbf7e25123 (diff)
downloadhercules-408e8ce47ec298b80e43b537efa58db5b74a19b8.tar.gz
hercules-408e8ce47ec298b80e43b537efa58db5b74a19b8.tar.bz2
hercules-408e8ce47ec298b80e43b537efa58db5b74a19b8.tar.xz
hercules-408e8ce47ec298b80e43b537efa58db5b74a19b8.zip
Fixed issue #556
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 62d4f27fe..bfe606bca 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7322,7 +7322,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
status_change_end(bl, SC_FOOD_LUK, INVALID_TIMER);
break;
case SC_ENDURE:
- if( val4 )
+ if( val4 == 1 )
status_change_end(bl, SC_LKCONCENTRATION, INVALID_TIMER);
break;
case SC_FIGHTINGSPIRIT:
@@ -10067,7 +10067,8 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
}
break;
case SC_LKCONCENTRATION:
- status_change_end(bl, SC_ENDURE, INVALID_TIMER);
+ if (sc->data[SC_ENDURE] && sc->data[SC_ENDURE]->val4 != 2)
+ status_change_end(bl, SC_ENDURE, INVALID_TIMER);
break;
/**
* 3rd Stuff