游客您好
第三方账号登陆

WA代码分享 按预设调队克苏恩自动调队

专业攻略 wowclassic 2020-10-26 20:41 776人浏览 0人回复
摘要

之前很多人说,团长每次分队太麻烦了,而我作为团长也是,每次开团为了方便统计同职业,往往先把同职业放一组,开打前又要按BUFF分组,打小克又要再按近战数量调整队伍,麻烦不说,每次还浪费时间,而且调整不好还要 ...

之前很多人说,团长每次分队太麻烦了,而我作为团长也是,每次开团为了方便统计同职业,往往先把同职业放一组,开打前又要按BUFF分组,打小克又要再按近战数量调整队伍,麻烦不说,每次还浪费时间,而且调整不好还要被埋怨。

今天!终于他来了!WA代码博大精深,愿人人都是科学家!文末是按预设调队方法,请仔细阅读。

作者Nespil:

重要的似乎要写在前面,为了避免多人同时调队导致bug,所有的功能都是当且仅当是团长的时候才生效。另外,@ct必须是团长,并自己m自己时才生效。安装后建议先检查自定义设置,可以按照职业自动进行分组。

功能1. 奥罗死亡后克苏恩自动调队

分队逻辑与我修改的salad cthun 16近战方法一致

如果需要别的逻辑,建议自行修改

功能2. @1 - @8 自动进指定队伍

思路由 [@Sickio] 提供

当安装了wa的人是团长时(团长,有A没用)

M团长@3可以被邀请, 进了团队自动调到3队, 1-8以此类推

功能3,自动分组

如果想自行更改逻辑, 需要有一些些lua基础

点击如图所示的"展开", 找到:

role 设定相应职业的职责归属, 可以看到我将战士盗贼设定为'melee', 萨满牧师圣骑士设定为'healer'. 这个字符串是可以自定义的,我们甚至可以设定['DRUID'] = 'deluyi', 只要接下来的代码能与现在设定一致即可.

可以看到, 无论是什么职业, 只要他具有盾标, 即 if officer and officer == "MAINTANK" , 我们就把它的职责设定为'other'

接下来看下面一段

我定义了一个函数, 叫 setSlot(slot, role) ,效果是设定每一个小队的第n个位置(slot),为我们之前定义的职责role('melee', 'other' 等)

这样会优先把近战填在第一,第二个槽, 把治疗填在第四个, 然后法师第五个, 如果小于8个法师,还会在第五个槽填入猎人, 最后在第三个槽填入设定为'other'的职业(我目前的设定是术士和德鲁伊)

最后再把空余的槽位以setRest()函数填满.

以上

字符串只会有这一个稳定版本, 未来如果没有重大改动不会更新.

细节优化只会在wago更新.

2020-10-14 更新了字符串,现在已经与modified salad cthun 16近战 逻辑完全一致.

2020-10-14 更新了字符串,需要一个测试模式确实是合理的, 通过对自己密语 @ct 大小写无所谓, 同样可以激活流程(即使在自定义设置里面关闭了"奥罗死亡自动换队",也会执行) *注意 别人密语无效 只能自己是团长,并且自己对自己密语@ct

2020-10-15 更新了字符串,现在治疗方面优先保障萨满, 然后到牧师然后到骑士

2020-10-22 基于 [@迷你奥克] [@豆豆打天下] 的思路做出更新,

重点!自定义设置有6个样式的分团可设置, 在自己是团长的前提下,对自己密语@style1 - @style6

可以按分团表职业设置调整团队(不足: 每次分团表人名可能都会变, 还没有集成盾标为T这个设置,有空再弄)

WAGO地址:

https://wago.io/AdqokqGsQ

WA代码如下:

!S3vBZTXrY5)lWvkcMJecGauIs1XugcKsMYsu6aOI(alcILadaxlGDH3DbPOTmkx3Luw(kR7U8HRSRex1fNyx3fN6oFjxQix6f)NjIKYFk)fs3Zl7o7Ifl2fGM1Q4H0IyX8s390tp9tpVTUEH6BvVwV61AvVMD9AfZLp3s4xGep62TBBtCQVz(61mh40v3GuV2TV7w3CJnxVETdiw26Mg13CjO8TnnCQx7Aw6V3Wg)SbATS0C0g2ylGiAgn3306AwA9iBDuFGa1QuD913eZqVNMdsbK)A60pDOfXWe5uRbw083LLOnPPPrlqejA2CsXkh(9AoweJoo7xFZI1bbX2rZY5mKET1n0T3)SJGOis62(oM6OA7Q3ERTU9TQxBGv36123XPV9vUWfouRJzoDZluU17AE)3962)SlG65hi1Lyt6b9b1Rva7YkaFFWEvjDa5XgeuGSAnD4FPgi(u1rZb2oMqF9IlU4WBG)PX1jgeOvqAnSXEhnSX696D0nhOLvifD0D2FWE5AA27c8SMNxXkweVQ1vVVnjhpN1G03sVh5kdBSu(LYFHc5brFyJcRCLsLyf5g4hdB4OTxxYWgTnTg2O5alqb5mSHLMoq02O9YWB01SPwxwA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MtO5ev4eNP5eAoXsobye(vF5FleIlVbxkz5tF)xvp9DOtHPeMJ8RZ(eElMdjE9jqflqrP2WfRAfCF6NUVl9DqTJ)V


路过

雷人

握手

鲜花

鸡蛋
广告位 更多+
Powered by Discuz!  ©2001-2013 Comsenz Inc.