Page 1 of 1

[0.13.4] Dispel Undead works on knights

Posted: Mon Feb 28, 2022 7:59 pm
by esran
I'm fairly certain this isn't because of any mod I have installed, but I haven't fully verified that.

To reproduce use a Dispel undead spell on a knight until it works while standing right next to the knight.

I'm fairly certain the cause of the problem is the interaction between PlayerGPS.GetEntityFlags and EnemyEntity.GetEntityGroup

GetEntityFlags uses GetEntityGroup in case EntityType is EnemyClass. However GetEntityGroup in EnemyEntity does not seem to be written with classes in mind.

I think looking at the code to see the problem is even easier than reproducing in game, though I am not sure whether this fix should be to GetEntityGroup or to GetEntityFlags.

Re: [0.13.4] Dispel Undead works on knights

Posted: Tue Mar 01, 2022 12:20 am
by Interkarma
Hey there, thank you for the report. :)

I'll move this one to Issues for follow-up later.