[Enable]
RegisterSymbol(StopCount)
Alloc(StopAttack, 32)
Alloc(StopCount, 4)
StopCount:
DD 01 //怪物數量
StopAttack:
mov esi,ecx
Push eax
Mov Eax,[00D35C24] //Pointer
Mov Eax,[Eax+24] //Offest
Sub Eax,01
Cmp Eax,[StopCount]
Pop eax
Jle 00480B5C //無法攻擊
jmp 00480B27
00480B1C:
Jmp StopAttack
[disable]
00480B05:
mov esi,ecx
cmp dword ptr [esi+000020C8],00
DeAlloc(StopCount, 4)
DeAlloc(StopAttack, 32)
UnRegisterSymbol(StopCount)
沒有留言:
張貼留言