Support for integration tests, fixes
This commit is contained in:
1 parent
e7dc885afd
commit
2a0aaed4c3
13 files changed
+346
-14
No files matched your search
@@ -223,7 +223,7 @@ public class BattleImpl : ScriptSource, IBattle
|
||||
/// <inheritdoc />
|
||||
public bool CanUse(ITurnChoice choice)
|
||||
{
|
||||
if (choice.User.IsUsable)
|
||||
if (!choice.User.IsUsable)
|
||||
return false;
|
||||
if (choice is IMoveChoice moveChoice)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user