Browse Source

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

Emagi 1 year ago
parent
commit
dbf6d0a630
1 changed files with 0 additions and 1 deletions
  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);