[DiscordArchive] AC's wiki?
[DiscordArchive] AC's wiki?
Archived author: DavuKnight • Posted: 2022-09-01T00:18:47.192000+00:00
Original source
That helps but not all 12 are actually the same from the looks of some testing I did last night. As you move the enchantment Id through the 12 slots different slots will react slightly differently to different enchants. If thats all the more info we have its going to be fun figuring it out
Archived author: Anchy • Posted: 2022-09-01T00:26:23.091000+00:00
Original source
yes because there are 12 enchantment slots and they have different behaviors
Archived author: Anchy • Posted: 2022-09-01T00:27:36.481000+00:00
Original source
```cpp
// -1 from client enchantment slot number
enum EnchantmentSlot
{
PERM_ENCHANTMENT_SLOT = 0,
TEMP_ENCHANTMENT_SLOT = 1,
SOCK_ENCHANTMENT_SLOT = 2,
SOCK_ENCHANTMENT_SLOT_2 = 3,
SOCK_ENCHANTMENT_SLOT_3 = 4,
BONUS_ENCHANTMENT_SLOT = 5,
PRISMATIC_ENCHANTMENT_SLOT = 6, // added at apply special permanent enchantment
MAX_INSPECTED_ENCHANTMENT_SLOT = 7,
PROP_ENCHANTMENT_SLOT_0 = 7, // used with RandomSuffix and RandomProperty
PROP_ENCHANTMENT_SLOT_1 = 8, // used with RandomSuffix and RandomProperty
PROP_ENCHANTMENT_SLOT_2 = 9, // used with RandomSuffix and RandomProperty
PROP_ENCHANTMENT_SLOT_3 = 10, // used with RandomSuffix and RandomProperty
PROP_ENCHANTMENT_SLOT_4 = 11, // used with RandomSuffix and RandomProperty
MAX_ENCHANTMENT_SLOT = 12
};```
Archived author: Anchy • Posted: 2022-09-01T00:27:45.244000+00:00
Original source
these all behave differently depending on what slot you enchant onto
Archived author: Anchy • Posted: 2022-09-01T00:28:14.048000+00:00
Original source
MAX_ENCHANTMENT_SLOT and MAX_INSPECTED_ENCHANTMENT_SLOT can be ignored as they arent enchantment slots but just values to retrieve the max slots
Archived author: Anchy • Posted: 2022-09-01T00:28:33.697000+00:00
Original source
so all that field is, is a place to store the 12 enchantment slots
Archived author: Anchy • Posted: 2022-09-01T00:29:02.945000+00:00
Original source
with duration and charges remaining
Archived author: DavuKnight • Posted: 2022-09-01T00:30:24.927000+00:00
Original source
Thanks
Archived author: Anchy • Posted: 2022-09-01T00:30:59.497000+00:00
Original source
i only know because my module is all about enchanting
Archived author: DavuKnight • Posted: 2022-09-01T00:32:55.575000+00:00
Original source
Im working on a Bug having to do with not being able to get 3 random Prop_Enchantments to take. 2 will take but the third comes up as Zero. Doesnt matter what 2 and what third at least not that I've found yet