Skip to content

Commit

Permalink
Fix SO_VACUUM_EXTREME moves target into the center of the skill. Bug …
Browse files Browse the repository at this point in the history
  • Loading branch information
csnv committed Sep 13, 2014
1 parent aba829d commit ad3c8a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/map/skill.c
Original file line number Diff line number Diff line change
Expand Up @@ -11156,6 +11156,10 @@ struct skill_unit_group* skill_unitsetting(struct block_list *src, uint16 skill_
case SO_WARMER:
skill->clear_group(src, 8);
break;
case SO_VACUUM_EXTREME:
val1 = x;
val2 = y;
break;
case GN_WALLOFTHORN:
if( flag&1 )
limit = 3000;
Expand Down Expand Up @@ -12192,6 +12196,11 @@ int skill_unit_onplace_timer(struct skill_unit *src, struct block_list *bl, int6
} else {
sg->limit -= 100 * tstatus->str/20;
sc_start(ss, bl, SC_VACUUM_EXTREME, 100, sg->skill_lv, sg->limit);

if (unit->movepos(bl, sg->val1, sg->val2, 0, 0)) {
clif->slide(bl, sg->val1, sg->val2);
clif->fixpos(bl);
}
}
break;

Expand Down

0 comments on commit ad3c8a1

Please sign in to comment.