diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-19 10:41:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-19 10:41:16 -0300 |
commit | a053eac8c6b154b980a0dd00e6c4755b4b402570 (patch) | |
tree | 1ec68e51302962d6ba4ecd32f27d81d92267f3d0 | |
parent | e7f4ce26bbce3712591673788448c063dea1054b (diff) | |
download | serverdata-a053eac8c6b154b980a0dd00e6c4755b4b402570.tar.gz serverdata-a053eac8c6b154b980a0dd00e6c4755b4b402570.tar.bz2 serverdata-a053eac8c6b154b980a0dd00e6c4755b4b402570.tar.xz serverdata-a053eac8c6b154b980a0dd00e6c4755b4b402570.zip |
Treasure on shovel should be calculated with rand2() :>
-rw-r--r-- | npc/items/shovel.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt index 3c6e23b88..6ed100dff 100644 --- a/npc/items/shovel.txt +++ b/npc/items/shovel.txt @@ -48,7 +48,7 @@ function script shovel_scatter { do { freeloop(true); // DANGEROUS for (.@i = 0; .@i < .@amount; .@i++) - shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), getarg(rand(getargcount()-6)+6)); + shovel_scriptItem(.@map$, rand(.@x1,.@x2), rand(.@y1,.@y2), getarg(rand2(getargcount()-6)+6)); freeloop(false); .@wtc = getarraysize($@WBT_Random_id); // wtc - current |