[DiscordArchive] You know how you can only have 1 buff from a "Flask" on at a time?
[DiscordArchive] You know how you can only have 1 buff from a "Flask" on at a time?
Archived author: Vlad • Posted: 2021-12-30T05:46:38.104000+00:00
Original source
You know how you can only have 1 buff from a "Flask" on at a time?
Archived author: Vlad • Posted: 2021-12-30T05:46:55.331000+00:00
Original source
And when another buff applies to you, the old one goes away
Archived author: Vlad • Posted: 2021-12-30T05:47:10.027000+00:00
Original source
im trying to make a system where a player can only have 1 of these "types" of buff at the same time
Archived author: Demonic • Posted: 2021-12-30T05:47:34.179000+00:00
Original source
Yeah I know 
Archived author: Demonic • Posted: 2021-12-30T05:48:20.218000+00:00
Original source
Gime a moment. I just got up, I'll boot up my PC and tell you how that works.
Archived author: Vlad • Posted: 2021-12-30T05:48:26.788000+00:00
Original source
thanks!
Archived author: Yakumo • Posted: 2021-12-30T06:59:41.804000+00:00
Original source
This is done via the world DB. In the table `spell_group` you define the group of all the spells. Then you reference that group in `spell_group_stack_rules` and tell it what rule to apply, in this case that'd be stacking rule 1
Archived author: Yakumo • Posted: 2021-12-30T07:00:00.798000+00:00
Original source
https://trinitycore.atlassian.net/wiki/s...tack+rules
For any references you might need