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

Свойства

Макс. стекНе складывается
ПолярностьПоложительный
Есть длительностьнет
Абсолютный (нельзя снять)да
Виден игрокунет
Крепится к зданиюнет

Упоминается в

Предметы (при экипировке): Подвеска Деврика

Откуда получить