private void UpdateReignPer5Ticks(bool isReign) { if (ModLoader.GetMod("CursedBrambles") != null) { BossReignsPlayer.UpdateReignForCursedBrambles_WeakRef(this.player, isReign); } }
//////////////// private void UpdateReignPerTick(bool isReign) { if (isReign) { if (!this._IsReignSinceLastTick) { Main.NewText("A fell presence can be felt. A powerful, unconquered entity now reigns in your world.", Color.OrangeRed); } } else { if (this._IsReignSinceLastTick) { Main.NewText("The fell presence has vanished... for now.", new Color(175, 75, 255)); } } if (isReign) { if (this.player.townNPCs == 0) { if (this.player.chest >= 0) { this.player.chest = -1; Main.NewText("Dark forces of the land seal this chest.", Color.Yellow); } } if (BossReignsMod.Instance.NecrotisMod != null) { BossReignsPlayer.UpdateReignForNecrotis_WeakRef(this.player); } this.UpdateReignFx(); } // this._IsReignSinceLastTick = isReign; }