| | |
| | | if curSkill and curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_RealmSuppress:
|
| | | # 境界压制技能不对高等级境界玩家产生攻击
|
| | | aRealmLV, dRealmLV = GetPVERealmLVs(atkObj, defObj, atkObjType, defObjType)
|
| | | if aRealmLV >= dRealmLV:
|
| | | if aRealmLV <= dRealmLV:
|
| | | return 0, ChConfig.Def_HurtType_Immune # 免疫
|
| | |
|
| | | atkIsBoss = 1 if ChConfig.IsGameBoss(atkObj) else 0
|
| | |
| | | return curNPC.GetLV()
|
| | |
|
| | | def GetRealmLV(curNPC): return curNPC.GetMAtkMin() # NPC表中此字段含义改成境界等级
|
| | | def SetRealmLV(curNPC, realmLV): return curNPC.SetMAtkMin(realmLV) # NPC表中此字段含义改成境界等级
|
| | | def GetIsLVSuppress(curNPC): return curNPC.GetWindDef() # 风防代表是否等级压制
|
| | | def GetSuppressFightPower(curNPC): return curNPC.GetThunderDef() # 雷防代表压制战力
|
| | | def SetSuppressFightPower(curNPC, value): return curNPC.SetThunderDef(value)
|
| | |
| | | summonNPC.SetBaseMinAtk(int(curNPC.GetMinAtk()*atkper))
|
| | | summonNPC.SetBaseMaxAtk(int(curNPC.GetMaxAtk()*atkper))
|
| | | summonNPC.SetBaseHit(curNPC.GetHit())
|
| | | |
| | |
|
| | | NPCCommon.SetRealmLV(summonNPC, NPCCommon.GetRealmLV(curNPC)) # 继承境界
|
| | |
|
| | | #summonNPC.SetBaseAtkInterval(500)
|
| | | summonNPC.SetBaseMissRate(curNPC.GetMiss())
|
| | |
|