As a quick break my character builder work, I decided to make a helper app for Critical Injuries, which should make their assignment a lot faster.
The script asks how many critical injuries the target already has, and if the attacker is granted any other bonuses (and how much) before either letting the computer roll or inputting a roll by hand.
It then adds them all together, looks up the resulting critical injury, and displays the results.
Typical run:
>>> python SW_EotE_CriticalInjuries.py
Edge of the Empire Critical Hit Calculator
Python Edition 1.0, by Shidarin
All Star Wars & Edge of the Empire material is
Copywrite Lucasfilm Ltd and Fantasy Flight Games
How many critical injuries have yet to be healed?: 3
Please enter any bonuses additional advantage, talents, etc grant: 20
You can:
[1] Let the computer roll for you
or
[2] Input a roll manually.
Which option do you choose?: 1
Critical Injury Table
| Roll | Severity | Result |
| 53 | Average [**] | Fearsome Wound: The target increases the difficulty of all Presence and Will |
| power checks by (1) until the end of the encounter. |
The python version is 2.7, but most 2.x flavors should be compatible. 3.x will not be.
All OSX and most Linux distro's come with 2.x installed. Just download the script, open up a terminal window and type:
python TheScriptYouDownloadedFromThisPage.py
Python can be downloaded here.
The Self-Executing versions do NOT require python. I'll have a Win build up shortly.
Please post any bugs you find, or (if you know Python) diatribes about how shoddy the coding is (no seriously, advice would be great).