Преглед на файлове

Fix accidental Focus skill check/increase when it is already done below

Emagi преди 1 година
родител
ревизия
dbf6d0a630
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      EQ2/source/WorldServer/Combat.cpp

+ 0 - 1
EQ2/source/WorldServer/Combat.cpp

@@ -1253,7 +1253,6 @@ bool Entity::CheckInterruptSpell(Entity* attacker) {
 	//originally base of 30 percent chance to continue casting if attacked
 	//modified to 50% and added global rule, 30% was too small at starting levels
 	int8 percent = rule_manager.GetGlobalRule(R_Spells, NoInterruptBaseChance)->GetInt32();
-	Skill* skill = GetSkillByName("Focus", true);
 
 	float focus_skill_with_bonus = CalculateSkillWithBonus("Focus", ITEM_STAT_FOCUS, true);