is there a way to use lua to keep track of the mobs hp and @ 0 or close to it send a winsdower command?

prerender / mobhp
#1

Posted 18 September 2015 - 06:36 PM
#2

Posted 19 September 2015 - 12:14 AM
The most efficient way to do this would likely be to monitor packet 0x00E for the mob you're interested in. If you just want a quick and dirty way to do it, you can use
windower.ffxi.get_mob_by_<id|index|name|target>() and look at the hpp field in the returned table.
#3

Posted 19 September 2015 - 07:42 AM
to monitor the pactket id use the incoming chuck function correct? all im trying to to do is make it so say my current target s HP% hit zero i would send the command to /target lasttarget mkaing my targeting time go down alot
#4

Posted 09 November 2015 - 06:05 AM
its not just 1 type of mob but all mobs will 0x00E work for any mob that I target?
#5

Posted 14 November 2015 - 03:45 PM
You can periodically check your current target's HP. Packets should not be needed for that. It's not easy to find out your "current" mob from packets, as packets are sent for all mobs. You would have to rely on the mob's "claimer" being set (so it wouldn't work on unclaimed mobs, like yellow mobs you're targeting), and then check if that claimer is inside your party.
#6

Posted 15 November 2015 - 02:36 AM
trying to make my mid casts equip co cape when mob is 25% and lower so I can wear other capes rather then my co cape
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users