1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fixed clone damage

This commit is contained in:
Ivan Savenko
2022-12-18 17:38:14 +02:00
parent ba200fb079
commit a6622b5896
2 changed files with 2 additions and 1 deletions

View File

@@ -823,7 +823,7 @@ void CUnitState::damage(int64_t & amount)
// block ability should not kill clone (0 damage)
if(amount > 0)
{
amount = 1;//TODO: what should be actual damage against clone?
amount = 0;
health.reset();
}
}