#62 Player sometimes gets stuck

Closed
opened 3 months ago by eugeneloza · 8 comments

If spellbook of healing aura is used when player is standing over something interactible (a chest, or a sarcophagus - tested) player is unable to move until he picks up the item he is standing over. Feels like "healing aura" is impassible.

I've also once saw a random "stuck" after used a scroll of return on low health, but I couldn't reproduce it.

If spellbook of healing aura is used when player is standing over something interactible (a chest, or a sarcophagus - tested) player is unable to move until he picks up the item he is standing over. Feels like "healing aura" is impassible. I've also once saw a random "stuck" after used a scroll of return on low health, but I couldn't reproduce it.
eugeneloza commented 3 months ago
Poster

Found the reason behind the second variant of "stuck" - player was hexed and after using "Scroll of return" couldn't move until the hex weared off.

Found the reason behind the second variant of "stuck" - player was hexed and after using "Scroll of return" couldn't move until the hex weared off.
themightyglider commented 3 months ago
Owner

The second is technically no bug. You can't walk avout holy ground (sanctuary) as long you yre hexed. The first case on the other hand sounds a bit strange to me. I'kl investigate this.

The second is technically no bug. You can't walk avout holy ground (sanctuary) as long you yre hexed. The first case on the other hand sounds a bit strange to me. I'kl investigate this.
eugeneloza commented 3 months ago
Poster

About the first one - yes, healing aura is completely inpassable (neither by player, nor by enemies). The only way is to wait it wear off.

About the first one - yes, healing aura is completely inpassable (neither by player, nor by enemies). The only way is to wait it wear off.
themightyglider commented 2 months ago
Owner

The use of healing aura and return spells now removes the hexed buff. This should fix most of the issues.

The use of healing aura and return spells now removes the hexed buff. This should fix most of the issues.
eugeneloza commented 2 months ago
Poster

Nope, not working with spell of return:

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 9752, in user_input
    self.inventory.inv_user_interaction()
  File "/home/eugene/rogueboxadventures/main.py", line 12296, in inv_user_interaction
    test = self.use(slot)
  File "/home/eugene/rogueboxadventures/main.py", line 11567, in use
    del player.buffs.buff_list['hexed']
KeyError: 'hexed'
Nope, not working with spell of return: ``` 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 9752, in user_input self.inventory.inv_user_interaction() File "/home/eugene/rogueboxadventures/main.py", line 12296, in inv_user_interaction test = self.use(slot) File "/home/eugene/rogueboxadventures/main.py", line 11567, in use del player.buffs.buff_list['hexed'] KeyError: 'hexed' ```
themightyglider commented 1 month ago
Owner

This should also be fixed meanwhile.

This should also be fixed meanwhile.
eugeneloza commented 1 month ago
Poster

Unfortunately the issue is still at work. Character is hexed, I've used Scroll of return and unable to move over Elysium until hex wears off.

Unfortunately the issue is still at work. Character is hexed, I've used Scroll of return and unable to move over Elysium until hex wears off.
themightyglider commented 1 month ago
Owner

I've found the problem. It was a typo in buff.remove_buff(). I have fixed this. Now it works.

Furthermore I added a warning message if you try to pass holy ground while you're hexed.

I've found the problem. It was a typo in buff.remove_buff(). I have fixed this. Now it works. Furthermore I added a warning message if you try to pass holy ground while you're hexed.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.