public override bool ValidateTarget(LocalTargetInfo target)
 {
     if (!base.ValidateTarget(target))
     {
         return(false);
     }
     if (!ReloadableUtility.CanUseConsideringQueuedJobs(CasterPawn, base.EquipmentSource))
     {
         return(false);
     }
     return(true);
 }
Пример #2
0
 public override bool ValidateTarget(LocalTargetInfo target, bool showMessages = true)
 {
     if (caster == null)
     {
         return(false);
     }
     if (!CanHitTarget(target) || !ValidJumpTarget(caster.Map, target.Cell))
     {
         return(false);
     }
     if (!ReloadableUtility.CanUseConsideringQueuedJobs(CasterPawn, base.EquipmentSource))
     {
         return(false);
     }
     return(true);
 }
 public override bool ValidateTarget(LocalTargetInfo target)
 {
     return(base.ValidateTarget(target) && ReloadableUtility.CanUseConsideringQueuedJobs(CasterPawn, EquipmentSource, true));
 }