1
This commit is contained in:
parent
1869bad1a1
commit
8dfd647400
@ -3544,5 +3544,11 @@ void Human::ProcGemStoneItem(AddItemDTO& dto)
|
||||
GetMaxHP(),
|
||||
true);
|
||||
SyncVolume(IS_GEMSTONE);
|
||||
//刷新数量
|
||||
int add_num = 1;
|
||||
Entity* entity = room->GetEntityByUniId(dto.uniid);
|
||||
if (entity && entity->IsEntityType(ET_Loot)) {
|
||||
((Loot*)entity)->count -= add_num;
|
||||
}
|
||||
dto.handled = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user