找回密碼
 註冊
搜索
查看: 4642|回復: 0

[巨集] 自用集火巨集 for 5v5

[複製鏈接]
發表於 2007-12-24 19:10:24 | 顯示全部樓層 |閱讀模式
修正版
  1. /script i=8;X={"★","●","◆","▼","月","█","╳","骷"};SetRaidTarget("target",i);
  2. /script SendChatMessage(format("集火 %s [ %s ] %s  %d%%",X[i],UnitClass("target"),UnitName("target"),(UnitHealth("target")/UnitHealthMax("target")*100)),"RAID_WARNING")
複製代碼
舊版 + 修正小數點問題
  1. /script i=8;SetRaidTarget("target",i);
  2. /script SendChatMessage("集火 骷 [ "..UnitClass("target").. " ] "..UnitName("target").." " ..format("%d",(UnitHealth("target")/UnitHealthMax("target")*100)).."%","RAID_WARNING")
複製代碼
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-12-22 16:42 , Processed in 0.018955 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表