Lower kick thresholds for a few cheat types

This commit is contained in:
Alexander Meech 2018-02-01 06:18:07 -05:00 committed by GitHub
parent 5cced1beca
commit 7e25edac45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ public class AntiHack extends MiniPlugin
.put(Speed.class, new ImmediateKickAction(7500)) .put(Speed.class, new ImmediateKickAction(7500))
.put(HeadRoll.class, new ImmediateBanAction(2000)) .put(HeadRoll.class, new ImmediateBanAction(2000))
// .put(Toggle.class, new ImmediateKickAction(500)) // .put(Toggle.class, new ImmediateKickAction(500))
.put(Timer.class, new ImmediateKickAction(10000)) .put(Timer.class, new ImmediateKickAction(3500))
.put(BadPackets.class, new GEPBanAction(300)) .put(BadPackets.class, new GEPBanAction(300))
.put(KillauraTypeB.class, new GEPBanAction(100)) .put(KillauraTypeB.class, new GEPBanAction(100))
.put(KillauraTypeC.class, new BanwaveAction(200)) .put(KillauraTypeC.class, new BanwaveAction(200))
@ -136,8 +136,8 @@ public class AntiHack extends MiniPlugin
.build(); .build();
public static final Map<Class<? extends Check>, AntiHackAction> STRICT_ACTIONS = ImmutableMap.<Class<? extends Check>, AntiHackAction>builder() public static final Map<Class<? extends Check>, AntiHackAction> STRICT_ACTIONS = ImmutableMap.<Class<? extends Check>, AntiHackAction>builder()
.put(Glide.class, new ImmediateKickAction(2200)) .put(Glide.class, new ImmediateKickAction(1400))
.put(Speed.class, new ImmediateKickAction(2200)) .put(Speed.class, new ImmediateKickAction(1400))
.build(); .build();
private static final AntiHackAction NOOP_ACTION = new NoopAction(); private static final AntiHackAction NOOP_ACTION = new NoopAction();
@ -608,4 +608,4 @@ public class AntiHack extends MiniPlugin
{ {
_strict = strict; _strict = strict;
} }
} }