Zarel/Pokemon-Showdown — pull request #1288 by Slayer95 (2014-10-27 07:29:54+00:00)
Title: Revamp effectiveness calculation

- Implement BattlePokemon#runEffectiveness, accounting for battle events.
- Refactor Tools#getEffectiveness accordingly.
- Remove Inverse mod. It's now implemented using the global event 'Effectiveness', and with a few changes in the base data for hazards and Arena Trap.
- NEXT: Fix Filter and Solid Rock not accounting for the special effects of Freeze Dry and Flying Press.