summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-27 21:46:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-27 21:46:15 +0000
commita5d02326f3402788e9b9fabf74924adad2d6d724 (patch)
tree4f09eb8a608025f0b553dc58379293a0106e0803 /src/map/unit.c
parentc19b8831b8134d9e8f000d8d5ee18ebaa2164fea (diff)
downloadhercules-a5d02326f3402788e9b9fabf74924adad2d6d724.tar.gz
hercules-a5d02326f3402788e9b9fabf74924adad2d6d724.tar.bz2
hercules-a5d02326f3402788e9b9fabf74924adad2d6d724.tar.xz
hercules-a5d02326f3402788e9b9fabf74924adad2d6d724.zip
- Changed a bit the Moonlit code to prevent an infinite loop
- Changed clif_skillcasting definition to take as argument the element of the skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10083 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 9a48dc488..0cfdd9087 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -980,7 +980,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
if( casttime>0 || temp){
- clif_skillcasting(src, src->id, target_id, 0,0, skill_num,casttime);
+ clif_skillcasting(src, src->id, target_id, 0,0, skill_num, skill_get_pl(skill_num, skill_lv), casttime);
if (sd && target->type == BL_MOB)
{
@@ -1114,7 +1114,7 @@ int unit_skilluse_pos2( struct block_list *src, int skill_x, int skill_y, int sk
if( casttime>0 ) {
unit_stop_walking( src, 1);
- clif_skillcasting(src, src->id, 0, skill_x,skill_y, skill_num,casttime);
+ clif_skillcasting(src, src->id, 0, skill_x, skill_y, skill_num, skill_get_pl(skill_num, skill_lv), casttime);
} else
ud->state.skillcastcancel=0;