6.2【辅助克制】针对原【绝对克制】改写
6.1写的【绝对克制】是无视兵种克制关系,强制按照130、70的比例来进行克制,遇到部分克制关系设置比较高的mod,比如封神榜,这个效果就显得比较鸡肋了。
于是改写了一下,改成了在原有设置的基础上,进行效果值的增加和减少,如果原有的克制是150,效果值是50,那克制就成了200.
0043BDB1 FF75 FC PUSH DWORD PTR SS:[EBP-4]
0043BDB4 FF75 08 PUSH DWORD PTR SS:[EBP+8]
0043BDB7 FF75 D4 PUSH DWORD PTR SS:[EBP-2C]
0043BDBA E8 41590100 CALL Ekd5.00451700
0043BDBF . 90 NOP
0043BDC0 . 90 NOP
0043BDC1 . 90 NOP
0043BDC2 . 90 NOP
0043BDC3 . 90 NOP
0043BDC4 . 90 NOP
0043BDC5 . 90 NOP
0043BDC6 . 90 NOP
0043BDC7 . 90 NOP
0043BDC8 . 90 NOP
0043BDC9 . 90 NOP
0043BDCA . 90 NOP
0043BDCB . 90 NOP
0043BDCC . 90 NOP
0043BDCD . 90 NOP
0043BDCE . 90 NOP
0043BDCF . 90 NOP
0043BDD0 . 90 NOP
0043BDD1 . 90 NOP
0043BDD2 . 90 NOP
0043BDD3 . 90 NOP
00451700 /$ 55 PUSH EBP
00451701 |. 8BEC MOV EBP,ESP
00451703 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00451706 |. E8 844EFBFF CALL Ekd5.0040658F
0045170B |. 51 PUSH ECX
0045170C |. 8B4D 0C MOV ECX,DWORD PTR SS:[EBP+C]
0045170F |. E8 7B4EFBFF CALL Ekd5.0040658F
00451714 |. 51 PUSH ECX
00451715 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00451718 |. E8 8A9DFEFF CALL Ekd5.0043B4A7
0045171D |. 90 NOP
0045171E |. 6BD8 28 IMUL EBX,EAX,28
00451721 |. 8B4D 0C MOV ECX,DWORD PTR SS:[EBP+C]
00451724 |. E8 7E9DFEFF CALL Ekd5.0043B4A7
00451729 |. 0FB6C8 MOVZX ECX,AL
0045172C |. 8A8419 801A4D>MOV AL,BYTE PTR DS:[ECX+EBX+4D1A80]
00451733 |. 50 PUSH EAX
00451734 |. 6A 00 PUSH 0 ; /Arg4 = 00000000
00451736 |. 6A 01 PUSH 1 ; |Arg3 = 00000001
00451738 |. 6A 7B PUSH 7B ; |Arg2 = 0000007B
0045173A |. 6A 51 PUSH 51 ; |Arg1 = 00000051
0045173C |. 8B4D FC MOV ECX,DWORD PTR SS:[EBP-4] ; |
0045173F |. E8 95EAFBFF CALL Ekd5.004101D9 ; \Ekd5.004101D9
00451744 |. 85C0 TEST EAX,EAX
00451746 |. 74 05 JE SHORT Ekd5.0045174D
00451748 |. 0145 F4 ADD DWORD PTR SS:[EBP-C],EAX
0045174B |. EB 23 JMP SHORT Ekd5.00451770
0045174D |> 6A 00 PUSH 0 ; /Arg4 = 00000000
0045174F |. 6A 01 PUSH 1 ; |Arg3 = 00000001
00451751 |. 6A 7B PUSH 7B ; |Arg2 = 0000007B
00451753 |. 6A 51 PUSH 51 ; |Arg1 = 00000051
00451755 |. 8B4D F8 MOV ECX,DWORD PTR SS:[EBP-8] ; |
00451758 |. E8 7CEAFBFF CALL Ekd5.004101D9 ; \Ekd5.004101D9
0045175D |. 85C0 TEST EAX,EAX
0045175F |. 74 0F JE SHORT Ekd5.00451770
00451761 |. 2945 F4 SUB DWORD PTR SS:[EBP-C],EAX
00451764 |. 8B45 F4 MOV EAX,DWORD PTR SS:[EBP-C]
00451767 |. 83F8 00 CMP EAX,0
0045176A |. 75 04 JNZ SHORT Ekd5.00451770
0045176C |. 8345 F4 01 ADD DWORD PTR SS:[EBP-C],1
00451770 |> 8B45 F4 MOV EAX,DWORD PTR SS:[EBP-C]
00451773 |. 83F8 64 CMP EAX,64
00451776 |. 74 0C JE SHORT Ekd5.00451784
00451778 |. FF75 10 PUSH DWORD PTR SS:[EBP+10]
0045177B |. 50 PUSH EAX
0045177C |. E8 13DF0700 CALL Ekd5.004CF694
00451781 |. 8945 10 MOV DWORD PTR SS:[EBP+10],EAX
00451784 |> 90 NOP
00451785 |. 90 NOP
00451786 |. 8B45 10 MOV EAX,DWORD PTR SS:[EBP+10]
00451789 |. 8BE5 MOV ESP,EBP
0045178B |. 5D POP EBP
0045178C \. C2 0C00 RETN 0C
55 8B EC 8B 4D 08 E8 84 4E FB FF 51 8B 4D 0C E8 7B 4E FB FF 51 8B 4D 08 E8 8A 9D FE FF 90 6B D8
28 8B 4D 0C E8 7E 9D FE FF 0F B6 C8 8A 84 19 80 1A 4D 00 50 6A 00 6A 01 6A 7B 6A 51 8B 4D FC E8
95 EA FB FF 85 C0 74 05 01 45 F4 EB 23 6A 00 6A 01 6A 7B 6A 51 8B 4D F8 E8 7C EA FB FF 85 C0 74
0F 29 45 F4 8B 45 F4 83 F8 00 75 04 83 45 F4 01 8B 45 F4 83 F8 64 74 0C FF 75 10 50 E8 13 DF 07
00 89 45 10 90 90 8B 45 10 8B E5 5D C2 0C 00
00413207 |. FF75 14 PUSH DWORD PTR SS:[EBP+14]
0041320A |. FF75 10 PUSH DWORD PTR SS:[EBP+10]
0041320D |. E8 EEFA0B00 CALL Ekd5.004D2D00
00413212 |. 894D F4 MOV DWORD PTR SS:[EBP-C],ECX
00413215 |. 8945 F8 MOV DWORD PTR SS:[EBP-8],EAX
00413218 |. 90 NOP
00413219 |. 90 NOP
0041321A |. 90 NOP
0041321B |. 90 NOP
0041321C |. 90 NOP
0041321D |. 90 NOP
0041321E |. 90 NOP
0041321F |. 90 NOP
00413220 |. 90 NOP
00413221 |. 90 NOP
00413222 |. 90 NOP
00413223 |. 90 NOP
00413224 |. 90 NOP
00413225 |. 90 NOP
00413226 |. 90 NOP
00413227 |. 90 NOP
00413228 |. 90 NOP
00413229 |. 90 NOP
0041322A |. 90 NOP
0041322B |. 90 NOP
0041322C |. 90 NOP
0041322D |. 90 NOP
0041322E |. 90 NOP
0041322F |. 90 NOP
00413230 |. 90 NOP
00413231 |. 90 NOP
00413232 |. 90 NOP
00413233 |. 90 NOP
00413234 |. 90 NOP
00413235 |. 90 NOP
00413236 |. 90 NOP
00413237 |. 90 NOP
00413238 |. 90 NOP
00413239 |. 90 NOP
0041323A |. 90 NOP
0041323B |. 90 NOP
0041323C |. 90 NOP
0041323D |. 90 NOP
0041323E |. 90 NOP
004D2D00 55 PUSH EBP
004D2D01 8BEC MOV EBP,ESP
004D2D03 6A 00 PUSH 0
004D2D05 6A 00 PUSH 0
004D2D07 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004D2D0A E8 9887F6FF CALL Ekd5.0043B4A7
004D2D0F 8945 FC MOV DWORD PTR SS:[EBP-4],EAX
004D2D12 8B4D 0C MOV ECX,DWORD PTR SS:[EBP+C]
004D2D15 E8 8D87F6FF CALL Ekd5.0043B4A7
004D2D1A 8945 F8 MOV DWORD PTR SS:[EBP-8],EAX
004D2D1D 6BD0 28 IMUL EDX,EAX,28
004D2D20 0355 FC ADD EDX,DWORD PTR SS:[EBP-4]
004D2D23 0FB68A 801A4D00 MOVZX ECX,BYTE PTR DS:[EDX+4D1A80]
004D2D2A 51 PUSH ECX
004D2D2B 8B45 FC MOV EAX,DWORD PTR SS:[EBP-4]
004D2D2E 6BD0 28 IMUL EDX,EAX,28
004D2D31 0355 F8 ADD EDX,DWORD PTR SS:[EBP-8]
004D2D34 0FB68A 801A4D00 MOVZX ECX,BYTE PTR DS:[EDX+4D1A80]
004D2D3B 51 PUSH ECX
004D2D3C 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004D2D3F E8 4B38F3FF CALL Ekd5.0040658F
004D2D44 0FB605 35174500 MOVZX EAX,BYTE PTR DS:[451735]
004D2D4B 50 PUSH EAX
004D2D4C 0FB605 37174500 MOVZX EAX,BYTE PTR DS:[451737]
004D2D53 50 PUSH EAX
004D2D54 0FB605 39174500 MOVZX EAX,BYTE PTR DS:[451739]
004D2D5B 50 PUSH EAX
004D2D5C 0FB605 3B174500 MOVZX EAX,BYTE PTR DS:[45173B]
004D2D63 50 PUSH EAX
004D2D64 E8 70D4F3FF CALL Ekd5.004101D9
004D2D69 85C0 TEST EAX,EAX
004D2D6B 74 03 JE SHORT Ekd5.004D2D70
004D2D6D 2945 F4 SUB DWORD PTR SS:[EBP-C],EAX
004D2D70 8B4D 0C MOV ECX,DWORD PTR SS:[EBP+C]
004D2D73 E8 1738F3FF CALL Ekd5.0040658F
004D2D78 0FB605 35174500 MOVZX EAX,BYTE PTR DS:[451735]
004D2D7F 50 PUSH EAX
004D2D80 0FB605 37174500 MOVZX EAX,BYTE PTR DS:[451737]
004D2D87 50 PUSH EAX
004D2D88 0FB605 39174500 MOVZX EAX,BYTE PTR DS:[451739]
004D2D8F 50 PUSH EAX
004D2D90 0FB605 3B174500 MOVZX EAX,BYTE PTR DS:[45173B]
004D2D97 50 PUSH EAX
004D2D98 E8 3CD4F3FF CALL Ekd5.004101D9
004D2D9D 85C0 TEST EAX,EAX
004D2D9F 74 03 JE SHORT Ekd5.004D2DA4
004D2DA1 0145 F4 ADD DWORD PTR SS:[EBP-C],EAX
004D2DA4 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004D2DA7 E8 E337F3FF CALL Ekd5.0040658F
004D2DAC 0FB605 4E174500 MOVZX EAX,BYTE PTR DS:[45174E]
004D2DB3 50 PUSH EAX
004D2DB4 0FB605 50174500 MOVZX EAX,BYTE PTR DS:[451750]
004D2DBB 50 PUSH EAX
004D2DBC 0FB605 52174500 MOVZX EAX,BYTE PTR DS:[451752]
004D2DC3 50 PUSH EAX
004D2DC4 0FB605 54174500 MOVZX EAX,BYTE PTR DS:[451754]
004D2DCB 50 PUSH EAX
004D2DCC E8 08D4F3FF CALL Ekd5.004101D9
004D2DD1 85C0 TEST EAX,EAX
004D2DD3 74 03 JE SHORT Ekd5.004D2DD8
004D2DD5 0145 F0 ADD DWORD PTR SS:[EBP-10],EAX
004D2DD8 8B4D 0C MOV ECX,DWORD PTR SS:[EBP+C]
004D2DDB E8 AF37F3FF CALL Ekd5.0040658F
004D2DE0 0FB605 4E174500 MOVZX EAX,BYTE PTR DS:[45174E]
004D2DE7 50 PUSH EAX
004D2DE8 0FB605 50174500 MOVZX EAX,BYTE PTR DS:[451750]
004D2DEF 50 PUSH EAX
004D2DF0 0FB605 52174500 MOVZX EAX,BYTE PTR DS:[451752]
004D2DF7 50 PUSH EAX
004D2DF8 0FB605 54174500 MOVZX EAX,BYTE PTR DS:[451754]
004D2DFF 50 PUSH EAX
004D2E00 E8 D4D3F3FF CALL Ekd5.004101D9
004D2E05 85C0 TEST EAX,EAX
004D2E07 74 03 JE SHORT Ekd5.004D2E0C
004D2E09 2945 F0 SUB DWORD PTR SS:[EBP-10],EAX
004D2E0C 8B4D F4 MOV ECX,DWORD PTR SS:[EBP-C]
004D2E0F 8B45 F0 MOV EAX,DWORD PTR SS:[EBP-10]
004D2E12 8BE5 MOV ESP,EBP
004D2E14 5D POP EBP
004D2E15 C2 0800 RETN 8
55 8B EC 6A 00 6A 00 8B 4D 08 E8 98 87 F6 FF 89 45 FC 8B 4D 0C E8 8D 87 F6 FF 89 45 F8 6B D0 28
03 55 FC 0F B6 8A 80 1A 4D 00 51 8B 45 FC 6B D0 28 03 55 F8 0F B6 8A 80 1A 4D 00 51 8B 4D 08 E8
4B 38 F3 FF 0F B6 05 35 17 45 00 50 0F B6 05 37 17 45 00 50 0F B6 05 39 17 45 00 50 0F B6 05 3B
17 45 00 50 E8 70 D4 F3 FF 85 C0 74 03 29 45 F4 8B 4D 0C E8 17 38 F3 FF 0F B6 05 35 17 45 00 50
0F B6 05 37 17 45 00 50 0F B6 05 39 17 45 00 50 0F B6 05 3B 17 45 00 50 E8 3C D4 F3 FF 85 C0 74
03 01 45 F4 8B 4D 08 E8 E3 37 F3 FF 0F B6 05 4E 17 45 00 50 0F B6 05 50 17 45 00 50 0F B6 05 52
17 45 00 50 0F B6 05 54 17 45 00 50 E8 08 D4 F3 FF 85 C0 74 03 01 45 F0 8B 4D 0C E8 AF 37 F3 FF
0F B6 05 4E 17 45 00 50 0F B6 05 50 17 45 00 50 0F B6 05 52 17 45 00 50 0F B6 05 54 17 45 00 50
E8 D4 D3 F3 FF 85 C0 74 03 29 45 F0 8B 4D F4 8B 45 F0 8B E5 5D C2 08 00
[ 本帖最后由 59054695 于 2021-6-22 11:38 编辑 ]
图片附件:
111.jpg (2021-6-22 11:38, 432 K)
图片附件:
222.jpg (2021-6-22 11:38, 430.01 K)
图片附件:
333.jpg (2021-6-22 11:38, 437.91 K)
图片附件:
444.jpg (2021-6-22 11:38, 432.79 K)
|