1
This commit is contained in:
parent
1dde4d5a3e
commit
8b64d34d30
@ -3605,7 +3605,17 @@ void Human::ProcPurpleStoneItem(AddItemDTO& dto)
|
|||||||
|
|
||||||
void Human::ProcWeaponStoneItem(AddItemDTO& dto)
|
void Human::ProcWeaponStoneItem(AddItemDTO& dto)
|
||||||
{
|
{
|
||||||
|
if (!GetCompose()->CanAdd()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
GetCompose()->IncNum();
|
||||||
|
MarkSyncActivePlayer(__FILE__, __LINE__, __func__);
|
||||||
|
SyncAroundPlayers(__FILE__, __LINE__, __func__);
|
||||||
|
|
||||||
|
AddInventory(IS_WEAPON_STONE, 1);
|
||||||
|
SyncVolume(IS_WEAPON_STONE);
|
||||||
|
|
||||||
|
dto.handled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Human::CalcStats()
|
void Human::CalcStats()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user