- UID
- 119417
- 帖子
- 10915
- 主題
- 4238
- 精華
- 0
- 積分
- 5308
- 楓幣
- 12830
- 威望
- 5212
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 2439
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1919 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-10-30
|
- //TwMs_196.3_ICS_人物不退+5次MISS [ICS] by.aaaddress1
- [ENABLE]
- alloc(Set,128)
- label(set1)
- label(set2)
- label(normal)
- label(keepzerohurt)
- alloc(times,4)
- Set:
- cmp [esp],012002C5 //ff 75 ?? 8b 10 ff 75 ?? 8b c8 57 57
- jne 0117C9A7 //8b 81 00 3d 00 00 85 c0 74 05 83 c0 f4 eb 02 33 c0 85 c0 74 04 83 c0 10 c3 33 c0 c3 8b 81 ?? ?? 00 00 85 c0 74 05 83 c0 f4 eb 02 33 c0 85 c0 74 04 83 c0 10 c3 33 c0 c3 56
- mov [esp],set1
- jmp 0117C9A7
- set1:
- //以下是損血量減少30%
- Cmp [Ebp+54], 10 // 損血5滴以下不減少
- Jl set2
- Push Eax
- Push Ecx
- Push Edx
- Mov Eax, [Ebp+54]
- Imul Eax,Eax,07
- Xor Edx, Edx
- Mov Ecx, 0A
- Idiv Ecx
- Mov [Ebp+54], Eax
- Pop Edx
- Pop Ecx
- Pop Eax
- set2:
- inc [times]
- cmp [times],4 //MISS 次數-1
- jl keepzerohurt
- mov [times],0
- jmp normal
- keepzerohurt:
- mov [ebp+54],0
- normal:
- push 00 //人物不退
- mov edx,[eax]
- push 00 //人物不退
- mov ecx,eax
- push edi
- push edi
- push 2B
- call dword ptr [edx+1C]
- jng 012006E9
- push 05
- lea eax,[ebp+14]
- push eax
- mov [ebp+5C],2710 //無敵時間(目前10秒)
- jmp 0120030C // 設定閃爍時間位址+1
- 01C07DE8:
- dd Set
- [DISABLE]
- 01C07DE8:
- dd 00117C9A7
- dealloc(Set)
- dealloc(times)
複製代碼 |
|