Ok, when I click SSJ, it won't change my icons and stats accordingly, could someone please help. Here is the code:
mob/saiyan/Goku
verb/SSJ()
set category = "Forms"
flick('SSJGokuTransform.dmi',usr)
if(ssj == 1)
if(ssj == 0)
if(usr.maxPL>=100000)
ssj = ssj+1
usr.maxPL = maxPL*10
usr.maxHP = maxHP*5
icon = 'SSJGoku.dmi'
else
ID:149023
Jul 25 2002, 8:33 pm
|
|
In response to Ter13
|
|
Thanks, and if I ask you for help with the Revert code for that, will you help me?
|
In response to Kamion
|
|
simple, all you gotta do is undo all the things you did in the ssj code. THINK about it, to learn you MUST do things on your own. I'll give you a hint, reverse all the mathematical modifications you made to the user's stats. OH! and one more thing, REMEMBER! If your SSJ levels up in HP, while in SSJ form, you HAVE to multiply the usual ammount of level up by like, what was it 10? oh, and you might want to multiply your current HP by 10 as well.
|
mob/saiyan/Goku
verb/SSJ()
set category = "Forms"
flick('SSJGokuTransform.dmi',usr)
if(usr.ssj == 1)
if(usr.maxPL>=100000)
usr.ssj += 1
usr.maxPL *= 10
usr.maxHP *= 5
usr.icon = 'SSJGoku.dmi'
return 1
else
return 0
the returns will set it to a true/false, so you can see if the proc succeeded or failed, always put one of those at the end of any proc