mob/var
HP = 0
MHP = 0
MP = 0
MMP = 0
Str = 0
Mana_Power = 0
Class = ""
Exp = 0
Mexp = 0
Level = 1
host = ""
mob/create_character/Login()
if(client.CheckPassport("14c847b7157ec746"))
var/mob/character
full_access = 1
usr<<sound('opening.mid',1)
var/charactername = input("Hello, Pick a name for your character, something you wish for people to call you in the game.","Character Name?")
switch(input("Below pick one of the following backgrounds you wish for your character to be. It determines what you look like in the game.","Character Background?") in list("Frog-Woman","Frog-Man","Human(Male)","Human(Female)"))
if ("Frog-Man")
character = new /mob/You/Warrior()
if ("Frog-Woman")
character = new /mob/You/Warrior2()
if ("Human(Male)")
character = new /mob/You/Cleric()
if ("Human(Female)")
character = new /mob/You/Magician()
switch(input("What class do you want?")in list("Monk","Sorcerer","Knight"))
if("Monk")
usr.HP += 25
usr.MHP += 25
usr.MP += 5
usr.MMP += 5
usr.Mana_Power += 10
usr.Str += 15
usr.Class += "Monk"
usr.Exp += 0
usr.Mexp += 20
if("Sorcerer")
usr.HP += 14
usr.MHP += 14
usr.MP += 25
usr.MMP += 25
usr.Mana_Power += rand(10,20)
usr.Str += 7
usr.Class += "Sorcerer"
usr.Exp += 0
usr.Mexp += 13
if("Knight")
usr.HP += 20
usr.MHP += 20
usr.MP += 0
usr.MMP += 0
usr.Mana_Power += 0
usr.Str += 25
usr.Class += "Knight"
usr.Exp += 0
usr.Mexp += 27
character.name = charactername
src.client.mob = character
character.loc=locate (2,2,1)
world<<"<B>[character] has logged in!"
del(src)
..()
else
var/mob/character
full_access = 0
usr<<sound('opening.mid',1)
usr.loc=locate(8,7,2)
var/charactername = input("Hello, Pick a name for your character, something you wish for people to call you in the game.","Character Name?")
switch(input("Below pick one of the following backgrounds you wish for your character to be. It determines what skills you get in the game.","Character Background?") in list("Frog-Woman","Frog-Man","Human(Male)","Human(Female)"))
if ("Frog-Man")
character = new /mob/You/Warrior()
if ("Frog-Woman")
character = new /mob/You/Warrior2()
if ("Human(Male)")
character = new /mob/You/Cleric()
if ("Human(Female)")
character = new /mob/You/Magician()
switch(input("What class do you want? this decides your stats.")in list("Monk","Sorcerer","Knight"))
if("Monk")
usr.HP += 25
usr.MHP += 25
usr.MP += 5
usr.MMP += 5
usr.Mana_Power += 10
usr.Str += 15
usr.Class += "Monk"
usr.Exp += 0
usr.Mexp += 20
if("Sorcerer")
usr.HP += 14
usr.MHP += 14
usr.MP += 25
usr.MMP += 25
usr.Mana_Power += rand(10,20)
usr.Str += 7
usr.Class += "Sorcerer"
usr.Exp += 0
usr.Mexp += 13
if("Knight")
usr.HP += 20
usr.MHP += 20
usr.MP += 0
usr.MMP += 0
usr.Mana_Power += 0
usr.Str += 25
usr.Class += "Knight"
usr.Exp += 0
usr.Mexp += 27
character.name = charactername
src.client.mob = character
character.loc=locate (2,2,1)
world<<"<B>[character] has logged in!"
del(src)
..()
Problem description:When I log in, all my stats are 0 instead of what the login says they should be