Beispiel #1
0
            internal bool IsSpellCrit(Unit victim, SpellInfo spellInfo, SpellSchoolMask schoolMask, Spell spell = null)
            {
                float critChance = CalculateSpellCriticalChance(victim, spellInfo, schoolMask, spell);

                return(RandomUtils.CheckSuccessPercent(critChance));
            }