Skip to content
Snippets Groups Projects
Commit 22fdde03 authored by Zoey76's avatar Zoey76
Browse files

Fixed EnemyOnly target handler

Fixed a bug where in duel player couldn't use debuffs such as Surrender
to Fire against enemy, with or without ctrl key pressed.
Fixed a bug that didn't allow to use debuff in Olympiad when opposing
side was Clan or Alliance mate.

Skills using this target handler cannot be used in party members,
regardless of being in PvP area.

Skills using this target handler can be used in Clan mates while inside
PvP area.

Guessed that unless in PvP area skills using this target handler cannot
be used in Alliance or Command Channel members.

---

Unit tests:
Each target case is properly documented using a single unit test.
Added 100% coverage unit tests for this target handler.
Replaced Mockito with EasyMock.
parent 34f1c018
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment