Exemplo n.º 1
0
        //set max crit and current crit with no interference from accessory order
        public static void TinPostUpdate(FargoSoulsPlayer modPlayer)
        {
            modPlayer.TinCritMax = Math.Max(FargoSoulsUtil.HighestCritChance(modPlayer.Player) * 2, 15);

            if (modPlayer.TinCritMax > 100)
            {
                modPlayer.TinCritMax = 100;
            }

            FargoSoulsUtil.AllCritEquals(modPlayer.Player, modPlayer.TinCrit);
        }