@@ -0,0 +1,1101 @@
+package me.otisdiver.otisarena.task.kit;%0A%0Aimport org.bukkit.Bukkit;%0Aimport org.bukkit.ChatColor;%0Aimport org.bukkit.entity.Player;%0A%0Aimport me.otisdiver.otisarena.OtisArena;%0A%0Apublic class Rollup extends Ability %7B%0A    %0A    private static final int waitMillis = 10000;%0A    private static final String statusMessage = %22%22 + ChatColor.GRAY + ChatColor.BOLD + %22Shield activated!%22;%0A%0A    public Rollup(OtisArena main, Player player) %7B%0A        super(main, player);%0A    %7D%0A%0A    @Override%0A    public void run() %7B%0A        if (!super.registerUse(this.getClass(), waitMillis)) return;%0A        %0A        // toggle invincibility once, and then again in 3 seconds (20 * 3 = 60 ticks)%0A        Bukkit.getScheduler().runTask(main, toggleInvincibility());%0A        Bukkit.getScheduler().runTaskLater(main, toggleInvincibility(), 60);%0A    %7D%0A    %0A    private Runnable toggleInvincibility() %7B%0A        return new Runnable() %7B%0A            @Override%0A            public void run() %7B%0A                player.sendMessage(statusMessage);%0A                player.setInvulnerable(!player.isInvulnerable());%0A            %7D%0A        %7D;%0A    %7D%0A%0A%7D%0A

create Rollup ability