Update ShamanActions.cpp

This commit is contained in:
bash 2025-09-27 23:00:24 +02:00 committed by GitHub
parent 0547ce5cf7
commit 662e7f1b0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ bool SetTotemAction::Execute(Event event)
uint32 totemSpell = 0; uint32 totemSpell = 0;
// Iterate backwards due signed/unsigned int // Iterate backwards to prioritize the highest-rank totem spell the bot knows
for (size_t i = spellIdsCount; i-- > 0;) for (size_t i = spellIdsCount; i-- > 0;)
{ {
const uint32 spellId = totemSpellIds[i]; const uint32 spellId = totemSpellIds[i];