|
|
@@ -263,7 +263,7 @@ void Catapult::adjustHitChance()
|
|
|
vstd::abetween(wall, 0, 100);
|
|
|
vstd::abetween(crit, 0, 100);
|
|
|
vstd::abetween(hit, 0, 100 - crit);
|
|
|
- vstd::amin(noDmg, 100 - hit - crit);
|
|
|
+ noDmg = 100 - hit - crit;
|
|
|
}
|
|
|
|
|
|
void Catapult::serializeJsonEffect(JsonSerializeFormat & handler)
|