aliens

Author Topic: [Documentation] Improved item stat bonuses  (Read 2313 times)

Online Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
[Documentation] Improved item stat bonuses
« on: March 21, 2020, 05:29:23 pm »
In new version of OXCE all stats bonuses in items can now access to weapons and ammo from calculated attack.
This right now only available on script level as items on its own do not have any stats to read.

Scripts now have new variables with new info:
Code: [Select]
weapon
ammo
battle_action
skill

This mean ammo can now affect accuracy of weapon and weapon can affect damage of ammo, not mentioning that each attack type can have different power.