| | |
| | | # % (npcID, npcDataEx.GetSuppressFightPower(), PlayerControl.GetFightPower(atkPlayer)))
|
| | | return False
|
| | |
|
| | | |
| | | bossIpyData = IpyGameDataPY.GetIpyGameDataNotLog('BOSSInfo', npcID)
|
| | | if bossIpyData:
|
| | | if bossIpyData.GetAtkLimitFightPower() > PlayerControl.GetFightPower(atkPlayer):
|
| | | if isNotify:
|
| | | PlayerControl.NotifyCode(atkPlayer, "BossFightPowerHint") |
| | | #GameWorld.DebugLog("战力不足,无法攻击boss! npcID=%s,AtkLimitFightPower=%s > playerFightPower=%s" |
| | | # % (npcID, bossIpyData.GetAtkLimitFightPower(), PlayerControl.GetFightPower(atkPlayer))) |
| | | return False
|
| | | |
| | | return True
|
| | |
|
| | |
|