Beispiel #1
0
 public override bool ShowInCompactView()
 {
     if (alwaysShowInCompact)
     {
         return(true);
     }
     return(Rand.ChanceSeeded(DisplayChanceOnMiss, logID));
 }
Beispiel #2
0
        public override bool ShowInCompactView()
        {
            if (!this.deflected)
            {
                if (this.recipientPawn != null)
                {
                    return(true);
                }
                if (this.originalTargetThing != null && this.originalTargetThing == this.recipientThing)
                {
                    return(true);
                }
            }
            int num = 1;

            if (this.weaponDef != null && !this.weaponDef.Verbs.NullOrEmpty <VerbProperties>())
            {
                num = this.weaponDef.Verbs[0].burstShotCount;
            }
            return(Rand.ChanceSeeded(BattleLogEntry_RangedImpact.DisplayChanceOnMiss / (float)num, this.logID));
        }
        public override bool ShowInCompactView()
        {
            if (!deflected)
            {
                if (recipientPawn != null)
                {
                    return(true);
                }
                if (originalTargetThing != null && originalTargetThing == recipientThing)
                {
                    return(true);
                }
            }
            int num = 1;

            if (weaponDef != null && !weaponDef.Verbs.NullOrEmpty())
            {
                num = weaponDef.Verbs[0].burstShotCount;
            }
            return(Rand.ChanceSeeded(DisplayChanceOnMiss / (float)num, logID));
        }
Beispiel #4
0
 public override bool ShowInCompactView()
 {
     return(Rand.ChanceSeeded(BattleLogEntry_RangedFire.DisplayChance, this.logID));
 }
 public override bool ShowInCompactView()
 {
     return(this.alwaysShowInCompact || Rand.ChanceSeeded(BattleLogEntry_MeleeCombat.DisplayChanceOnMiss, this.logID));
 }
Beispiel #6
0
 public override bool ShowInCompactView()
 {
     return(Rand.ChanceSeeded(DisplayChance, logID));
 }