internal static void Postfix(Verb __instance, ref bool __result, LocalTargetInfo castTarg, bool surpriseAttack = false, bool canHitNonTargetPawns = true) { if (__result) { if (__instance.CasterIsPawn && __instance.verbProps.warmupTime > 0f && __instance.verbProps.verbClass != null && __instance.verbProps.verbClass == typeof(Verb_ShootCE)) { bool extcheck = __instance is Verb_ShootCEOneUse || __instance is Verb_ShootMortarCE; if (!extcheck) { ShootLine newShootLine; Verb_LaunchProjectileCE vlCE = __instance as Verb_LaunchProjectileCE; if (!vlCE.TryFindCEShootLineFromTo(__instance.caster.Position, castTarg, out newShootLine)) { __result = false; } __instance.CasterPawn.Drawer.Notify_WarmingCastAlongLine(newShootLine, __instance.caster.Position); } } } }