Commit Graph

63 Commits

Author SHA1 Message Date
007b033bdd battleman.py: Converted command parser to use the cmd module 2012-03-30 00:55:34 -04:00
796a26c3b3 diceroller.py: Refactored Dice object into its own library under lib/ 2012-03-29 22:55:39 -04:00
9f740180a8 Updated readme with information about new lib-ified classes and functions. 2012-03-29 18:31:38 -04:00
cdb245df99 battleman.py: Broke program into multiple components - data classes and input functions are now in separate modules. 2012-03-29 18:28:21 -04:00
109e967987 battleman.py: Implemented --resume, made global variables less global 2012-03-29 18:06:09 -04:00
b390c12241 Merge branch 'master' of github.com:annabunches/4etools 2012-03-29 17:21:50 -04:00
f6f8de5415 Merge branch 'master' of github.com:annabunches/4etools 2012-03-29 17:16:37 -04:00
af3988cc1a battleman.py: Added code to write pickle data for the battle... no way to read it back in yet though. 2012-03-29 17:07:18 -04:00
b8d87161f8 battleman.py: Added sensible no-arguments behavior to the commands that needed them 2012-03-26 17:38:08 -04:00
331da9c0b7 battleman.py: Updated help function to reflect future features 2012-03-25 14:45:18 -04:00
a2151557b1 Add code for printing full info for arbitrary combatants. 2012-03-25 14:35:20 -04:00
2cd5120ec0 battleman.py: Code cleanup and output format cleanup for combatant info printing. 2012-03-25 14:26:24 -04:00
a89acda1ac battleman.py: Code cleanup 2012-03-25 14:20:09 -04:00
029907edf2 battleman.py: removed spurious fixme comment 2012-03-25 14:16:37 -04:00
f5d16bfbaa battleman.py: Fixed recharges getting a roll the round they are used. 2012-03-25 14:16:09 -04:00
656e46d28e battleman.py: Avoid getting stuck in input loop when adding conditions or using recharge powers 2012-03-25 14:08:15 -04:00
14e5033c2d battleman.py: Fixed recharge rolling, added message when roll succeeds 2012-03-25 13:56:55 -04:00
0afd59aa88 battleman.py: Implemented UI side of recharge powers. 2012-03-25 01:53:32 -04:00
fddb2bf8bb battleman.py: Added recharge power rerolling, improved recharge inputting. 2012-03-25 01:18:53 -04:00
1da238be5a battleman.py: Added a feature to conditions that allows them to end at the start of a turn or the end of a turn 2012-03-25 01:08:56 -04:00
593c9d2937 Change readme filename 2012-03-24 02:00:12 -04:00
6a75ccb8f0 battleman.py: More documentation updates 2012-03-23 22:02:20 -04:00
cd2c915e87 battleman.py: Refactored stub functions 2012-03-23 21:57:08 -04:00
efff42c306 battleman.py: Updated documentation, added new stub functions to command list 2012-03-23 21:51:55 -04:00
7a0505fdf1 battleman.py: Added ability to add groups on the fly 2012-03-23 21:46:53 -04:00
c3cc6d85e0 battleman.py: Changed input functions to support partial data - they will prompt for anything that's missing. 2012-03-23 21:06:46 -04:00
3c78f41b93 battleman.py: cleanup help function 2012-03-23 20:47:25 -04:00
55feb9b55c battleman.py: Fixed removing conditions and the condition summary list 2012-03-23 18:34:57 -04:00
91d6e23099 battleman.py: Added code to remove conditions (not complete yet), improved timed condition logic 2012-03-23 17:44:06 -04:00
3b064ff717 battleman.py: Wrong function name. Should really test this stuff better. 2012-03-23 17:13:34 -04:00
8437071d3c battleman.py: Added informative messages when taking damage or gaining temporary hit points. 2012-03-23 17:12:00 -04:00
d09245db4c battleman.py: Implemented second wind and temporary hp. 2012-03-23 17:09:23 -04:00
33f44545bd battleman.py: Added the ability to enter commands all at once, to avoid needing the lengthy entry process. 2012-03-23 16:54:27 -04:00
9e5dcc90f7 Added .gitignore to make working with git.el easier. 2012-03-23 15:20:30 -04:00
07e2ef3ab2 Failed to commit Dice changes in earlier commit 2012-03-23 15:11:24 -04:00
0fc770f261 battleman.py: Implemented conditions 2012-03-23 15:06:13 -04:00
ac7396e6a3 battleman.py: Lots of output formatting and cleanup. 2012-03-23 12:59:03 -04:00
617c635206 battleman.py: Implemented healing surges, and refactored the combatant selection code in Battle 2012-03-23 12:14:00 -04:00
423d6975b4 dice.py: Renamed Dice.from_desc() to Dice.from_str()
Added some information to the readme
2012-03-23 11:16:12 -04:00
9d367b69b6 battleman.py: Refactored combatant printing code, and made it more consistent. 2012-03-22 18:32:40 -04:00
2bd533b27d battleman.py: Change list_ function names to format_, since they return strings instead of printing 2012-03-22 18:22:05 -04:00
fde1f34b30 battleman.py: Implementing healing 2012-03-22 18:21:17 -04:00
84f66955a7 battleman.py: Factored next round code into a separate function 2012-03-22 18:09:09 -04:00
e6e22d775c battleman.py: Implemented iterating over initiative order, tracking rounds, etc 2012-03-22 18:07:25 -04:00
36502d63f8 Added readme file 2012-03-22 17:58:23 -04:00
a59a4f1ea4 battleman.py: Refactored turn begin/end code 2012-03-22 17:50:50 -04:00
e40b485205 battleman.py: refactored and added error checking to input code 2012-03-22 15:18:16 -04:00
5f5fe29032 battleman.py: more formatting cleanup 2012-03-22 13:25:02 -04:00
5fd07e0ae1 battleman.py: Output formatting, added some new output when program is run 2012-03-22 12:03:44 -04:00
8704060b60 battleman.py: implemented initial code for handling damage 2012-03-21 23:27:45 -04:00