mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 16:57:47 +00:00
updated submodule
This commit is contained in:
parent
fe9554511f
commit
607143ea7c
3 changed files with 8 additions and 303 deletions
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
||||||
Subproject commit f64bc640dbeb967fda80a41003ef1a80776895a2
|
Subproject commit 732e26b4bfb15875d71ae4ec13b8bd6155013840
|
|
@ -618,8 +618,8 @@ void Core::Entity::Player::gainExp( uint32_t amount )
|
||||||
|
|
||||||
void Core::Entity::Player::gainLevel()
|
void Core::Entity::Player::gainLevel()
|
||||||
{
|
{
|
||||||
setLevel( getLevel() + 1 );
|
|
||||||
|
|
||||||
|
setLevel( getLevel() + 1 );
|
||||||
calculateStats();
|
calculateStats();
|
||||||
sendStats();
|
sendStats();
|
||||||
sendStatusUpdate();
|
sendStatusUpdate();
|
||||||
|
@ -650,6 +650,12 @@ void Core::Entity::Player::gainLevel()
|
||||||
classInfoPacket.data().currentExp = getExp();
|
classInfoPacket.data().currentExp = getExp();
|
||||||
queuePacket( classInfoPacket );
|
queuePacket( classInfoPacket );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Core::Entity::Player::unlock()
|
void Core::Entity::Player::unlock()
|
||||||
|
|
Loading…
Add table
Reference in a new issue