DungeonSettlers.wiki

Pendentif de Devrick

Steam
Icône Pendentif de Devrick

Pendentif de Devrick

AFFECTER_DevrickPendant · Aucun Positif

À l'attaque, absorbe jusqu'à 30% des dégâts infligés en points de vie selon les points de vie manquants.

Comment fonctionne le calcul

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.

Quand cela s'exécute : After the hit is processed (TickEvent.OnDamage_AfterProcess).

À quoi cela s'applique : Hits the wearer deals whose damage value carries a fixed number.

Ce que l'infobulle ne vous dit pas

  • 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.

Lu depuis le binaire du jeu de la version 25846389. Refactor.Combat.AffecterRelated.AFFECTER_DevrickPendant.Passive_DevrickPendant.OnDamage@0x968AF0, Refactor.DataValue.SelfCoef@0x809284, Refactor.Combat.ExecutionProcess.DamageSimulator.CalculateValue@0x94B498

Vérifié à partir du code du jeu

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.

Effets

À l'attaque, absorbe jusqu'à 30% des dégâts infligés en points de vie selon les points de vie manquants. 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.

Valeurs brutes : 30

Propriétés

Cumul maxNe se cumule pas
PolaritéPositif
A une duréenon
Absolu (ne peut pas être retiré)oui
Visible par le joueurnon
Attachable à un bâtimentnon

Référencé par

Objets (à l'équipement) : Pendentif de Devrick

Obtenu de