static ExclusiveZCrystal MakeCrystal(string CrystalName, MoveInfo BaseMove, string MoveName, int Power, params PokemonSpecies[] SupportedSpecies) { return(new ExclusiveZCrystal(CrystalName + " Z", BaseMove, MoveName, new MoveInfo(MoveName, BaseMove.Type, BaseMove.Kind, Power, null, 1, null, true), SupportedSpecies)); }
public ExclusiveZCrystal(string CrystalName, MoveInfo BaseMove, string MoveName, MoveInfo ZMove, params PokemonSpecies[] SupportedSpecies) : base(CrystalName, BaseMove.Type, MoveName) { this.BaseMove = BaseMove; this.ZMove = ZMove; _supportedSpecies = SupportedSpecies; Description = $"Upgrades {SupportedSpecies[0].Name}'s {BaseMove.Name} to {MoveName}"; }
public static int GetZPower(MoveInfo MoveInfo) { if (MoveInfo == MoveInfo.MegaDrain) { return(120); } if (MoveInfo == MoveInfo.Hex) { return(160); } if (MoveInfo == MoveInfo.VCreate) { return(220); } // Weather Ball: 160 // Gear Grind: 180 // Flying Press: 170 // Core Enforcer: 140 var power = MoveInfo.Power; if (power >= 140) { return(200); } if (power >= 130) { return(195); } if (power >= 120) { return(190); } if (power >= 110) { return(185); } if (power >= 100) { return(180); } if (power >= 90) { return(175); } if (power >= 80) { return(160); } if (power >= 70) { return(140); } if (power >= 60) { return(120); } return(100); }