Code: Select all
<preCodeOnElite><![CDATA[
-- code to use before a boss or tough mob
-- _arg1 is target pawn, _arg1.Name = target's name
]]></preCodeOnElite>
target.MaxHP > (player.MaxHP * settings.profile.options.AUTO_ELITE_FACTOR)
I added AUTO_ELITE_FACTOR to the default profile so people can see and add it to their other profiles, default value is 7.
So if character MaxHP is 20,000 then an "elite" will be any mob with 140,000+ HP. Obvously changing this value in your profile will alter the calculation.
So if you come up against a mob like this it will do the code BEFORE attacking it, all normal rules apply as to what bot decides to attack or not.
Also added Rock's fixes to the guild bank class.
addresses.lua is updated to game version 5.0.7.2611