|
|
看了一个朋友写的自动救人,但他写的太复杂了,所以我也把我写的放出来。这里只写了萨满和小德的,其他职业自己更改技能名称就行了。
--死后救人
local SST= BeeGroupMinScript('BeeRange(unit)<=40 and UnitIsDeadOrGhost(unit)',"BeeUnitHealth(unit)",grouptype)
if SST and not BeeUnitAffectingCombat("player") and BeeIsRun("起死回生",SST)
then
BeeRun("起死回生",SST);
return
end
if SST and not BeeUnitAffectingCombat("player") and BeeIsRun("先祖之魂",SST)
then
BeeRun("先祖之魂",SST);
return
end
|
|