You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cure
--------------
Target: You
Accuracy: 100
MP Used: 2
Spell that heals wounds a little bit.
Cost: 20
Pres Enter To Go Back
How many do you want to buy? 1
Traceback (most recent call last):
File "main.py", line 132, in <module>
menu(new_player)
File "main.py", line 108, in menu
choices[choice](player)
File "/home/bran/dungeon-quest/actions.py", line 152, in visit_shop
visit_shop_section(area, areas[area], player)
File "/home/bran/dungeon-quest/actions.py", line 181, in visit_shop_section
area, player)
File "/home/bran/dungeon-quest/actions.py", line 205, in checkout_item
visit_shop_section(section, section_dict, player)
File "/home/bran/dungeon-quest/actions.py", line 181, in visit_shop_section
area, player)
File "/home/bran/dungeon-quest/actions.py", line 210, in checkout_item
section_dict, player, True)
File "/home/bran/dungeon-quest/actions.py", line 224, in checkout_item
if amount and player.gold_handle(cost*amount):
File "/home/bran/dungeon-quest/player.py", line 360, in gold_handle
self.stat_modifier({"gold", -cost})
File "/home/bran/dungeon-quest/character.py", line 117, in stat_modifier
mod = stat_mod[stat]
TypeError: 'set' object does not support indexing
The text was updated successfully, but these errors were encountered:
Issue #25, #24, #22, #20, and #19 have all been fixed. To make
1v1 battles less repetitive, the feature brought up in issue #23
has been implemented. Also for dev testing, gold has been preset.
The text was updated successfully, but these errors were encountered: