diff options
author | shennetsind <ind@henn.et> | 2013-11-26 16:17:52 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-26 16:17:52 -0200 |
commit | ff89200ae548ecbcfb11e406fc2ab70b3fb24bb0 (patch) | |
tree | ac19d5acd25d5ca754f4954b3f81121c04b208ee /src/map/atcommand.c | |
parent | a225558df1abbd2067a1925d671fae3767124a40 (diff) | |
download | hercules-ff89200ae548ecbcfb11e406fc2ab70b3fb24bb0.tar.gz hercules-ff89200ae548ecbcfb11e406fc2ab70b3fb24bb0.tar.bz2 hercules-ff89200ae548ecbcfb11e406fc2ab70b3fb24bb0.tar.xz hercules-ff89200ae548ecbcfb11e406fc2ab70b3fb24bb0.zip |
Fixed Bug 7700
@useskill adjusted to update invincibility state.
http://hercules.ws/board/tracker/issue-7700-using-useskill-command/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
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; } |