getImmediateTarget

open fun getImmediateTarget(): CombatEntityAPI

Returns the target of the ship. If fighter, this is the carrier if the fighter is returning to it. Otherwise it is the carrier's target.

Return