Skip to content

v0.4.2

Choose a tag to compare

@koisland koisland released this 09 Mar 04:26
· 96 commits to main since this release

This release adds battle_to_df(), a function that converts battle history to a tabular TSV format, and some quality-of-life functions. Read more in the docs. This also tidies up the library and addresses some bugs.

Features

  • Added battle_to_df() to convert battle history to a data frame.
  • Added is_non_specific() method for Position to check if it is non-specific to the current position.
  • Added check_activate() for Effect to check if an Outcome trigger activates it.

Changes

  • Renamed TeamViewer trait's check_eq_cond() to filter_matching_pets()
  • Included Statistics of afflicting and affected pets to graphs in Team verbose dags.
  • Changed Team names to only include alphanumeric characters.
    • This ensures that any data frames produced are always formatted correctly.
  • Changed effect-applying methods to always use the seed of the team invoking the method.
    • Certain Positions would use the team of the pet being affected.

Bug-Fixes

  • Fixed Mosquito effect not scaling with level.
  • Fixes Chili effect not triggering pets with Knockout abilities like Rhino or Hippo.
  • Fixed bug where cycles in TeamEffects::trigger_all_effect() were reset.