Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low Prio Cosmetic Issue - TLPD and vyragosa seem to have a strange behavior when following flight paths as well as not appearing on flight paths unless you spot them again by continuing along flight path if trying to to cut them off and get ahead of them #10

Open
YggdrasilWotLK opened this issue Jul 3, 2024 · 1 comment
Assignees
Labels
Core/C++ DB enhancement This is a very minor, usually only visual, improvement

Comments

@YggdrasilWotLK
Copy link
Owner

TLPD and vyragosa seem to have a strange behavior when following flight paths as well as not appearing on flight paths unless you spot them again by continuing along flight path if trying to to cut them off and get ahead of them

@YggdrasilWotLK
Copy link
Owner Author

YggdrasilWotLK commented Aug 10, 2024

So we've finally had time to look into this and see that their their pathing is incorrect in that they cycle through their 250 waypoints and spawn at any random waypoint. It's hard scripted in C++ in this file:
void RollPath() { me->SetEntry(NPC_TIME_LOST_PROTO_DRAKE); Start(true, true, ObjectGuid::Empty, 0, false, true, true); SetNextWaypoint(urand(0, 250), true); me->UpdateEntry(roll_chance_i(25) ? NPC_TIME_LOST_PROTO_DRAKE : NPC_VYRAGOSA, 0, false); }

However, their pathing only rolls when they evade:
void Reset() override { npc_escortAI::Reset(); if (me->HasUnitState(UNIT_STATE_EVADE)) return; me->SetVisible(false); // pussywizard: zeby nie dostawali info o npc w miejscu spawna (kampienie z addonem npc scan) rollPath = true; }

We'll consider this a low-prio cosmetic issue, may be fixed later.

@YggdrasilWotLK YggdrasilWotLK changed the title TLPD and vyragosa seem to have a strange behavior when following flight paths as well as not appearing on flight paths unless you spot them again by continuing along flight path if trying to to cut them off and get ahead of them Low Prio Cosmetic Issue - TLPD and vyragosa seem to have a strange behavior when following flight paths as well as not appearing on flight paths unless you spot them again by continuing along flight path if trying to to cut them off and get ahead of them Aug 19, 2024
@YggdrasilWotLK YggdrasilWotLK added the enhancement This is a very minor, usually only visual, improvement label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core/C++ DB enhancement This is a very minor, usually only visual, improvement
Projects
None yet
Development

No branches or pull requests

2 participants