jkagie
August 26th, 2021, 05:02
The NPC parser doesn't correctly set up the effect for the following immunity.
"bludgeoning, piercing, and slashing from nonmagical attacks that aren't adamantine"
The parser sets the following effect from the text.
IMMUNE: bludgeoning, piercing, slashing, !magic, !adamantine
which allows magical OR adamantine attacks through.
The parser sees the text as an OR rather than an AND.
The parser should result in two effects:
IMMUNE: bludgeoning, piercing, slashing, !magic;
IMMUNE: bludgeoning, piercing, slashing, !adamantine
This covers the AND condition.
The same happens for "bludgeoning, piercing, and slashing from nonmagical attacks that aren't silvered"
"bludgeoning, piercing, and slashing from nonmagical attacks that aren't adamantine"
The parser sets the following effect from the text.
IMMUNE: bludgeoning, piercing, slashing, !magic, !adamantine
which allows magical OR adamantine attacks through.
The parser sees the text as an OR rather than an AND.
The parser should result in two effects:
IMMUNE: bludgeoning, piercing, slashing, !magic;
IMMUNE: bludgeoning, piercing, slashing, !adamantine
This covers the AND condition.
The same happens for "bludgeoning, piercing, and slashing from nonmagical attacks that aren't silvered"