|
@@ -416,14 +416,18 @@ int map_moveblock(struct block_list *bl, int x1, int y1, unsigned int tick)
|
|
skill_unit_move(bl,tick,3);
|
|
skill_unit_move(bl,tick,3);
|
|
sc = status_get_sc(bl);
|
|
sc = status_get_sc(bl);
|
|
if (sc && sc->count) {
|
|
if (sc && sc->count) {
|
|
- if (sc->data[SC_CLOAKING])
|
|
|
|
- skill_check_cloaking(bl, sc->data[SC_CLOAKING]);
|
|
|
|
if (sc->data[SC_DANCING])
|
|
if (sc->data[SC_DANCING])
|
|
skill_unit_move_unit_group(skill_id2group(sc->data[SC_DANCING]->val2), bl->m, x1-x0, y1-y0);
|
|
skill_unit_move_unit_group(skill_id2group(sc->data[SC_DANCING]->val2), bl->m, x1-x0, y1-y0);
|
|
- if (sc->data[SC_WARM])
|
|
|
|
- skill_unit_move_unit_group(skill_id2group(sc->data[SC_WARM]->val4), bl->m, x1-x0, y1-y0);
|
|
|
|
- if (sc->data[SC_BANDING])
|
|
|
|
- skill_unit_move_unit_group(skill_id2group(sc->data[SC_BANDING]->val4), bl->m, x1-x0, y1-y0);
|
|
|
|
|
|
+ else {
|
|
|
|
+ if (sc->data[SC_CLOAKING])
|
|
|
|
+ skill_check_cloaking(bl, sc->data[SC_CLOAKING]);
|
|
|
|
+ if (sc->data[SC_WARM])
|
|
|
|
+ skill_unit_move_unit_group(skill_id2group(sc->data[SC_WARM]->val4), bl->m, x1-x0, y1-y0);
|
|
|
|
+ if (sc->data[SC_BANDING])
|
|
|
|
+ skill_unit_move_unit_group(skill_id2group(sc->data[SC_BANDING]->val4), bl->m, x1-x0, y1-y0);
|
|
|
|
+ if (sc->data[SC_NEUTRALBARRIER_MASTER])
|
|
|
|
+ skill_unit_move_unit_group(skill_id2group(sc->data[SC_NEUTRALBARRIER_MASTER]->val2), bl->m, x1-x0, y1-y0);
|
|
|
|
+ }
|
|
/* Guild Aura Moving */
|
|
/* Guild Aura Moving */
|
|
if( bl->type == BL_PC && ((TBL_PC*)bl)->state.gmaster_flag ) {
|
|
if( bl->type == BL_PC && ((TBL_PC*)bl)->state.gmaster_flag ) {
|
|
if (sc->data[SC_LEADERSHIP])
|
|
if (sc->data[SC_LEADERSHIP])
|