Пример #1
0
 private bool HideHealthbar(On.RoR2.UI.CombatHealthBarViewer.orig_VictimIsValid orig, RoR2.UI.CombatHealthBarViewer self, HealthComponent victim)
 {
     return(orig(self, victim) && !victim.body.hasCloakBuff);
 }
Пример #2
0
 public static void MonsterHealthOverlay(CombatHealthBarViewer.orig_Update orig,
                                         RoR2.UI.CombatHealthBarViewer self)
 {
     orig(self);
     self.enabled = MonsterConfiguration.ShowHealthOverlay.Value;
 }