mob
proc
Age(mob/M as mob)
for() //loop this action
M.age += 1 // add 1 to the age of M
usr<<"<b><font color=red>Event</font></b>: You are now older and wiser."
sleep(1)//wait for 3 seconds
if(M.age>=100)
M.maxhealth+=100000
world<<"<b><font color=red>World event</font></b>:[M] have found sense in his life."
return
Problem description:
LoL i think there should be special account for guys like me, im really often here if you know what i mean.
OK the problem is, i dont know how to set a limit for age...this i made now make a really annoying bug, everytime mob login he get 100k hp xD
You can stop this by two ways:
1) Check if the age is in limits. If it equals to pass the level, don't make it call
2) Change for() to while(src.age<=[whatever you want max to be])
E.g. for choice #1:
- GhostAnime