summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-13 20:15:05 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-13 20:15:05 +0200
commit28db0ae06be658eef0c65fa25efe6306876da93a (patch)
tree8b7fdb7227998d0bb135c33295d43163d7c8819a
parentaba829d912c3392a0fdd5dff2a834559e88a5506 (diff)
parentad3c8a1ad28c40845125556bc23f0d5f089859cb (diff)
downloadhercules-28db0ae06be658eef0c65fa25efe6306876da93a.tar.gz
hercules-28db0ae06be658eef0c65fa25efe6306876da93a.tar.bz2
hercules-28db0ae06be658eef0c65fa25efe6306876da93a.tar.xz
hercules-28db0ae06be658eef0c65fa25efe6306876da93a.zip
Merge pull request #348 from csnv/somefixes
Fix SO_VACUUM_EXTREME moves target into the center of the skill. Bug 833...
-rw-r--r--src/map/skill.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index fc162d430..46b92c302 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -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;
@@ -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;