风色幻想xx解放你的手指 轻松打出perfect

时间:2010/09/10 10:32:25 编辑:Ocean

花了两个小时时间。鼓捣出了这个玩意。这是一个按键精灵脚本。要使用他你需要安装按键精灵软件。然后导入这个脚本就行了。默认开启热键为F9,终止热键为F12。

这个脚本可以实现以下功能。

1.用z、x、c键来分别对应迅击,连击,重击。在攻击招式选择界面中,按z键就相当于按下s、d、s键。对应迅击防御的敌人。其他同理。在防御状态下。也可以用z、x、c这三个键来选择一个防御模式。

2.按F键在按上面的z、x、c键就可以发出必杀技。当然前提条件是气力值是100%。例如先按下F键在按下z键就相当于按下s、d、w键。同样对应迅击防御的敌人。必杀技将在最后一下发出。

3.真正解放手指的功能:因为一个大家都知道的xx的bug,同样在攻击招式选择界面中,只需要点击一下v键。在进度条结束前。会自动选择合适的招式攻击敌人。而且100%perfect——其实只要你手够快,不用这个脚本也能做到。跟第2条相同。仍然可以先按F键再按v键来发出必杀技。

代码

 

 

[General]
Description=风色幻想xx解放手指
BeginHotkey=120
BeginHotkeyMod=0
PauseHotkey=121
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
Enable=1
AutoRun=0
[Repeat]
Type=0
Number=1
[Relative]
SetupOCXFile=
[Comment]
Content=

[Script]
Rem 等待按键
WaitKey key
//判断按键是否为 J
If key=90
    // LeftClick 1
    Rem 按下J
    //判断右下角处是否存在红色重击图标,存在说明处于攻击或防御状态
    IfColor 885,576,7572cf,0
        //判断是否存在黄色TIME,存在为攻击,不存在为防御
        IfColor 449,362,99f7ff,0
            //产生10以内随机数
            VBS Dim x
            VBS Dim y
            VBS Randomize
            VBS x = Int(Rnd * 10)
            VBS y = x
            //SayExpression y
            If y<5
                KeyPress 83,1
                Delay 40
                KeyPress 68,1
                Delay 40
                KeyPress 83,1
                Goto 等待按键
            Else
                KeyPress 68,1
                Delay 40
                KeyPress 83,1
                Delay 40
                KeyPress 68,1
                Goto 等待按键
            EndIf
        Else
            KeyPress 65,1
            Goto 等待按键
        EndIf
    Else
        Goto 等待按键
    EndIf
ElseIf key=88
    // LeftClick 1
    Rem 按下k
    //判断右下角处是否存在红色重击图标,存在说明处于攻击或防御状态
    IfColor 885,576,7572cf,0
        //判断是否存在黄色TIME,存在为攻击,不存在为防御
        IfColor 449,362,99f7ff,0
            //产生10以内随机数
            VBS Dim x
            VBS Dim y
            VBS Randomize
            VBS x = Int(Rnd * 10)
            VBS y = x
            //SayExpression y
            If y<5
                KeyPress 65,1
                Delay 40
                KeyPress 68,1
                Delay 40
                KeyPress 65,1
                Goto 等待按键
            Else
                KeyPress 68,1
                Delay 40
                KeyPress 65,1
                Delay 40
                KeyPress 68,1
                Goto 等待按键
            EndIf
        Else
            KeyPress 83,1
            Goto 等待按键
        EndIf
    Else
        Goto 等待按键
    EndIf
ElseIf key=67
    // LeftClick 1
    Rem 按下l
    //判断右下角处是否存在红色重击图标,存在说明处于攻击或防御状态
    IfColor 885,576,7572cf,0
        //判断是否存在黄色TIME,存在为攻击,不存在为防御
        IfColor 449,362,99f7ff,0
            //产生10以内随机数
            VBS Dim x
            VBS Dim y
            VBS Randomize
            VBS x = Int(Rnd * 10)
            VBS y = x
            //SayExpression y
            If y<5
                KeyPress 65,1
                Delay 40
                KeyPress 83,1
                Delay 40
                KeyPress 65,1
                Goto 等待按键
            Else
                KeyPress 83,1
                Delay 40
                KeyPress 65,1
                Delay 40
                KeyPress 83,1
                Goto 等待按键
            EndIf
        Else
            KeyPress 68,1
            Goto 等待按键
        EndIf
    Else
        Goto 等待按键
    EndIf
ElseIf key=86
    Rem 按下B(自动组合正确招式状态)
    //判断右下角处是否存在红色重击图标,存在说明处于攻击或防御状态
    IfColor 885,576,7572cf,0
        //判断是否存在黄色TIME,存在为攻击,不存在为防御
        IfColor 449,362,99f7ff,0
            n=1
            While n<2000
                Delay 10
                IfColor 276,54,ffeeb2,0
                    VBS n=n+2000
                    Goto 按下J
                Else
                    IfColor 277,73,afffaf,0
                        VBS n=n+2000
                        Goto 按下k
                    Else
                        IfColor 277,55,d2d0ff,0
                            VBS n=n+2222
                            Goto 按下l
                        Else
                        EndIf
                    EndIf
                    //下面判断是否仍然还处于攻击状态
                    IfColor 449,362,99f7ff,0
                        VBS n=n+1
                    Else
                        Goto 等待按键
                    EndIf
                EndIf
            EndWhile
            Goto 等待按键
        EndIf
        Goto 等待按键
    EndIf
ElseIf key=70
    //进入必杀技状态
    //Plugin MCI.MCI_OpenMusic("C:\WINDOWS\Media\ding.wav")
    //Plugin MCI.MCI_PlayMusic()
    //Plugin MCI.MCI_CloseMusic()
    Rem 等待按键1
    WaitKey key1
    //Plugin MCI.MCI_CloseMusic()
    // LeftClick 1
    If key1=90
        Rem 必杀状态-破迅击
        //下面一行判断是否能用必杀技。颜色存在为不能用。
        IfColor 811,508,e9cc88,0
            Goto 按下J
        Else
            //下面一行判断rap是否满值,颜色存在为满值
            IfColor 411,665,a1d783,0
                KeyPress 83,1
                Delay 40
                KeyPress 68,1
                Delay 40
                KeyPress 87,1
                Goto 等待按键
            Else
                KeyPress 87,1
                Goto 等待按键
            EndIf
        EndIf
    ElseIf key1=88
        Rem 必杀状态-破连击
        IfColor 811,508,e9cc88,0
            Goto 按下k
        Else
            //下面一行判断rap是否满值,颜色存在为满值
            IfColor 411,665,a1d783,0
                KeyPress 65,1
                Delay 40
                KeyPress 68,1
                Delay 40
                KeyPress 87,1
                Goto 等待按键
            Else
                KeyPress 87,1
                Goto 等待按键
            EndIf
        EndIf
    ElseIf key1=67
        Rem 必杀状态-破重击
        IfColor 811,508,e9cc88,0
            Goto 按下l
        Else
            //下面一行判断rap是否满值,颜色存在为满值
            IfColor 411,665,a1d783,0
                KeyPress 65,1
                Delay 40
                KeyPress 83,1
                Delay 40
                KeyPress 87,1
                Goto 等待按键
            Else
                KeyPress 87,1
                Goto 等待按键
            EndIf
        EndIf
    ElseIf key1=86
        n=1
        While n<2000
            Delay 10
            //判断是否出现了某防御类型。每隔上面的延迟毫秒检测一次。
            IfColor 276,54,ffeeb2,0
                VBS n=n+2000
                Goto 必杀状态-破迅击
            Else
                IfColor 277,73,afffaf,0
                    VBS n=n+2000
                    Goto 必杀状态-破连击
                Else
                    IfColor 277,55,d2d0ff,0
                        VBS n=n+2000
                        Goto 必杀状态-破重击
                    Else
                    EndIf
                EndIf
                //下面判断是否仍然还处于攻击状态
                IfColor 449,362,99f7ff,0
                    VBS n=n+1
                Else
                    Goto 等待按键
                EndIf
            EndIf
        EndWhile
    EndIf
    Goto 等待按键
EndIf
Goto 等待按键

 

 

补充一句。如果你要使用按键精灵。请现在设置里面将它的运行优先级调整到“高”。否则在游戏里面反应会很迟钝。

 

相关攻略
相关游戏