Shield Battery’s auto-cast targets Dark Shrine to recharge its shields. It does that as the Dark Shrine has an unused attack ability
This fix removes the unused attack and stop ability entries:
<CUnit id="DarkShrine">
<AbilArray index="1" Link="DarkShrineResearch"/>
<AbilArray index="2" Link="que5"/>
<AbilArray index="3" removed="1"/>
<AbilArray index="4" removed="1"/>
</CUnit>