[DiscordArchive] Trying to add functionality to this server msg that I think is responsible for sending things like m
[DiscordArchive] Trying to add functionality to this server msg that I think is responsible for sending things like m
Archived author: whatwere • Posted: 2022-07-22T14:09:03.749000+00:00
Original source
Trying to add functionality to this server msg that I think is responsible for sending things like mana cost modifications to the client so it can work on exact specific spell ids too (server side aspect works, only the visual tooltip aspect doesn't)
```
Player::AddSpellMod
WorldPacket data(SMSG_SET_FLAT_SPELL_MODIFIER, (1 + 1 + 4));
data << uint8(eff); // number between 0 and 96
data << uint8(mod->op); // what's being modified
data << int32(val); // amount to modify by
SendDirectMessage(&data);
```
But I can't tell wha specific spell/mask this affects. Am I looking at the wrong msg?
Archived author: robinsch • Posted: 2022-07-22T14:40:35.450000+00:00
Original source
eff, the client doesn't work with specific spell ids. It works with SpellClassSets / SpellFamilyMask