Expand bandage treatment effects
This commit is contained in:
@@ -48,8 +48,10 @@ namespace
|
||||
if (ItemId == TEXT("bandage"))
|
||||
{
|
||||
SurvivalComponent->ReduceInjury(18.0f * Quantity);
|
||||
SurvivalComponent->ReduceBleeding(28.0f * Quantity);
|
||||
SurvivalComponent->ReduceSprain(10.0f * Quantity);
|
||||
SurvivalComponent->RestoreHealth(4.0f * Quantity);
|
||||
OutEffectSummary = FString::Printf(TEXT("treated %.0f injury severity"), 18.0f * Quantity);
|
||||
OutEffectSummary = FString::Printf(TEXT("treated %.0f injury, %.0f bleeding, and %.0f sprain severity"), 18.0f * Quantity, 28.0f * Quantity, 10.0f * Quantity);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user