lasgauti / AncientMonkey

21 stars 17 forks source link

Attack Speed boosts are confusing #15

Open buttonmash147 opened 3 months ago

buttonmash147 commented 3 months ago

Whenever I go to get a stronger weapon card and that I get a legendary, I see things like x8.24 attack speed. Why ?

buttonmash147 commented 3 months ago

Note: It is only for legendaries, not any other rarity.

drx999 commented 3 months ago

it's a bit weird yea looks like a bug. But i have found that its great to reduce lagg if you have a lot of planes. So it could be that it is like that for that reason?

diox8tony commented 3 months ago

The bug is in Main.cs on line 865.

            if (StrongWpnRarity == "Legendary")
            {
                damageBoost = rnd.Next(2, 7);
                pierceBoost = rnd.Next(2, 7);
                rangeBoost = rnd.Next(0, 15);
                attackSpeedBoost = rnd.Next(85, 1001);  // here....all other rarities are 101 not 1001. Set to 101 and it works. So yea, don't pick these, its really bad attack speed.
                moneyBoost = rnd.Next(0, 15);
                sprite = VanillaSprites.MainBGPanelYellow;
            }