mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 06:34:55 +02:00
implement player rooking
This commit is contained in:
@@ -1732,6 +1732,7 @@ void Player::death(Creature* lastHitCreature)
|
||||
magLevel = 0;
|
||||
magLevelPercent = 0;
|
||||
manaSpent = 0;
|
||||
staminaMinutes = 3360;
|
||||
setVocation(0);
|
||||
|
||||
// Restart skills
|
||||
@@ -1749,6 +1750,9 @@ void Player::death(Creature* lastHitCreature)
|
||||
lastLoginSaved = 0;
|
||||
lastLogout = 0;
|
||||
|
||||
// Restart storages
|
||||
storageMap.clear();
|
||||
outfits.clear();
|
||||
|
||||
// Restart items
|
||||
for (int32_t slot = CONST_SLOT_FIRST; slot <= CONST_SLOT_LAST; slot++)
|
||||
|
Reference in New Issue
Block a user