//V107 招喚獸短擊(快速召喚次數版) CRC 版
//原作:zgenden
//-----------------------------------------------
[ENABLE]
registersymbol(FIR)
alloc(FIR,1024)
registersymbol(FIRTIMESS)
alloc(FIRTIMESS,4)
registersymbol(FIRSKILL)
alloc(FIRSKILL,4)
registersymbol(FIREDI)
alloc(FIREDI,4)
label(FIR00)
label(FIR01)
//-----------------------------------------------
FIRTIMESS:
DD 0 //招喚獸攻擊時間
FIRSKILL:
DD 0 //招喚獸攻擊次數
FIREDI:
DD 0 //招喚獸EDI
//-----------------------------------------------
FIR:
cmp [FIREDI],edi
je FIR00
push eax
mov eax,[00B386f4]
mov [eax+039C],ffffffff //正常值 ffffffff = -1 只要固定正常值就會無延遲了
pop eax
call FIR01
pop ecx
pop ecx
mov dword ptr [ebx+000000cc],01
push [ebx+000000e8]
lea eax,[ebx+000000e0]
push eax
call FIR01
pop ecx
pop ecx
mov dword ptr [ebx+000000c0],01
push [ebx+000000b0]
call 000723392
pop ecx
push esi
mov ecx,ebx
call 007587d8
push eax
mov eax,[ebx+0000010c]
cmp [FIRTIMESS],eax
pop eax
je 00757b88
push eax
mov eax,[ebx+0000010c]
mov [FIRTIMESS],eax
mov [FIREDI],edi
pop eax
jmp 00757b88
//-----------------------------------------------
FIR00:
call 00415ca6
jmp 00757a31
//-----------------------------------------------
FIR01:
push ebp
mov ebp,esp
mov eax,[ebp+08]
push ebx
mov ebx,[eax+04]
push esi
mov esi,[eax]
push edi
push 05
push ebx
call 009e378b
mov edi,eax
xor edi,esi
push 05
xor esi,baadf00d
push esi
call 009e33d4
add eax,ebx
add esp,10
mov eax,edi
pop edi
pop esi
pop ebx
pop ebp
ret
00757a2c:
jmp FIR
//-----------------------------------------------
[DISABLE]
00757a2c:
call 00415ca6
dealloc(FIR)
unregistersymbol(FIR)
dealloc(FIRTIMESS)
unregistersymbol(FIRTIMESS)
dealloc(FIREDI)
unregistersymbol(FIREDI)
dealloc(FIRSKILL)
unregistersymbol(FIRSKILL) |