Phaser.Weapon#fireRateVariance without effect #2715

Closed
noseglid opened this Issue Aug 24, 2016 · 2 comments

Projects

None yet

2 participants

@noseglid

First off, thanks for an awesome game engine. I've just recently started using it and made so much progress in so short time due to the great examples and documentation as well as the very flexible but extensive framework!

This Issue is about (delete as applicable)

  • A bug in the API

Setting fireRateVariance does not have any effect.

I've tracked the error to when _nextFire in the weapon plugin is set. I'm guessing this needs some similar treatment as with the bulletSpeedVariance.

@photonstorm photonstorm added a commit that referenced this issue Aug 25, 2016
@photonstorm The Weapon.fireRateVariance property was never taken into account int…
…ernally. It's now applied to the firing rate correctly (thanks @noseglid #2715)
19dbd8b
@photonstorm
Owner

Thanks for submitting this issue. We have fixed this, and the fix has been pushed to the dev branch.

@noseglid

Wow, quick turnaround!
👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment