ID:147500
 

mob/verb/Super_Saiyan()
if(usr.level > 99)
if(usr.SS1 == 0)
src << sound('SS1.wav',0)
usr.overlays -= 'ShortHairTrunks.dmi'
usr.underlays += 'ssaura.dmi'
usr.overlays += 'SSTrunksHair.dmi'
flick('Male-Saiyan-White-Transform-SS1.dmi',usr)
usr << "You turn into a Super Saiyan"
oview(6) << "[usr]'<b><font color =blue>Transforms into a Super Saiyan as he has a great power increase and his hair turns yellow as an aura of gold and white surrounds him!"
usr.PL = usr.PL*4
usr.strength = usr.strength*4
usr.defense = usr.defense*2
SS1 = 1
else
usr.overlays += 'ShortHairTrunks.dmi'
usr.underlays -= 'ssaura.dmi'
usr.overlays -= 'SSTrunksHair.dmi'
flick('Male-Saiyan-Revert-SS1.dmi',usr)
flick('Male-Saiyan-Revert-SS1.dmi',usr.overlays)
usr.underlays -= 'ssaura.dmi'
usr << "You revert from being a Super Saiyan"
oview(6) << "[usr]'<b><font color =blue>s hair returns to normal and the aura from around his body fades away."
usr.PL = usr.PL/4
usr.strength = usr.strength/4
usr.defense = usr.defense/2
SS1 = 0
else
usr << "You are too weak!"


This is the code, the problem is.. the hair only displays a flick and the body doesnt.. anyone know why?
Are you sure that it is stating a correct Icon State? Maybe you made two and that is the one you are triggering. Otherwise, cant really help, sorry.
In response to Metroid
its right hmmm I dont know whats wrong