"Ram attack" for moloch, endworm attack tweaking, improved watcher sprite

This commit is contained in:
Regalis
2016-01-20 23:14:06 +02:00
parent 6c57c1270c
commit 06d713e2a3
6 changed files with 25 additions and 109 deletions
+5 -1
View File
@@ -15,7 +15,7 @@ namespace Barotrauma
public enum AttackType
{
None, PinchCW, PinchCCW
None, PinchCW, PinchCCW, Hit
}
struct AttackResult
@@ -47,6 +47,8 @@ namespace Barotrauma
private readonly float damage;
private readonly float bleedingDamage;
public readonly float Force;
private Sound sound;
private ParticleEmitterPrefab particleEmitterPrefab;
@@ -101,6 +103,8 @@ namespace Barotrauma
structureDamage = ToolBox.GetAttributeFloat(element, "structuredamage", 0.0f);
bleedingDamage = ToolBox.GetAttributeFloat(element, "bleedingdamage", 0.0f);
Force = ToolBox.GetAttributeFloat(element,"force", 0.0f);
Stun = ToolBox.GetAttributeFloat(element, "stun", 0.0f);
string soundPath = ToolBox.GetAttributeString(element, "sound", "");