Fix doc typos. Resolve #3241

This commit is contained in:
Griatch 2023-07-26 23:18:24 +02:00
parent 0acfbe82b4
commit 57bd4aa5e7

View file

@ -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.
```
```python
# in mygame/evadventure/rules.py
# ...
@ -510,12 +510,12 @@ if you do, you die too.
death_table = (
("1-2", "dead"),
("3": "strength",
("4": "dexterity"),
("5": "constitution"),
("6": "intelligence"),
("7": "wisdom"),
("8": "charisma"),
("3", "strength"),
("4", "dexterity"),
("5", "constitution"),
("6", "intelligence"),
("7", "wisdom"),
("8", "charisma"),
)
@ -543,7 +543,7 @@ class EvAdventureRollEngine:
pass
else:
# 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)
character.msg(