Cargo Features

poke-engine has no features set by default.

[dependencies]
poke-engine = { version = "0.0.28", features = ["remove_low_chance_instructions", "gen2", "gen4", "gen6", "gen8", "gen9", "terastallization"] }
remove_low_chance_instructions
gen1 gen2

Affects poke-engine::abilities, poke-engine::base_stats, poke-engine::choice_effects, poke-engine::damage_calc, poke-engine::evaluate, poke-engine::generate_instructions, poke-engine::items, poke-engine::state

gen3 gen4

Affects generate_instructions::MAX_SLEEP_TURNS, abilities::WEATHER_ABILITY_TURNS, damage_calc::CRIT_MULTIPLIER, generate_instructions::BASE_CRIT_CHANCE, generate_instructions::HIT_SELF_IN_CONFUSION_CHANCE

gen5 gen6

Affects abilities::WEATHER_ABILITY_TURNS, damage_calc::CRIT_MULTIPLIER, generate_instructions::BASE_CRIT_CHANCE, generate_instructions::HIT_SELF_IN_CONFUSION_CHANCE, generate_instructions::MAX_SLEEP_TURNS

gen7 gen8

Affects generate_instructions::BASE_CRIT_CHANCE, generate_instructions::HIT_SELF_IN_CONFUSION_CHANCE, abilities::WEATHER_ABILITY_TURNS, damage_calc::CRIT_MULTIPLIER, generate_instructions::MAX_SLEEP_TURNS

gen9 terastallization? = terastallization

Affects generate_instructions::BASE_CRIT_CHANCE, generate_instructions::HIT_SELF_IN_CONFUSION_CHANCE, abilities::WEATHER_ABILITY_TURNS, damage_calc::CRIT_MULTIPLIER, generate_instructions::MAX_SLEEP_TURNS

terastallization gen9? = gen9