From 4fe6f657e682b9c722b15346f31ec3fe0298b9d9 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 16 Mar 2014 12:58:02 -0300 Subject: Fixed Bug 8095 Mounting SC_ALL_RIDING (new mounts) now causes character to stop attacking. Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-8095-ridding-mount2-can-attack/ Signed-off-by: shennetsind --- src/map/status.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 46f6d265d..d3af72e57 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7881,8 +7881,6 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t case SC_TURNKICK_READY: case SC_DODGE_READY: case SC_PUSH_CART: - case SC_ALL_RIDING: - tick = -1; break; case SC_AUTOGUARD: @@ -8971,6 +8969,10 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t if( !mob->db_checkid(val1) ) val1 = 1002; // default poring break; + case SC_ALL_RIDING: + unit->stop_attack(bl); + tick = -1; + break; default: if( calc_flag == SCB_NONE && status->SkillChangeTable[type] == 0 && status->IconChangeTable[type] == 0 ) { //Status change with no calc, no icon, and no skill associated...? -- cgit v1.2.3-60-g2f50