Example #1
0
 private static float FinaliseAdjustedRange(float original, Verb instance, IntVec3 root)
 {
     return(TrenchUtility.FinalAdjustedRangeFromTerrain(original, instance.verbProps.minRange, root, instance.caster.Map));
 }
Example #2
0
 private static float AdjustedRange(float original, Pawn pawn)
 {
     return(TrenchUtility.FinalAdjustedRangeFromTerrain(original, pawn.CurrentEffectiveVerb.verbProps.minRange, pawn.Position, pawn.Map));
 }
 private static float AdjustedRange(float original, Job job, Pawn actor)
 {
     return(TrenchUtility.FinalAdjustedRangeFromTerrain(original, job.verbToUse, actor));
 }
 private static float AdjustedRange(float original, Verb verb, IAttackTargetSearcher searcher)
 {
     return(TrenchUtility.FinalAdjustedRangeFromTerrain(original, verb, searcher.Thing));
 }