[m2&mir]配合修改完成转生装备属性显示
[m2&mir]配合修改完成转生装备属性显示
技术 有
以前说的装备显示暗码,其实是MIR不支持,可作如下修改,就可以
M2作如下修改[原理]:
借助Dsam代码解释[兰色]:
* Referenced by a (U)nconditional or (C)onditional Jump at Addresses:
|:004C50FE(C), :004C5131(C)
|
:004C5135 8B45F4 mov eax, dword ptr [ebp-0C]
:004C5138 0FB64024 movzx eax, byte ptr [eax+24] ;DB里的NEED
:004C513C B904000000 mov ecx, 00000004 ;除数
:004C5141 99 cdq ;EAX进位到EDX
:004C5142 F7F9 idiv ecx ;除法
:004C5144 8BC8 mov ecx, eax ;eax = 商
:004C5146 8BC2 mov eax, edx ; eDx = 余数
:004C5148 8B55FC mov edx, dword ptr [ebp-04]
:004C514B 384A35 cmp byte ptr [edx+35], cl ;判断PLAYER是否符合穿戴条件
:004C514E 7279 jb XXXXXXXX ->补充提示 [X 次转生方能配备该装备]
:004C5150 2C01 sub al, 01
:004C5152 720C jb 004C5160
:004C5154 741E je 004C5174
:004C5156 FEC8 dec al
:004C5158 7437 je 004C5191
:004C515A FEC8 dec al
:004C515C 7450 je 004C51AE
:004C515E EB69 jmp 004C51C9
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:004C5152(C)
|
:004C5160 8B45FC mov eax, dword ptr [ebp-04]
:004C5163 8A4034 mov al, byte ptr [eax+34]
:004C5166 8B55F4 mov edx, dword ptr [ebp-0C]
:004C5169 3A4225 cmp al, byte ptr [edx+25]
:004C516C 725B jb 004C51C9 ;需要级别
:004C516E C645F301 mov [ebp-0D], 01
:004C5172 EB55 jmp 004C51C9
* Referenced by a (U)nconditional or (C)onditional Jump at Address:
|:004C5154(C)
|
:004C5174 8B45FC mov eax, dword ptr [ebp-04]
:004C5177 668B809E010000 mov ax, word ptr [eax+0000019E]
:004C517E E8A529F4FF call 00407B28
:004C5183 8B55F4 mov edx, dword ptr [ebp-0C]
:004C5186 3A4225 cmp al, byte ptr [edx+25]
(责任编辑:admin) |