avirar d77dbb65e5
Enhanced dual wield logic in EquipItem
Implemented logic to ensure the strongest weapon is always placed in the main hand for dual-wielding or Titan Grip-capable bots.
When equipping a new weapon, the code now compares the new weapon’s score with the currently equipped main-hand and off-hand weapons.
If the new weapon is the strongest, it goes into the main hand. The previous main-hand weapon may be moved to the off-hand if it is allowed (e.g., not a main-hand-only weapon) and provides a performance improvement.
Titan Grip conditions are accounted for, allowing valid two-handed weapons (2H axes, maces, swords) to be placed in the off-hand as well.
2024-12-14 18:52:57 +11:00
..
2024-09-07 00:04:37 +08:00
2024-10-05 19:02:17 +10:00
2024-12-14 17:23:48 +11:00
2024-12-01 22:33:03 +01:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-10-04 20:48:29 +08:00
2024-08-14 18:37:21 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 12:04:06 +02:00
2024-08-04 12:04:06 +02:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-09-24 11:46:39 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-14 18:37:21 +08:00