diff options
Diffstat (limited to 'npc/020-5')
-rw-r--r-- | npc/020-5/bracco.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt index 1c9ed9bd0..c9cb31941 100644 --- a/npc/020-5/bracco.txt +++ b/npc/020-5/bracco.txt @@ -82,9 +82,10 @@ mesc l("@@ melt down your @@...", .name$, getitemlink(.@x)); for (.@i=2;.@i < getargcount(); .@i++) { - if (getarg(.@i+1)) {// It may be zero - getitem getarg(.@i), getarg(.@i+1); - mesc l("* Acquired @@ @@!", getarg(.@i+1), getitemlink(getarg(.@i))); + .@v=getarg(.@i+1)+any(-1, 0, 0, 0, 1); + if (.@v > 0) {// It may be zero + getitem getarg(.@i), .@v; + mesc l("* Acquired @@ @@!", .@v, getitemlink(getarg(.@i))); } .@i++; } |