fix: turns out turn count means something totally different
This commit is contained in:
parent
7a5d9dca76
commit
b8402f636f
@ -960,7 +960,7 @@ public class GameLogic {
|
||||
.withEntity(new NPC(goose, position, inventory))
|
||||
.buildEntityEvent());
|
||||
result.add(new EventBuilder(EventType.TurnEvent)
|
||||
.withTurnCount(state.turnOrder.size())
|
||||
.withTurnCount(1)
|
||||
.withNextCharacter(goose)
|
||||
.buildGameEvent());
|
||||
result.add(new EventBuilder(EventType.SpawnEntityEvent)
|
||||
@ -1014,7 +1014,7 @@ public class GameLogic {
|
||||
.withEntity(new NPC(stan, spawnPosition))
|
||||
.buildEntityEvent());
|
||||
result.add(new EventBuilder(EventType.TurnEvent)
|
||||
.withTurnCount(state.turnOrder.size())
|
||||
.withTurnCount(1)
|
||||
.withNextCharacter(stan)
|
||||
.buildGameEvent());
|
||||
|
||||
@ -1218,7 +1218,7 @@ public class GameLogic {
|
||||
}
|
||||
|
||||
result.add(new EventBuilder(EventType.TurnEvent)
|
||||
.withTurnCount(state.turnOrder.size())
|
||||
.withTurnCount(state.turnOrder.indexOf(state.activeCharacter) + 1)
|
||||
.withNextCharacter(state.activeCharacter)
|
||||
.buildGameEvent());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user