OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: Yankes on March 21, 2020, 05:29:23 pm

Title: [Documentation] Improved item stat bonuses
Post by: Yankes 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.