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.

ビルド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

プロパティ

最大スタックスタックしない
極性正
継続時間ありいいえ
絶対(除去不可)はい
プレイヤーに表示いいえ
建物に取り付け可能いいえ

参照元

アイテム(装備時): デヴリックのペンダント

入手元