OpenXcom Forum
Modding => Help => Topic started by: mikKoi on September 14, 2022, 10:24:35 pm
-
Hey, I’m using mana as vitality and would like to recover time units like:
currentManaPercent: 0.8 #actual PERCENT of vitality now times 0.8
…but dunno how to do it. Maybe I need a script for it or use of that manaNormalized tag (which I don’t know how it works, so that’s an another question :P).
-
manaNormalized: 80
equals to currentMana / maxMana * 80
-
OK it was it after all :) Thank ya so muh!