Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating npc pokemon based on level.
#4
William Wrote:I understand what you mean, and don't think it's a good idea to do it that way. You should probably use a function for it:

Code:
Function GetPokeStats(ByVal PokemonIndex As Long, ByVal level As Long) As Long
    Int(Pokemon(PokemonIndex).Str) = 1.2 * Level
    etc...
End Function

And then make types for the pokemons. Not sure if this was what you was looking for. Just gave you a fast idea I had.

But still, its very hard for us to give you some hints on this, because we dont know how the pokemon works, and how you are going to use the stats.

I think you know what I mean exactly.

The problem is, I don't want to use a formula to calculate it's stats per level. Instead, I want to calculate it based on it's base stats, and on an .ini file that has the amount of stat points it should grow per level. It can vary per level.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)