|
|
|
|
|
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, "Distracting Shot"), |
|
'Description', T(658775460639, "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, |
|
}) |
|
|
|
|