Code:
CommanderStart()
for(var/mob/playable/Commander in /mob/playable)
usr.oldhp = usr.hp
usr.oldmaxhp = usr.maxhp
usr.oldsp = usr.sp
usr.oldmaxsp = usr.maxsp
usr.maxhp = Commander.maxhp
usr.maxsp = Commander.maxsp
usr.iscommander = Commander.iscommander
usr.icon = Commander.icon
usr.jumpdistance = Commander.jumpdistance
Problem description:
I made a test verb to change the player's variables into a mob's variables (instead of creating a new client). However, I can't help but feel that everything I'm doing here is wrong. The proc doesn't carry through.