Heal a Friendly NPC

neknet

Greenman
Joined
Jul 3, 2016
Messages
29
Reaction score
1
Points
3
Hi I have a cleric and druid bot group and am trying to do some missions that require keeping some friendly NPC's healed. Is there a way and can configure my druid's and clerics ini file to heal these NPC's like they would heal a group member?
 
MQ2Bot isn't set up to heal outside of the group.

You'd need a custom macro of some sort to do it.
 
MQ2Bot isn't set up to heal outside of the group.

You'd need a custom macro of some sort to do it.
Well that isn't true. You can heal via XTarget or NetHeal options within MQ2bot.. but your point stands that it won't heal an NPC unless that NPC is charmed. it requires a macro. something like:


target the npc in question, with this macro called heal.mac:
/mac heal

Code:
Sub Main
/declare my_target int outer ${Target.ID}
/declare heal_at int outer 85
/declare heal_spell string outer "Complete Heal"

:loop
/if (${Spawn[${my_target}].PctHPs}>0 && ${Spawn[${my_target}].PctHPs}<${heal_at} && ${Spawn[${my_target}].Distance}<${Spell[${heal_spell}].Range} && ${Me.SpellReady[${heal_spell}]})  /casting ${heal_spell} -targetid ${my_target} 
/goto :mainloop
/return
Something like that. i free hand coded that from memory so there is probably an error or two, but you get the gist.
 
Last edited: