diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 6 | ||||
-rw-r--r-- | src/map/status.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 484fb2915..f75fda59b 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5137,7 +5137,11 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in if (sd) { int bonus = 25 + 10 * skilllv; bonus += (pc_checkskill(sd, SA_FLAMELAUNCHER)+pc_checkskill(sd, SA_FROSTWEAPON)+pc_checkskill(sd, SA_LIGHTNINGLOADER)+pc_checkskill(sd, SA_SEISMICWEAPON))*5; - clif_skill_nodamage( src, bl, skillid, skilllv, sc_start2(bl, type, 100, skilllv, bonus, skill_get_time(skillid,skilllv)) ); + clif_skill_nodamage( src, bl, skillid, skilllv, + battle_check_target(src,bl,BCT_PARTY) ? + sc_start2(bl, type, 100, skilllv, bonus, skill_get_time(skillid,skilllv)) : + 0 + ); } break; diff --git a/src/map/status.c b/src/map/status.c index 7277a7f1d..623a39dce 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7543,6 +7543,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val status_change_end(bl, SC_CRYSTALIZE, INVALID_TIMER); break; case SC_STRIKING: + val1 = 6 - val1;//spcost = 6 - level (lvl1:5 ... lvl 5: 1) val4 = tick / 1000; tick_time = 1000; // [GodLesZ] tick time break; |