From 2ced2ef92c809564f4b43815130e3a8b709861e1 Mon Sep 17 00:00:00 2001 From: celguar Date: Wed, 13 Sep 2023 12:13:35 +0300 Subject: [PATCH] Consider low lvl warriors protection Makes randomiser give 1h and a shield to warriors <10 lvl --- playerbot/AiFactory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playerbot/AiFactory.cpp b/playerbot/AiFactory.cpp index 0fc6167bc..668f6db8e 100644 --- a/playerbot/AiFactory.cpp +++ b/playerbot/AiFactory.cpp @@ -120,6 +120,9 @@ int AiFactory::GetPlayerSpecTab(Player* bot) case CLASS_PRIEST: tab = 1; break; + case CLASS_WARRIOR: + tab = 2; + break; } return tab; }