/// <summary>
	/// Calculates the attack critical attack.
	/// </summary>
	/// <returns>The attack critical attack.</returns>
	/// <param name="atk">Atk.</param>
	/// <param name="src">Source.</param>
	/// <param name="target">Target.</param>
	public int calcAttackCriticalAttack(int atk, HeroData src,HeroData target)
	{
		int skill = 1;
		float res = (atk - target.getArmor()) * skill * 2 + (src.getRealAttack() - target.getReduceRealAttack());
		return (int)res;
	}
	/// <summary>
	/// 计算使用技能伤害
	/// </summary>
	/// <returns>The skill attack.</returns>
	/// <param name="atk">Atk.</param>
	/// <param name="self">Self.</param>
	/// <param name="other">Other.</param>
	public int calcSkillAttack(int atk, HeroData self,HeroData other)
	{
		int skill = 1;
		float res = (atk - other.getArmor()) * skill /100 + (self.getRealAttack() - other.getReduceRealAttack());
		return (int)res;
	}
	/// <summary>
	/// Calculates the normal critical attack.
	/// </summary>
	/// <returns>The normal critical attack.</returns>
	/// <param name="atk">Atk.</param>
	/// <param name="src">Source.</param>
	/// <param name="target">Target.</param>
	public int calcNormalCriticalAttack(int atk,HeroData src,HeroData target)
	{
		float res = (atk - target.getArmor())*2 + (src.getRealAttack() - target.getReduceRealAttack());
		return (int)res;
	}
	/// <summary>
	/// 计算普通攻击伤害
	/// </summary>
	/// <returns>The normal attack.</returns>
	/// <param name="atk">Atk.</param>
	/// <param name="self">Self.</param>
	/// <param name="other">Other.</param>
	public int calcNormalAttack(int atk, HeroData self, HeroData other)
	{
		float res = (atk - other.getArmor())  + self.getRealAttack() - other.getReduceRealAttack();
		return (int)res;
	}