aliens

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

Offline Yankes

  • Commander
  • *****
  • Posts: 3194
    • 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.