Skip to content

[Issue Report]: Resurrect doesn't work on gamepad #7946

Open
@StephenCWills

Description

@StephenCWills

Operating System

Linux x64

DevilutionX version

1.5.4

Describe

Selecting the spell from the speedbook and then using the spell action to cast it will result in the player saying "I can't cast that here" regardless of whether they are in range of another player's corpse. When using the virtual gamepad, nothing happens when you attempt to cast it, not even the voice line.

Attempting to cast the scroll from the inventory will trigger the spellcasting animation and consume the scroll. This should not happen. The only valid way to cast it is via the speedbook.

To Reproduce

  1. Launch two DevilutionX clients
  2. Create a TCP game on one client
  3. Join the TCP game on the other client
  4. Enter dlvl 1 on both clients
  5. Kill one of the players
  6. Hook up a gamepad and attempt to use Resurrect on the dead player

Expected Behavior

Casting Resurrect from the speedbook should enable targeting players. Casting the spell should Resurrect the targeted player. Attempting to use the scroll from the inventory should do nothing.

Additional context

Also tested in 1.6-beta using commit f172c9f. I didn't notice any difference in behavior between 1.5.4 and 1.6.

Note that the scroll's text suggests that it can be used directly from the inventory. This is correct given that the game currently allows it, but since the behavior is wrong that text will also need to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions