public void effect(Slot user, Slot enemy, int damage) {
if (chance < Math.random())
return; // didn't hit
MoveEffectType type = MoveEffectType.valueOf(this.type);
Target target = Target.valueOf(this.target);
Pokemon pokemon = target == Target.SELF ? user.leader() : enemy.leader();
if (type.isStatModifier())
pokemon.getStat(StatType.valueOf(type.toString())).effect(power);