白神,我试着在6.2修正版引擎上加入偷袭攻击和疾风攻击,自己试着做了一下,但是发现偷袭攻击有效果,但是疾风攻击没有效果,下面是我的代码,希望大神帮忙看看,问题出在哪里?
0043BDA9 E8 926CFDFF CALL Ekd5.00412B69
00412B69 /$ 55 PUSH EBP
00412B6A |. 8BEC MOV EBP,ESP
00412B6C |. FF75 14 PUSH DWORD PTR SS:[EBP+14] ; /Arg4
00412B6F |. FF75 10 PUSH DWORD PTR SS:[EBP+10] ; |Arg3
00412B72 |. FF75 0C PUSH DWORD PTR SS:[EBP+C] ; |Arg2
00412B75 |. FF75 08 PUSH DWORD PTR SS:[EBP+8] ; |Arg1
00412B78 |. E8 5D63FFFF CALL Ekd5.00408DB1 ; \Ekd5.00408DB1
00412B7D |. 8945 10 MOV DWORD PTR SS:[EBP+10],EAX
00412B80 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00412B83 |. E8 303BFFFF CALL Ekd5.0040658F
00412B88 |. 6A 01 PUSH 1 ; /Arg4 = 00000001
00412B8A |. 6A 01 PUSH 1 ; |Arg3 = 00000001
00412B8C |. 6A 32 PUSH 32 ; |Arg2 = 00000032 宝物号
00412B8E |. 6A 48 PUSH 48 ; |Arg1 = 00000048 个人特效号
00412B90 |. E8 6DD7FFFF CALL Ekd5.004101D9 ; \Ekd5.004101D9
00412B95 |. 85C0 TEST EAX,EAX
00412B97 |. 74 13 JE SHORT Ekd5.412BE8
00412B99 |. 6A 00 PUSH 0 ; /Arg4 = 00000000
00412B9B |. FF75 10 PUSH DWORD PTR SS:[EBP+10] ; |Arg3
00412B9E |. FF75 0C PUSH DWORD PTR SS:[EBP+C] ; |Arg2
00412BA1 |. FF75 08 PUSH DWORD PTR SS:[EBP+8] ; |Arg1
00412BA4 |. E8 10000000 CALL Ekd5.00412BF5 ; \Ekd5.00412BF5
00412BA9 |. 8945 10 MOV DWORD PTR SS:[EBP+10],EAX
00412BAC |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00412BAF |. E8 303BFFFF CALL Ekd5.0040658F
00412BB4 |. 6A 01 PUSH 1 ; /Arg4 = 00000001
00412BB6 |. 6A 01 PUSH 1 ; |Arg3 = 00000001
00412BB8 |. 6A 2E PUSH 2E ; |Arg2 = 0000002E 宝物号
00412BBA |. 6A 48 PUSH 48 ; |Arg1 = 00000048 个人特效号
00412BCC |. E8 6DD7FFFF CALL Ekd5.004101D9 ; \Ekd5.004101D9
00412BC1 |. 85C0 TEST EAX,EAX
00412BC3 |. 74 23 JE SHORT Ekd5.412BE8
00412BC5 |. 8B4D 0C MOV ECX,DWORD PTR SS:[EBP+C]
00412BC8 |. E8 D7CC0200 CALL Ekd5.0043F74F
00412BCD |. 83F8 0E CMP EAX,0E 14上限可以自行修改
00412BD0 |. 73 16 JNB SHORT Ekd5.412BE8
00412BD2 |. B9 0E000000 MOV ECX,0E 14上限可以自行修改
00412BD7 |. 2BC8 SUB ECX,EAX
00412BD9 |. 6BC9 05 IMUL ECX,ECX,5
00412BDC |. FF75 10 PUSH DWORD PTR SS:[EBP+10]
00412BDF |. 51 PUSH ECX
00412BE0 |. E8 04CC0B00 CALL Ekd5.004CF694
00412BE5 |. 0145 10 ADD DWORD PTR SS:[EBP+10],EAX
00412BE8 |> 8B45 10 MOV EAX,DWORD PTR SS:[EBP+10]
00412BEB |. 8BE5 MOV ESP,EBP
00412BED |. 5D POP EBP
00412BEE \. C2 1000 RETN 10
00412BF5 /$ 55 push ebp Ekd52.00412BF5(guessed Arg1,Arg2,Arg3,Arg4)
00412BF6 |. 89E5 mov ebp,esp
00412BF8 |. 31C0 xor eax,eax
00412BFA |. 50 push eax
00412BFB |. 8B4D 08 mov ecx,dword ptr [ebp+8]
00412BFE |. 8079 0E 07 cmp byte ptr [ecx+0E],7
00412C02 |. 74 0F je short 00412C13
00412C04 |. BA CE005000 mov edx,005000CE
00412C09 |. 66:833A FF cmp word ptr [edx],0FFFF
00412C0D |. 74 04 je short 00412C13
00412C0F |. FF32 push dword ptr [edx]
00412C11 |. EB 03 jmp short 00412C16
00412C13 |> FF71 06 push dword ptr [ecx+6]
00412C16 |> 8B4D 0C mov ecx,dword ptr [ebp+0C]
00412C19 |. 8A41 0F mov al,byte ptr [ecx+0F]
00412C1C |. 89C2 mov edx,eax
00412C1E |. 83E2 01 and edx,00000001
00412C21 |. 85D2 test edx,edx
00412C23 |. 75 16 jnz short 00412C3B
00412C25 |. 8A51 07 mov dl,byte ptr [ecx+7]
00412C28 |. 3A55 F9 cmp dl,byte ptr [ebp-7]
00412C2B |. 74 26 je short 00412C53
00412C2D |. 77 06 ja short 00412C35
00412C2F |. 3C 00 cmp al,0
00412C31 |. 74 24 je short 00412C57
00412C33 |. EB 1A jmp short 00412C4F
00412C35 |> 3C 02 cmp al,2
00412C37 |. 74 1E je short 00412C57
00412C39 |. EB 14 jmp short 00412C4F
00412C3B |> 8A51 06 mov dl,byte ptr [ecx+6]
00412C3E |. 3A55 F8 cmp dl,byte ptr [ebp-8]
00412C41 |. 74 10 je short 00412C53
00412C43 |. 77 06 ja short 00412C4B
00412C45 |. 3C 01 cmp al,1
00412C47 |. 74 06 je short 00412C4F
00412C49 |. EB 0C jmp short 00412C57
00412C4B |> 3C 03 cmp al,3
00412C4D |. 75 08 jne short 00412C57
00412C4F |> 31C0 xor eax,eax
00412C51 |. EB 06 jmp short 00412C59
00412C53 |> B0 01 mov al,1
00412C55 |. EB 02 jmp short 00412C59
00412C57 |> B0 02 mov al,2
00412C59 |> 6BC0 19 imul eax,eax,19
00412C5C |. 50 push eax ; /Arg2
00412C5D |. FF75 10 push dword ptr [ebp+10] ; |Arg1 => [Arg3]
00412C60 |. E8 2FCA0B00 call 004CF694 ; \Ekd52.004CF694
00412C65 |. 0145 10 add dword ptr [ebp+10],eax
00412C68 |. 0145 FC add dword ptr [ebp-4],eax
00412C6B |. 8B4D 0C mov ecx,dword ptr [ebp+0C]
00412C6E |. E8 9D3AFFFF call 00406710
00412C73 |. 3C 01 cmp al,1
00412C75 |. 74 19 je short 00412C90
00412C77 |. 803D 9A0E5000 0 cmp byte ptr [500E9A],1
00412C7E |. 75 10 jne short 00412C90
00412C80 |. 6A 19 push 19 ; /Arg2 = 19
00412C82 |. FF75 10 push dword ptr [ebp+10] ; |Arg1 => [Arg3]
00412C85 |. E8 0ACA0B00 call 004CF694 ; \Ekd52.004CF694
00412C8A |. 0145 10 add dword ptr [ebp+10],eax
00412C8D |. 0145 FC add dword ptr [ebp-4],eax
00412C90 |> 837D 14 00 cmp dword ptr [ebp+14],0
00412C94 |. 75 05 jne short 00412C9B
00412C96 |. 8B45 10 mov eax,dword ptr [ebp+10]
00412C99 |. EB 03 jmp short 00412C9E
00412C9B |> 8B45 FC mov eax,dword ptr [ebp-4]
00412C9E |> 89EC mov esp,ebp
00412CA0 |. 5D pop ebp
00412CA1 \. C2 1000 retn 10
|