summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}