mob
Class
Magician
Hp = 100
MaxHp = 100
Mp = 50
MaxMp = 50
Stat()
..()
statpanel("Statistics")
stat("Hp",src.health_meter)
stat("Mp",src.mana_meter)
src.Update(src)
src.health_meter.num = (src.Hp/src.MaxHp)*src.health_meter.width
src.mana_meter.num = (src.Mp/src.MaxMp)*src.mana_meter.width
src.health_meter.Update()
src.mana_meter.Update()
src.health_meter.name = "[src.Hp]/[src.MaxHp]"
src.mana_meter.name = "[src.Mp]/[src.MaxMp]"
How I Need Help!
Well I am trying to make it so only magicians have MP and no one else But i dont now how to make Seperate Stat Panels Sorta Thing so i put it in a calss sorta thing but i dont now how to set the class variables and everything else to the client that chooses Magician i tried doing this
client = new/mob/Class/Magician()
But That Didnt Work !!!!HELP!!!!
To make seperate statpanels is quite simple.
Its pretty basic
I added an Elf class so you could see how to add more then one class.