File size: 1,056 Bytes
b6a38d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
-- ========== GENERATED BY CharacterEffectCompositeDef Editor DO NOT EDIT MANUALLY! ==========
PlaceObj('CharacterEffectCompositeDef', {
'Group', "Agility",
'Id', "ColdHeart",
'SortKey', 8,
'Parameters', {
PlaceObj('PresetParamPercent', {
'Name', "crit_bonus",
'Value', 50,
'Tag', "<crit_bonus>%",
}),
},
'object_class', "Perk",
'unit_reactions', {
PlaceObj('UnitReaction', {
Event = "OnCalcDamageAndEffects",
Handler = function (self, target, attacker, attack_target, action, weapon, attack_args, hit, data)
if target == attacker then
data.critical_damage = data.critical_damage + self:ResolveValue("crit_bonus")
end
end,
}),
},
'DisplayName', T(926942274160, --[[CharacterEffectCompositeDef ColdHeart DisplayName]] "Anatomical Precision"),
'Description', T(145102598829, --[[CharacterEffectCompositeDef ColdHeart Description]] "Deal <em><percent(crit_bonus)></em> more <GameTerm('Crit')> <em>Damage</em>."),
'Icon', "UI/Icons/Perks/ColdHeart",
'Tier', "Gold",
'Stat', "Agility",
'StatValue', 90,
})
|