summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 0861670a1..5a84d311f 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/12/28
+ * Added some skill effect packets so it displays a generic effect for
+ unknown targetted skills.
* Some cleaning in do_sendrecv, added error messages when handling an
incorrect socket. [Skotlex]
2006/12/27
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;
}