HV自动打怪脚本,初次使用,请先设置好选项,请确认字体设置正常
当前为

脚本通过文字获取信息,如果尚未修改字体,可能使某些信息无法获取,使一些错误发生。
每一个拥有红色虚线边框的区域,都可以设置自定义判断条件。
当鼠标在这些区域内移动时,右上角会显示一个盒子(当鼠标不在这些区域内,盒子消失)
盒子内可见四个下拉列表和一个按钮
下拉列表1: 这个条件插入的位置(具体作用请看示例)
下拉列表2/4: 比较值A/比较值B
下拉列表3: 只支持比较运算符(1:大于, 2:小于, 3: 大于等于, 4: 小于等于, 5:等于, 6:不等于)
ADD按钮: 生成一个值为比较值A,比较值,比较值B的输入框
hp/mp/sp: hp/mp/sp的百分比 (percent)oc: Overcharge, 250==>250%monsterAll/monsterAlive/bossAll/bossAlive: 怪兽/Boss的总数目/存活数目roundNow/roundAll/roundLeft: 当前回合数/总回合数/剩余回合数roundType: 战役模式 (ar: The Arena, rb: Ring of Blood, gr: GrindFest, iw: Item World, ba: Random Encounter)注意: 由于是字符串之间的比较,所以请加上引号,如"ar"/'ar'
attackStatus: 攻击模式 (0: Physical, 1: Fire, 2: Cold, 3: Elec, 4: Wind, 5: Divine, 6: Forbidden)isCd: 技能/物品是否cd,格式_isCd_id示例1: Protection的id为411,则_isCd_411,5,0表示不可施放,_isCd_411,5,1表示可以施放
示例2: ManaElixir的id为11295,则_isCd_11295,5,0表示不可使用,_isCd_11295,5,1表示可以使用
buffTurn: 人物Buff剩余时间,格式_buffTurn_img示例: Protection的img为protection,则_buffTurn_protection,5,0表示不存在Protection的buff,_buffTurn_protection,3,10表示Protection的buff至少剩余10回合

图中,我设置了三个大条件(2中有两个小条件)
Condition 1: 总回合数大于12
Condition 2: Boss数大于1、hp大于hp
Condition 3: 怪物数大于6
只要任一大条件下所有小条件判断为真,总体就为真
以下为电路图示意图

| 1 | 2 | 3 |
|---|---|---|
| Flee / 1001 | - | - |
| Scan / 1011 | - | - |
| FUS RO DAH / 1101 | - | - |
| Orbital Friendship Cannon / 1111 | - | - |
| Skyward Sword / 2101 | - | - |
| Shield Bash / 2201 | Vital Strike / 2202 | Merciful Blow / 2203 |
| Great Cleave / 2301 | Rending Blow / 2302 | Shatter Strike / 2303 |
| Iris Strike / 2401 | Backstab / 2402 | Frenzied Blows / 2403 |
| Concussive Strike / 2501 | - | - |
| Fiery Blast / 111 | Inferno / 112 | Flames of Loki / 113 |
| Freeze / 121 | Blizzard / 122 | Fimbulvetr / 123 |
| Shockblast / 131 | Chained Lightning / 132 | Wrath of Thor / 133 |
| Gale / 141 | Downburst / 142 | Storms of Njord / 143 |
| Smite / 151 | Banishment / 152 | Paradise Lost / 153 |
| Corruption / 161 | Disintegrate / 162 | Ragnaro / 163 |
| Drain / 211 | Weaken / 212 | Imperil / 213 |
| Slow / 221 | Sleep / 222 | Confuse / 223 |
| Blind / 231 | Silence / 232 | MagNet / 233 |
| Cure / 311 | Regen / 312 | Full-Cure / 313 |
| Protection / 411 | Haste / 412 | Shadow Veil / 413 |
| Absorb / 421 | Spark of Life / 422 | Spirit Shield / 423 |
| Arcane Focus / 431 | Heartseeker / 432 | |
| - | - | - |
| Health Draught / 11191 | Health Potion / 11195 | Health Elixir / 11199 |
| Mana Draught / 11291 | Mana Potion / 11295 | Mana Elixir / 11299 |
| Spirit Draught / 11391 | Spirit Potion / 11395 | Spirit Elixir / 11399 |
| Energy Drink / 11401 | - | - |
| Last Elixir / 11501 | - | - |
| Infusion of Flames / 12101 | Infusion of Frost / 12201 | Infusion of Lightning / 12301 |
| Infusion of Storms / 12401 | Infusion of Divinity / 12501 | Infusion of Darkness / 12601 |
| Scroll of Swiftness / 13101 | Scroll of Protection / 13111 | Scroll of the Avatar / 13199 |
| Scroll of Absorption / 13201 | Scroll of Shadows / 13211 | Scroll of Life / 13221 |
| Scroll of the Gods / 13299 | - | - |
| Flower Vase / 19111 | Bubble-Gum / 19131 | - |
| 1 | 2 | 3 |
|---|---|---|
| - | Regen / regen | - |
| Protection / protection | Haste / haste | Shadow Veil / shadowveil |
| Absorb / absorb | Spark of Life / sparklife | Spirit Shield / spiritshield |
| Arcane Focus / arcanemeditation | Heartseeker / heartseeker | Cloak of the Fallen / fallenshield |
| Health Draught / healthpot | Mana Draught / manapot | Spirit Draught / spiritpot |
| Infusion of Flames / fireinfusion | Infusion of Frost / coldinfusion | Infusion of Lightning / elecinfusion |
| Infusion of Storms / windinfusion | Infusion of Divinity / holyinfusion | Infusion of Darkness / darkinfusion |
| Scroll of Swiftness / haste_scroll | - | - |
| Flower Vase / flowers | Bubble-Gum / gum | - |
| 敌人 id | 现在 hp | 初始 PW | Imperiled (-2) | Drained (-1) | Confused (+2) | 最终 PW |
|---|---|---|---|---|---|---|
| 1 | 20K | 10 | √ | √ | 10 | |
| 2 | 30K | 15 | √ | 14 | ||
| 3 | 40K | 20 | √ | 18 |
注意: 脚本优先攻击最小PW值的敌人。
在这个例子中,脚本接下来先攻击敌人1。
A: 打开网页 chrome://flags/#autoplay-policy, 并选择 No user gesture is required
上个版本连1.1都不到,就进入了2.0 是因为,我不小心看到了战斗记录里的HP显示,正式脱离HVSTAT 脚本自身获取并计算怪物生命值,同时回合计数(以前都是依赖HVSTAT实现的)
灵感来自hoverplay,刚开始接触js,初步完成代码 功能有:答题警报、其他警报、快捷键、自动前进、自动使用宝石、自动回复、自动使用增益技能、自动打怪 很可惜,玩游戏不走心,一直搞不懂HVSTAT是怎么知道每个怪的血量的,直到版本2.0