mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
- catapult attacks should be identical to H3
- catapult may miss and attack another part of wall instead (this is how it works in H3) - minor fixes
This commit is contained in:
@@ -418,6 +418,8 @@ void CHeroHandler::loadBallistics()
|
||||
bli.twoDmg = ballParser.readNumber();
|
||||
bli.sum = ballParser.readNumber();
|
||||
ballistics.push_back(bli);
|
||||
|
||||
assert(bli.noDmg + bli.oneDmg + bli.twoDmg == 100 && bli.sum == 100);
|
||||
}
|
||||
while (ballParser.endLine());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user