[#modding] `IComponent<GameObject>.ConTarget(GameObject target = null)` doesn't work proper...

Issue #6487 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: Noelle Lavenza (transgendeer)

Message (jump):

<Noelle Lavenza (transgendeer)> IComponent<GameObject>.ConTarget(GameObject target = null) doesn't work properly for non-player targets, because Role is a property, but ConTarget checks for a blueprint tag. This means all enemies are assumed to be Minions. Notably, DifficultyEvaluation uses GetPropertyOrTag("Role") and works fine, and likewise SultanDungeon.ProcessBlueprintForCultRole checks both tags and properties and works as well; Sheeter and IComponent<GameObject>.ConTarget, however, don't use it. This means enemies will consider non-player enemies to be 1/4 their level for the purpose of skills like Berserk and Dueling Stance.

Comments (2)

  1. Log in to comment