-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement/160 until out of mana option #199
Conversation
melvio
commented
Oct 10, 2021
- Fix comment error
- Add mana information to spell models
- Shorten spell.spell_name to spell.name
- Add --until-out-of-mana
- Add -u and add unittest
9d94952
to
ddd82c2
Compare
Also added `hopla cast {spell}` unittests.
775a0ad
to
18af052
Compare
18af052
to
96e043d
Compare
e0a1831
to
b04c519
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self reviewed
spell = Spell(name=spell_name) | ||
assert spell.name == spell_name | ||
assert 15 <= spell.mana_required <= 45 | ||
assert spell.class_name in ["wizard", "healer", "rogue", "warrior"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a HabiticaClassData for this list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done