- UID
- 265343
- 帖子
- 77
- 主題
- 39
- 精華
- 0
- 積分
- 52
- 楓幣
- 1898
- 威望
- 49
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 41
- 閱讀權限
- 10
- 性別
- 保密
- 在線時間
- 52 小時
- 註冊時間
- 2019-6-25
- 最後登入
- 2020-7-30
|
本帖最後由 zzsf_09 於 2020-7-3 13:25 編輯
// 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)
|
-
總評分: 楓幣 + 360
查看全部評分
|