summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-20 14:32:30 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-20 14:32:30 +0200
commit60d62f7b71b0697718d699fe221715e00becf365 (patch)
tree95c1653f838f046ce6c9090972c14e60ce70cfcc
parentbb16460e131de5ab6cd39cec25c03abd2ba7f451 (diff)
downloadhercules-60d62f7b71b0697718d699fe221715e00becf365.tar.gz
hercules-60d62f7b71b0697718d699fe221715e00becf365.tar.bz2
hercules-60d62f7b71b0697718d699fe221715e00becf365.tar.xz
hercules-60d62f7b71b0697718d699fe221715e00becf365.zip
Land Protector should have an animation even if you don't have gemstones (bug:8351)
-rw-r--r--src/map/skill.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 1420997b9..d159c3e2c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9734,9 +9734,11 @@ int skill_castend_pos(int tid, int64 tick, int id, intptr_t data) {
if( sd )
{
- if( ud->skill_id != AL_WARP && !skill->check_condition_castend(sd, ud->skill_id, ud->skill_lv) )
+ if( ud->skill_id != AL_WARP && !skill->check_condition_castend(sd, ud->skill_id, ud->skill_lv) ) {
+ if( ud->skill_id == SA_LANDPROTECTOR )
+ clif->skill_poseffect(&sd->bl,ud->skill_id,ud->skill_lv,sd->bl.x,sd->bl.y,tick);
break;
- else
+ }else
skill->consume_requirement(sd,ud->skill_id,ud->skill_lv,1);
}