Testing of NPC LoH continued from previous:
Code:
- I am unsure how LoH works but it's reasonable to assume it's similar (LoH is not as easy to test)
- LoH was set to hp < 20% in source which made it nearly impossible to fire in many circumstances - special_attacks.cpp(~1722)
- npcs choose to flee before using LoH if low %
- changed line to 30% from 20% - works - consider 25%
if(GetHPRatio() < 30) {
- hp healed is equivalent to an instant CH - at low levels, see below
- need to alter spell data in DB or which spell is used in source
- since I saw the spell emote in client and the aa LoH spells are not in client, it's likely spell id 87 - confirmed
- spell 87 formula does not scale well and alternatives should be considered
- a quadratic makes sense in this case, if possible
Not requesting anything. Unsure if this is/was on the backburner. I'm guessing the big aa change created a bit of work.