Author Topic: [Cancelled] costUse include other stats beside TU, HP, Energy, Morale and Mana.  (Read 122 times)

Offline Precentor Apollyon

  • Colonel
  • ****
  • Posts: 415
    • View Profile
Hi Meridian,

If this is not a big job. Currently costUse can only affect

     time:
     energy:
     morale:
     mana:
     health:

Can you also include the other missing stats like.

      stamina
      bravery:
      reactions:
      firing:
      throwing:
      strength:
      psiStrength:
      psiSkill:
      melee: 

Thanks?

I would like to this feature create to create drugs that affect soldiers stats
« Last Edit: October 12, 2019, 05:48:14 pm by Precentor Apollyon »

Offline efrenespartano

  • Commander
  • *****
  • Posts: 549
  • I know a lot about the law and other lawyerings.
    • View Profile
Finnik wrote some very cool scripts last year that will help you get the results you look for.

https://openxcom.org/forum/index.php?topic=6721.0

Enviado desde mi LG-M400 mediante Tapatalk


Offline Precentor Apollyon

  • Colonel
  • ****
  • Posts: 415
    • View Profile
efrenespartano, you are the god man. Thank you for the link.

Meridian, don't worry about this.

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5473
  • Aaand we're back!
    • View Profile
    • My Wiki
Can you also include the other missing stats like.

No I cannot.

costUse cannot modify any stats, it can modify only resources. And it is already possible to modify all 6 resources.

current TU, energy, current HP, stun, morale and mana are not stats, they are resources.
max TU (pool), stamina, max HP (pool), bravery, (max) mana pool, firing/throwing/melee accuracy, strength, and so on... are not resources, they are stats.

Offline Precentor Apollyon

  • Colonel
  • ****
  • Posts: 415
    • View Profile
Thank you for the quick and kind reply Meridian. I appreciate the clarity.

Another solution is found.

I hope this message would be useful for others looking the same as what I am seeking.

Thank you all.