Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] can i change loot id though ?

[DiscordArchive] can i change loot id though ?

[DiscordArchive] can i change loot id though ?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
02-03-2023, 10:56 PM
#1
Archived author: Rymercyble • Posted: 2023-02-03T22:56:41.247000+00:00
Original source

can i change loot id though ?
rektbyfaith
02-03-2023, 10:56 PM #1

Archived author: Rymercyble • Posted: 2023-02-03T22:56:41.247000+00:00
Original source

can i change loot id though ?

rektbyfaith
Administrator
0
02-03-2023, 10:57 PM
#2
Archived author: Rymercyble • Posted: 2023-02-03T22:57:29.172000+00:00
Original source

issue with loot mode is that 15 is simply not enough so in case i would want to go that route i would have to change it to support more
rektbyfaith
02-03-2023, 10:57 PM #2

Archived author: Rymercyble • Posted: 2023-02-03T22:57:29.172000+00:00
Original source

issue with loot mode is that 15 is simply not enough so in case i would want to go that route i would have to change it to support more

rektbyfaith
Administrator
0
02-03-2023, 10:57 PM
#3
Archived author: Revision • Posted: 2023-02-03T22:57:34.740000+00:00
Original source

You should be able to. I think.
rektbyfaith
02-03-2023, 10:57 PM #3

Archived author: Revision • Posted: 2023-02-03T22:57:34.740000+00:00
Original source

You should be able to. I think.

rektbyfaith
Administrator
0
02-03-2023, 10:58 PM
#4
Archived author: Revision • Posted: 2023-02-03T22:58:10.351000+00:00
Original source

The downside, of course, is that the server is going to cry on startup since the lootid isn't used by a creature.
rektbyfaith
02-03-2023, 10:58 PM #4

Archived author: Revision • Posted: 2023-02-03T22:58:10.351000+00:00
Original source

The downside, of course, is that the server is going to cry on startup since the lootid isn't used by a creature.

rektbyfaith
Administrator
0
02-03-2023, 10:58 PM
#5
Archived author: Honey • Posted: 2023-02-03T22:58:44.694000+00:00
Original source

i'd consider wiping and creating the loot manually then
rektbyfaith
02-03-2023, 10:58 PM #5

Archived author: Honey • Posted: 2023-02-03T22:58:44.694000+00:00
Original source

i'd consider wiping and creating the loot manually then

rektbyfaith
Administrator
0
02-03-2023, 11:00 PM
#6
Archived author: Honey • Posted: 2023-02-03T23:00:47.975000+00:00
Original source

<https://github.com/55Honey/mod-zone-difficulty/blob/5996ec03b3d5772b84436586e064a12850ebaa06/src/mod_zone_difficulty_scripts.cpp#L785> like that for example
rektbyfaith
02-03-2023, 11:00 PM #6

Archived author: Honey • Posted: 2023-02-03T23:00:47.975000+00:00
Original source

<https://github.com/55Honey/mod-zone-difficulty/blob/5996ec03b3d5772b84436586e064a12850ebaa06/src/mod_zone_difficulty_scripts.cpp#L785> like that for example

rektbyfaith
Administrator
0
02-03-2023, 11:01 PM
#7
Archived author: Honey • Posted: 2023-02-03T23:01:43.826000+00:00
Original source

or make a hook, which allows to change the lootid while the default loot is generated.
rektbyfaith
02-03-2023, 11:01 PM #7

Archived author: Honey • Posted: 2023-02-03T23:01:43.826000+00:00
Original source

or make a hook, which allows to change the lootid while the default loot is generated.

rektbyfaith
Administrator
0
02-03-2023, 11:02 PM
#8
Archived author: Rymercyble • Posted: 2023-02-03T23:02:03.459000+00:00
Original source

wouldnt that be global ?
rektbyfaith
02-03-2023, 11:02 PM #8

Archived author: Rymercyble • Posted: 2023-02-03T23:02:03.459000+00:00
Original source

wouldnt that be global ?

rektbyfaith
Administrator
0
02-03-2023, 11:02 PM
#9
Archived author: Honey • Posted: 2023-02-03T23:02:18.697000+00:00
Original source

you'd need an event and conditions ofc
rektbyfaith
02-03-2023, 11:02 PM #9

Archived author: Honey • Posted: 2023-02-03T23:02:18.697000+00:00
Original source

you'd need an event and conditions ofc

rektbyfaith
Administrator
0
02-03-2023, 11:09 PM
#10
Archived author: Rymercyble • Posted: 2023-02-03T23:09:42.556000+00:00
Original source

so use loot mode for quantity and this
```cpp
source->ToCreature()->loot.clear();
source->ToCreature()->loot.FillLoot([different loot id], LootTemplates_Creature, source->ToCreature()->GetLootRecipient(), false, false, source->ToCreature()->GetLootMode(), source->ToCreature());
```
to change between tables
rektbyfaith
02-03-2023, 11:09 PM #10

Archived author: Rymercyble • Posted: 2023-02-03T23:09:42.556000+00:00
Original source

so use loot mode for quantity and this
```cpp
source->ToCreature()->loot.clear();
source->ToCreature()->loot.FillLoot([different loot id], LootTemplates_Creature, source->ToCreature()->GetLootRecipient(), false, false, source->ToCreature()->GetLootMode(), source->ToCreature());
```
to change between tables

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)