summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-22 17:06:50 -0300
committershennetsind <ind@henn.et>2014-03-22 17:06:50 -0300
commit9ea7b143192568a259aa6e7e223420e8d5762b9e (patch)
tree4dcaa11b8fb9acb6922048e5f4bd411cf348f183 /src/map/status.c
parent7b71f22331c805a406c57f5a8eff93b464b57018 (diff)
downloadhercules-9ea7b143192568a259aa6e7e223420e8d5762b9e.tar.gz
hercules-9ea7b143192568a259aa6e7e223420e8d5762b9e.tar.bz2
hercules-9ea7b143192568a259aa6e7e223420e8d5762b9e.tar.xz
hercules-9ea7b143192568a259aa6e7e223420e8d5762b9e.zip
Fixed Bug 8107
feintbomb issue which could cause endless hiding. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-8107-feint-bomb-super-bug/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 5c0dad8cb..ee72f0319 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -9386,6 +9386,10 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
sc->option |= OPTION_OKTOBERFEST;
opt_flag |= 0x4;
break;
+ case SC__FEINTBOMB_MASTER:
+ sc->option |= OPTION_INVISIBLE;
+ opt_flag |= 0x4;
+ break;
default:
opt_flag = 0;
}
@@ -10163,6 +10167,10 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
sc->option &= ~OPTION_OKTOBERFEST;
opt_flag |= 0x4;
break;
+ case SC__FEINTBOMB_MASTER:
+ sc->option &= ~OPTION_INVISIBLE;
+ opt_flag |= 0x4;
+ break;
case SC_ORCISH:
sc->option &= ~OPTION_ORCISH;
break;