summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--conf-tmpl/Changelog.txt2
-rw-r--r--conf-tmpl/atcommand_athena.conf8
-rw-r--r--src/map/skill.c5
4 files changed, 14 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 450272e6b..f83183c2d 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/09/15
+ * Moved the weapon repair effect to where it belongs (after successfully
+ repairing an item) [Skotlex]
* Added config setting "friend_auto_add" (battle/player.conf), if set, when
you accept someone as your friend, both characters will show up on each
other's friend list. [Skotlex]
diff --git a/conf-tmpl/Changelog.txt b/conf-tmpl/Changelog.txt
index 959abfdc5..8fb701757 100644
--- a/conf-tmpl/Changelog.txt
+++ b/conf-tmpl/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
+2006/09/15
+ * Added atcommand.conf entries for @adjgmlvl and @adjcmdlvl [Skotlex]
2006/09/14
* Adjusted gvg long damage rate to 80%, magic damage rate to 60%
(battle/guild.conf) [Skotlex]
diff --git a/conf-tmpl/atcommand_athena.conf b/conf-tmpl/atcommand_athena.conf
index 886f443ea..f956a9ecb 100644
--- a/conf-tmpl/atcommand_athena.conf
+++ b/conf-tmpl/atcommand_athena.conf
@@ -708,6 +708,14 @@ reloadpcdb: 99
// Re-load the Message of the Day (admin command)
reloadmotd: 99
+// Changes the GM level of another character
+// (lasts until reboot, or gm list reload)
+adjgmlvl: 99
+
+// Changes the required GM level of an @ command
+// (effect lasts until restart or command reload)
+adjcmdlvl: 99
+
// [Un]Disguise All Players (admin command)
disguiseall: 99
undisguiseall: 99
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);