Stat()
statpanel("Inventory", contents)
statpanel("Player")
stat("")
stat("Health","[health]/[max_health]")
stat("Mana","[mana]/[max_mana]")
stat("Rage","[mana]/[max_mana]")
stat("Attack",atk)
stat("Defense",def)
stat("")
stat("Skills:","")
var/tmp/i
for(i=1;i<=skill_names.len,i++)
stat("",skill_names[i])
Placeholder skill list:
var
global
list
skill_names= list(
"Flaming Fireball",
"Cutting Edge"
)
Problem description:
I want to when I click in a skill in the stats, to exceute that skill (or a proc at least)