| | |
| | | dropPlayer = curPlayer
|
| | |
|
| | | if isGameBoss and curPlayer.GetOfficialRank() < GetRealmLV(curNPC):
|
| | | GameWorld.Log("玩家境界不足,无法获得Boss归属奖励! playerRealmLV=%s,npcID=%s,npcRealmLV=%s" |
| | | % (curPlayer.GetOfficialRank(), npcID, GetRealmLV(curNPC)), curPlayer.GetPlayerID())
|
| | | playerRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", curPlayer.GetOfficialRank())
|
| | | npcRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", GetRealmLV(curNPC))
|
| | | playerRealmLVLarge = playerRealmIpyData.GetLvLarge() if playerRealmIpyData else 0
|
| | | npcRealmLVLarge = npcRealmIpyData.GetLvLarge() if npcRealmIpyData else 0
|
| | | if npcRealmLVLarge > playerRealmLVLarge:
|
| | | GameWorld.Log("玩家大境界不足,无法获得Boss归属奖励! playerRealmLVLarge=%s,npcID=%s,npcRealmLVLarge=%s" |
| | | % (playerRealmLVLarge, npcID, npcRealmLVLarge), curPlayer.GetPlayerID())
|
| | | continue
|
| | |
|
| | | self.__KilledByPlayerSetPrize(curPlayer)
|
| | |
| | | #遍历队伍,半径为一屏半的距离内的所有队伍/团队成员,可以获得经验
|
| | | for curPlayer in playerlist:
|
| | | if isGameBoss and curPlayer.GetOfficialRank() < GetRealmLV(curNPC):
|
| | | GameWorld.Log("队员境界不足,无法获得Boss归属奖励! playerRealmLV=%s,npcID=%s,npcRealmLV=%s" |
| | | % (curPlayer.GetOfficialRank(), npcID, GetRealmLV(curNPC)), curPlayer.GetPlayerID())
|
| | | playerRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", curPlayer.GetOfficialRank())
|
| | | npcRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", GetRealmLV(curNPC))
|
| | | playerRealmLVLarge = playerRealmIpyData.GetLvLarge() if playerRealmIpyData else 0
|
| | | npcRealmLVLarge = npcRealmIpyData.GetLvLarge() if npcRealmIpyData else 0
|
| | | if npcRealmLVLarge > playerRealmLVLarge:
|
| | | GameWorld.Log("队员玩家大境界不足,无法获得Boss归属奖励! playerRealmLVLarge=%s,npcID=%s,npcRealmLVLarge=%s" |
| | | % (playerRealmLVLarge, npcID, npcRealmLVLarge), curPlayer.GetPlayerID())
|
| | | continue
|
| | |
|
| | | curPlayerLV = curPlayer.GetLV()
|