Commit Graph

13 Commits

Author SHA1 Message Date
SaW
d9f9d980cf Fix various formations - Issue #749 (#807)
* Fix various formations

* Refactor Formation::GetFollowAngle()

* Update Formations.cpp

* Refactored Formation::GetFollowAngle()

Final refactor of Formation::GetFollowAngle()

 - By combining the group member iteration, unnecessary loops are avoided.
- Clearer Structure: The code is more readable, with fewer redundant operations.
- Better Maintainability: Comments and logical grouping make it easier to modify or extend the function in the future.

* Logic order improvement
2024-12-22 23:08:47 +01:00
EricksOliveira
af0a6b73e1 Fix Crashs Formation Arrow (#708)
* Fix crash in formations

* Crash fix: Arrow formation

* Crash fix: Arrow formation looking for member information in different maps/instances.

* Loop fix: arrow formation

* Crash fix: Arrow formation when group isn't all in 1 place.

* Fix Build
2024-11-14 15:23:07 +01:00
Yunfan Li
68bf09c425 Disable test items 2024-09-18 22:16:18 +08:00
Yunfan Li
593b30bbb0 Arm warrior and dk 2024-09-06 20:29:38 +08:00
Yunfan Li
4b62d99c92 [Crash fix] Circle formation 2024-08-25 11:19:11 +08:00
Yunfan Li
d3b1041719 Fix movement on transport 2024-08-12 11:07:14 +08:00
Yunfan Li
65579abb47 Fix transport movement 2024-08-12 02:27:36 +08:00
Yunfan Li
de37cfd5aa Code style 2024-08-04 23:44:24 +08:00
Yunfan Li
b0c0002206 Make better move point for follow and reach combat 2024-08-04 23:33:21 +08:00
Yunfan Li
53611c9040 Run clang-format 2024-08-04 10:23:36 +08:00
Yunfan Li
6dc6667920 Fix movement on ship 2024-04-18 20:47:41 +08:00
Yunfan Li
1aaa1f8507 better movement 2023-09-05 00:12:48 +08:00
UltraNix
b952636f0d Big update. 2022-03-12 22:27:09 +01:00