diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-01-03 18:06:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-01-03 18:06:30 -0300 |
commit | 6b2963f13b2ee9ce870eed2a77c2f769d61ceff2 (patch) | |
tree | ae3daee7f1197541b8524d6f7bece7cce7dbb376 | |
parent | c1b16ac31a17a7b18eadbed188a1a1db7a074733 (diff) | |
download | serverdata-6b2963f13b2ee9ce870eed2a77c2f769d61ceff2.tar.gz serverdata-6b2963f13b2ee9ce870eed2a77c2f769d61ceff2.tar.bz2 serverdata-6b2963f13b2ee9ce870eed2a77c2f769d61ceff2.tar.xz serverdata-6b2963f13b2ee9ce870eed2a77c2f769d61ceff2.zip |
I lack enough information to fix Bracco
-rw-r--r-- | npc/020-5/bracco.txt | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt index 6dce774bd..9c489756c 100644 --- a/npc/020-5/bracco.txt +++ b/npc/020-5/bracco.txt @@ -164,12 +164,16 @@ NewMeltdown(getarg(0)); } else { // Override system (no recipe) - .@elv = getiteminfo(.@overid, ITEMINFO_ELV); + if (.@overid == SilverMirror) + .@elv = rand2(30); + else + .@elv = getiteminfo(.@overid, ITEMINFO_ELV); .@ammo = any( (.@elv < 12 ? 0 : 1), (.@elv < 7 ? 0 : 1), (.@elv < 5 ? 0 : 1), (.@elv < 3 ? 0 : 1), + 1, (.@elv < 12 ? 1 : 2), (.@elv < 15 ? 1 : 2) ); @@ -345,25 +349,25 @@ L_Meltdown: switch (.@id) { // Special Exceptions case SilverMirror: - Meltdown(.@id, 500, SilverOre, rand2(2, 5)); // Exception + Meltdown(.@id, 500, SilverOre); // Exception break; case RustyKnife: - Meltdown(.@id, 15, IronOre, any(0, 0, 0, 1, 1)); // Exception + Meltdown(.@id, 15, Coal); // Exception break; case SmallKnife: - Meltdown(.@id, 15, IronOre, any(0, 0, 1, 1, 1)); // Exception + Meltdown(.@id, 15, IronOre); // Exception break; case Knife: - Meltdown(.@id, 25, IronOre, any(0, 1, 1, 2)); // Exception + Meltdown(.@id, 25, IronOre); // Exception break; case SharpKnife: - Meltdown(.@id, 50, IronOre, any(1, 2, 2, 3)); // Exception + Meltdown(.@id, 50, IronOre); // Exception break; case Dagger: - Meltdown(.@id, 100, IronOre, any(2, 2, 3, 3, 4, 5)); // Exception + Meltdown(.@id, 100, IronOre); // Exception break; case GoldenRing: - Meltdown(.@id, 1500, GoldPieces, rand2(2,3)); + Meltdown(.@id, 1500, GoldPieces); // Exception break; default: if (!Meltdown(.@id)) { |