Aura.Channel.World.Entities.Creature.GetTotalSplashDamage C# (CSharp) 메소드

GetTotalSplashDamage() 공개 메소드

Returns creature's splash damage, based on equipment.
public GetTotalSplashDamage ( ) : float
리턴 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;
		}