Update HunterActions.cpp (#1576)

Removes compiler warning
This commit is contained in:
mtm84 2025-08-18 03:05:53 -07:00 committed by GitHub
parent 77c2354c3f
commit b661264c53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ bool CastArcaneShotAction::isUseful()
return false;
// Armor Penetration rating check - will not cast Arcane Shot above 435 ArP
int32 armorPenRating = bot->GetUInt32Value(PLAYER_FIELD_COMBAT_RATING_1 + CR_ARMOR_PENETRATION);
int32 armorPenRating = bot->GetUInt32Value(PLAYER_FIELD_COMBAT_RATING_1) + bot->GetUInt32Value(CR_ARMOR_PENETRATION);
if (armorPenRating > 435)
return false;