polats Claude Opus 4.8 (1M context) commited on
Commit
ea06170
·
1 Parent(s): f1fdeff

Rebuild: immediate basic attack (no cooldown) for the roam hero

Browse files

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

web/classesSandbox.js CHANGED
@@ -1708,7 +1708,6 @@ function stepPlayer(b, a, foe, dt) {
1708
  clear();
1709
  return;
1710
  }
1711
- if (!free && a.attackTimer > 0) return;
1712
  fireOnAction(b, a);
1713
  strike(b, a, foe, null);
1714
  clear();
 
1708
  clear();
1709
  return;
1710
  }
 
1711
  fireOnAction(b, a);
1712
  strike(b, a, foe, null);
1713
  clear();
web/comboBattler.js CHANGED
@@ -5815,7 +5815,6 @@ function stepPlayer(b, a, foe, dt) {
5815
  clear();
5816
  return;
5817
  }
5818
- if (!free && a.attackTimer > 0) return;
5819
  fireOnAction(b, a);
5820
  strike(b, a, foe, null);
5821
  clear();
 
5815
  clear();
5816
  return;
5817
  }
 
5818
  fireOnAction(b, a);
5819
  strike(b, a, foe, null);
5820
  clear();
web/enemiesSandbox.js CHANGED
@@ -1541,7 +1541,6 @@ function stepPlayer(b, a, foe, dt) {
1541
  clear();
1542
  return;
1543
  }
1544
- if (!free && a.attackTimer > 0) return;
1545
  fireOnAction(b, a);
1546
  strike(b, a, foe, null);
1547
  clear();
 
1541
  clear();
1542
  return;
1543
  }
 
1544
  fireOnAction(b, a);
1545
  strike(b, a, foe, null);
1546
  clear();
web/engine.js CHANGED
@@ -1538,7 +1538,6 @@ function stepPlayer(b, a, foe, dt) {
1538
  clear();
1539
  return;
1540
  }
1541
- if (!free && a.attackTimer > 0) return;
1542
  fireOnAction(b, a);
1543
  strike(b, a, foe, null);
1544
  clear();
 
1538
  clear();
1539
  return;
1540
  }
 
1541
  fireOnAction(b, a);
1542
  strike(b, a, foe, null);
1543
  clear();