GetCorruptionResistance

From Warcraft Wiki
Jump to navigation Jump to search

Tracks how much the player has offset their exposure to dangers that result from wearing items touched by N'Zoth's influence.

corruptionResistance = GetCorruptionResistance()

Returns

corruptionResistance
number - Amount of corruption resistance, independent of how much corruption is actually present

Example

local c, r = GetCorruption(), GetCorruptionResistance()
print("You have " .. max(0, c - r) .. " net corruption")  -- max to prevent negative values

Patch changes

Battle for Azeroth Patch 8.3.0 (2020-01-14): Added.

See also