public static void CheckDodgeOnlyDangerous() //Dodge only dangerous event { var bDodgeOnlyDangerous = IsDodgeDangerousEnabled(); if (DodgeOnlyDangerous == false && bDodgeOnlyDangerous) { SpellDetector.RemoveNonDangerousSpells(); DodgeOnlyDangerous = true; } else { DodgeOnlyDangerous = bDodgeOnlyDangerous; } }