I'm trying to make on key in my table(of numerical values) be a specific number less than another. Here's what I wrote..(doesn't work).
function calculate_stats()
ArraySet ("stats", "siphp", "(ArrayGet ("stats", "truemaxhp) -350)")
note (ArrayGet ("stats", "siphp"))
end
What I want is to make the siphp key 350 less than the truemaxhp key.
Thanks!
function calculate_stats()
ArraySet ("stats", "siphp", "(ArrayGet ("stats", "truemaxhp) -350)")
note (ArrayGet ("stats", "siphp"))
end
What I want is to make the siphp key 350 less than the truemaxhp key.
Thanks!