17 lines
502 B
C#
17 lines
502 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using Base;
|
|||
|
|
|||
|
namespace LaptopSimulator2015.Glitches
|
|||
|
{
|
|||
|
public class Empty : CaptchaGlitch
|
|||
|
{
|
|||
|
public double chance { get { if (currentLevel < 1) return 0; return Math.Min(currentLevel / 8d, 0.8); } }
|
|||
|
public int currentLevel { get; set; }
|
|||
|
public void apply(char inputChar, ref string inputString, char[] captchaChars) => inputString.Remove(0, 1);
|
|||
|
}
|
|||
|
}
|