Exemplo n.º 1
0
        public override bool CustomBiomesMatch(Player other)
        {
            DRGNPlayer modOther = other.GetModPlayer <DRGNPlayer>();
            bool       allMatch = (DragonBiome == modOther.DragonBiome) ? ((VoidBiome == modOther.VoidBiome) ? ((AntBiome == modOther.AntBiome) ? true : false) : false) : false;

            return(allMatch);
        }
Exemplo n.º 2
0
        public override void CopyCustomBiomesTo(Player other)
        {
            DRGNPlayer modOther = other.GetModPlayer <DRGNPlayer>();

            modOther.DragonBiome = DragonBiome;
            modOther.VoidBiome   = VoidBiome;
            modOther.AntBiome    = AntBiome;
        }