(248ac43ed) Added inventory icons for Physicorium items armor, helmet, ammunition box and spear + normal and explosive spear (not yet implemented)

This commit is contained in:
Joonas Rikkonen
2019-04-06 17:46:42 +03:00
parent 6fed28e80b
commit f958f5fb44
5 changed files with 49 additions and 222 deletions
@@ -289,8 +289,6 @@ namespace Barotrauma
public override void OnAttacked(Character attacker, AttackResult attackResult)
{
// Damage from falling etc.
if (Character.LastDamageSource == null) { return; }
float damage = attackResult.Damage;
if (damage <= 0) { return; }
if (attacker == null || attacker.IsDead || attacker.Removed)