I wanted to get this out there, well because it is awesome and it works. This will be a huge help if you want to be in control when your the MA, picking the targets manually. The only small nuance is you may have to click the target you want twice for it to stick when mobs are incoming or after your current target dies.
First be sure you have updated file. This can be found here: https://www.redguides.com/community/threads/kissassist-10-0-4-eqmule-edition.55948/
1. Navigate to the Macros folder: EX: C:\Release\Macros.
2. Find the file kissassist1004e15.mac and edit it. (Making a back up would be advised, in case something goes wrong.)
3. Go to line 1884 or use Ctrl+F to find "SUB: CombatTargetCheck"
Follow the below directions:
Delete lines 1884 to 1906 and insert the below code. Then Save.
This code was provided by @ctaylor22. Original thread here: https://www.redguides.com/community/threads/changing-targets-in-fight.67588/#post-371495
First be sure you have updated file. This can be found here: https://www.redguides.com/community/threads/kissassist-10-0-4-eqmule-edition.55948/
1. Navigate to the Macros folder: EX: C:\Release\Macros.
2. Find the file kissassist1004e15.mac and edit it. (Making a back up would be advised, in case something goes wrong.)
3. Go to line 1884 or use Ctrl+F to find "SUB: CombatTargetCheck"
Follow the below directions:
Delete lines 1884 to 1906 and insert the below code. Then Save.
Code:
| -------------------------------------------------------------------------------------
| SUB: CombatTargetCheck
| -------------------------------------------------------------------------------------
Sub CombatTargetCheck
| If mob is dead return
/if (${Spawn[${MyTargetID}].Type.Equal[Corpse]} || !${Spawn[${MyTargetID}].ID} || ${DPSPaused}) /return
/declare CMyTargetID int Local ${MyTargetID}
| Check target matches MA if group mainassist assigned and MA is in group
/if (${Spawn[=${MainAssist}].ID} && ${Group.MainAssist.ID} && ${Spawn[=${MainAssist}].ID}==${Group.MainAssist.ID}) {
/if (${Target.ID}!=${Me.GroupAssistTarget.ID} && ${Group.MainAssist.ID}!=${Me.ID}) {
/if (${MyTargetID}!=${Me.GroupAssistTarget.ID} && ${Spawn[id ${Me.GroupAssistTarget.ID} npc].ID}) {
/echo My target does not match MA's. Switching to new target.
/varset MyTargetID ${Me.GroupAssistTarget.ID}
/varset MyTargetName ${Spawn[id ${Me.GroupAssistTarget.ID}].CleanName}
}
} else /if (${Group.MainAssist.ID}==${Me.ID} && ${Target.ID}!=${MyTargetID}) {
/echo I am MA, and I switched to new Target.
/varset MyTargetID ${Target.ID}
/varset MyTargetName ${Target.CleanName}
}
}
/if (${CMyTargetID}!=${MyTargetID} && ${Target.ID}!=${MyTargetID} && ${Spawn[${MyTargetID}].ID}) {
/squelch /target id ${MyTargetID}
/delay 10 ${Target.ID}==${MyTargetID}
/if (!${Group.Member[${MainAssist}].Index} && ${Target.Type.NotEqual[PC]}) /xtarget set ${XTSlot} currenttarget
}
/return
| -------------------------------------------------------------------------------------
| SUB: DoBandolier
| -------------------------------------------------------------------------------------
This code was provided by @ctaylor22. Original thread here: https://www.redguides.com/community/threads/changing-targets-in-fight.67588/#post-371495

