Skip to content

Conversation

@DunnyOfPenwick
Copy link
Contributor

Replaces some method calls in enemy components with delegates so mods can inject additional logic.

Also includes a change to prevent player allies from attacking pacified creatures. (EnemySenses)
Also changes ApplyGravity in EnemyMotor to allow enemies to slowfall.
Also adds option to base enemy spell cost on enemy skills rather than player skills. (EntityEffectManager)

Uses delegate callbacks to allow mods to alter logic in some enemy components.
@KABoissonneault
Copy link
Collaborator

I'm almost ready to accept this, if not for the CanSeePlayerLight comment

@KABoissonneault KABoissonneault merged commit b5afce6 into Interkarma:master Jan 24, 2024
@KABoissonneault KABoissonneault mentioned this pull request Feb 7, 2024
magicono43 added a commit to magicono43/daggerfall-unity_Magicono43-Fork that referenced this pull request Jan 3, 2025
Revise Original Commit To Use Delegates Instead. Took examples mainly from Dunny's commits from here: Interkarma#2563 1/3/2025.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants