TwMS v1.46_CRC_怪物數量低於N無法攻擊
// TwMS v1.46_CRC_怪物數量低於N無法攻擊 // 更新: HaHaYO // 小改:Onion |
[Enable]
RegisterSymbol(StopCount)
Alloc(StopAttack, 32)
Alloc(StopCount, 4)
StopCount:
DD 01 //怪物數量
StopAttack:
mov esi,ecx
Push eax
Mov Eax,[00D34C24] //Pointer
Mov Eax,[Eax+24] //Offest
Sub Eax,01
Cmp Eax,[StopCount]
Pop eax
Jle 00480B45 //無法攻擊
jmp 00480B10
00480B05:
Jmp StopAttack
[disable]
00480B05:
mov esi,ecx
cmp dword ptr [esi+000020C4],00
DeAlloc(StopCount, 4)
DeAlloc(StopAttack, 32)
UnRegisterSymbol(StopCount)
留言
張貼留言