summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 07:00:53 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 07:00:53 +0000
commit062e6a90f493c6a2cd6b3ec8ae30cade9b58983d (patch)
tree973e7e80d83193e880e59e4ed6afa5d4f06c1de0 /src/map/skill.c
parenta6e632ae946475bbff3e0fbc703519dcf49bbf20 (diff)
downloadhercules-062e6a90f493c6a2cd6b3ec8ae30cade9b58983d.tar.gz
hercules-062e6a90f493c6a2cd6b3ec8ae30cade9b58983d.tar.bz2
hercules-062e6a90f493c6a2cd6b3ec8ae30cade9b58983d.tar.xz
hercules-062e6a90f493c6a2cd6b3ec8ae30cade9b58983d.zip
Fixed Mechanic Hovering skill, bugreport:5363
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15718 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index d385c15ff..f9e59659d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9996,6 +9996,10 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
nullpo_ret(ss=map_id2bl(sg->src_id));
tsd = BL_CAST(BL_PC, bl);
tsc = status_get_sc(bl);
+
+ if ( tsc && tsc->data[SC_HOVERING] )
+ return 0; //Under hovering characters are immune to trap and ground target skills.
+
tstatus = status_get_status_data(bl);
type = status_skill2sc(sg->skill_id);
skillid = sg->skill_id;