Damage could still be applied by script if changeAttribue function was used. Because all other cases where damage is calculated in OpenGothic use this function too, former checks for godmode became redundant. Script can still access hnpc directly like in swamp drone explosion which makes full damage negation impossible.
For now I opted to only check for lifepoints. Vanilla prevents reduction of other attributes as well. Equip-/unequipping strength belt is an infinite strength source.
Damage could still be applied by script if
changeAttribue
function was used. Because all other cases where damage is calculated in OpenGothic use this function too, former checks for godmode became redundant. Script can still accesshnpc
directly like in swamp drone explosion which makes full damage negation impossible.For now I opted to only check for lifepoints. Vanilla prevents reduction of other attributes as well. Equip-/unequipping strength belt is an infinite strength source.