Searched refs:repairAmount (Results 1 – 5 of 5) sorted by relevance
332 float repairAmount; variable
133 repairAmount(0.0f), in CUnit()807 repairAmount = 0.0f; in SlowUpdate()1793 repairAmount += amount; in AddBuildPower()2287 CR_MEMBER(repairAmount),
330 …ldSpeed = std::min(repairSpeed, unitDef->maxRepairSpeed * 0.5f - curBuild->repairAmount); // repair in Update()
4309 int repairAmount = 100 - durability; in repairItem() local4310 if ( repairAmount > (ENCHANTED_FEATHER_MAX_DURABILITY / 2) ) in repairItem()4314 repairAmount = ENCHANTED_FEATHER_MAX_DURABILITY / 2; in repairItem()4317 item->appearance += repairAmount; in repairItem()
917 …int repairAmount = gameTimeAdjustedAverage(buildRate * structureBody(psStruct), psStruct->pStructu… in structureRepair() local926 psStruct->body = clip<UDWORD>(psStruct->body + repairAmount, 0, structureBody(psStruct)); in structureRepair()