ID:262580
 
Code:
mob
verb
Super_Saiyan()
set category = "Skills"
if(usr.race == "Saiyan")
if(usr.ssj)
usr << "You're already SSJ!"
else
if(usr.maxpowerlevel>= 1000)
usr << "<b>You transformed into a Super Saiyan!!!"
flick("SSJ",usr)
view()<< "<b>[usr] has transformed into a Super Saiyan."
usr.overlays-=/obj/Goku
usr.ssj=1
sleep(10)
usr.overlays+=new/obj/SSJGoku

Revert()
set category = "Skills"
if(!usr.ssj)
usr << "You're already normal!"
else
usr << "<font color=yellow><B>You revert from Super Saiyan..."
usr.overlays-=/obj/SSJGoku
usr.ssj=0
sleep(10)
usr.overlays+=new/obj/Goku
if(usr.powerlevel >= src.maxpowerlevel)
usr.powerlevel = src.maxpowerlevel


Problem description:
loading DragonBall No Return.dme
transoformations.dm:5:if :warning: if statement has no effect
loading Map.dmp
saving DragonBall No Return.dmb (DEBUG mode)

DragonBall No Return.dmb - 0 errors, 1 warning (double-click on an error to jump to it)------ the warning is stoping me from making it work and i have tried to fix the problem but its not working if u do not want to (code my game) just tell me how to make the if statement have effect.


thanks

You guy have really problems with indentation...
            if(usr.race == "Saiyan")
if(usr.ssj)
usr << "You're already SSJ!"
In response to CIB
thanks