Exemplo n.º 1
0
        public static bool Prefix(Character ___m_character, ref DamageList _damages)
        {
            if (___m_character.IsAI)
            {
                return(true);
            }

            MitigationOverride.Calculate(_damages, ___m_character, false);

            return(false);
        }
Exemplo n.º 2
0
        public static bool Prefix(ref DamageList _damage, Character __instance)
        {
            if (__instance.IsAI)
            {
                return(true);
            }

            MitigationOverride.Calculate(_damage, __instance, true);

            return(false);
        }