[DiscordArchive] What function adds items to a chest directly without ownership or lootId?
[DiscordArchive] What function adds items to a chest directly without ownership or lootId?
Archived author: whatwere • Posted: 2022-07-16T17:17:44.860000+00:00
Original source
What function adds items to a chest directly without ownership or lootId?
Archived author: whatwere • Posted: 2022-07-16T17:18:32.833000+00:00
Original source
Say I spawn an empty open world chest and want to add completely random items to it from C++ periodically, what should I use?
Archived author: Honey • Posted: 2022-07-16T17:21:18.433000+00:00
Original source
Try the Code in this PR:
https://github.com/azerothcore/mod-eluna/pull/52
[Embed: feat: GameObject:AddLoot() by 55Honey · Pull Request #52 · azerothc...]
Adds a new method to gameobjects, which allows spawning loot at runtime in an empty container.
Co-authored by @r-o-b-o-t-o
Tested with:
##Copy of the Arena Chest with 0 loot
INSERT INTO `gameobject...
https://github.com/azerothcore/mod-eluna/pull/52
Archived author: whatwere • Posted: 2022-07-16T17:44:50.078000+00:00
Original source
The object seems to be unclickable (or clickable if in GM mode but no loot anim/menu)
Archived author: whatwere • Posted: 2022-07-16T17:45:05.670000+00:00
Original source
Wonder what I'm doing wrong