コード例 #1
0
        public override void ModifyBuffTip(ref string tip, ref int rare)
        {
            PlayerFX pfx = Main.LocalPlayer.GetModPlayer <PlayerFX>();

            tip = tip.Replace("$LIFE", "" +
                              (int)((Main.LocalPlayer.statLifeMax2 - Main.LocalPlayer.statLife) * pfx.CalculateYangPower(pfx.GetYinYangBalance())));
            tip = tip.Replace("$DAMAGE", "" +
                              (int)(pfx.CalculateYinPower(pfx.GetYinYangBalance()) * 100));
        }