diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-18 16:15:43 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-18 16:15:43 +0000 |
commit | 06ec4b33746917093e146d81e6742d80868d1fa0 (patch) | |
tree | 35ac38e43da917d6e9b7eecee299728f596e042f /src/map/skill.c | |
parent | 082e468a1a3e7b581529fce6f8e6beffb5fdbb3b (diff) | |
download | hercules-06ec4b33746917093e146d81e6742d80868d1fa0.tar.gz hercules-06ec4b33746917093e146d81e6742d80868d1fa0.tar.bz2 hercules-06ec4b33746917093e146d81e6742d80868d1fa0.tar.xz hercules-06ec4b33746917093e146d81e6742d80868d1fa0.zip |
Fixed bugreport:6008 remove the weight factor with the damage done by LK_SPIRALPIERCE of mobs and recoding of Renewal Spiral Pierce.
Fixed bugreport:5752 SC_AUTOSHADOWSPELL should only consume required items and not sp.
Fixed bugreport:5792 updated WM_GLOOMYDAY status effect(mount, ASPD, walk & flee penalty) and should now boost selected skills.
Follow up r16309 and bugreport:5940 should now be fixed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16316 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 4d256fe4b..ef41448fe 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8210,17 +8210,15 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in break; case WM_GLOOMYDAY: - if( dstsd ) { - if( pc_checkskill(dstsd,KN_BRANDISHSPEAR) || pc_checkskill(dstsd,LK_SPIRALPIERCE) || + clif_skill_nodamage(src,bl,skillid,skilllv,1); + if( dstsd && ( pc_checkskill(dstsd,KN_BRANDISHSPEAR) || pc_checkskill(dstsd,LK_SPIRALPIERCE) || pc_checkskill(dstsd,CR_SHIELDCHARGE) || pc_checkskill(dstsd,CR_SHIELDBOOMERANG) || - pc_checkskill(dstsd,PA_SHIELDCHAIN) || pc_checkskill(dstsd,LG_SHIELDPRESS) ) + pc_checkskill(dstsd,PA_SHIELDCHAIN) || pc_checkskill(dstsd,LG_SHIELDPRESS) ) ) { sc_start(bl,SC_GLOOMYDAY_SK,100,skilllv,skill_get_time(skillid,skilllv)); - } else - sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv)); - clif_skill_nodamage(src,bl,skillid,skilllv,1); - } else - sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv)); + break; + } + sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv)); break; case WM_SATURDAY_NIGHT_FEVER: |