Hi. I am stuck with a question.
I have psi-amp for skills:
- type: STR_WEAPON_2
battleType: 9
...
tags:
IS_SKILL: 1 #mental
and soldier skill, based on that item:
- type: STR_STOP_SKILL
tags:
SKILL_ID: 17
costUse:
time: 5
targetMode: 14
compatibleWeapons: [STR_WEAPON_2]
checkHandsOnly: false
When i use
tryPsiAttackUnit:
- offset: 15 #Always success for inspiration etc.
code: |
...
skill.getTag skill_id Tag.SKILL_ID;
...
i get skill_id=17.
But later, when i use:
hitUnit:
- offset: 7 # for scripted items(Fright, Inspiration)
code: |
...
skill.getTag skill_id Tag.SKILL_ID;
...
i get skill_id=0
Question: WHY?