|
@@ -1806,7 +1806,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
|
|
|
//When caster is not the src of attack, this is a ground skill, and as such, do the relevant target checking. [Skotlex]
|
|
|
if (!status_check_skilluse(battle_config.skill_caster_check?src:NULL, bl, skillid, 2))
|
|
|
return 0;
|
|
|
- } else if ((flag&0xFFF) && skill_get_nk(skillid)&NK_SPLASH) {
|
|
|
+ } else if ((flag&SD_ANIMATION) && skill_get_nk(skillid)&NK_SPLASH) {
|
|
|
//Note that splash attacks often only check versus the targetted mob, those around the splash area normally don't get checked for being hidden/cloaked/etc. [Skotlex]
|
|
|
if (!status_check_skilluse(src, bl, skillid, 2))
|
|
|
return 0;
|
|
@@ -9544,6 +9544,7 @@ void skill_stop_dancing (struct block_list *src)
|
|
|
dsd = map_id2sd(sc->data[SC_DANCING].val4);
|
|
|
sc->data[SC_DANCING].val4 = 0;
|
|
|
}
|
|
|
+
|
|
|
status_change_end(src, SC_DANCING, -1);
|
|
|
|
|
|
if (dsd)
|