ID:176961
 
for some reason when i test my game the values of the stats (hp,strength etc.) dont show up in the stats menu. This is my code:

mob
var/hp
var/maxhp=1
var/gold
var/exp
var/maxexp
var/level
var/strength
var/speed
var/intel
var/maxmp=1
var/maxatk
var/baseatk
var/mp

New()
..()
hp=maxhp
mp=maxmp

mob/player
maxhp = 100
exp = 0
maxexp = 1000
level = 1
mp = 100
maxmp = 100
gold = 0
strength = 5
speed = 5
intel = 5
baseatk = 1
maxatk = 15

mob/bug
maxhp = 30
exp = 0
maxexp = 100000
level = 0
mp = 0
maxmp = 0
gold = 0
strength = 1
speed = 1
intel = 1
baseatk = 1
maxatk = 15

mob
Stat()
statpanel("Stats")
stat("Name","[usr]")
stat("HP","[hp]/[maxhp]")
stat("MP","[mp]/[maxmp]")
stat("Strength" ,"[strength]")
stat("Intel" ,"[intel]")
stat("Agility" ,"[speed]")
stat("Gold", "[gold]")
statpanel("Level")
Level " ,"[meelee]")
stat("Level" ,"[level]")
stat("Exp", "[exp]/[maxexp]")
statpanel("Ineventory")
stat(contents)

Thanks in advance