diff --git a/src/main/java/de/hdm_stuttgart/battlearena/Model/Entity/Player.java b/src/main/java/de/hdm_stuttgart/battlearena/Model/Entity/Player.java index dc4d51fed500b8726bae2de8dd6c6b061877515e..b3f7b025b2a3632e637c4c32b77701f07aa1541c 100644 --- a/src/main/java/de/hdm_stuttgart/battlearena/Model/Entity/Player.java +++ b/src/main/java/de/hdm_stuttgart/battlearena/Model/Entity/Player.java @@ -631,7 +631,7 @@ class Player implements IEntity { if (inputHandler.isAttack() && PLAYER_MODE == PlayerMode.PLAYER_ONE && attackRate == 0 || inputHandler.isSdAttack() && PLAYER_MODE == PlayerMode.PLAYER_TWO && attackRate == 0) { - attackRate = 50; + attackRate = 75; SfxOnce sfx = new SfxOnce(); sfx.startSound(SFX.SWORD_SWING); @@ -732,7 +732,7 @@ class Player implements IEntity { health -= damageDone; SfxOnce t = new SfxOnce(); t.startSound(SFX.DAMAGETAKEN); - iFrameCounter = 100; + iFrameCounter = 75; } else { if (!isDead) { SfxOnce t = new SfxOnce(); @@ -741,7 +741,7 @@ class Player implements IEntity { } isDead = true; health = 0; - iFrameCounter = 100; + iFrameCounter = 75; runtimeInfo.setDeaths(runtimeInfo.getDeaths() + 1); runtimeInfo.setKills(runtimeInfo.getKills() + 1); runtimeInfo.setGameWon(true);