So, say in example I want to call a list to add something to the variables described in the list, adding the values the variable holds.
var/list/LevelUp=list("HP"=(algorithm),"MP"=(algorithm))
mob
var{HP,MP}
proc/LevelUp()
//something to call LevelUp variable to distribute statistics
Well, I'm not quite sure you can do that. However, you can make a algabraic equation based on variables the player has and such. That hard part is actually finding an equation that suits you.