protected UpdateTool ( |
||
creature | ||
productData | ProductionData | |
return | void |
protected virtual void UpdateTool(Creature creature, ProductionData productData)
{
if (productData.Tool == null || productData.Tool == "/barehand/")
return;
creature.Inventory.ReduceDurability(creature.RightHand, productData.Durability);
creature.Inventory.AddProficiency(creature.RightHand, Proficiency);
}