예제 #1
0
        public override void ResetNearbyTileEffects()
        {
            CrystalPlayer modPlayer = Main.LocalPlayer.GetModPlayer <CrystalPlayer>();

            modPlayer.crystalFountain = false;
            CrystalTiles = 0;
        }
예제 #2
0
        public override void CopyCustomBiomesTo(Player other)
        {
            CrystalPlayer modOther = other.GetModPlayer <CrystalPlayer>();

            modOther.ZoneCrystal = ZoneCrystal;
        }
예제 #3
0
        public override bool CustomBiomesMatch(Player other)
        {
            CrystalPlayer modOther = other.GetModPlayer <CrystalPlayer>();

            return(ZoneCrystal == modOther.ZoneCrystal);
        }