- UID
- 303513
- 帖子
- 1335
- 主題
- 66
- 精華
- 0
- 積分
- 128
- 楓幣
- 463
- 威望
- 116
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 643
- 閱讀權限
- 20
- 性別
- 保密
- 在線時間
- 231 小時
- 註冊時間
- 2021-5-9
- 最後登入
- 2024-6-17
|
50楓幣
上次發的給錯答案 再發一次
求更新 感謝大大~
// TwMs v226.3 ICS SkillInjection(技能注入)
[Enable]
Registersymbol(SkillInjection)
Alloc(SkillInjection,512)
Label(do)
Label(L1)
Label(Return)
Registersymbol(SkillInjectDelay)
Alloc(SkillInjectDelay,04)
Registersymbol( SkillInjectMobCount)
Alloc(SkillInjectMobCount,04)
Registersymbol(SkillID)
Alloc(SkillID,4)
Registersymbol(Timer)
Alloc(Timer,04)
//怪物数量<1就不打
SkillInjectMobCount:
DD 01
//技能编号【请填16进位技能编号】
SkillID:
DD 00
//注入攻击间隔
SkillInjectDelay:
DD 0
//这里请勿修改
Timer:
DD 0
SkillInjection:
cmp [esp],02000000
jle do
ret
do:
pushad
cmp [04097690],0
je Return
cmp [04097408],0
je Return
cmp [0433B8B0],0
je Return
mov eax,[0433B8B0]
mov eax,[eax+14]
mov eax,[eax+00019218]
cmp eax,[SkillInjectMobCount]
jbe Return
mov eax,[0433C0C0]
cmp [eax+4],2//红点数量>2就是有人
jne Return
jmp L1
L1:
call 029F7BB0
sub eax, [Timer]
cmp eax,[SkillInjectDelay]
jl Return
add eax,[Timer]
mov [Timer],eax
mov edi,[04097690]
mov eax,[edi+00000138]
lea esi,[edi+00000138]
mov ebx,[0432A77C]
push ebx
mov ecx,esi
call dword ptr [eax+38]
add esp,04
push eax
xor bl,bl
call 005CE8A0
add esp,04
mov edi,[04097690]
mov dword ptr [edi+00017188] ,eax
mov ecx,[SkillID]
mov dword ptr [edi+00017184],ecx
mov dword ptr [edi+0001718C],0
jmp Return
Return:
popad
ret
timeGetTime+4F:
jmp SkillInjection
[Disable]
timeGetTime+4F:
ret
DeAlloc( SkillInjection)
DeAlloc(SkillInjectDelay)
DeAlloc(Timer)
|
|