Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] Trying to add functionality to this server msg that I think is responsible for sending things like m

rektbyfaith
Administrator
0
07-22-2022, 02:09 PM
#1
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?
rektbyfaith
07-22-2022, 02:09 PM #1

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?

rektbyfaith
Administrator
0
07-22-2022, 02:40 PM
#2
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
rektbyfaith
07-22-2022, 02:40 PM #2

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)