major class spells

This commit is contained in:
Yunfan Li
2023-09-02 22:37:11 +08:00
parent 5f5faf00cd
commit 14b94e20fb
42 changed files with 203 additions and 67 deletions

View File

@@ -1642,7 +1642,6 @@ 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())
{
@@ -1736,7 +1735,7 @@ void PlayerbotFactory::InitSkills()
SetRandomSkill(SKILL_CROSSBOWS);
SetRandomSkill(SKILL_FIST_WEAPONS);
SetRandomSkill(SKILL_THROWN);
bot->SetSkill(SKILL_DUAL_WIELD, 0, dualWieldLevelForRogue, dualWieldLevelForRogue);
bot->SetSkill(SKILL_DUAL_WIELD, 0, 1, 1);
break;
case CLASS_DEATH_KNIGHT:
SetRandomSkill(SKILL_SWORDS);