natedahl32 / portalclassic

playerbot support for C(ontinued)-MaNGOS (classic fork)
GNU General Public License v2.0
1 stars 0 forks source link

Healing Logic - General #7

Open natedahl32 opened 8 years ago

natedahl32 commented 8 years ago

The logic that determines who to heal has a little flaw in it from what I've noticed in groups. If a non-tank bot has aggro on a mob and that bot plus the tank are below the health thresholds, the healer will let the non-tank die even if the tank does not have aggro (since the tank health is below the threshold).

The priority of heals is Healers, Tanks, Master, then DPS. In general this is OK, but it shouldn't be an exclusive priority. A very large part of who gets healed is who has aggro on mobs and how fast they are losing health.

I'd like to implement an HLPS (Health Loss Per Second) calculator that determines which bot is losing health the fastest so we can determine who gets healed first. This could go a long way in creating very good AI for healers in groups.