salien-bot icon indicating copy to clipboard operation
salien-bot copied to clipboard

Change healing logic

Open MatthiasMoore opened this issue 7 years ago • 3 comments

The player will be healed when they are not full hp during boss battles.

Resolves #177

MatthiasMoore avatar Jul 03 '18 15:07 MatthiasMoore

Correct me if im wrong - but the healing attack heals everyone, not just you, correct?

meepen avatar Jul 04 '18 05:07 meepen

Yea, the healing skill does heal others, and it seems the boss will randomly damage one of the ten players with its laser attack. It would be more efficient to check all players health values, and then apply it in an optimal way, but I was not thinking about that at the time.

MatthiasMoore avatar Jul 04 '18 08:07 MatthiasMoore

The new commits should now prefer healing when half the allies are not full hp. I will not have time to test it for a few hours, but looking over the logic a few times, it should function properly unless I am overlooking something simple.

MatthiasMoore avatar Jul 04 '18 09:07 MatthiasMoore