ID:149012
 
Well, the revert code does not work at all, it says I'm not SSJ when i am, and wont turn me back to the regular icon. and the SSJ2 code won't turn me into the SSJ2 icon, and doesn't raise the stats, and doesn't do anything
Here they Are:

mob/characters/Goku
verb/SSJ2()
set category = "Forms"
if(usr.ssj == usr.ssj+2)
usr<<"You are Already SSJ2"
if(usr.maxPL>=2000000)
flick('SSJGokuTransform.dmi',usr)
usr.ssj = usr.ssj+2
usr.PL *= 10
usr.maxPL *= 10
usr.HP *= 5
usr.maxHP *= 5
usr.icon = 'SSJ2Goku.dmi'
if(usr.maxPL<2000000)
usr<<"PL of 2000000 needed to go SSJ2"
return 1
else
return 0

mob/characters
verb/Revert()
set category = "Forms"
if(usr.ssj == usr.ssj+1)
usr.ssj = usr.ssj-1
usr.PL /= 10
usr.maxPL /= 10
usr.HP /= 5
usr.maxHP /= 5
icon = 'Goku.dmi'
if(usr.ssj == usr.ssj+2)
usr.ssj = usr.ssj-2
usr.PL /= 100
usr.maxPL /= 100
usr.HP /= 25
usr.maxHP /= 25
icon = 'Goku.dmi'
else
usr<<"You are not a Super Saiya-Jin right now"
You gotta eat a senzu.
Kamion wrote:
if(usr.ssj == usr.ssj+1)
if(usr.ssj == usr.ssj+2)

These lines seem to be your problem. A value can never be equal to a number higher than itself. :)

Try changing them to:

if(usr.ssj == 1)

and

if(usr.ssj == 2)


Hope that helps.