obj
aura
verb
powerup()
set name = "Power Up"
set category = "Fighting"
if(usr.powered == null||1||0)
if(usr.powerlevel < usr.maxpowerlevel)
while(usr.powerlevel < usr.maxpowerlevel) //while their powerlevel is less than their max
usr.powerlevel += usr.maxpowerlevel/10 //increase it by 1/10 of their max every 2 seconds
//skills.dm:350: Inconsistent indentation.
sleep(20)
//skills.dm:351: Inconsistent indentation.
goto loop
//skills.dm:352: Inconsistent indentation.
usr.dir=2
usr.icon_state="ssj"
usr << "<B>An aura flickers around you."
view()<<sound('energy.wav')
var/aura = 'whiteaura.dmi'
aura += rgb(usr.customred,usr.customgreen,usr.customblue)
usr.underlays += aura
poweruploop
if(usr.powerlevel >= usr.maxpowerlevel)
usr << "You finish powering up."
break //ends proc if powerlevel is max or greater
usr.icon_state=""
usr.underlays -= aura
usr.overlays -= /obj/ray
usr.ptime = 1
sleep(1800)
usr.ptime = 0
Problem description:
plz help to repair this
EDIT: Also you have to state the problem of the code, not just tell us to read over it.
->Calus CoRPS<-