Interkarma / daggerfall-unity

Open source recreation of Daggerfall in the Unity engine
http://www.dfworkshop.net
MIT License
2.73k stars 331 forks source link

Enemy component access #2563

Closed DunnyOfPenwick closed 9 months ago

DunnyOfPenwick commented 10 months ago

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)

KABoissonneault commented 9 months ago

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