ID:177495
 
Since my last post seemed to generate negative thoughts... I thought I'd ask my question in a different way.

What I want to know is how to make something evolve at a certain powerlevel, level whatever.(i.e. a pikachu evolving into raichu.)

And no my game will not be DBZ.
You said pikachu... Bye bye help...
Everytime X increases, run a proc to see if X > Y, if so, do Z.
mob
proc

evolvecheck()
if(src.level == 10)
src << "You change into form 2!"
//stuff

if(src.level == 50)
src << "You change into form 3!"
//stuff

levelcheck()
if(src.exp >= src.maxexp)
src.level++
src.maxexp = src.maxexp*2
src.evolvecheck()
else
return

verb
attack(mob/M)
src.exp+=rand(1,20)
src.levelcheck()

In response to Nadrew
Ty lots.

And no its not a pokemon game either. I couldn't think of any other examples besides Goku going SSJ.

Also, how do you tell it what you want it to evolve into?
Sorry if its there and I don't see it, but im pretty new to this.
In response to Gotrex
Look up the input() proc.