private void UseSkill() { if (EqualsIgnoreCase(heroName, CommonConfig.Knight)) { heroPool.UseKnightSkill(); } else if (EqualsIgnoreCase(heroName, CommonConfig.Archer)) { heroPool.UseArcherSkill(); } else if (EqualsIgnoreCase(heroName, CommonConfig.FireMage)) { heroPool.UseFireMageSkill(); } else if (EqualsIgnoreCase(heroName, CommonConfig.IceMage)) { heroPool.UseIceMageSkill(); } else if (EqualsIgnoreCase(heroName, CommonConfig.Priest)) { heroPool.UsePriestSkill(); } else { Logger.Log("Unknown Hero Skill"); } }