summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-15 17:28:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-15 17:28:17 +0000
commitf70901acd8144f851b033852ab3ff086edf30497 (patch)
treeccde95f5aa9d37f76878823c24b0e0cc9beea9f5 /src
parent7c8a7292d264ef51ded3f7a8adbba2b196fc9904 (diff)
downloadhercules-f70901acd8144f851b033852ab3ff086edf30497.tar.gz
hercules-f70901acd8144f851b033852ab3ff086edf30497.tar.bz2
hercules-f70901acd8144f851b033852ab3ff086edf30497.tar.xz
hercules-f70901acd8144f851b033852ab3ff086edf30497.zip
- Moved the weapon repair effect to where it belongs (after successfully repairing an item)
- Added atcommand.conf entries for @adjgmlvl and @adjcmdlvl git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8770 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 676f05455..34aee2c97 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4308,10 +4308,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case BS_REPAIRWEAPON:
- if(sd && dstsd) {
- clif_skill_nodamage(src,bl,skillid,skilllv,1);
+ if(sd && dstsd)
clif_item_repair_list(sd,dstsd);
- }
break;
case MC_IDENTIFY:
@@ -8817,6 +8815,7 @@ void skill_repairweapon (struct map_session_data *sd, int idx)
clif_skill_fail(sd,sd->menuskill_id,0,0);
return;
}
+ clif_skill_nodamage(&sd->bl,&target_sd->bl,sd->menuskill_id,1,1);
item->attribute=0;
clif_equiplist(target_sd);
pc_delitem(sd,pc_search_inventory(sd,material),1,0);