feat: addclass feature

This commit is contained in:
Yunfan Li
2023-05-27 17:55:12 +08:00
parent 5d570a81a0
commit eb90822755
8 changed files with 451 additions and 270 deletions

View File

@@ -40,7 +40,7 @@ AiPlayerbot.PreQuests = 0
# Random bot count
AiPlayerbot.MinRandomBots = 50
AiPlayerbot.MaxRandomBots = 200
AiPlayerbot.MaxRandomBots = 50
AiPlayerbot.RandomBotMinLevel = 1
AiPlayerbot.RandomBotMaxLevel = 80
@@ -76,7 +76,7 @@ AiPlayerbot.RandombotsWalkingRPG = 0
AiPlayerbot.RandombotsWalkingRPG.InDoors = 0
# Bots greet to the players
AiPlayerbot.EnableGreet = 1
AiPlayerbot.EnableGreet = 0
# Show helmet and cloak on randombots (reset required)
AiPlayerbot.RandomBotShowHelmet = 1
@@ -84,7 +84,7 @@ AiPlayerbot.RandomBotShowCloak = 1
# Disable random levels for randombots
# Every bots started on the specified level and level up by killing mobs.
AiPlayerbot.DisableRandomLevels = 1
AiPlayerbot.DisableRandomLevels = 0
# Set randombots starting level here if "AiPlayerbot.DisableRandomLevels" enabled
# Recommended: 5+
@@ -138,7 +138,7 @@ AiPlayerbot.SyncLevelWithPlayers = 0
# Give free food to random bots
# Default: 1 (enabled)
AiPlayerbot.FreeFood = 1
AiPlayerbot.FreeFood = 0
# Bot automatically trains spells when talking to trainer (yes = train all available spells as long as the bot has the money, free = auto trains with no money cost, no = only list spells)
AiPlayerbot.AutoTrainSpells = yes
@@ -156,7 +156,7 @@ AiPlayerbot.AutoLearnQuestSpells = 0
# Random Bots will pick quests on their own and try to complete
# Default: 0 (disabled)
AiPlayerbot.AutoDoQuests = 1
AiPlayerbot.AutoDoQuests = 0
##################################################################################
# #
@@ -656,3 +656,93 @@ Playerbots.Updates.EnableDatabases = 1
Appender.Playerbots=2,5,0,Playerbots.log,w
Logger.playerbots=5,Playerbots
##############################################
# TalentSpec #
##############################################
# Warrior
AiPlayerbot.RandomClassSpecProbability.1.0 = 20
AiPlayerbot.DefaultTalentsOrder.1.0 =
AiPlayerbot.RandomClassSpecProbability.1.1 = 30
AiPlayerbot.DefaultTalentsOrder.1.1 =
AiPlayerbot.RandomClassSpecProbability.1.2 = 50
AiPlayerbot.DefaultTalentsOrder.1.2 =
# Paladin
AiPlayerbot.RandomClassSpecProbability.2.0 = 20
AiPlayerbot.DefaultTalentsOrder.2.0 =
AiPlayerbot.RandomClassSpecProbability.2.1 = 50
AiPlayerbot.DefaultTalentsOrder.2.1 =
AiPlayerbot.RandomClassSpecProbability.2.2 = 30
AiPlayerbot.DefaultTalentsOrder.2.2 =
# Hunter
AiPlayerbot.RandomClassSpecProbability.3.0 = 25
AiPlayerbot.DefaultTalentsOrder.3.0 =
AiPlayerbot.RandomClassSpecProbability.3.1 = 50
AiPlayerbot.DefaultTalentsOrder.3.1 =
AiPlayerbot.RandomClassSpecProbability.3.2 = 25
AiPlayerbot.DefaultTalentsOrder.3.2 =
# Rogue
AiPlayerbot.RandomClassSpecProbability.4.0 = 40
AiPlayerbot.DefaultTalentsOrder.4.0 = 0-0-2-5, 0-1-3-3, 0-1-0-3, 0-2-2-5, 0-3-2-5, 0-3-1-3, 0-4-1-1, 0-5-2-2, 0-5-1-5, 0-6-1-1, 0-2-1-2, 0-7-2-3, 0-7-0-3, 0-8-1-1, 0-8-0-3, 0-9-1-5, 0-10-1-1, 1-0-2-5, 1-1-3-5, 1-2-2-5, 1-3-2-3, 2-0-0-2
AiPlayerbot.RandomClassSpecProbability.4.1 = 50
AiPlayerbot.DefaultTalentsOrder.4.1 =
AiPlayerbot.RandomClassSpecProbability.4.2 = 10
AiPlayerbot.DefaultTalentsOrder.4.2 =
# Priest
AiPlayerbot.RandomClassSpecProbability.5.0 = 40
AiPlayerbot.DefaultTalentsOrder.5.0 =
AiPlayerbot.RandomClassSpecProbability.5.1 = 40
AiPlayerbot.DefaultTalentsOrder.5.1 =
AiPlayerbot.RandomClassSpecProbability.5.2 = 20
AiPlayerbot.DefaultTalentsOrder.5.2 =
# DeathKnight
AiPlayerbot.RandomClassSpecProbability.6.0 = 33
AiPlayerbot.DefaultTalentsOrder.6.0 =
AiPlayerbot.RandomClassSpecProbability.6.1 = 33
AiPlayerbot.DefaultTalentsOrder.6.1 =
AiPlayerbot.RandomClassSpecProbability.6.2 = 33
AiPlayerbot.DefaultTalentsOrder.6.2 =
# Shaman
AiPlayerbot.RandomClassSpecProbability.7.0 = 10
AiPlayerbot.DefaultTalentsOrder.7.0 =
AiPlayerbot.RandomClassSpecProbability.7.1 = 45
AiPlayerbot.DefaultTalentsOrder.7.1 =
AiPlayerbot.RandomClassSpecProbability.7.2 = 45
AiPlayerbot.DefaultTalentsOrder.7.2 =
# Mage
AiPlayerbot.RandomClassSpecProbability.8.0 = 20
AiPlayerbot.DefaultTalentsOrder.8.0 =
AiPlayerbot.RandomClassSpecProbability.8.1 = 10
AiPlayerbot.DefaultTalentsOrder.8.1 =
AiPlayerbot.RandomClassSpecProbability.8.2 = 70
AiPlayerbot.DefaultTalentsOrder.8.2 =
# Warlock
AiPlayerbot.RandomClassSpecProbability.9.0 = 33
AiPlayerbot.DefaultTalentsOrder.9.0 =
AiPlayerbot.RandomClassSpecProbability.9.1 = 33
AiPlayerbot.DefaultTalentsOrder.9.1 =
AiPlayerbot.RandomClassSpecProbability.9.2 = 33
AiPlayerbot.DefaultTalentsOrder.9.2 =
# Druid
AiPlayerbot.RandomClassSpecProbability.11.0 = 10
AiPlayerbot.DefaultTalentsOrder.11.0 =
AiPlayerbot.RandomClassSpecProbability.11.1 = 45
AiPlayerbot.DefaultTalentsOrder.11.1 =
AiPlayerbot.RandomClassSpecProbability.11.2 = 45
AiPlayerbot.DefaultTalentsOrder.11.2 =
# no idea - TC was requesting these.. so..
AiPlayerbot.RandomClassSpecProbability.0.0 = 33
AiPlayerbot.DefaultTalentsOrder.0.0 =
AiPlayerbot.RandomClassSpecProbability.0.1 = 33
AiPlayerbot.DefaultTalentsOrder.0.1 =
AiPlayerbot.RandomClassSpecProbability.0.2 = 33
AiPlayerbot.DefaultTalentsOrder.0.2 =
AiPlayerbot.RandomClassSpecProbability.10.0 = 33
AiPlayerbot.DefaultTalentsOrder.10.0 =
AiPlayerbot.RandomClassSpecProbability.10.1 = 33
AiPlayerbot.DefaultTalentsOrder.10.1 =
AiPlayerbot.RandomClassSpecProbability.10.2 = 33
AiPlayerbot.DefaultTalentsOrder.10.2 =