Add NunduBayVialSpam step to Nightfall_leveler bot#22
Add NunduBayVialSpam step to Nightfall_leveler bot#22
Conversation
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
|
@copilot This isn't meant as a standalone bot but a new step in the Nightfall_Leveler bot. The target is "Harbinger of Twilight" so no need for changing the target. Keep comments in the changes to a minimum. |
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Changed to a new step in Nightfall_leveler.py instead of standalone bot. Added NunduBayVialSpam() function that targets Harbinger of Twilight and spams Vial_of_Purified_Water. Minimal comments added as requested. (0dbda80) |
|
@copilot Harbringer is not a player, but a hostile NPC/Agent |
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
|
@copilot This works but it doesnt loop. It will cast once and then not cast again. Please fix |
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Added continuous loop - now searches for and targets Harbingers repeatedly. Skill slot is found once at start, then outer while True loop keeps searching for targets and spams skill on each until death. (19b267f) |
|
@copilot There is only one harbringer. |
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
|
@copilot We get this error: [21:34:27] [FSM] Error in self-managed coroutine at state 'Spam Vial on Harbinger': 'SkillbarCache' object has no attribute 'IsSkillReady' Please fix. Also the Harbringer's model id is only 5408 |
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
|
@copilot Can you make this so it waits until the harbringer is in range and then enters the loop? this can be a separate def right before it (WaitForHarbringer) |
Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Added WaitForHarbinger() function that waits until Harbinger is within spellcast range (1248.0) before entering the skill spam loop. It runs as a separate state before SpamVialOnHarbinger. (51fc6ea) |
|
@copilot can you make an additional function that follows an agent (Elder Jonah) and exits when the Harbinger is within spirit range. |
…n range Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Added FollowElderJonah() function that follows Elder Jonah (model ID 5286) and exits when Harbinger is within spirit range (2500.0). It runs as the first state before WaitForHarbinger and SpamVialOnHarbinger. (81ccdc3) |
|
@copilot no need for a custom solution. We just need an exit condition, see how this is implemented in the We No Su script. |
…tom loop Co-authored-by: Ewoog <72410352+Ewoog@users.noreply.github.com>
Changed from standalone bot to a new step in Nightfall_leveler.py
Changes:
The function now:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.