[0.13.4] Dispel Undead works on knights

Moderators will move topics here from Help & Support once an issue has been confirmed and enough information provided to reproduce.
Post Reply
esran
Posts: 11
Joined: Thu Oct 03, 2019 2:16 pm

[0.13.4] Dispel Undead works on knights

Post 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.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: [0.13.4] Dispel Undead works on knights

Post by Interkarma »

Hey there, thank you for the report. :)

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

Post Reply