Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
AthenaSui committed Mar 6, 2024
1 parent 3c7018a commit f2797bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/PlayerbotSecurity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ bool PlayerbotSecurity::CheckLevelFor(PlayerbotSecurityLevel level, bool silent,
int fromGS = (int)botAI->GetEquipGearScore(from, false, false);
int diff = (100 * (botGS - fromGS) / botGS);
int req = 12 * sWorld->getIntConfig(CONFIG_MAX_PLAYER_LEVEL) / from->getLevel();
out << "你的装备等级太低了|cffff0000" << fromGS << "|cffffffff/|cff00ff00" << botGS << " |cffff0000" << diff << "%|cffffffff/|cff00ff00" << req << "%";
out << "你的装备等级太低了|cffff0000" << fromGS << "|cffffffff/|cff00ff00" << botGS << " |cffff0000" << diff << "%|cffffffff/|cff00ff00" << req << "%";
}
break;
case PLAYERBOT_DENY_NOT_YOURS:
Expand Down Expand Up @@ -236,10 +236,10 @@ bool PlayerbotSecurity::CheckLevelFor(PlayerbotSecurityLevel level, bool silent,
}
break;
case PLAYERBOT_DENY_FULL_GROUP:
out << "我在一个完整的小组。稍后再做";
out << "我在一个满员的队伍里。稍后再做";
break;
case PLAYERBOT_DENY_IS_LEADER:
out << "我目前正在带领一个小组。如果你愿意,我可以邀请你。";
out << "我目前正在带领一个队伍。如果你愿意,我可以邀请你。";
break;
case PLAYERBOT_DENY_NOT_LEADER:
if (botAI->GetGroupMaster())
Expand All @@ -248,14 +248,14 @@ bool PlayerbotSecurity::CheckLevelFor(PlayerbotSecurityLevel level, bool silent,
}
else
{
out << "我和其他人在一个小组里。你可以让他邀请你。";
out << "我和其他人在一个队伍里。你可以让他邀请你。";
}
break;
case PLAYERBOT_DENY_BG:
out << "我在排队等待战场。稍后再做";
out << "我在排战场。稍后再做";
break;
case PLAYERBOT_DENY_LFG:
out << "我在排队地下城。稍后再做";
out << "我在排副本。稍后再做";
break;
default:
out << "我不能那样做。";
Expand Down
2 changes: 1 addition & 1 deletion src/strategy/actions/ArenaTeamActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ bool ArenaTeamAcceptAction::Execute(Event event)
if (bot->GetArenaTeamId(at->GetSlot()))
{
// bot is already in an arena team
bot->Say("对不起,我已经在这样的队伍力里了", LANG_UNIVERSAL);
bot->Say("对不起,我已经在这样的队伍里了", LANG_UNIVERSAL);
accept = false;
}

Expand Down

0 comments on commit f2797bc

Please sign in to comment.