PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Engine → Magic System
  • Assigned To No-one
  • Operating System Windows
  • Severity Low
  • Priority Very Low
  • Reported Version 0.7.27 Unreal
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by TrippedOnReality/Enarel - 05.12.2022
Last edited by Talad - 25.03.2024

FS#7596 - Casting with hotkeys automatically targets yourself

When using a hotkey to cast a spell on your shortcut bar, it automatically targets the player casting rather than the target.

Steps to reproduce:
1) set an attack spell to a shortcut (should be automatically set to number keys)
2) select an attackable npc
3) charge spell by holding down key
4) cast spell

result: system message of “you cannot attack yourself”

If you try to heal a friendly, the healing spell automatically targets you instead as well.

expected results: cast spell on the selected target.

Casting from the spellbook works, but you cannot charge the spell from there. Casting from the shortcut by clicking it also works, but you cannot charge/set spell power there either.

Closed by  Talad
25.03.2024 18:45
Reason for closing:  Fixed
Admin
Talad commented on 23.12.2022 18:09

The casting of spell through keybindings and charge spell window at the moment is trying to find the target under the combat mode cursor. But even this is not working as expected. I need to rethink the way I want this to work.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing