Download Data/CharacterEffectCompositeDef/CancelShotPerk.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Data/CharacterEffectCompositeDef/CancelShotPerk.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Data/CharacterEffectCompositeDef/CancelShotPerk.lua
-
curl -L -o CancelShotPerk.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Data/CharacterEffectCompositeDef/CancelShotPerk.lua
1.04 kB
| -- ========== 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, | |
| }) | |