diff options
Diffstat (limited to 'npc/015-1_Woodland/sword.txt')
-rw-r--r-- | npc/015-1_Woodland/sword.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/npc/015-1_Woodland/sword.txt b/npc/015-1_Woodland/sword.txt index 0128d819..75142de3 100644 --- a/npc/015-1_Woodland/sword.txt +++ b/npc/015-1_Woodland/sword.txt @@ -16,8 +16,6 @@ L_message: set @STATUS_W12, 5; set @STATUS_W11_12, 6; set @STATUS_L2_ALLSPELLS, 7; - set @ORE, 640; - set @IRONPOWDER, 704; if (@Q_status == @STATUS_INITIAL) goto L_Initial; if (@Q_status == @STATUS_LEARNED_FLAREDART) goto L_FlareStage; @@ -311,7 +309,7 @@ L_L2_W10: "OK.", -, "No way.", L_farewell; - if (countitem(@ORE) < 1) + if (countitem("IronOre") < 1) goto L_no_ore; if (MPQUEST && (Mobpt < 10000)) goto L_lacking_mobpoints; @@ -321,8 +319,8 @@ L_L2_W10: mes "[1000 experience points]"; set Mobpt, Mobpt - 10000; getexp 1000, 0; - delitem @ORE, 1; - getitem @IRONPOWDER, 5; + delitem "IronOre", 1; + getitem "IronPowder", 5; set @Q_status, @STATUS_L2_ALLSPELLS; callsub S_update_var; next; |