首先魔峰中宠物施放技能的指令分为三种 1、直接伤害类 2、debuff类 3、buff类1、直接伤害类
if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeTargetDeBuffTime("技能名称")<1 then BeeRun("/click [pet] PetActionButton5") 提醒:技能名称为宠物技能名;PetActionButton5为宠物栏技能摆放的位置,根据位置调整数字。 2、debuff类 if UnitExists("target")==1 and not UnitIsDeadOrGhost("target") and BeeTargetDeBuffTime("技能名称")<1 then BeeRun("/click [pet] PetActionButton5") 提醒:技能名称为打在怪物上的debuff名称;PetActionButton5为宠物栏技能摆放的位置,根据位置调整数字。 3、buff类 if BeePlayerBuffTime("技能名称")<0 then BeeRun("/click [pet] PetActionButton5","player") end
提醒:技能名称为宠物技能名;PetActionButton5为宠物栏技能摆放的位置,根据位置调整数字。
|