mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-30 11:03:21 -07:00
Clamp max power from sword upgrades
This commit is contained in:
@@ -84,7 +84,7 @@ def get_att_power(state: CollectionState, player: int) -> int:
|
||||
sword_upgrades = state.count("Sword Upgrade", player)
|
||||
# +4 power from sword, +2 power for the next two sword (includes the attack buff from getting it)
|
||||
if sword_upgrades >= 2:
|
||||
power += sword_upgrades * 2
|
||||
power += max(8, sword_upgrades * 2)
|
||||
return power
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user