Download Lua/CharacterEffectCompositeDef/CancelShotPerk.generated.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/CharacterEffectCompositeDef/CancelShotPerk.generated.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Lua/CharacterEffectCompositeDef/CancelShotPerk.generated.lua
-
curl -L -o CancelShotPerk.generated.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Lua/CharacterEffectCompositeDef/CancelShotPerk.generated.lua
1.07 kB
| -- ========== GENERATED BY CharacterEffectCompositeDef Editor DO NOT EDIT MANUALLY! ========== | |
| UndefineClass('CancelShotPerk') | |
| DefineClass.CancelShotPerk = { | |
| __parents = { "Perk" }, | |
| __generated_by_class = "CharacterEffectCompositeDef", | |
| 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, | |
| } | |