[DiscordArchive] <@200677690838220800> would be acceptable to use spell_pri_prayer_of_mending_SpellScriptBase for a s
[DiscordArchive] <@200677690838220800> would be acceptable to use spell_pri_prayer_of_mending_SpellScriptBase for a s
Archived author: Telegrill • Posted: 2025-01-03T13:20:09.140000+00:00
Original source
also, is it ok not to validate a spellinfo if we're validating spelleffect 0?
Archived author: Telegrill • Posted: 2025-01-03T13:20:57.732000+00:00
Original source
since for a spell to exist, unless someone forgot to create effect 0 for a serverside spell, effect 0 must exist
Archived author: Tea • Posted: 2025-01-03T13:21:13.969000+00:00
Original source
yes, because ValidateSpellEffect checks that SpellInfo exists (so it doesnt crash when it doesnt exist)
Archived author: Tea • Posted: 2025-01-03T13:21:20.506000+00:00
Original source
uh no
Archived author: Tea • Posted: 2025-01-03T13:21:23.997000+00:00
Original source
thats not what you asked
Archived author: Tea • Posted: 2025-01-03T13:21:40.780000+00:00
Original source
you asked if you can skip checking spellinfo if you validate effect 0
Archived author: Telegrill • Posted: 2025-01-03T13:21:46.911000+00:00
Original source
yeah that's what I asked
Archived author: Tea • Posted: 2025-01-03T13:21:50.190000+00:00
Original source
not if you can skip validating effect 0 if spellinfo exists
Archived author: Telegrill • Posted: 2025-01-03T13:23:11.354000+00:00
Original source
no, I meant the other way around, validating effect 0 would be enough
![[Image: image.png?ex=690bf88e&is=690aa70e&hm=757...eb7a8231b&]](https://cdn.discordapp.com/attachments/376457124726702080/1324729840435462175/image.png?ex=690bf88e&is=690aa70e&hm=757a80111f3d2204fdf6d1ab7f05705e854c3a7f6256cf400b5f796eb7a8231b&)
Archived author: Telegrill • Posted: 2025-01-03T13:23:26.257000+00:00
Original source
this basically
![[Image: image.png?ex=690bf88e&is=690aa70e&hm=757...eb7a8231b&]](https://cdn.discordapp.com/attachments/376457124726702080/1324729840435462175/image.png?ex=690bf88e&is=690aa70e&hm=757a80111f3d2204fdf6d1ab7f05705e854c3a7f6256cf400b5f796eb7a8231b&)