ID:146707
 
Code:
mob
skills
verb
Ssj()
set category = "Fighting"
set name = "Transform"
if(usr.stamina >= 6)
if(usr.ssj == 1)
usr << "You are in SSJ already."
else
if(usr.ssj == 0)
usr.overlays -= 'hair_vegeta.dmi'
usr << "Your now ssj1."

if (usr.hair=="Vegeta")
var/hairover = 'hair_vegeta.dmi'
hairover += rgb(180,180,80)
usr.overlays += hairover
usr.ssj = 1
usr.state = "Super Saiya-jin"
usr.powerlevel = (usr.powerlevel * (rand(2,2.5)))
usr.powerlevel = round(usr.powerlevel)
else
..()


Problem description:

Wy is it not working and it even dont show up in my skill list even wen i have put it in with M.verbs += /mob/skills/verb/Ssj
Can some one help me or help me make a better one when this peace of code sucks and i want a revert mode not one when you click on ssj you turn back thnx
Maybe you could give an admin a verb to Give SSJ... And I would give you a better code, but I use Dragonball Coding with icon states, not overlays... sorry
In response to Lejendary Artz
doesnt metter can you give me the code :D
In response to Quxatrox
Quxatrox wrote:
doesnt metter can you give me the code :D

The Code

That said, make it yourself. Right now you have a transform verb that both Transforms and reverts to normal form. If you want a seperate verb for revert just take the code out of transform and make it into its own verb.
In response to Nick231
can you send me the coding you have for transform than -_- damn..
In response to Quxatrox
Why not search Developer Central for some transformation Demos...