OpenXcom Forum

Modding => Help => Topic started by: mikKoi on September 14, 2022, 10:24:35 pm

Title: Some armor recovery question/s
Post 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:

Code: [Select]
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).
Title: Re: Some armor recovery question/s
Post by: Meridian on September 14, 2022, 10:32:03 pm
Code: [Select]
  manaNormalized: 80

equals to currentMana / maxMana * 80
Title: Re: Some armor recovery question/s
Post by: mikKoi on September 14, 2022, 10:36:41 pm
OK it was it after all  :) Thank ya so muh!