#80 CTD on bomb explosion

Open
opened 1 week ago by eugeneloza · 1 comments

A goblin bobmer threw a bomb, and when it should have exploded:

###############################################
Traceback (most recent call last):
  File "/home/eugene/rogueboxadventures/main.py", line 13375, in <module>
    main()
  File "/home/eugene/rogueboxadventures/main.py", line 13359, in main
    test = player.user_input()
  File "/home/eugene/rogueboxadventures/main.py", line 9737, in user_input
    time.tick()
  File "/home/eugene/rogueboxadventures/main.py", line 12797, in tick
    if world.maplist[player.pos[2]][player.on_map].npcs[yy][xx].techID == ml.mlist['special'][14].techID: #this is a demonic chest
AttributeError: 'int' object has no attribute 'techID'

P.S. There were no demonic chests around.

A goblin bobmer threw a bomb, and when it should have exploded: ``` ############################################### Traceback (most recent call last): File "/home/eugene/rogueboxadventures/main.py", line 13375, in <module> main() File "/home/eugene/rogueboxadventures/main.py", line 13359, in main test = player.user_input() File "/home/eugene/rogueboxadventures/main.py", line 9737, in user_input time.tick() File "/home/eugene/rogueboxadventures/main.py", line 12797, in tick if world.maplist[player.pos[2]][player.on_map].npcs[yy][xx].techID == ml.mlist['special'][14].techID: #this is a demonic chest AttributeError: 'int' object has no attribute 'techID' ``` P.S. There were no demonic chests around.
themightyglider commented 1 week ago
Owner

This should be fixed now. Please let me know if it works.

EDIT: Fixed typo

This should be fixed now. Please let me know if it works. EDIT: Fixed typo
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.