|
|
|
|
|
PlaceObj('CharacterEffectCompositeDef', { |
|
'Group', "Health", |
|
'Id', "BeefedUp", |
|
'SortKey', 3, |
|
'Parameters', { |
|
PlaceObj('PresetParamPercent', { |
|
'Name', "bonus_health", |
|
'Value', 20, |
|
'Tag', "<bonus_health>%", |
|
}), |
|
}, |
|
'object_class', "Perk", |
|
'DisplayName', T(877823816296, "Beefed Up"), |
|
'Description', T(885436226092, "Max <em>HP</em> increased by <em><percent(bonus_health)></em>."), |
|
'OnAdded', function (self, obj) |
|
RecalcMaxHitPoints(obj) |
|
end, |
|
'OnRemoved', function (self, obj) |
|
RecalcMaxHitPoints(obj) |
|
end, |
|
'Icon', "UI/Icons/Perks/Fitness", |
|
'Tier', "Bronze", |
|
'Stat', "Health", |
|
'StatValue', 70, |
|
}) |
|
|
|
|