The first hook (hitUnit) receives power, part and side and is expected to also return these values. I am using two hooks which are part of the hit and damage calculations: hitUnit and damageUnit.īoth are called in quick succession after each other, every time a unit will potentially receive damage.
I will start of with two of my debug scripts which I used for some damage scaling and understanding how XCOM applies damage. I am actually aiming for some documentation of the various scripting possibilities but did not yet find the time to write something meaningful. So, I've been working on some ModScripts for OXCE+ and wanted to share what I have so far.