[DiscordArchive] <@213383518842126336> ah ok I see, that makes more sense. The only thing and quite important thing
[DiscordArchive] <@213383518842126336> ah ok I see, that makes more sense. The only thing and quite important thing
Archived author: Goatrek • Posted: 2022-12-20T23:37:59.735000+00:00
Original source
<@213383518842126336> ah ok I see, that makes more sense. The only thing and quite important thing I dont really get though is how I get the correct spellclassmask. Ive read something about it on the devwiki but I think im confusing spellclass, familymask, class mask, and whatnot so the concept has not matured yet in my brain.
Would you mind making that same example but only for succubus and Ill see if I can compare the two and learn something?
![[Image: image.png?ex=690c8920&is=690b37a0&hm=e9b...0b96a162a&]](https://cdn.discordapp.com/attachments/415944535718494208/1054906110852743279/image.png?ex=690c8920&is=690b37a0&hm=e9bfa018ac4c377874aa14f62a639708828355add395fc891ebce630b96a162a&)
Archived author: Goatrek • Posted: 2022-12-20T23:40:16.128000+00:00
Original source
I think im using something older to edit my dbcs. really need to understand each input in numbers before I do anything.
![[Image: image.png?ex=690c8920&is=690b37a0&hm=e9b...0b96a162a&]](https://cdn.discordapp.com/attachments/415944535718494208/1054906110852743279/image.png?ex=690c8920&is=690b37a0&hm=e9bfa018ac4c377874aa14f62a639708828355add395fc891ebce630b96a162a&)
![[Image: image.png?ex=690c89d2&is=690b3852&hm=af4...94b70d7cb&]](https://cdn.discordapp.com/attachments/415944535718494208/1054906861364715530/image.png?ex=690c89d2&is=690b3852&hm=af4761c815d16588fd3ba6c397fd5e354daa01cc6b769690c3508c194b70d7cb&)
Archived author: Titi • Posted: 2022-12-20T23:43:15.042000+00:00
Original source
spell 18735 has familyflag 134217728 in the first "tier", that's bit #28
to target it, you check entry #28 in spell class mask 1 (tier1), think of the tiers as ids from 1 to 96 (32*3)
spell editor does a pretty poor job at handling this currently and it could be a LOT simpler
![[Image: image.png?ex=690c89d2&is=690b3852&hm=af4...94b70d7cb&]](https://cdn.discordapp.com/attachments/415944535718494208/1054906861364715530/image.png?ex=690c89d2&is=690b3852&hm=af4761c815d16588fd3ba6c397fd5e354daa01cc6b769690c3508c194b70d7cb&)
![[Image: image.png?ex=690c89f9&is=690b3879&hm=b65...e84251956&]](https://cdn.discordapp.com/attachments/415944535718494208/1054907021780058193/image.png?ex=690c89f9&is=690b3879&hm=b650cb4746c78a9d0687f95e0c081cea616eea5160b2897da37d4ebe84251956&)
Archived author: Titi • Posted: 2022-12-20T23:43:53.284000+00:00
Original source
![[Image: image.png?ex=690c89f9&is=690b3879&hm=b65...e84251956&]](https://cdn.discordapp.com/attachments/415944535718494208/1054907021780058193/image.png?ex=690c89f9&is=690b3879&hm=b650cb4746c78a9d0687f95e0c081cea616eea5160b2897da37d4ebe84251956&)
![[Image: image.png?ex=690c8a36&is=690b38b6&hm=4e0...e22e73a69&]](https://cdn.discordapp.com/attachments/415944535718494208/1054907277796184084/image.png?ex=690c8a36&is=690b38b6&hm=4e084d1c47cccfdf6e762bb2503a8549f88c08c41a120bb6d9605e5e22e73a69&)
Archived author: Titi • Posted: 2022-12-20T23:44:54.335000+00:00
Original source
(0x8000000 which is the same as 134217728 in hexadecimal)
![[Image: image.png?ex=690c8a36&is=690b38b6&hm=4e0...e22e73a69&]](https://cdn.discordapp.com/attachments/415944535718494208/1054907277796184084/image.png?ex=690c8a36&is=690b38b6&hm=4e084d1c47cccfdf6e762bb2503a8549f88c08c41a120bb6d9605e5e22e73a69&)
Archived author: Titi • Posted: 2022-12-20T23:45:56.343000+00:00
Original source
134217728 being 2^(28-1)
Archived author: Goatrek • Posted: 2022-12-20T23:47:45.648000+00:00
Original source
Right, I can see that 134217728 is inserted into Effectspellclassmask for improved succubus
Archived author: Titi • Posted: 2022-12-20T23:48:16.542000+00:00
Original source
you might want to read and learn about bitmasks
Archived author: Titi • Posted: 2022-12-20T23:48:56.875000+00:00
Original source
but basically it goes like this : 1 = 1, 2 = 2, 3 = 4, 4 = 8, 5 = 16, 6 = 32, 7 = 64.... you multiply by 2
Archived author: Titi • Posted: 2022-12-20T23:49:13.851000+00:00
Original source
and you can add them together