Aura.Channel.World.Entities.Creature.GetTotalSplashDamage C# (CSharp) Method

GetTotalSplashDamage() public method

Returns creature's splash damage, based on equipment.
public GetTotalSplashDamage ( ) : float
return float
		public float GetTotalSplashDamage()
		{
			var result = 0f;

			if (this.RightHand != null)
			{
				result = this.RightHand.Data.SplashDamage;

				if (this.LeftHand != null && !this.LeftHand.IsShieldLike)
				{
					result += this.LeftHand.Data.SplashDamage;
					result /= 2;
				}
			}

			return result;
		}