summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorsamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-12 17:30:44 +0000
committersamuray22 <samuray22@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-10-12 17:30:44 +0000
commite4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0 (patch)
tree68a6cb15ebc7187b9bc70b5a06e05f2b0a4b121b /npc/merchants
parenta8403380c4c7b0b2c45f29e4a31645ebcafc2b4e (diff)
downloadhercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.tar.gz
hercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.tar.bz2
hercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.tar.xz
hercules-e4e2d2b7a3d7460ca39bdd95a551aad8f62a37c0.zip
* Changed An nonexistent variable in Refine NPC. (bugreport:2340)
* Fixed a Exploit in Thief Quest Skill. (bugreport:2332) * Fixed donpcevent to doevent. (bugreport:2311) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13288 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/refine.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt
index ec71e423d..a41d26a0b 100644
--- a/npc/merchants/refine.txt
+++ b/npc/merchants/refine.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Syrus22 (1.1) dafide18 (1.4) Skotlex (1.5)
//===== Current Version: =====================================
-//= 2.7a
+//= 2.8
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
@@ -49,7 +49,8 @@
//= 2.7 Refiner function accepts additional paramater. [L0ne_W0lf]
//= 0 = No special features; 1 = new refining features
//= Updated Repairmen and function. No longer shows menu.
-//= 2.76a A couple touch-ups to the repairman function. [L0ne_w0lf]
+//= 2.7a A couple touch-ups to the repairman function. [L0ne_w0lf]
+//= 2.8 Changed the nonexistent variable .@matname$ for getitemname(.@material). (bugreport:2340) [Samuray22]
//============================================================
@@ -606,7 +607,7 @@ function script refinemain {
}
set .@fullprice,.@price * .@refinecnt;
mes "[" + getarg(0) + "]";
- mes "That will cost you " + .@refinecnt + " " + .@matname$ + " and " + .@fullprice + " Zeny. Is that ok?";
+ mes "That will cost you " + .@refinecnt + " " + getitemname(.@material) + " and " + .@fullprice + " Zeny. Is that ok?";
next;
if(select("Yes","No...") == 2){
mes "[" + getarg(0) + "]";