diff options
Diffstat (limited to 'src/net/gameserver/player.cpp')
-rw-r--r-- | src/net/gameserver/player.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/gameserver/player.cpp b/src/net/gameserver/player.cpp index 28fd954a..79ada480 100644 --- a/src/net/gameserver/player.cpp +++ b/src/net/gameserver/player.cpp @@ -102,6 +102,13 @@ void Net::GameServer::Player::attack(int direction) Net::GameServer::connection->send(msg); } +void Net::GameServer::Player::useSpecial(int special) +{ + MessageOut msg(PGMSG_USE_SPECIAL); + msg.writeInt8(special); + Net::GameServer::connection->send(msg); +} + void Net::GameServer::Player::changeAction(Being::Action action) { MessageOut msg(PGMSG_ACTION_CHANGE); |