Kreolix / CovenantMissionHelper

10 stars 8 forks source link

Max level companions level up #39

Closed zalewskigrzegorz closed 2 months ago

zalewskigrzegorz commented 3 years ago

Max level companions are marked as a candidate to level up: image This broke optimization because those companions will not level up and restore health.

HannesPaul commented 3 years ago

I have changed board.lua around line 100 from: info.followerGUID = follower:GetFollowerGUID() local XPToLvlUp = 0 if info.isAutoTroop then info.isLoseLvlUp = false info.isWinLvlUp = false to: info.followerGUID = follower:GetFollowerGUID() local XPToLvlUp = 0 if info.isAutoTroop or info.xp == 0 then info.isLoseLvlUp = false info.isWinLvlUp = false

and it seems to work4me ;)

zalewskigrzegorz commented 2 months ago

I'm closing this issue due to inactivity. If further assistance is needed, please feel free to reopen or create a new.