From 8f20e721af89829c4079260c075e5ac6fa2885e3 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Tue, 29 Aug 2023 20:44:35 +0800 Subject: [PATCH] dual wield for rogue --- src/PlayerbotFactory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PlayerbotFactory.cpp b/src/PlayerbotFactory.cpp index 51f3a2d6..b6a405a3 100644 --- a/src/PlayerbotFactory.cpp +++ b/src/PlayerbotFactory.cpp @@ -1642,6 +1642,7 @@ void PlayerbotFactory::InitSkills() uint32 skillLevel = bot->getLevel() < 40 ? 0 : 1; uint32 dualWieldLevel = bot->getLevel() < 20 ? 0 : 1; + uint32 dualWieldLevelForRogue = bot->getLevel() < 10 ? 0 : 1; SetRandomSkill(SKILL_DEFENSE); switch (bot->getClass()) { @@ -1735,6 +1736,7 @@ void PlayerbotFactory::InitSkills() SetRandomSkill(SKILL_CROSSBOWS); SetRandomSkill(SKILL_FIST_WEAPONS); SetRandomSkill(SKILL_THROWN); + bot->SetSkill(SKILL_DUAL_WIELD, 0, dualWieldLevelForRogue, dualWieldLevelForRogue); break; case CLASS_DEATH_KNIGHT: SetRandomSkill(SKILL_SWORDS);