Fix doc typos. Resolve #3241
This commit is contained in:
parent
0acfbe82b4
commit
57bd4aa5e7
1 changed files with 39 additions and 39 deletions
|
|
@ -186,7 +186,7 @@ crazy big so the loop takes forever!
|
||||||
|
|
||||||
Now that we have the generic roller, we can start using it to do a more complex roll.
|
Now that we have the generic roller, we can start using it to do a more complex roll.
|
||||||
|
|
||||||
```
|
```python
|
||||||
# in mygame/evadventure/rules.py
|
# in mygame/evadventure/rules.py
|
||||||
|
|
||||||
# ...
|
# ...
|
||||||
|
|
@ -510,12 +510,12 @@ if you do, you die too.
|
||||||
|
|
||||||
death_table = (
|
death_table = (
|
||||||
("1-2", "dead"),
|
("1-2", "dead"),
|
||||||
("3": "strength",
|
("3", "strength"),
|
||||||
("4": "dexterity"),
|
("4", "dexterity"),
|
||||||
("5": "constitution"),
|
("5", "constitution"),
|
||||||
("6": "intelligence"),
|
("6", "intelligence"),
|
||||||
("7": "wisdom"),
|
("7", "wisdom"),
|
||||||
("8": "charisma"),
|
("8", "charisma"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -543,7 +543,7 @@ class EvAdventureRollEngine:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# refresh 1d4 health, but suffer 1d4 ability loss
|
# refresh 1d4 health, but suffer 1d4 ability loss
|
||||||
self.heal(character, self.roll("1d4")
|
self.heal(character, self.roll("1d4"))
|
||||||
setattr(character, ability_name, current_ability)
|
setattr(character, ability_name, current_ability)
|
||||||
|
|
||||||
character.msg(
|
character.msg(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue