public PokemonEntityData(ushort pokedexNumber = 0, float height = 0, ushort _experienceYield = 0, ushort levelingRate = 0, ushort freindship = 0, float speed = 0, float acceleration = 0, float hp = 0, ushort attack = 0, ushort defense = 0, ushort specialAttack = 0, ushort specialDefense = 0, float CurrentStamina = 0, float MaxStamina = 0, float CurrentHp = 0, float mass = 0, float JumpHeight = 0, int CurrentLevel = 0, PokemonMoveSet pms = new PokemonMoveSet(), int guiID = 0, char bodyType = (char)0, float jMultiplier = 2f, float ljMultiplier = 2.5f) { PokedexNumber = pokedexNumber; Height = height; experienceYield = _experienceYield; LevelingRate = levelingRate; Freindship = freindship; Speed = speed; Acceleration = acceleration; Hp = hp; Attack = attack; Defense = defense; SpecialAttack = specialAttack; SpecialDefense = specialDefense; currentStamina = CurrentStamina; maxStamina = MaxStamina; currentHp = CurrentHp; Mass = mass; jumpHeight = JumpHeight; currentLevel = CurrentLevel; pokemonMoveSet = pms; guiId = guiID; BodyType = bodyType; jumpMultiplier = jMultiplier; longJumpMultiplier = ljMultiplier; }
/// <summary> /// gets the pokemon's default move set /// </summary> /// <param name="pokemonName">name of the pokemon</param> /// <returns>PokemonMOveSet</returns> public static PokemonMoveSet getBasePokemonMoveSet(string pokemonName) { PokemonMoveSet pms = new PokemonMoveSet { }; switch (pokemonName) { case "Cubone": pms = new PokemonMoveSet { pokemonMoveA = new PokemonMove { name = new ByteString30("Tackle"), isValid = true } }; break; case "Electrode": pms = new PokemonMoveSet { pokemonMoveA = new PokemonMove { name = new ByteString30("ThunderBolt"), isValid = true }, pokemonMoveB = new PokemonMove { name = new ByteString30("Tackle"), isValid = true }, pokemonMoveC = new PokemonMove { name = new ByteString30("spawnPoke"), isValid = true } }; break; } return(pms); }