Commit Graph

107 Commits

Author SHA1 Message Date
e68298781b fix: revert removing infinity stones from space stone teleportation as this is not possible to happen 2021-08-06 15:26:54 +02:00
d69376c110 fix: remove infinity stones from the map on space stone teleports 2021-08-06 12:45:40 +02:00
315c7d2891 fix: use correct power stone self damage calculation to not kill the character 2021-08-06 12:45:06 +02:00
adb0a49711 feat: make rocks attackable 2021-08-05 12:16:29 +02:00
3070b9864c fix: use correct variables and send only the complete gamestate event 2021-07-29 01:19:12 +02:00
0336e4769a fix: include gamestate events in applying to ensure the state is set correctly 2021-07-29 01:01:51 +02:00
0fb3ca8728 fix: ok, we are sending more events 2021-07-29 00:22:11 +02:00
8add62fe20 fix: send first gamestate only event after everything is ready 2021-07-29 00:17:41 +02:00
14d30e14e4 fix: use 8-connected instead of 4-connected bresenham 2021-07-28 22:40:48 +02:00
7b1c644a08 fix: power stone doesn't send a value 2021-07-25 23:14:09 +02:00
910fd5cc3b fix: use correct damage check for power stone 2021-07-25 22:09:08 +02:00
a86e75014f refactor: improve stone cooldown update method 2021-07-25 01:13:40 +02:00
191817100d fix: circumvent late update issues by manually locking positions 2021-07-25 00:41:22 +02:00
9b8e3a7be3 fix: fix duplicate position adding 2021-07-24 22:58:02 +02:00
4eb61a8f48 fix: random neighbour field technically doesnt allow coordinates outside the map 2021-07-24 22:29:57 +02:00
23cceb9622 fix: resolve minor problem in free neighbour search 2021-07-24 21:40:00 +02:00
154ee9c0f2 fix: *facepalm* 2021-07-19 17:47:59 +02:00
996addcaf8 fix: fix terrible vector handling 2021-07-19 14:36:18 +02:00
518e458c5f fix: add additional protection to stone cooldown check 2021-07-07 15:00:12 +02:00
6885dcc13d fix: stone cooldown check needs to check for > 0 2021-07-07 14:58:24 +02:00
70529f04d8 fix: prevent getFreeNeighbour from choosing positions outside of the map 2021-07-06 12:55:53 +02:00
a7b0514bd8 fix: fix turn count 2021-07-02 15:39:21 +02:00
bacb6a65df fix: make game logic methods accessible for ai 2021-07-01 18:32:44 +02:00
1dabd1d25d fix: make GameState accessible for ai 2021-07-01 17:25:14 +02:00
be7dd1ca94 feat: add portal support 2021-06-24 22:07:40 +02:00
7b1ce8af8f fix: make thanos also knock out characters he walks over, adapt for new UseInfinityStoneRequest 2021-06-24 20:41:37 +02:00
b8402f636f fix: turns out turn count means something totally different 2021-06-07 15:16:37 +02:00
81cbec5348 fix: mind stone creates an infinite ray 2021-06-07 00:27:58 +02:00
2b11633ced fix: make character selection use characterIDs and not indices 2021-06-06 23:00:03 +02:00
98b47ea688 fix: fixed ArrayIndexOOB in getting characters 2021-06-06 21:36:29 +02:00
5202b63c2e refactor: changed some ArrayList types to Lists for compatibility 2021-06-06 17:56:04 +02:00
2cbd86b725 feat: trace win reason for logging 2021-06-05 04:19:37 +02:00
f2a961d159 fix: resolve various issues with ai, cloning and turn order handling 2021-06-05 04:00:25 +02:00
0eaa0c5ea1 fix: improve turn handling and fix typing issues 2021-06-04 07:47:20 +02:00
b20b428705 fix: remove major flaw in state manipulation 2021-06-04 06:41:59 +02:00
4eb71fa972 feat: add description to request denial error 2021-06-04 05:47:32 +02:00
e90b8f4562 fix: resolve various casting and equality check mistakes 2021-06-04 05:14:00 +02:00
f53a6502f4 cleanup: optimize imports 2021-06-03 04:19:10 +02:00
d4a929878d refactor: reduce the type casting hell 2021-06-03 04:18:16 +02:00
5a90056cd8 fix: remove ConsumedMP- and ConsumedAPEvents before TurnEvent for standard compatibility 2021-06-03 04:14:33 +02:00
bc6846b5b1 refactor: move GameInstance.toString implementation to GameState 2021-06-03 04:06:20 +02:00
2fb5a29633 cleanup: optimize imports 2021-06-03 03:57:20 +02:00
f9837b4c28 cleanup: improve javadoc comments 2021-06-03 03:54:18 +02:00
09d798f37f refactor: introduce utils method for converting arrays into arraylists and make methods accessible with either 2021-06-03 03:33:20 +02:00
614b33adff refactor: use isAlive instead of hp.getValue 2021-06-03 03:15:05 +02:00
00eb5e21f3 fix: make characters drop their inventory on knockout 2021-06-03 03:06:21 +02:00
1601a2560d feat: add support for the GamestateEvent in applyEvent 2021-06-03 02:51:44 +02:00
c990356da0 fix: include knocked out characters in TurnEvent for standard compatibility 2021-06-03 02:37:03 +02:00
cc4c5ba8cb fix: include NPCs in RoundSetupEvent and TurnEvent for standard compatibility 2021-06-03 02:30:25 +02:00
dd3201dfd2 feat: add method to end the current turn 2021-06-03 02:21:12 +02:00