File size: 1,036 Bytes
b6a38d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
-- ========== GENERATED BY CharacterEffectCompositeDef Editor DO NOT EDIT MANUALLY! ==========
PlaceObj('CharacterEffectCompositeDef', {
'Group', "Wisdom",
'Id', "CancelShotPerk",
'SortKey', 2,
'object_class', "Perk",
'unit_reactions', {
PlaceObj('UnitReaction', {
Event = "OnUnitAttack",
Handler = function (self, target, attacker, action, attack_target, results, attack_args)
if target == attacker and action.id == "CancelShotCone" and IsKindOf(attack_target, "Unit") then
attack_target:AddStatusEffect("CancelShot")
end
end,
}),
},
'DisplayName', T(775794001413, --[[CharacterEffectCompositeDef CancelShotPerk DisplayName]] "Distracting Shot"),
'Description', T(658775460639, --[[CharacterEffectCompositeDef CancelShotPerk Description]] "Firearm attack - <em>Distracting Shot</em>:\n\nRemoves <GameTerm('Overwatch')> and <GameTerm('PinDown')>. Doesn't provoke <GameTerm('Interrupt')> attacks."),
'Icon', "UI/Icons/Perks/CancelShotPerk",
'Tier', "Bronze",
'Stat', "Wisdom",
'StatValue', 70,
})
|