Calculating Weapon Damage Using Ideal Ranges

The Problem

Whilst building a turn based strategy shooter, weapons needed to have “ideal ranges”. For example, a melee weapon should only work from 1 tile away, a shotgun should prefer short ranges, a sniper rifle should prefer long ranges, etc. The non-melee weapons should still work outside of their ideal range, but with reduced damage.  Continue reading “Calculating Weapon Damage Using Ideal Ranges”