Skip to main content

Stat calculator for Fire Emblem

Project description

Project generated with PyScaffold

Logo

This module lets you perform stat calculations for Fire Emblem units.

With this module, you can:

  • Create a virtual copy of a unit and their stats.
  • Level up that unit.
  • Promote that unit.
  • Compare one unit to another.
  • And much more!

Advice

Just use Triangle Attack.

Installation

To start, install aenir.

pip install aenir

Usage

Let's begin by starting up an interactive Python shell. We will start by importing the shortcut function get_morph.

from aenir import get_morph

To create a virtual copy of a unit (i.e. a 'Morph'), bear in mind the following:

  1. The name of the unit; this should have the SerenesForest.Net spelling.
  2. The number of the game the unit is from.

Let's say we want to get Roy's stats. Note that Roy is from FE6: The Sword of Seals.

roy = get_morph(6, "Roy")
print(roy)

As you can see, these stats suck. Let's fix that; let's level him up to level twenty.

num_levels = roy.max_level - roy.current_lv
roy.level_up(num_levels)
print(roy.current_stats.as_dict())

That's better. But it's still not enough. Let's promote him.

roy.promote()

For the fun of it, let's max him out.

num_levels = 19 # because he starts out at level one again.
roy.level_up(num_levels)
print(roy.current_stats.as_dict())

Note that when initializing certain characters, like Rutger, extra initialization parameters will be needed.

rutger = get_morph(6, "Rutger", hard_mode=True)
larcei = get_morph(4, "Lakche", father="Lex")
lyn = get_morph(7, "Lyn", lyn_mode=True)

Compare characters by using the greater-than operator.

stat_diff = roy.current_stats > lyn.current_stats
print(stat_diff.as_dict())

Limitations

Currently, this calculator works only for characters from:

  1. Genealogy of the Holy War
  2. Thracia 776
  3. Sword of Seals
  4. Blazing Blade
  5. The Sacred Stones
  6. Path of Radiance

COMING SOON!

Combat simulation Link Arena

Note

This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aenir-0.0.post1.dev1325.tar.gz (204.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aenir-0.0.post1.dev1325-py3-none-any.whl (73.3 kB view details)

Uploaded Python 3

File details

Details for the file aenir-0.0.post1.dev1325.tar.gz.

File metadata

  • Download URL: aenir-0.0.post1.dev1325.tar.gz
  • Upload date:
  • Size: 204.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for aenir-0.0.post1.dev1325.tar.gz
Algorithm Hash digest
SHA256 e89b16e62b8e7f3467b717fa8a88781eab8a30c80e2b74c2c6e845a1e451cb83
MD5 670106584ae9caea4d3e4bb658eaea4b
BLAKE2b-256 54f23dbb6ca7f6a656d2d4f236a126eeab12c80f9fb73741b4bfd69b8e6faf71

See more details on using hashes here.

File details

Details for the file aenir-0.0.post1.dev1325-py3-none-any.whl.

File metadata

File hashes

Hashes for aenir-0.0.post1.dev1325-py3-none-any.whl
Algorithm Hash digest
SHA256 d698770b06a90609a9dd4b3408df115ed51205c346397c6b3d4025f20474be2b
MD5 af95d80426d63620ef7b57fa6ed4ff0d
BLAKE2b-256 ed13f49473b2d8b7a1761a0ec6b1f88f1c5179d2603d545568b0240315a297db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page