right click to fire secondary once
当前为
// ==UserScript==
// @name Autoswap right click /shoot once /not toggle
// @namespace http://tampermonkey.net/
// @version 1.01
// @description right click to fire secondary once
// @author meatman2tasty
// @match http://karnage.io/*
// @grant none
// ==/UserScript==
$("#gameHudContainer").mousedown(function(ev){
if(ev.which == 3 || player.alive || inWindow)
{
incWeapon(-1);
}
});
$("#gameHudContainer").mouseup(function(ev){
if(ev.which == 3)
{
setTimeout(incWeapon(1),100);
}
});