Removed unnecessary spaces

This commit is contained in:
Revision
2025-09-19 22:43:50 +02:00
parent ace813516d
commit fcb956ec1b
194 changed files with 100566 additions and 100566 deletions

View File

@@ -32,7 +32,7 @@ bool AttackDalronnAction::Execute(Event event)
{
Unit* boss = AI_VALUE2(Unit*, "find target", "dalronn the controller");
if (!boss) { return false; }
if (AI_VALUE(Unit*, "current target") == boss)
{
return false;
@@ -51,13 +51,13 @@ bool IngvarStopCastingAction::Execute(Event event)
{
return false;
}
Spell* spell = bot->FindCurrentSpellBySpellId(my_spell_id);
if (!spell) { return false; }
// bot->Yell("cancelling spell="+std::to_string(my_spell_id), LANG_UNIVERSAL);
bot->InterruptSpell(spell->GetCurrentContainer(), false, true, true);
// Can slightly optimise by allowing bot to keep casting if they will finish the cast
// before boss spell goes off, however need to hook boss AI for cast remaining.
return true;