Classes | |
| class | 0.1.5::wyckedsceptre::wyckedsceptre::Die |
| Object for simulating a set of an m-numbered set of n-sided dice. More... | |
| class | 0.1.5::wyckedsceptre::wyckedsceptre::Attack |
| An object for simulating a single RPG attack. More... | |
| class | 0.1.5::wyckedsceptre::wyckedsceptre::Character |
| An object that describes an individual character. More... | |
| class | 0.1.5::wyckedsceptre::wyckedsceptre::Encounter |
| An object that describes a combat encounter between two parties. More... | |
Namespaces | |
| namespace | 0.1.5::wyckedsceptre::wyckedsceptre |
| namespace | wyckedsceptre |
wyckedsceptre is a Python 2.6.5 module for simulating encounters in Dungeons & Dragons First Edition (Red Book - 1E) and predicting outcomes of combat encounters. | |
Functions | |
| def | 0.1.5::wyckedsceptre::wyckedsceptre::assert_positive_integer |
| Verifies that a value is a positive integer or zero. | |
| def | 0.1.5::wyckedsceptre::wyckedsceptre::abil_to_mod |
| Converts an ability score to its modifier. | |
| def | 0.1.5::wyckedsceptre::wyckedsceptre::roll_new_character |
| Creates a new random character. | |
| def | 0.1.5::wyckedsceptre::wyckedsceptre::load_file |
| Loads a single object from a save file in pickle format. | |
| def | 0.1.5::wyckedsceptre::wyckedsceptre::save_file |
| Saves an object to a pickle file obj An object or variable to save out in pickle format filename The path to a file to save to (overwrite). | |
1.6.3