nimbuses spawned by summons are supposed to be friendly

This commit is contained in:
2026-01-26 18:08:53 +01:00
parent a545325b12
commit a68b762f0a
2 changed files with 20 additions and 4 deletions
+1 -2
View File
@@ -11,9 +11,8 @@ public class SummonerAmbitionBuff : ModBuff {
}
public override void ModifyBuffText(ref string buffName, ref string tip, ref int rare) {
YhtPlayer modPlayer = Main.LocalPlayer.TryGetModPlayer<YhtPlayer>(out var mp) ? mp : null;
YhtPlayer modPlayer = Main.LocalPlayer.TryGetModPlayer(out YhtPlayer mp) ? mp : null;
if (modPlayer == null) return;
tip = Language.GetTextValue("Mods.YHTMod.Buffs.SummonerAmbitionBuff.Description",
modPlayer.SummonerAmbitions.Count);
}