DungeonSettlers.wiki

德弗里克吊坠

Steam
德弗里克吊坠 图标

德弗里克吊坠

AFFECTER_DevrickPendant · 无 正面

攻击时,根据已损失生命值比例,将造成伤害的最多30% 转化为生命值吸收。

计算原理

Heal = the hit's FIXED damage value x (Max HP - current HP) / Max HP x FloatValues[0] x 0.01 = fixed part x missing-HP share x 30 percent.

生效时机: After the hit is processed (TickEvent.OnDamage_AfterProcess).

作用对象: Hits the wearer deals whose damage value carries a fixed number.

工具提示不会告诉你的内容

  • The heal reads the damage VALUE the hit was published with (its fixed number), not the damage that landed after crit, guard and resistance.
  • The item tooltip and older wiki text say 'percent of damage dealt'; the code reads the fixed value. A hit built only from coefficients heals 0.

从 build 25846389 的游戏二进制读取。 Refactor.Combat.AffecterRelated.AFFECTER_DevrickPendant.Passive_DevrickPendant.OnDamage@0x968AF0, Refactor.DataValue.SelfCoef@0x809284, Refactor.Combat.ExecutionProcess.DamageSimulator.CalculateValue@0x94B498

已从游戏代码验证

Heals up to 30% of a hit's flat damage part near 0 HP (15% at half HP, nothing at full HP). Normal skills and basic attacks have no flat part, so they heal nothing.

效果

攻击时,根据已损失生命值比例,将造成伤害的最多30% 转化为生命值吸收。 Heals from the fixed part of the hit's damage value only. Ordinary skills and basic attacks build their damage as a share of attack power (SelfCoef) with a fixed part of 0, so they heal nothing. Heals up to 30% of a hit's flat damage part near 0 HP (15% at half HP, nothing at full HP). Normal skills and basic attacks have no flat part, so they heal nothing.

原始数值: 30

属性

最大层数不可叠加
极性正面
有持续时间否
绝对(不可移除)是
对玩家可见否
可附着于建筑否

引用来源

物品(装备时): 德弗里克吊坠

入手来源