summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/atcommand.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 37cc5bf29..c87a66b72 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5258,11 +5258,13 @@ ACMD(useskill) {
else
bl = &sd->bl;
+ pc->delinvincibletimer(sd);
+
if (skill->get_inf(skill_id)&INF_GROUND_SKILL)
unit->skilluse_pos(bl, pl_sd->bl.x, pl_sd->bl.y, skill_id, skill_lv);
else
unit->skilluse_id(bl, pl_sd->bl.id, skill_id, skill_lv);
-
+
return true;
}