| | |
| | |
|
| | | aRealmLV, dRealmLV = GetPVERealmLVs(atkObj, defObj, atkObjType, defObjType) # 获取境界
|
| | | if defObjType == IPY_GameWorld.gotNPC and ChConfig.IsGameBoss(defObj) and dRealmLV > aRealmLV:
|
| | | aRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", aRealmLV)
|
| | | dRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", dRealmLV)
|
| | | aRealmLVLarge = aRealmIpyData.GetLvLarge() if aRealmIpyData else 0
|
| | | dRealmLVLarge = dRealmIpyData.GetLvLarge() if dRealmIpyData else 0
|
| | | if dRealmLVLarge > aRealmLVLarge:
|
| | | if atkObjType == IPY_GameWorld.gotPlayer:
|
| | | GameWorld.DebugLog("BossRealmHint%s-%s"%(dRealmLV, aRealmLV))
|
| | | PlayerControl.NotifyCode(atkObj, 'BossRealmHint', [dRealmLV])
|
| | | PlayerControl.NotifyCode(atkObj, 'BossRealmHint', [dRealmLVLarge])
|
| | |
|
| | | # 攻击高境界的BOSS 伤害固定为1
|
| | | return 1, ChConfig.Def_HurtType_Normal
|