Beispiel #1
0
 private bool IsPlayerAtRightHeightForType(SkyEntityType type, Player plr)
 {
     return(type == SkyEntityType.Hellbats ? AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell(plr) : AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky(plr));
 }
Beispiel #2
0
 private static bool IsPlayerInAPlaceWhereTheyCanSeeAmbience(Player plr)
 {
     return(AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky(plr) || AmbienceServer.IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell(plr));
 }