Unit:GetPhysicalArmorValue() has been changed
You used to be able to use unit:GetPhysicalArmorValue() to get the total armor value of an unit, but now that gives an error: "GetPhysicalArmorValue called with 1 arguments - expected 2" Now you need to type GetPhysicalArmorValue(false) if you want to get total armor, and GetPhysicalArmorValue(true) if you want to get bonus armor only.
This is what I gathered from quick 4 minute testing session. Did Valve say anything about this change? Or am I missing something?
Posted Jul 9, 2019, 6:22 PM UTC · edited
42