Talk:Toll the Dead

From bg3.wiki
Latest comment: 6 January by JRandall0308 in topic LTE 99% not the same as LT 100%
Jump to navigation Jump to search

LTE 99% not the same as LT 100%[edit source]

I noticed in the code the following…


data "SpellSuccess"

"IF(not HasHPPercentageEqualOrLessThan(99,context.Target)): DealDamage(LevelMapValue(D8Cantrip),Necrotic,Magical);

IF(HasHPPercentageEqualOrLessThan(99,context.Target)): DealDamage(LevelMapValue(D12Cantrip),Necrotic,Magical)"

… which is to say that Toll the Dead checks if the target has less than or equal to 99% of its max HP, and *not* less than 100%.

I tested this against a spectator which has 153 HP. Dealt 1 damage to it with a void bulb, so 152/153 HP = 99.3% Toll the Dead then did d8s of damage to it because its HP were not “less than or equal to” 99%, even though its HP *were* not at “full health”. JRandall0308 (talk) 18:39, 5 January 2026 (CET)Reply

Great find! Rydiak (talk) 01:10, 6 January 2026 (CET)Reply
Thanks! Add it to the pile of "why did you do this, Larian?" when they already have a function that checks for if HP are indeed less than 100%. *facepalm* JRandall0308 (talk) 02:22, 6 January 2026 (CET)Reply