This release is a pre-release and may not be stable for production use.
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!
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:
- The name of the unit; this should have the SerenesForest.Net spelling.
- 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 = 20 - roy.current_lv
roy.level_up(num_levels)
print(roy)
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)
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.
roy > lyn
print(sum(roy > lyn))
Limitations
Currently, this calculator works only for characters from:
- Genealogy of the Holy War
- Thracia 776
- Sword of Seals
- Blazing Blade
- The Sacred Stones
- Path of Radiance
COMING SOON!
Combat simulation
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
Release files for aenir 0.0.post1.dev1277
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aenir-0.0.post1.dev1277.tar.gz | 198.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aenir-0.0.post1.dev1277-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 269.0 kB
Release files / aenir-0.0.post1.dev1277.tar.gz
| Download URL | aenir-0.0.post1.dev1277.tar.gz |
|---|---|
| Size | 198.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8421c7ca0fc7c64a151a7eae2f685c22302579a0a43205a2f52b92d1f9e28edf
|
|
BLAKE2b-256 checksum How to use checksums |
a60c5c281665ef58dde97fdae10820bbef70dc9e7cad45bed954cac8d8b2bdd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / aenir-0.0.post1.dev1277-py3-none-any.whl
| Download URL | aenir-0.0.post1.dev1277-py3-none-any.whl |
|---|---|
| Size | 70.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
928c43f28c7d65f23c04bd8eb7a7411ee3c1677f415b9a513fa71084365b5939
|
|
BLAKE2b-256 checksum How to use checksums |
900da3ba39753e288b81dd46a09503e98791869536e623622990d72e5928fb29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|