diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-04-08 04:23:00 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-04-08 04:23:00 +0200 |
commit | 8503c7b6b209d094e63eee2cb423a62a4690155b (patch) | |
tree | 3758a6e8b696feaaa9aa04f770a515c9e7c7f3c7 /src | |
parent | 91fff27a22dc850eeb81d72ce42a03cba0e4e9b1 (diff) | |
download | hercules-8503c7b6b209d094e63eee2cb423a62a4690155b.tar.gz hercules-8503c7b6b209d094e63eee2cb423a62a4690155b.tar.bz2 hercules-8503c7b6b209d094e63eee2cb423a62a4690155b.tar.xz hercules-8503c7b6b209d094e63eee2cb423a62a4690155b.zip |
Prevent SC_KSPROTECTED from falsely being recognized as unknown status change
Diffstat (limited to 'src')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 0373b9db6..d07f3f705 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7809,6 +7809,8 @@ static int status_change_start_sub(struct block_list *src, struct block_list *bl calc_flag = status->dbs->ChangeFlagTable[type]; if(!(flag&SCFLAG_LOADED)) { // Do not parse val settings when loading SCs switch(type) { + case SC_KSPROTECTED: + break; // Prevent calling status_change_start_unknown_sc(). case SC_ADORAMUS: sc_start(src,bl,SC_BLIND,100,val1,skill->get_time(status->sc2skill(type),val1)); // Fall through to SC_INC_AGI |