- UID
- 278360
- 帖子
- 150
- 主題
- 34
- 精華
- 0
- 積分
- 138
- 楓幣
- 370
- 威望
- 134
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 626
- 閱讀權限
- 20
- 在線時間
- 85 小時
- 註冊時間
- 2020-3-2
- 最後登入
- 2022-4-5
|
本帖最後由 eghuai 於 2020-4-11 10:07 編輯
//功效:可以在右上角buff列表增加壹個 任意的 buff(如'依古尼斯咆哮'),修改技能ID就能加上去,估計大部分是CS端
//新弄出來的功能,本來想自動觸發'依古尼斯咆哮'結果搞出來這樣壹個不知道有什麽用的功能,放出來給感興趣的大大研究壹下玩法
//TwMs v224.1 CRC 自動加被動buff(可能CS)
[ENABLE]
registersymbol(AutoFun2)
alloc(AutoFun2,8192)
label(AutoFun2_End)
registersymbol(lasttimeA)
alloc(lasttimeA,1024)
registersymbol(lasttimeB)
alloc(lasttimeB,1024)
registersymbol(Call_GetBuff)
alloc(Call_GetBuff,4096)
registersymbol(Switch_supermode)
alloc(Switch_supermode,4)
registersymbol(Var_structural_skill)
alloc(Var_structural_skill,64)
registersymbol(lag)
alloc(lag,1024)
registersymbol(Var_SkillID)
alloc(Var_SkillID,4)
registersymbol(Var_structural_PACK)
alloc(Var_structural_PACK,1024)
registersymbol(Var_PACK)
alloc(Var_PACK,1024)
Var_SkillID://BUFFid
dd 0160A174
lag://放buff間隔
dd 1F4
lasttimeB:
dd 0
Var_structural_PACK:
DB 00 00 00 00 02 00 00 00 F0 F8 AB 4C B2 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00
Var_PACK://可以在02B409F8獲取[esi+8]處得到178字節,或在01C114EA當buff失效時[edx]取得178字節
/依古尼斯咆哮
db A6 99 08 99 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 74 A1 60 01 97 3A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
//雙弩槍推進器
//db 7D C8 D3 C8 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FE FF 4A 7E 60 01 40 0D 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AutoFun2:
pushad
cmp [0421C18C],0
je AutoFun2_End
cmp [03F77700],0
je AutoFun2_End
call timegettime
push eax
call Call_GetBuff//buff接口
jmp AutoFun2_End
AutoFun2_End:
POPAD
push 0360FEDC
JMP 02761CE5+5
//自動buff
Call_GetBuff:
mov eax,[esp+4]
mov ebx,eax
sub eax,[lasttimeB]
cmp eax,[lag]
jge +3
ret 4
mov [lasttimeB],ebx
mov ecx,[03F77708]
mov esi,ecx
mov edi,ecx
mov eax,Var_PACK
mov [Var_structural_PACK+8],eax
mov [Var_structural_PACK+C],B2
mov [Var_structural_PACK+18],06
mov [Var_PACK+92],01//buff疊加層數
mov [Var_PACK+98],-1//持續時間 -1=永久
mov eax,[Var_SkillID]
mov ebx,Var_PACK+94
mov [ebx],eax
push Var_structural_PACK
call 02BEE2F0
ret 4
0043B0F1:
call 02BEE2F0
ret 4
02761CE5:
jmp AutoFun2
[DISABLE]
02761CE5:
push 0360FEDC
|
-
總評分: 楓幣 + 51
威望 + 3
彩票 + 2
GP + 4
查看全部評分
|