PDA

View Full Version : Numbers in the IMMUNE effect



Callum
March 8th, 2012, 13:01
The IMMUNE effect supports number values, yet any number entered seems to have no bearing on how the effect functions. Is that correct, or am I missing something?

Trenloe
March 8th, 2012, 17:00
Looks like immunity is handled to discount all damage of the particular type - which is how it works in the RAW. Supported types are (from data_common.lua):

"acid", -- ENERGY DAMAGE TYPES
"cold",
"electricity",
"fire",
"sonic",
"poison", -- OTHER IMMUNITY TYPES
"sleep",
"paralysis",
"petrification",
"charm",
"sleep",
"fear",
"disease"

So, looks like the documentation isn't correct for this one.

Moon Wizard
March 8th, 2012, 18:23
IMMUNE = RESIST infinite

I'll update the documentation on the next pass.

Thanks,
JPG

Callum
March 9th, 2012, 11:48
Okay, thanks! I wondered if it might be a means of tracking the amount of damage that remains to be absorbed when the immunity comes from a spell like protection from energy (https://www.d20srd.org/srd/spells/protectionFromEnergy.htm), but I guess that decrementing the number in the effect automatically would be quite tricky.