LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 510|回复: 8

80盗贼刺杀PVE和敏锐练级!

[复制链接]
发表于 2022-12-5 15:01:10 | 显示全部楼层 |阅读模式
本帖最后由 霸罢坝吧 于 2023-4-24 04:27 PM 编辑

最近玩了一个带符文之语的服务器 练了个小盗贼
先借鉴了论坛上一个刺杀PVE的脚本 才10伸手费,我这练级的也就也少收点伸手费。
http://www.luacn.net/thread-27184-1-1.html

自己用敏锐练级的思路就是伏击+剔骨 效果还不错






本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入我们

x
回复

使用道具 举报

发表于 2022-12-5 16:52:07 | 显示全部楼层
符文之语是什么意思啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-12-5 18:23:42 | 显示全部楼层
就是模仿暗黑2 符文系统


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入我们

x
回复 支持 反对

使用道具 举报

发表于 2022-12-6 02:09:56 | 显示全部楼层
扫了一眼- -
高度复用的判定不用多次执行
显得很臃肿= =
开头执行一次就行了
回复 支持 反对

使用道具 举报

发表于 2022-12-6 11:14:10 | 显示全部楼层
谢谢大佬分享,学习一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-12-6 22:15:32 | 显示全部楼层
vshrd 发表于 2022-12-6 02:09 AM
扫了一眼- -
高度复用的判定不用多次执行
显得很臃肿= =

谢谢大佬指点
我判定加的多主要是不想人物呱呱乱叫,还有一个是怕后面的技能破坏潜行打伏击。
今天升级了预谋天赋 把预谋也加上了,优化了一下输出手法去掉了切割,直接打剔骨,
因为没有判断背面函数,吧背刺触发条件加了一个按左边ALT条件,就不会正面对敌时候卡背刺了
--输出
if not IsShiftKeyDown() and BeeUnitAffectingCombat("focus") and BeeIsRun("嫁祸诀窍","focus")
then
    BeeRun("嫁祸诀窍","focus")
end
if BeePlayerBuffTime("嫁祸诀窍")==30 then
    BeeRun("/y 已释放嫁祸诀窍")
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and  IsStealthed("player") and BeeRange("target")<=30 and BeeSpellCoolDown("预谋")==0 then
    BeeRun("/cast 预谋")
    return;
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and  IsStealthed("player") and BeeRange("target")<=5 and BeeUnitHealth("target",nil,0)<100000 and BeeIsRun("/cast 伏击 ") then
    BeeRun("/cast 伏击")
    BeeRun("/cast 偷窃")
    return;
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and  IsStealthed("player") and BeeRange("target")<=5 and BeeUnitHealth("target",0)>100000 and BeeIsRun("/cast 锁喉 ") then
    BeeRun("/cast 锁喉")
    BeeRun("/cast 偷窃")
    return;
end

if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeIsRun("/cast 刺骨 ") and BeeGetComboPoints()>3
then
    BeeRun("/cast 刺骨")
end
if BeeSpellCoolDown("鬼魅攻击")==0 and UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeUnitMana("player",0)>=50
then
    BeeRun("/cast 鬼魅攻击")
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeIsRun("/cast 背刺 ") and IsLeftAltKeyDown()
then
    BeeRun("/cast 背刺")
end
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeUnitCanAttack() and not IsStealthed("player") and BeeRange("target")<=5 and BeeSpellCoolDown("鬼魅攻击")~=0 and BeeTargetBuffCount("出血")<=3 and BeeUnitMana("player",0)>40
then
    BeeRun("/startattack")
    BeeRun("/cast 出血")
    BeeUnitCastSpellDelay("出血",3,"target");
end

点评

你没明白的我意思= = 比如UnitExists("target")==1 ,not UnitIsDeadOrGhost("target") ,BeeUnitCanAttack() 这三个函数再每一个技能调用时都进行了判断= = 为啥不在一开始 if not UnitExists("target") or Unit  详情 回复 发表于 2022-12-6 10:40 PM
回复 支持 反对

使用道具 举报

发表于 2022-12-6 22:40:44 | 显示全部楼层
霸罢坝吧 发表于 2022-12-6 10:15 PM
谢谢大佬指点
我判定加的多主要是不想人物呱呱乱叫,还有一个是怕后面的技能破坏潜行打伏击。
今天升级 ...

你没明白的我意思= =
比如UnitExists("target")==1 ,not UnitIsDeadOrGhost("target") ,BeeUnitCanAttack()
这三个函数再每一个技能调用时都进行了判断= =
为啥不在一开始
if not UnitExists("target") or UnitIsDeadOrGhost("target") or not BeeUnitCanAttack() then return end
回复 支持 反对

使用道具 举报

 楼主| 发表于 2022-12-6 22:58:22 来自手机 | 显示全部楼层
多谢指点,这个直接加到脚本开头局部变量后面,就可以代替了对吧,我回去改改。
回复 支持 反对

使用道具 举报

发表于 2025-1-24 09:46:52 | 显示全部楼层
看着就好,不错不错,支持一下!非常支持支持
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2026-5-31 08:23 AM , Processed in 0.067910 second(s), 34 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表