mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
abilties
This commit is contained in:
@@ -61,7 +61,7 @@ void ABuildingActor::OnDamageServerHook(ABuildingActor* BuildingActor, float Dam
|
||||
|
||||
auto DamageThatWillAffect = Damage;
|
||||
|
||||
auto skid = Out / (BuildingSMActor->GetMaxHealth() / DamageThatWillAffect);
|
||||
float skid = Out / (BuildingSMActor->GetMaxHealth() / DamageThatWillAffect);
|
||||
|
||||
ResourceCount = round(skid); // almost right
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user