arsenal, generalist mod
This commit is contained in:
@@ -1733,7 +1733,7 @@ const mech = {
|
||||
// }
|
||||
|
||||
function drawField(radius) {
|
||||
radius *= 0.9 + 2 * mech.energy * mech.energy;
|
||||
radius *= 0.9 + 2.2 * mech.energy * mech.energy;
|
||||
const rotate = mech.cycle * 0.005;
|
||||
mech.fieldPhase += 0.5 - 0.5 * Math.sqrt(Math.max(0.01, Math.min(mech.energy, 1)));
|
||||
const off1 = 1 + 0.06 * Math.sin(mech.fieldPhase);
|
||||
@@ -1770,7 +1770,7 @@ const mech = {
|
||||
// game.draw.bodyFill = "transparent"
|
||||
// game.draw.bodyStroke = "transparent"
|
||||
|
||||
const DRAIN = 0.00014 + (mech.fireCDcycle > mech.cycle ? 0.007 : 0.001)
|
||||
const DRAIN = 0.00013 + (mech.fireCDcycle > mech.cycle ? 0.005 : 0)
|
||||
if (mech.energy > DRAIN) {
|
||||
mech.energy -= DRAIN;
|
||||
// if (mech.energy < 0.001) {
|
||||
|
||||
Reference in New Issue
Block a user