mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Compare commits
2 Commits
test-stagi
...
hermensbas
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a5f067ac0 | ||
|
|
c3fd97b6c0 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -48,4 +48,5 @@ local.properties
|
||||
.loadpath
|
||||
.project
|
||||
.cproject
|
||||
.vscode
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
@@ -220,7 +220,8 @@ public:
|
||||
|
||||
bool OnPlayerBeforeAchievementComplete(Player* player, AchievementEntry const* achievement) override
|
||||
{
|
||||
if (sRandomPlayerbotMgr->IsRandomBot(player) && (achievement->flags == 256 || achievement->flags == 768))
|
||||
if ((sRandomPlayerbotMgr->IsRandomBot(player) || sRandomPlayerbotMgr->IsAddclassBot(player)) &&
|
||||
(achievement->flags & (ACHIEVEMENT_FLAG_REALM_FIRST_REACH | ACHIEVEMENT_FLAG_REALM_FIRST_KILL)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user