Getting started with implementing an explicit AI, based on the Essentials one.
All checks were successful
Build / Build (push) Successful in 1m2s
All checks were successful
Build / Build (push) Successful in 1m2s
This commit is contained in:
@@ -27,7 +27,7 @@ public class PsychicTerrain : Script, IScriptIsInvulnerableToMove, IScriptChange
|
||||
if (!IsAffectedByTerrain(target))
|
||||
return;
|
||||
|
||||
// Psychic Terrain prevents priority moves from affecting affected Pokémon.
|
||||
// Psychic Terrain prevents priority moves from affected Pokémon.
|
||||
if (move.MoveChoice.Priority > 0)
|
||||
{
|
||||
invulnerable = true;
|
||||
|
||||
Reference in New Issue
Block a user