how do i make it so at say level 20 you learn sword attack or whatever.
mob
proc
Levelup()
if(src.exp>=src.maxexp)
src.level++
src.exp=0
src.maxexp*=1.5
src<<"\red You gained a level!"
else
..()
ID:266427
Mar 9 2002, 5:26 pm
|
|
In response to Strange Kidd
|
|
Don't answer questions unless you know what you're talking about. Now go look up ++ in the reference.
|
In response to Nadrew
|
|
:'( I always wanted to feel special but i guess i cant
|
mob Edit: (made the code more helpful ^_^) Replace sword technique with a verb you made (DON'T list the verb under user or mob unless you want them to always have this ;) |
where it says
src.level++ make it src.level+=1