Tbol
Well-Known Member
- Joined
- Apr 7, 2019
- Messages
- 529
- Reaction score
- 56
Lua:
void ProtocolGame::sendMagicEffect(const Position& pos, uint16_t type)
{
if (!canSee(pos)) {
return;
}
if(otclientV8 && type == CONST_ME_RESPAWNORMALCLIENT)
type = CONST_ME_RESPAWN; // how to change this effect CONST_ME_RESPAWN x,y,z
NetworkMessage msg;
msg.addByte(0x83);
msg.addPosition(pos);
msg.add<uint16_t>(type);
writeToOutputBuffer(msg);
}
So i tried object builder OFFSET function it does nothing then i tried
Lua:
type = CONST_ME_RESPAWN;
pos.x += 1;
Basically i need this effect to go one square to right and bottom