Added optional rules for bot class/race/gender values

- run the optional script '2018_08_10_bots_allowed_criteria_rules.sql' if you want to change db values
This commit is contained in:
Uleat
2018-08-10 21:39:56 -04:00
parent e3c01d4143
commit 053c35c59b
3 changed files with 89 additions and 8 deletions
+3
View File
@@ -602,6 +602,9 @@ RULE_BOOL(Bots, BotLevelsWithOwner, false) // Auto-updates spawned bots as owner
RULE_BOOL(Bots, BotCharacterLevelEnabled, false) // Enables required level to spawn bots
RULE_INT(Bots, BotCharacterLevel, 0) // 0 as default (if level > this value you can spawn bots if BotCharacterLevelEnabled is true)
RULE_INT(Bots, CasterStopMeleeLevel, 13) // Level at which caster bots stop melee attacks
RULE_INT(Bots, AllowedClasses, 0xFFFFFFFF) // Bitmask of allowed bot classes
RULE_INT(Bots, AllowedRaces, 0xFFFFFFFF) // Bitmask of allowed bot races
RULE_INT(Bots, AllowedGenders, 0x3) // Bitmask of allowed bot genders
RULE_CATEGORY_END()
#endif