summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-03 13:36:21 -0200
committershennetsind <ind@henn.et>2013-02-03 13:36:21 -0200
commit0dbbe22a43c72737349b5907088bd5c90d5c3d3a (patch)
tree83d0c6d42eee5962271746d24c8e5c94415e63c0 /src/map/skill.c
parent7a20f13a210f395b8276cb19583e0b302f4f6a1f (diff)
downloadhercules-0dbbe22a43c72737349b5907088bd5c90d5c3d3a.tar.gz
hercules-0dbbe22a43c72737349b5907088bd5c90d5c3d3a.tar.bz2
hercules-0dbbe22a43c72737349b5907088bd5c90d5c3d3a.tar.xz
hercules-0dbbe22a43c72737349b5907088bd5c90d5c3d3a.zip
Partial Fix to Bug #7039
Fixed magical reflection behavior, user reflecting now visually casts the skill back at the caster, instead of caster casting it on itself. Waiting confirmation on the other part to fix. http://hercules.ws/board/tracker/issue-7039-frost-diver/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index f806c4ec5..9c07390f3 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2252,6 +2252,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
rmdamage = 1;
bl = src;
src = tbl;
+ dsrc = tbl;
sd = BL_CAST(BL_PC, src);
tsd = BL_CAST(BL_PC, bl);
sc = status_get_sc(bl);