自用集火巨集 for 5v5
修正版/script i=8;X={"★","●","◆","▼","月","█","╳","骷"};SetRaidTarget("target",i);/script SendChatMessage(format("集火 %s [ %s ] %s%d%%",X,UnitClass("target"),UnitName("target"),(UnitHealth("target")/UnitHealthMax("target")*100)),"RAID_WARNING")舊版 + 修正小數點問題/script i=8;SetRaidTarget("target",i);
/script SendChatMessage("集火 骷 [ "..UnitClass("target").. " ] "..UnitName("target").." " ..format("%d",(UnitHealth("target")/UnitHealthMax("target")*100)).."%","RAID_WARNING")
頁:
[1]