- [ENABLE]
- registersymbol(MyMainSub)
- alloc(MyMainSub,128)
- registersymbol(PowerON)
- alloc(PowerON,10)
- registersymbol(PowerOFF)
- alloc(PowerOFF,10)
- registersymbol(MyAllValues)
- alloc(MyAllValues,10)
- registersymbol(MyValues)
- alloc(MyValues,10)
- registersymbol(MyReturnSub)
- alloc(MyReturnSub,64)
- registersymbol(MyLeaveSub)
- alloc(MyLeaveSub,64)
- registersymbol(MyZeroSub)
- alloc(MyZeroSub,64)
- MyMainSub:
- push Eax
- mov [PowerON],70 //開啟無敵的值 調越大開越久,目前是開50秒關閉十秒
- mov [PowerOFF],5 //關閉無敵的值 調越大關越久
- mov eax,[PowerOFF]
- add eax,[PowerON]
- mov [MyAllValues],eax
- add [MyValues],1
- pop Eax
- cmp [esp],006307F3 //楓之谷改版後要更新的地方,可使用物理無敵數據,如v150.2 Cmp [Esp],00615992
- jne IsRectEmpty
- push Eax
- mov eax,[MyValues+1]
- cmp eax,[PowerOFF]
- jl MyLeaveSub
- cmp eax,[MyAllValues]
- jg MyZeroSub
- pop Eax
- mov [esp],MyReturnSub
- jmp IsRectEmpty
- MyReturnSub:
- test eax,eax
- jmp 006307F7 //楓之谷改版後要更新的地方,可使用物理無敵數據,如v150.2 mov [Esp],00615996
- MyLeaveSub:
- pop Eax
- jmp IsRectEmpty
- MyZeroSub:
- pop Eax
- mov [MyValues],0
- jmp IsRectEmpty
- 00E9C5BC:
- //楓之谷改版後要更新的地方,如v150.2
- //[Disable]
- //00E25E8C:
- //DD IsRectEmpty
- DD MyMainSub
- [DISABLE]
- 00E9C5BC: //楓之谷改版後要更新的地方,
- DD IsRectEmpty
- dealloc(MyMainSub)
- unregistersymbol(MyMainSub)
- dealloc(PowerON)
- unregistersymbol(PowerON)
- dealloc(PowerOFF)
- unregistersymbol(PowerOFF)
- dealloc(MyAllValues)
- unregistersymbol(MyAllValues)
- dealloc(MyValues)
- unregistersymbol(MyValues)
- dealloc(MyReturnSub)
- unregistersymbol(MyReturnSub)
- dealloc(MyLeaveSub)
- unregistersymbol(MyLeaveSub)
- dealloc(MyZeroSub)
- unregistersymbol(MyZeroSub)
複製代碼 |