public int GetHitFrameEnd()
{
if (this.GetComponent<NPC>()==null)
{
return 49;//End of explosion
}
else
{
switch (GameWorldController.instance.critter.Blood[item_id-64])
{
//Mask 0x0F is the splatter type, 0 for dust, 8 for red blood.
case 0:
return 49;
case 8://blood
default:
return 5;
}
}
}