FelisMalum
Well-known member
- Joined
- Mar 7, 2022
- RedCents
- 439¢
- Pronouns
- She/Her
Split this off due to being a slightly different topic. When I pull I just have the pally stand in 1 place and tag anything in spell/bow range. For most part it works fairly well. Only real issue is they will keep pulling until everyone is oom and eventually wipes due to lack of any mana. So did a little quick and dirty patch. For the most part it works well. The part I havent been able to figure out is how to clear the target list. As soon as the med time ends via FM or change of combat state the MT will tag the last mob they were considering wich is often way in the back of the pack of mobs. Was hoping the goto would interrupt the loop but no luck. Any ideas for clearing target after med or a better place to put the loop?
Code:
:tRecheck
/for a 1 to ${ADMobMax}
/if (${NearestSpawn[${a},npc].ID}) {
/for b 1 to ${ADMobMax}
| Quick n dirty camp return & med brake
/if (!${Me.CombatState.Equal[combat]} && ${MakeCamp.CampDist}>${MakeCamp.LeashLength}) {
/makecamp return
/delay 2s
}
/if (!${Me.CombatState.Equal[combat]} && ${Me.PctMana}<10) {
/makecamp return
/delay 2s
/sit
/while (!${Me.CombatState.Equal[combat]} && ${Me.PctMana}<100) {
/delay 1s
}
/varset ADMobList[${a}] 0
/goto :tRecheck
}
/if (${ADMobList[${b}]}) {
/if (${NearestSpawn[${a},npc].ID}==${ADMobList[${b}]}) {
/varset tTargetID ${ADMobList[${b}]}
/goto :tGotTarget
}
}
/next b
}

