namespace Gen7 { [Pokemon effect=Infatuated] class Infatuated : PkmnScript{ void PreventAttack(ExecutingMove@ attack, bool& result) override { if (attack.User.Battle.Random.Get(2) == 0){ result = true; } } } }