mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-27 12:12:53 -04:00
Merged in M4SS/holocore/bug/extra_loop_delay_attack (pull request #427)
NGE-513 - Attacks like Force Throw cause 2x damage
This commit is contained in:
@@ -308,7 +308,7 @@ public class CombatManager extends Manager {
|
||||
new ObjectCreatedIntent(delayEgg).broadcast();
|
||||
}
|
||||
|
||||
executor.schedule(() -> delayEggLoop(delayEgg, source, target, combatCommand, 0), (long) combatCommand.getInitialDelayAttackInterval(), TimeUnit.SECONDS);
|
||||
executor.schedule(() -> delayEggLoop(delayEgg, source, target, combatCommand, 1), (long) combatCommand.getInitialDelayAttackInterval(), TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
private void delayEggLoop(final SWGObject delayEgg, final CreatureObject source, final SWGObject target, final CombatCommand combatCommand, final int currentLoop) {
|
||||
|
||||
Reference in New Issue
Block a user