Great timeline system (Age of AI WON)
This commit is contained in:
1 parent
2ce0391c16
commit
e312131725
182 files changed
+380070
-470221
No files matched your search
@@ -32,7 +32,8 @@ namespace Code.OfficeGame.BattleMode.Health
|
||||
return;
|
||||
}
|
||||
|
||||
var newCurrentHealth = _healthData.CurrentValue.CurrentHealth - damage * hitBoxPartModifier[hitBoxPart];
|
||||
int modifier = hitBoxPartModifier.GetValueOrDefault(hitBoxPart, 1);
|
||||
var newCurrentHealth = _healthData.CurrentValue.CurrentHealth - damage * modifier;
|
||||
|
||||
_healthData.Value = new HealthData()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user