summaryrefslogtreecommitdiff
path: root/npc/merchants/ammo_dealer.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:32:14 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:35 +0100
commit3aa8abd848f1570d514148b311b25871378d2e2d (patch)
treef144ddd14143b3a92909196f8fe4dd7060ba4ad3 /npc/merchants/ammo_dealer.txt
parenta1d160ead032b63a0f696a34961df9e099154402 (diff)
downloadhercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.gz
hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.bz2
hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.xz
hercules-3aa8abd848f1570d514148b311b25871378d2e2d.zip
ItemID to Constant: kafras/merchants Folder
Diffstat (limited to 'npc/merchants/ammo_dealer.txt')
-rw-r--r--npc/merchants/ammo_dealer.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/merchants/ammo_dealer.txt b/npc/merchants/ammo_dealer.txt
index 227bd6218..0c85a19bb 100644
--- a/npc/merchants/ammo_dealer.txt
+++ b/npc/merchants/ammo_dealer.txt
@@ -108,7 +108,7 @@ function script Bullet_Trade {
mes "items for some bullets.";
close;
}
- if (countitem(1010) >= .@amount && countitem(1011) >= .@amount && countitem(getarg(0)) >= (.@amount*getarg(1))) {
+ if (countitem(Phracon) >= .@amount && countitem(Emveretarcon) >= .@amount && countitem(getarg(0)) >= (.@amount*getarg(1))) {
if (checkweight(getarg(2),.@amount * 30) == 0) {
mes "[Tony]";
mes "Eh? Your Inventory doesn't";