Download Data/CharacterEffectCompositeDef/Ambidextrous.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Data/CharacterEffectCompositeDef/Ambidextrous.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Data/CharacterEffectCompositeDef/Ambidextrous.lua
-
curl -L -o Ambidextrous.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Data/CharacterEffectCompositeDef/Ambidextrous.lua
1.16 kB
| -- ========== GENERATED BY CharacterEffectCompositeDef Editor DO NOT EDIT MANUALLY! ========== | |
| PlaceObj('CharacterEffectCompositeDef', { | |
| 'Group', "Quirk", | |
| 'Id', "Ambidextrous", | |
| 'SortKey', 1000, | |
| 'Parameters', { | |
| PlaceObj('PresetParamNumber', { | |
| 'Name', "PenaltyReduction", | |
| 'Value', 15, | |
| 'Tag', "<PenaltyReduction>", | |
| }), | |
| }, | |
| 'object_class', "Perk", | |
| 'unit_reactions', { | |
| PlaceObj('UnitReaction', { | |
| Event = "OnModifyCTHModifier", | |
| Handler = function (self, target, id, attacker, attack_target, action, weapon1, weapon2, data) | |
| if target == attacker and id == "TwoWeaponFire" then | |
| data.mod_add = data.mod_add + self:ResolveValue("PenaltyReduction") | |
| data.meta_text[#data.meta_text + 1] = T{756119910645, "Perk: <perkName>", perkName = self.DisplayName} | |
| end | |
| end, | |
| }), | |
| }, | |
| 'Modifiers', {}, | |
| 'DisplayName', T(572344361258, --[[CharacterEffectCompositeDef Ambidextrous DisplayName]] "Ambidextrous"), | |
| 'Description', T(810486500317, --[[CharacterEffectCompositeDef Ambidextrous Description]] "Reduced <em>Accuracy</em> penalty when <em>Dual-Wielding</em> Firearms."), | |
| 'Icon', "UI/Icons/Perks/Ambidextrous", | |
| 'Tier', "Quirk", | |
| }) | |