Fix bug in Tools.prototype.getEffectiveness

Tools.prototype.getEffectiveness was not taking into account immunities (modifier 3), so for instance it would return weakness to electric on ground/flying or to fighting on dark/ghost.