And, in case you're curious, here's the math for calculating damage done when a bag explodes from an EMP (this is the damage of the explosion; but, the explosion happens at the bag's location, so it likely won't be doing full damage):
Code:
int ammo = 0;
for (int i = 1; i < MAX_AMMO_SLOTS; i++)
ammo += m_iAmmoCounts[i];
ammo += m_iGren1;
ammo += m_iGren2;
return int (ammo / 2) ;
It basically just adds all ammo counts up and divides by two.