Doesnt flee - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

CompDoesntFlee makes an animal not flee from combat when fired upon, as all animals do since 1.3.

They can be added to the static list that is accessed by the Harmony patches either with this comp, or through CompDraftable

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag.

<comps>
	<li Class="AnimalBehaviours.CompProperties_DoesntFlee">
		
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️