Death effects in entity configs, Transform death effect, keep agent target on transform
-
By opening this merge request, you agree to release your code and all other changes under the GPL 3 license and to abide by the terms set by this license. -
Migrations have been added if applicable (migrations are always necessary for removing/renaming item asset files) -
Significant changes of this merge request have been added to the changelog.
This MR is a follow-up to @flo666's recent vampire castle addition, which planned to use the Transform
event for a multi-stage boss. Unfortunately it wasn't working as expected and made the boss loose aggro mid-fight.
Transforming is now handled by a DeathEffect
making it more reliable, and transforming entities with an agent inherit their previous target.