Info mainly for foof, for channelers spells need the following 2 elements set in WS_UpdateSpellBook
<Data ElementName="unknown5" Type="int8" Size="20" /> the 11th element
<Data ElementName="unknown6" Type="int8" Size="3" /> the second element
following code in Player::GetSpellBookUpdatePacket() will set it
Code: Select all
packet->setSubstructArrayDataByName("spells", "unknown5", 3, 10, ptr); // bitmask for slots 1 = slot 1, 2 = slot 2, 4 = slot 3, 8 = slot 4, 16 = slot 5, 32 = slot 6, 64 = slot 7, 128 = slot 8
packet->setSubstructArrayDataByName("spells", "unknown6", 6, 1, ptr); // 6 = channeler
need to send a OP_SavageBarInitMsg with a spell in your spell book, bar = 5, and slot = whatever (0 = slot 1)
I assume these are the same elements and process for the beastlord but in my tests I couldn't get it to work, also in OP_SavageBarInitMsg bar = 2 for advantages, I assume 3 = primal but haven't tested.
I would check the logs but the only beastlord log I have is from 1180 and I don't have and can't find the opcodes so anal isn't working on it.