```lua
[@AntiCheat]
#IF
#ACT
; 初始化变量
VAR Integer HUMAN CheatCount
VAR Integer HUMAN LastAttackTime
VAR Integer HUMAN AttackSpeed
VAR Integer HUMAN DamageRecord
VAR Integer HUMAN MaxDamage
VAR Integer HUMAN NormalDamage
; 加载玩家正常伤害值(根据职业和等级)
LOADVALUE HUMAN NormalDamage "NormalDamage"
; 如果没有加载到正常伤害值,设置默认值
#IF
EQUAL HUMAN NormalDamage 0
#ACT
CALCVAR HUMAN NormalDamage = <$MAXDC> + <$LEVEL> / 2
SAVEVALUE HUMAN NormalDamage "NormalDamage" <$HUMAN(NormalDamage)>