After 6 RedBulls and a sleepless night, I could reverse engineer paragon algorithm for the event

shootgunshootgun Posts: 321
edited October 2023 in General Discussions
I used a combination of tcpdump and wireshark, and I could barely figure out the algorithm for Paragon Skeletal Dragons and Paragon Rune Beetles.
Any ways here is the relevant piece of code. It is the same for both since they both are derived from the same base class.

```C++
    bool8_t changeTarget = this->curFacet->checkMovement(INCLUDE_PLAYERS|INCLUDE_PETS|INCLUDE_DEAD|INCLUDE_CASTING|INCLUDE_LEAF_MOVEMENTS);
    if (changeTarget) {
        this->attackClosest(TAMERS_ONLY);
    }
```

Comments

  • shootgunshootgun Posts: 321
    edited October 2023


    Mother F***...

    Edited to add leaf movements. Seems like I overlooked that the first time around.
Sign In or Register to comment.