magefree / magefree/mage

Abilities with setTargetPointer set should throw a Wrong Code Usage error if you try to addTarget.

Open
#14,095 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Image

Couldn't blatantly see what's wrong in the code, but this is definitely very wrong.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior shown in the attached image and trace how abilities using setTargetPointer handle a subsequent addTarget call. Identify the relevant ability-targeting entry point and verify that this combination consistently raises a Wrong Code Usage error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.