冰楓論壇
標題:
TwMS v196.3_ICS_取得人物血魔
[打印本頁]
作者:
prt
時間:
2017-3-2 20:00
標題:
TwMS v196.3_ICS_取得人物血魔
//TwMS v196.3_ICS_取得人物血魔
//Author: neilwaker
[Enable]
Alloc(GetHpMp,256)
RegisterSymbol(GetHpMp)
Alloc(Hp,4)
RegisterSymbol(Hp)
Alloc(MaxHp,4)
RegisterSymbol(MaxHp)
Alloc(Mp,4)
RegisterSymbol(Mp)
Alloc(MaxMp,4)
RegisterSymbol(MaxMp)
Label(L1)
Label(L2)
Label(GetHp)
Label(GetMp)
GetHpMp:
cmp [esp+20],00FF8A80 //a1 ?? ?? ?? ?? ff 76 ?? 8d b8 ?? ?? ?? ?? 05
jne L1
nop
mov [esp+20],GetHp
jmp L2
L1:
cmp [esp+20],00FF8D76 //ff 77 ?? 8b 1d ?? ?? ?? ?? 83 c7 ?? 57 81 c3 ?? ?? ?? ?? e8
jne L2
nop
mov [esp+20],GetMp
L2:
nop
push InterlockedDecrement
ret
GetHp:
mov eax,[0213A540]
push [esi+5E]
lea edi,[eax+00002238]
add eax,000024B0
add esi,56
push esi
mov [ebp-24],eax
call 00403FC1
mov [Hp],eax
push [edi+68]
mov esi,eax
add edi,60
push edi
mov [ebp-28],esi
call 00403FC1
mov [MaxHp],eax
jmp 00FF8AB0
GetMp:
push [edi+76]
mov ebx,[0213A540]
add edi,6E
push edi
add ebx,00002238
call 00403FC1
mov [Mp],eax
push [ebx+00000080]
add ebx,78
push ebx
mov edi,eax
call 00403FC1
mov [MaxMp],eax
jmp 00FF8D9F
0198B134:
DD GetHpMp
[Disable]
0198B134:
DD InterlockedDecrement
DeAlloc(GetHpMp)
UnRegisterSymbol(GetHpMp)
DeAlloc(Hp)
UnRegisterSymbol(Hp)
DeAlloc(MaxHp)
UnRegisterSymbol(MaxHp)
DeAlloc(Mp)
UnRegisterSymbol(Mp)
DeAlloc(MaxMp)
UnRegisterSymbol(MaxMp)
複製代碼
作者:
awd6113520
時間:
2017-3-25 10:07
請問這個取得血魔後
如何自動補水?
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓