Download Data/CharacterEffectCompositeDef/BloodScent.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/Data/CharacterEffectCompositeDef/BloodScent.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/Data/CharacterEffectCompositeDef/BloodScent.lua
-
curl -L -o BloodScent.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/Data/CharacterEffectCompositeDef/BloodScent.lua
1.22 kB
| -- ========== GENERATED BY CharacterEffectCompositeDef Editor DO NOT EDIT MANUALLY! ========== | |
| PlaceObj('CharacterEffectCompositeDef', { | |
| 'Group', "Strength", | |
| 'Id', "BloodScent", | |
| 'SortKey', 9, | |
| 'object_class', "Perk", | |
| 'unit_reactions', { | |
| PlaceObj('UnitReaction', { | |
| Event = "OnCalcCritChance", | |
| Handler = function (self, target, attacker, attack_target, action, weapon, data) | |
| if target == attacker and IsKindOf(weapon, "MeleeWeapon") then | |
| data.guaranteed_crit = true | |
| end | |
| end, | |
| }), | |
| PlaceObj('UnitReaction', { | |
| Event = "OnCalcDamageAndEffects", | |
| Handler = function (self, target, attacker, attack_target, action, weapon, attack_args, hit, data) | |
| if target == attacker and IsKindOf(weapon, "MeleeWeapon") then | |
| data.effects[#data.effects + 1] = "Marked" | |
| end | |
| end, | |
| }), | |
| }, | |
| 'DisplayName', T(738259813299, --[[CharacterEffectCompositeDef BloodScent DisplayName]] "True Strike"), | |
| 'Description', T(868553471362, --[[CharacterEffectCompositeDef BloodScent Description]] "Successful <em>Melee Attacks</em> are <GameTerm('Crits')> and apply <GameTerm('Marked')> to the target.\n\n"), | |
| 'Icon', "UI/Icons/Perks/BloodScent", | |
| 'Tier', "Gold", | |
| 'Stat', "Strength", | |
| 'StatValue', 90, | |
| }) | |