StevensSEC / pokemonbattlelib

A portable library for accurately simulating Pokemon battles.
GNU General Public License v3.0
12 stars 2 forks source link

Draco meteor should decrease the user's special attack by 2. #379

Open dyc3 opened 3 years ago

dyc3 commented 3 years ago

Current Behavior

Draco meteor does not change the user's stat modifiers.

Expected Behavior

Draco meteor should decrease the user's special attack by 2.

https://bulbapedia.bulbagarden.net/wiki/Draco_Meteor_(move)

Draco meteor has the meta category: MoveMetaCategoryDamageRaise, so all moves in this category should have this behavior (damage and chance to modify the user's stat)

Additional context

Premade test: https://github.com/StevensSEC/pokemonbattlelib/blob/88bc48fe141d5fdf41c4b0d766b5f4a51498b4f7/battle_move_effects_test.go#L125-L144