diff options
Diffstat (limited to 'npc/003-8')
-rw-r--r-- | npc/003-8/jhedia.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/003-8/jhedia.txt b/npc/003-8/jhedia.txt index 3f8e21813..98f3c0e9d 100644 --- a/npc/003-8/jhedia.txt +++ b/npc/003-8/jhedia.txt @@ -14,13 +14,13 @@ function ingot_create { .@basei=getarg(0); .@prize=getarg(1); - .@amoun=getarg(2); + .@oream=getarg(2); .@coalm=getarg(3); .@price=getarg(4); mesn; mesq l("Do you want to craft @@? For that I will need @@ @@, @@ @@ and @@ gp.", - getitemlink(.@prize), .@amoun, getitemlink(.@basei), .@coalm, getitemlink(Coal), .@price); + getitemlink(.@prize), .@oream, getitemlink(.@basei), .@coalm, getitemlink(Coal), .@price); select l("Yes"), @@ -32,9 +32,9 @@ l("How many ingots do you want to make?"); input .@amount; - if (countitem(.@basei) >= .@amount * .@amoun && countitem(Coal) >= .@amount * .@coalm && Zeny >= .@price * .@amount) { + if (countitem(.@basei) >= .@amount * .@oream && countitem(Coal) >= .@amount * .@coalm && Zeny >= .@price * .@amount) { inventoryplace .@prize, .@amount; - delitem .@basei, .@amount * .@amoun; + delitem .@basei, .@amount * .@oream; delitem Coal, .@amount * .@coalm; Zeny = Zeny - .@amount * .@price; getitem .@prize, .@amount; |