{
    onModifyMovePriority: -5,
    onModifyMove(move) {
      if (!move.ignoreImmunity)
        move.ignoreImmunity = {};
      if (move.ignoreImmunity !== true) {
        move.ignoreImmunity["Psychic"] = true;
        move.ignoreAbility = true;
      }
    },
    onTryHitPriority: 1,
    onTryHit(target, source, move) {
      if (target !== source && move.type === "Psychic") {
        if (!this.boost({ spa: 1 })) {
          this.add("-immune", target, "[from] ability: Psychic Mastery");
        }
        return null;
      }
    },
    onAllyTryHitSide(target, source, move) {
      if (source === this.effectState.target || !target.isAlly(source))
        return;
      if (move.type === "Psychic") {
        this.boost({ spa: 1 }, this.effectState.target);
      }
    },
    flags: { breakable: 1 },
    name: "Psychic Mastery",
    rating: 3.5,
    num: -32070
  }