| | |
| | | import NetPackCommon
|
| | | import FBCommon
|
| | | import PlayerPrestigeSys
|
| | | import GY_Query_BossFirstKill
|
| | | import FormulaControl
|
| | | import PlayerBossReborn
|
| | | import PlayerCrossYaomoBoss
|
| | | import PlayerActCollectWords
|
| | | import PlayerTongTianLing
|
| | | import CrossPlayerData
|
| | | import PlayerFeastWish
|
| | | import PlayerFeastTravel
|
| | | import PlayerGoldInvest
|
| | | import PlayerWeekParty
|
| | | import NPCRealmRefresh
|
| | | import PlayerActLogin
|
| | |
| | | #存一个满足要求的所有的物品的列表 然后从当中随机选一个
|
| | | #注: 阶、颜色、套装ID、职业、部位,这5个条件可确认唯一一件装备
|
| | |
|
| | | if not PyGameData.InitPyItem:
|
| | | if not PyGameData.g_initPyItem:
|
| | | GameWorld.ErrLog("地图还未启动好载物品!")
|
| | | return []
|
| | |
|
| | |
| | | if not buyTimesVIPPriID:
|
| | | return
|
| | | canBuyCnt = 0
|
| | | canBuyCnt += PlayerGoldInvest.GetAddBossBuyCnt(curPlayer, killBossMark)
|
| | | hasBuyCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Boss_KillCntBuyCnt%killBossMark, 0)
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | if hasBuyCnt >= canBuyCnt:
|