btksurfjohn 15 Share Posted February 1 (edited) Hello, I have been working on a dragon & druid killer and it works ok but I want to improve its combat mechanics. Does anyone also have any suggestions on how to wait for npc loot after killing it? Update figured below out by just tracking which node was run last and updating it in a mainscript function Is there a way to recognize when im not fighting back (waiting for auto-retaliate to kick in) and taking hits, for instance after eating food or looting, the dragon gets a free hit on me or 2 before the auto-retaliate kicks back in to hit it. It seems like my Players.getLocal().isInCombat() still thinks its in combat even when its just taking hits, I would ideally like to re-aggro the npc im interacting with immediatly after looting/eating. On the flip side of this is there a way i could tell if another task node with higher priortiy has activated on top of my current node. For instance my loot or eat node activates over my fight node. Is there a way i could catch this so I know to immediatly re-click the monster when the fight node re-activates? Edited February 2 by btksurfjohn Link to comment Share on other sites More sharing options...
wr80 12 Share Posted February 1 You could get characterInteractingWithMe and after an eat, interact with them. Link to comment Share on other sites More sharing options...
btksurfjohn 15 Author Share Posted February 1 (edited) 19 hours ago, wr80 said: You could get characterInteractingWithMe and after an eat, interact with them. Thanks for the info, Ive looked into doing this, my eat is in a different tasknode (same as loot being in a different node), so i was thinking this would be the way, do you have any suggestions to tell if another task node has been activated, so that I could know to re aggro the monster as the highest priority, or in the case of loot i may no longer be aggroed on a monster i was attacking so i would have to get the character interacting with me before leaving the node, is there a way to detect a tasknode being de-prioritized so I can grab the character interacting with me before leaving? Update: generally just started tracking task nodes by updating main script and checking which node was run last. Seems to have done exactly what i was looking for. Still curious about looting mechanics though. Edited February 2 by btksurfjohn Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now