Skip to content

Commit

Permalink
尝试修复脚本错误
Browse files Browse the repository at this point in the history
  • Loading branch information
dongkui555 committed Feb 23, 2024
1 parent 7be1ccb commit 6165d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/game/AI/SmartScripts/SmartScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,13 +691,13 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
}
}

// If there is at least 1 failed cast and no successful casts at all, retry again on next loop
/*// If there is at least 1 failed cast and no successful casts at all, retry again on next loop
if (failedSpellCast && !successfulSpellCast)
{
RetryLater(e, true);
// Don't execute linked events
return;
}
}*/

break;
}
Expand Down

0 comments on commit 6165d8a

Please sign in to comment.