[DiscordArchive] Lovely Charms - loot chance/amount.. is it possible to change this?
[DiscordArchive] Lovely Charms - loot chance/amount.. is it possible to change this?
Archived author: ChrisFredriksson • Posted: 2024-02-08T10:22:04.578000+00:00
Original source
so.. if it would be possible to configure en entry in the spell_dbc table.. maybe that could override the hardcoded DBC file and make it possible to dynamically change the loot chance from the database table spell_dbc?
Archived author: ChrisFredriksson • Posted: 2024-02-08T10:30:15.003000+00:00
Original source
hmm...
Archived author: ChrisFredriksson • Posted: 2024-02-08T10:30:20.775000+00:00
Original source
another idea..
Archived author: ChrisFredriksson • Posted: 2024-02-08T10:30:58.312000+00:00
Original source
is it possible to make a "global" creature_loot_template line that makes all mobs drop an item? in this case the lovely charm item
Archived author: Nyeriah • Posted: 2024-02-08T10:34:45.542000+00:00
Original source
They are created by a spell
Archived author: Nyeriah • Posted: 2024-02-08T10:35:11.019000+00:00
Original source
As long as the player has the aura and the creature gives experience it will proc on kill and award the charm
Archived author: Nyeriah • Posted: 2024-02-08T10:35:52.335000+00:00
Original source
To change the chance, change the proc chance
Archived author: ChrisFredriksson • Posted: 2024-02-08T10:53:20.624000+00:00
Original source
Alright, so I guess this can be done in the database table spell_dbc? just add a new row with the ID that is linked by SourceEntry in the conditions table?
Archived author: ChrisFredriksson • Posted: 2024-02-08T10:53:40.149000+00:00
Original source
what about the other columns, like Attributes, targets and such?
Archived author: Honey • Posted: 2024-02-08T10:54:52.266000+00:00
Original source
You need to extract that from the spell.dbc file.