- UID
- 287787
- 帖子
- 220
- 主題
- 94
- 精華
- 0
- 積分
- 382
- 楓幣
- 3088
- 威望
- 354
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 6
- GP
- 101
- 閱讀權限
- 30
- 在線時間
- 551 小時
- 註冊時間
- 2020-8-5
- 最後登入
- 2024-12-22
|
- // TwMs v240.1 ICS Multi_SkillInjection
- [ENABLE]
- Alloc(Multi_SkillInjection_ICS_ForwardTable,1024)
- Alloc(Multi_SkillInjection_temp,128)
- RegisterSymbol(Multi_SkillInjectionSW)
- Alloc(Multi_SkillInjectionSW,4)
- RegisterSymbol(Multi_SkillInjectionDelay)
- Alloc(Multi_SkillInjectionDelay,4)
- RegisterSymbol(Skill_Injection_ID_List)
- Alloc(Skill_Injection_ID_List,64)
- RegisterSymbol(LastSkillID)
- Alloc(LastSkillID,4)
- Alloc(Multi_SkillInjection_Timer,4)
- Alloc(Multi_SkillInjection_Count,4)
- RegisterSymbol(Multi_SkillInjection_Count)
- Alloc(Skill_Injection_ID_Multi_SkillInjection_Counter,4)
- RegisterSymbol(Skill_Injection_ID_Multi_SkillInjection_Counter)
- Label(InitMulti_SkillInjection)
- Label(Multi_SkillInjection_ICS)
- Label(Chk_Status)
- Label(Multi_SkillInjection)
- Label(L1)
- Label(Multi_SkillInjectionExit)
- //--------------------------------------------------------------------------------//
- Skill_Injection_ID_List:
- //dd skillid below
- dd #技能id1
- dd #技能id2
- dd #技能id3
- dd #技能id4
- dd 00 //end of list
- //--------------------------------------------------------------------------------//
- Multi_SkillInjectionDelay:
- DD 28
- Multi_SkillInjectionSW:
- DD 1
- Multi_SkillInjection_Timer:
- DD 0
- Skill_Injection_ID_Multi_SkillInjection_Counter:
- DD 0
- Multi_SkillInjection_temp:
- DD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- Multi_SkillInjection_ICS_ForwardTable:
- cmp [esp],01BCC068
- jne USER32.ScreenToClient
- cmp [Multi_SkillInjectionSW],01
- jne USER32.ScreenToClient
- mov [esp],Multi_SkillInjection_ICS
- jmp USER32.ScreenToClient
- InitMulti_SkillInjection:
- cmp dword ptr [eax],0
- je Multi_SkillInjectionExit
- add eax,4
- inc [Skill_Injection_ID_Multi_SkillInjection_Counter]
- jmp InitMulti_SkillInjection
- Multi_SkillInjection_ICS:
- pushad
- mov eax,Skill_Injection_ID_List
- cmp [Skill_Injection_ID_Multi_SkillInjection_Counter],0
- je InitMulti_SkillInjection
- //------------------------------------//
- Chk_Status:
- mov eax,[04436898]
- test eax,eax
- je Multi_SkillInjectionExit
- mov eax,[05305B50]
- mov [LastSkillID],eax
- mov eax,[052FF920]
- cmp [eax+4],2
- jg Multi_SkillInjectionExit
- mov eax,[052FE9C0]
- mov eax,[eax+14]
- mov eax,[eax+000191D8+40]
- cmp eax,1
- jl Multi_SkillInjectionExit
- call 02FC35B0
- mov edx,eax
- sub edx,[Multi_SkillInjection_Timer]
- cmp edx,[Multi_SkillInjectionDelay]
- jl Multi_SkillInjectionExit
- mov [Multi_SkillInjection_Timer],eax
- mov ecx,[Skill_Injection_ID_Multi_SkillInjection_Counter]
- mov [Multi_SkillInjection_Count],ecx
- jmp Multi_SkillInjection
- //------------------------------------//
- Multi_SkillInjection:
- mov dword ptr [Multi_SkillInjection_temp+08],00000000
- mov dword ptr [Multi_SkillInjection_temp+10],00000000
- //------------------------------------
- mov edi,[04436898]
- mov ecx,[044365A4]
- lea eax,[Multi_SkillInjection_temp]
- push eax
- call 0320C690
- cmp dword ptr [Multi_SkillInjection_temp+04],00
- mov eax,[eax+04]
- mov [Multi_SkillInjection_temp+08],eax
- je L1
- push 00
- lea ecx,[Multi_SkillInjection_temp]
- call 004A1000
- mov [Multi_SkillInjection_temp+04],00000000
- //------------------------------------
- L1:
- mov ecx,[Multi_SkillInjection_Count]
- dec ecx
- mov ecx,[Skill_Injection_ID_List+ecx*4]
- mov dword ptr [edi+000135D4],ecx
- //------------------------------------
- mov ecx,[044365A0]
- lea eax,[Multi_SkillInjection_temp+10]
- push 01
- push 00
- push 00
- push 00
- push eax
- push [edi+000135D4]
- mov [Multi_SkillInjection_temp+10],00000000
- push [Multi_SkillInjection_temp+08]
- call 00A3A130
- //------------------------------------
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 01 // [esp+38]
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push 00
- push eax
- push [Multi_SkillInjection_temp+10]
- mov ecx,edi
- call 02DDE8B0
- mov [edi+000135D4],00000000
- dec [Multi_SkillInjection_Count]
- cmp [Multi_SkillInjection_Count],0
- jne Multi_SkillInjection
- //------------------------------------
- Multi_SkillInjectionExit:
- popad
- jmp 01BCC068
- 0530141C:
- DD Multi_SkillInjection_ICS_ForwardTable
- [DISABLE]
- 0530141C:
- DD USER32.ScreenToClient
複製代碼 |
-
總評分: 楓幣 + 17
鑰匙 + 3
GP + 1
查看全部評分
|