[DiscordArchive] do i need to validate effects of the spell im currently scripting?
[DiscordArchive] do i need to validate effects of the spell im currently scripting?
Archived author: Mematoru • Posted: 2024-04-06T10:08:18.606000+00:00
Original source
do i need to validate effects of the spell im currently scripting?
Archived author: Telegrill • Posted: 2024-04-06T10:08:23.261000+00:00
Original source
yes
Archived author: Telegrill • Posted: 2024-04-06T10:08:29.644000+00:00
Original source
if it's not the effect you're hooking
Archived author: Telegrill • Posted: 2024-04-06T10:08:52.556000+00:00
Original source
e.g.: im scripting effect 1 and i need to check effect 2 for whatever
Archived author: Mematoru • Posted: 2024-04-06T10:10:00.418000+00:00
Original source
ye got it, cuz if i validate the effect i hook to, the script will not load right?
Archived author: Telegrill • Posted: 2024-04-06T10:10:21.494000+00:00
Original source
not sure what would happen but that would be redundant
Archived author: Telegrill • Posted: 2024-04-06T10:10:59.373000+00:00
Original source
i think the effect itself is validated once the hook is called
Archived author: Telegrill • Posted: 2024-04-06T10:11:15.458000+00:00
Original source
but it doesn't apply to effects you're not currently hooking
Archived author: ModoX • Posted: 2024-04-06T10:11:21.733000+00:00
Original source
Hooks are implicitly validating what they are hooked to
Archived author: Telegrill • Posted: 2024-04-06T10:11:51.193000+00:00
Original source
sometimes Shauren goes further and checks more than just a simply effect validation