Cargo Features

poke-engine has no features set by default.

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

Affects poke-engine::engine

gen3

Affects poke-engine::engine, generate_instructions::MAX_SLEEP_TURNS, generate_instructions::CONSECUTIVE_PROTECT_CHANCE, abilities::WEATHER_ABILITY_TURNS, damage_calc::CRIT_MULTIPLIER, generate_instructions::BASE_CRIT_CHANCE, generate_instructions::HIT_SELF_IN_CONFUSION_CHANCE

gen4

Affects generate_instructions::MAX_SLEEP_TURNS, generate_instructions::CONSECUTIVE_PROTECT_CHANCE, 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, generate_instructions::CONSECUTIVE_PROTECT_CHANCE

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, generate_instructions::CONSECUTIVE_PROTECT_CHANCE

gen9 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, generate_instructions::CONSECUTIVE_PROTECT_CHANCE

terastallization = gen9