1/ first, your psi amp is not hitting anything... you need to give it at last dmage type and some power
items:
- type: STR_SKILL_AMP
damageType: 1
power: 80
2/ second, the hitUnit script hook is defined on the victim's armor... not on the attacker's weapon
3/ third, local script and global script syntax is different... you tried using global syntax, which doesn't work... for local script, you don't need `offset` and `code` attributes
4/ fourth, you forgot semicolon after your debug command
5/ fifth, this script needs 3 return arguments (power, bodyPart and bodySide), you have no return parameters
armors:
- type: FLOATER_ARMOR0
scripts:
hitUnit: |
debug_log "Floater was hit!";
return 50 1 1;