diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-04-08 04:22:10 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-04-08 04:22:10 +0200 |
commit | 91fff27a22dc850eeb81d72ce42a03cba0e4e9b1 (patch) | |
tree | a57bf2c6137ba63e40beae02708a72c9cf19404c /src/map | |
parent | d3d1927e5ff037195dce99accd511127a6d4d52b (diff) | |
download | hercules-91fff27a22dc850eeb81d72ce42a03cba0e4e9b1.tar.gz hercules-91fff27a22dc850eeb81d72ce42a03cba0e4e9b1.tar.bz2 hercules-91fff27a22dc850eeb81d72ce42a03cba0e4e9b1.tar.xz hercules-91fff27a22dc850eeb81d72ce42a03cba0e4e9b1.zip |
Prevent SC_NO_SWITCH_EQUIP from falsely being recognized as unknown status change
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 2 | ||||
-rw-r--r-- | src/map/status.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 3dccf7a9e..cc769108e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11296,7 +11296,7 @@ static int skill_castend_pos2(struct block_list *src, int x, int y, uint16 skill FALLTHROUGH case GS_GROUNDDRIFT: //Ammo should be deleted right away. if ( skill_id == WM_SEVERE_RAINSTORM ) - sc_start(src,src,SC_NO_SWITCH_EQUIP,100,0,skill->get_time(skill_id,skill_lv)); + sc_start(src, src, type, 100, 0, skill->get_time(skill_id, skill_lv)); skill->unitsetting(src,skill_id,skill_lv,x,y,0); break; case WZ_ICEWALL: diff --git a/src/map/status.c b/src/map/status.c index d3e85e5be..0373b9db6 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -696,6 +696,7 @@ static void initChangeTables(void) status->set_sc( WM_BEYOND_OF_WARCRY , SC_BEYOND_OF_WARCRY , SCB_STR|SCB_CRI|SCB_MAXHP ); status->set_sc( WM_UNLIMITED_HUMMING_VOICE, SC_UNLIMITED_HUMMING_VOICE, SCB_NONE ); status->set_sc( WM_FRIGG_SONG , SC_FRIGG_SONG , SCB_MAXHP ); + status->set_sc( WM_SEVERE_RAINSTORM , SC_NO_SWITCH_EQUIP , SCB_NONE ); /** * Sorcerer |