Hey,
I really enjoy the idea of this extension, but I am getting an error. Full disclosure: I am not using this extension as intended, so feel free to tell me its just not going to work the way I want, and I'll be on my way. I have a tendency to take extensions such as this one and apply them to games I want to run by tweaking them, but I think this one is beyond me.
1. I am using this for a 2e game (I know, but there is enough code cross-compatibility, that most 5e extension work fine on 2e and this is honestly the first time I have had an issue with it).
2. 2e allows me to include damage resistances to armor, which apply towards pcs, which I employ with a numerical value (e.g. RESIST: 5 piercing; RESIST: 4 slashing; RESIST: 2 bludgeoning) which actually works just fine.
3. These effects can be assigned to armor (and weapons), meaning that if a PC swaps armor, their resistances change.
4. I would like to be able to use this extension to ignore some of this resistance by assigning the effects you have (e.g. IGNORERESIST: 2 slashing).
When I add the Effect (IGNORERESIST: 2 slashing), (IGNORERESIST: slashing), and/or update the armor to simple (RESIST: slashing) I receive an error:
[287: attempt to compare number with nil] which is:
286 for sDamageType,_ in pairs(tUniqueTypes) do
287 table.insert(aAbsorbed, sDamageType);
288 end
289 table.sort(aAbsorbed);
The only extension that I think might be interfering, if this is just not an issue due to rulesets, is Hackmaster (
https://forge.fantasygrounds.com/shop/items/78/view).
Thanks for taking the time to read and, again, I completely understand if my nonsense is well beyond the scope of this extension.
Cheers!