| | |
| | | # @return 无意义
|
| | | def SetSight(curPlayer, sight):
|
| | | #外挂号 视野验证
|
| | | if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_AutoCheckHack_State) \
|
| | | == ChConfig.Def_AutoCheck_State_Danger:
|
| | | |
| | | if curPlayer.GetSight() > sight:
|
| | | curPlayer.SetSight(sight)
|
| | | |
| | | return
|
| | | |
| | | # if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_AutoCheckHack_State) \
|
| | | # == ChConfig.Def_AutoCheck_State_Danger:
|
| | | # |
| | | # if curPlayer.GetSight() > sight:
|
| | | # curPlayer.SetSight(sight)
|
| | | # |
| | | # return
|
| | | # |
| | | curPlayer.SetSight(sight)
|
| | |
|
| | | ##获取攻击间隔
|
| | |
| | | atkInterval = curPlayer.GetAtkInterval()
|
| | |
|
| | | #外挂号 攻击间隔验证
|
| | | if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_AutoCheckHack_State) \
|
| | | == ChConfig.Def_AutoCheck_State_Danger:
|
| | | atkInterval *= 100
|
| | | #if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_AutoCheckHack_State) \
|
| | | # == ChConfig.Def_AutoCheck_State_Danger:
|
| | | # atkInterval *= 100
|
| | |
|
| | | return atkInterval
|
| | |
|