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

屬性

最大層數不可疊加
極性正面
有持續時間否
絕對(不可移除)是
對玩家可見否
可附著於建築否

引用來源

物品(裝備時): 德弗里克墜飾

入手來源