Skip to content

Commit

Permalink
decreased attack delay
Browse files Browse the repository at this point in the history
  • Loading branch information
samsully committed Sep 5, 2023
1 parent 3741b28 commit f24bf98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public int getPriority() {
// }

private int getActivePriority() {
if ((startTime + 2000) < timeSource.getTime()) {
if ((startTime + delay) < timeSource.getTime()) {
// if (isTargetVisible() && (startTime + delay) > timeSource.getTime()) {
// System.out.println("ready to fire while active");
return priority;
Expand All @@ -175,7 +175,7 @@ private int getActivePriority() {

private int getInactivePriority() {
// return isTargetVisible() ? priority : 0;
if ((startTime + 2000) < timeSource.getTime()) {
if ((startTime + delay) < timeSource.getTime()) {
// if (isTargetVisible() && (startTime + delay) > timeSource.getTime()) {
// System.out.println("ready to fire while inactive");
return priority;
Expand Down

0 comments on commit f24bf98

Please sign in to comment.