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

Player / Pet / Bot player with the last hit #28137

Open
Krutok opened this issue Jul 19, 2022 · 0 comments
Open

Player / Pet / Bot player with the last hit #28137

Krutok opened this issue Jul 19, 2022 · 0 comments

Comments

@Krutok
Copy link

Krutok commented Jul 19, 2022

Description

I've noticed that when non-players (bots, pets) perform the final killing blow, there is a problem of not being able to loot a creature. in my case i had a script created that spawns bosses when you have the quest and spawns a chest when you finish the quest, but when a non-player hits the final blow then nothing happens.

Expected behaviour

When a pet or NPCBOT in my case does the final fatal blow on the creature, the chest or loot should appear as expected.

Steps to reproduce the problem

I posted the whole thing here: trickerer/Trinity-Bots#199 and I was given a solution that should fix the problem. and there is also a video link where you can see what should happen if it works properly.

Branch

3.3.5

TC rev. hash/commit

TrinityCore rev. 6d962c5+ 2022-07-15 21:26:24 +0000 (npcbots_3.3.5 branch) (Unix, RelWithDebInfo, Static)

Operating system

Debian 11

Custom changes

TrinityCore with Bots:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant