• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Lua] Pokemon level system

Salamon

New Member
Joined
Jul 4, 2011
Messages
2
Reaction score
0
hi there

i must admit i had a bit problem with this, im not total newb about scripting, in old ages i was writing plugins to cs', i was dealing with L2 (Lineage 2) files, so i was scripting something, but this is a bit harder than i thought, so that's why im asking about an example for pokemon leveling system, how to start this? i mean to make possible to exp pokemon too, make evolutions and moves depend on pokemon lvl, not ours

i will be gratefull for any clues/tips, examples
 
First search the way to store the exp for each pokemon (With 2 forms (savage pokemons, pokemon with trainer(summon)), who you can proccess this stored information when the pokemon catch a savage pokemon!
Then you create a function that will return an int value thar corresponds to level pokemon by experience: 'getPokemonLevelByExperience'
.....
....
..

Good luck!
 
Back
Top