Stat calculator for Fire Emblem
Project description
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:
- 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 = 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:
- Genealogy of the Holy War
- Thracia 776
- Sword of Seals
- Blazing Blade
- The Sacred Stones
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aenir-0.0.post1.dev1302.tar.gz.
File metadata
- Download URL: aenir-0.0.post1.dev1302.tar.gz
- Upload date:
- Size: 200.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f934bf4e1a217df3927435d2d5a8c90ee9946f1e3218773e56dacc16780e4482
|
|
| MD5 |
d9d0c12999d4583a00ffc214e6076465
|
|
| BLAKE2b-256 |
b47bebb6b1ec7d390acff8e3d6ab8f56fedc4c532f34a4b671e200beaf1f6d32
|
File details
Details for the file aenir-0.0.post1.dev1302-py3-none-any.whl.
File metadata
- Download URL: aenir-0.0.post1.dev1302-py3-none-any.whl
- Upload date:
- Size: 71.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fd15cf4e338cdd29436f9027e97b55d950faafe16d7aba03b23750ee9c6366b
|
|
| MD5 |
19b9f60d213893def6ab3fd9b6100b81
|
|
| BLAKE2b-256 |
f79a1388b64fc8102d4125cef0496c66801bf556e1b23ac089775dababe7dd55
|