Shield durability: Difference between revisions

m
imported>Leoetlino
Line 11: Line 11:
else
else
   minDamage = param->minDmg;
   minDamage = param->minDmg;
weapon->takeDamage(min(damage, minDamage));
weapon->takeDamage(max(damage, minDamage));
</source>
</source>