diff options
author | Haru <haru@dotalux.com> | 2019-12-15 18:08:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 18:08:34 +0100 |
commit | d2ba5dfa01040adf51acd6939b2d5b554674c842 (patch) | |
tree | 9ec660d991bb528407c50c7bfbeddab0c1b23bc5 /src/map | |
parent | 10e0436f36b8934772b9df575deb31ffad834f1d (diff) | |
parent | 5e07162a2968cdbcb7109b32cebcac220f6b033c (diff) | |
download | hercules-d2ba5dfa01040adf51acd6939b2d5b554674c842.tar.gz hercules-d2ba5dfa01040adf51acd6939b2d5b554674c842.tar.bz2 hercules-d2ba5dfa01040adf51acd6939b2d5b554674c842.tar.xz hercules-d2ba5dfa01040adf51acd6939b2d5b554674c842.zip |
Merge pull request #2598 from HerculesWS/lex_fix
Fix SC_LEXAETERNA not getting removed when player receive SC_STONE or…
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 4821f18d5..98cb7d4e0 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7395,6 +7395,9 @@ static int status_change_start_sub(struct block_list *src, struct block_list *bl //Undead are immune to Freeze/Stone if (undead_flag && !(flag&SCFLAG_NOAVOID)) return 0; + // SC_LEXAETERNA should be removed when applying SC_STONE or SC_FREEZE + if (sc->data[SC_LEXAETERNA] != NULL) + status_change_end(bl, SC_LEXAETERNA, INVALID_TIMER); FALLTHROUGH case SC_SLEEP: case SC_STUN: |