obj
Transformation
verb
Transform()
set category = "Fighting"
set name = "Transform"
switch(input("Which form do you wish to Transform/Revert?","Transform",text) in list("Super Saiyan 5","Super Saiyan 6","Super Saiyan 7"
,"Super Saiyan 8","Revert","None"))
if("Super Saiyan 5")
if(usr.state == "Normal")
if(usr.maxpowerlevel >= 5000000000)
view(6) << "<font color = green>-[usr.name]<font color = white> begins to transform!-"
usr.icon = 'Ssj5-10b.dmi'
usr.powerlevel = usr.maxpowerlevel * 17
usr.state = "ssj5"
else
usr << "<i>You still are too weak and you need 5000000000 pl to go ssj5...."
else
usr << "<b>You must be in Normal."
if("Super Saiyan 6")
if(usr.state == "Super Saiyan 5")
if(usr.maxpowerlevel >= 9000000000)
view(6) << "<font color = green>-[usr.name]<font color = white> begins to transform!-"
usr.icon = 'Ssj5-10b.dmi'
usr.powerlevel = usr.maxpowerlevel * 25
usr.state = "ssj6"
else
usr << "<i>You still are too weak and you need 9000000000 pl to go ssj6..."
else
usr << "<b>You must be in Normal."
if("Super Saiyan 7")
if(usr.state == "Super Saiyan 6")
if(usr.maxpowerlevel >= 15000000000)
view(6) << "<font color = green>-[usr.name]<font color = white> begins to transform!-"
usr.icon = 'Ssj5-10b.dmi'
usr.powerlevel = usr.maxpowerlevel * 35
usr.state = "ssj7"
else
usr << "<i>You still are too weak and you need 15000000000 pl to go ssj7..."
else
usr << "<b>You must be in Normal."
if("Super Saiyan 8")
if(usr.state == "Super Saiyan 7")
if(usr.maxpowerlevel >= 20000000000)
view(6) << "<font color = green>-[usr.name]<font color = white> begins to transform!-"
usr.icon = 'Ssj5-10b.dmi'
usr.powerlevel = usr.maxpowerlevel * 45
usr.state = "ssj8"
else
usr << "<i>You still are too weak and you need 20000000000 pl to go ssj8..."
else
usr << "<b>You must be in Normal."
if("Revert")
if(usr.state=="Normal")
usr << "You are reverted already."
else
view(6) << "<font color = green>-[usr.name]<font color = white> begins to revert from [usr.state]-"
flick("revert",usr)
usr.icon = 'male.dmi'
usr.state = "Normal"
if(usr.powerlevel >= usr.maxpowerlevel)
usr.powerlevel = usr.maxpowerlevel
How can i fix this?
Lummox JR