summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-28 17:41:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-28 17:41:33 +0000
commit6cbe5719321c25c7bfe2c45cee23f3b295c835c2 (patch)
tree38d8412927a3ff2831d52878a29884d68abf87fe /src/map/skill.c
parentcadce9df6096c2e0038a233ea076bd78bc1b95eb (diff)
downloadhercules-6cbe5719321c25c7bfe2c45cee23f3b295c835c2.tar.gz
hercules-6cbe5719321c25c7bfe2c45cee23f3b295c835c2.tar.bz2
hercules-6cbe5719321c25c7bfe2c45cee23f3b295c835c2.tar.xz
hercules-6cbe5719321c25c7bfe2c45cee23f3b295c835c2.zip
- Added some skill effect packets so it displays a generic effect for unknown targetted skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9586 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 ffdb270c0..0655990c8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3208,6 +3208,9 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
default:
ShowWarning("skill_castend_damage_id: Unknown skill used:%d\n",skillid);
+ clif_skill_damage(src, bl, tick, status_get_amotion(src), tstatus->dmotion,
+ 0, abs(skill_get_num(skillid, skilllv)),
+ skillid, skilllv, skill_get_hit(skillid), 0);
map_freeblock_unlock();
return 1;
}
@@ -5493,6 +5496,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
default:
ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skillid);
+ clif_skill_nodamage(src,bl,skillid,skilllv,1);
map_freeblock_unlock();
return 1;
}