- specstr = species_prefix(specnum);
- type = DEATH_WEAPONOF(type);
- e = get_weaponinfo(type);
-
- effectname = strcat("damage_", e.netname);
-
- // if damage was dealt with a bullet weapon, our effect is blood
- // since blood is species dependent, include the species tag
- if(type == WEP_SHOTGUN || type == WEP_UZI || type == WEP_RIFLE)
+
+ effectname = get_weaponinfo(DEATH_WEAPONOF(type)).netname;
+
+ if(substring(effectname, strlen(effectname) - 5, 5) == "BLOOD")