[DiscordArchive] what **PreventDefaultAction** stand for?
[DiscordArchive] what **PreventDefaultAction** stand for?
Archived author: Matth • Posted: 2022-10-11T09:43:43.973000+00:00
Original source
what **PreventDefaultAction** stand for?
Archived author: Meltie • Posted: 2022-10-11T17:29:16.803000+00:00
Original source
**PreventDefaultAction()** prevents the default action of the current hook from happening.
Archived author: Matth • Posted: 2022-10-11T18:09:39.968000+00:00
Original source
Yes
Archived author: Matth • Posted: 2022-10-11T18:09:50.054000+00:00
Original source
but what is the "**default action**"?
Archived author: Kitzunu • Posted: 2022-10-11T18:09:59.710000+00:00
Original source
depends on the hook
Archived author: Matth • Posted: 2022-10-11T18:10:11.503000+00:00
Original source
OnEffectProc for example
Archived author: Matth • Posted: 2022-10-11T18:10:53.386000+00:00
Original source
why do I want to prevent any default action?
Archived author: Meltie • Posted: 2022-10-11T18:11:42.856000+00:00
Original source
It prevents a premature action with auras and some spells.
Archived author: Meltie • Posted: 2022-10-11T18:12:08.003000+00:00
Original source
It is like a check
Archived author: Matth • Posted: 2022-10-11T18:13:05.874000+00:00
Original source
Like a prioritization or something?