sparticle999 / SpaceCompany

An incremental game about Space Mining
http://sparticle999.github.io/SpaceCompany
Other
295 stars 167 forks source link

update damage calc #437

Closed islq closed 4 years ago

islq commented 4 years ago

Is there a missing parenthesis here? var damage = (this.activePower/star.stats.defensemulti)this.activeSpeed; to var damage = (this.activePower/(star.stats.defensemulti))this.activeSpeed;

sparticle999 commented 4 years ago

Yes, that's very weird. Thanks for finding it!

sparticle999 commented 4 years ago

how did you find it?

islq commented 4 years ago

how did you find it? I have play it for 17 days, I can't wait to know what's next, so I read the relevant code :)