-
Notifications
You must be signed in to change notification settings - Fork 21
/
wow.txt
316 lines (248 loc) · 11.9 KB
/
wow.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
/run NA_testSpell('49576', NA_Target)
/run print(IsSpellInRange('死亡之握', NA_Target)==1);
/run print(SpellHasRange('死亡之握') ~= true or IsSpellInRange('死亡之握', NA_Target) ==1)
/run print(W_IsUsableSpell('死亡之握', NA_Target))
/run print(NA_Fire(true, '49576', NA_Target))
/run NA_testBuff(NA_Target, -55095, true);
/run print(W_RetainBuff(NA_Target, -55095, true))
/run print(W_BuffCount(NA_Target, -55095, true))
/run print(W_getBuff(NA_Target, -55095, true))
/run W_printDeBuffInfo(NA_Target)
/run print(W_getBuff2(NA_Target, -55095, "冰霜疫病"))
/run for i=1,40 do local B=UnitBuff("target",i); if B then print(B) end end
/run for i=1,18 do print(GetTalentRowSelectionInfo(i)) end
/run for i=1,40 do print(UnitBuff("target",i)) end
/run print(NA_isUsableTalentSpell(6,1));
/run print(NA_hasStealableBuff(NA_Target))
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId
雙持冰:力量 > 技能命中(黃字)達標 = 熟練達標 > 精通 >= 加速 > 致命
雙手冰:力量 > 技能命中(黃字)達標 = 熟練達標 > 加速 > 致命 > 精通
兽王猎:敏捷>命中和精准等级(每个均为7.5%达标)>暴击等级>急速等级>专精等级
天赋及雕文:
T1:吸血瘟疫
T2:反魔法领域/炼狱(根据个人喜好)
T3:死亡脚步/冻疮(根据BOSS调整)
T4:天灾契约
T5:活力分流/符文强化
T6:血魔之握/冷酷严冬(根据BOSS调整)
必选雕文:传染雕文,大军取消嘲讽
可选雕文:凋零减速雕文,绿坝雕文,百变灵气雕文,冰路减摔雕文
45477 冰触 IcyTouch 49143 冰霜打击 FrostStrike 45462 暗影打击 PlagueStrike 49020 湮没 Obliterate 47541 凋零缠绕 DeathCoil 130735 灵魂收割 SoulReaper
AOE: 50842 传染 Pestilence 48721 血液沸腾 BloodBoil 49184 凛风冲击 HowlingBlast
other:57330 寒冬号角 HornOfWinter 46584 亡者复生 RaiseDead 47568 符文武器增效 EmpowerRuneWeapon 77575 爆发 Outbreak 77606 黑暗模拟 DarkSimulacrum 51271 冰霜之柱 PillarOfFrost 61999 复活盟友 RaiseAlly
保命:119975 符能转换 Conversion 48792 冰封之韧 IceboundFortitude 48707 反魔法护罩 AntiMagicShell 49998 灵界打击 DeathStrike
print(W_HasBuff('player', 51124, true));
print(W_RetainBuff('target', -55095, true));
W_UnitBuff(isBuff, UnitId, i)
W_getBuff(UnitId, buffID, onlyMine);
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId
name, rank, iconTexture, count, duration, timeLeft = UnitBuff(unit, buffIndex [, castable]);
name, rank, texture, count, debuffType, duration, timeLeft = UnitDebuff(unitID, debuffIndex [, removable]);
/run for i=1,40 do local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId=UnitDebuff("target",i); if name then print(i.."="..name.."-"..count.."-"..spellId) end end
/run local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId=UnitDebuff("target","死疽"); if name then print(name.."--"..rank.."--"..icon.."--"..count.."--"..debuffType.."--"..duration.."--"..expirationTime.."--"..unitCaster.."--"..isStealable.."--"..shouldConsolidate.."--"..spellId) end
1131, 1133
Message: Interface\AddOns\NextActions\NAutil.lua:245: attempt to index local 'spellInfo' (a nil value)
Time: 01/25/13 13:44:21
Count: 119
Stack: Interface\AddOns\NextActions\NAutil.lua:245: in function `W_IsUsableSpell'
Interface\AddOns\NextActions\NAutil.lua:210: in function `NA_FireSpell'
Interface\AddOns\NextActions\NAutil.lua:201: in function `NA_Fire'
Interface\AddOns\NextActions\NA_DK.lua:36: in function <Interface\AddOns\NextActions\NA_DK.lua:15>
(tail call): ?
Interface\AddOns\NextActions\NAcore.lua:190: in function `NA_DoAction'
Interface\AddOns\NextActions\NAcore.lua:166: in function `NA_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
Locals: spellID = "Diseases"
UnitId = "target"
spellInfo = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = "Diseases"
(*temporary) = 1
(*temporary) = "Diseases"
(*temporary) = 0
(*temporary) = "attempt to index local 'spellInfo' (a nil value)"
/console SET accountName "watano@gmail.com"
buff: 火球!
思维冷却1 44546
思维冷却2 44548
思维冷却3 44549
7,0 - 20,8
UnitClass("player") == "Mage"
/cast 奥术弹幕
/script print(UnitAffectingCombat("player"));
/script print(GetSpellCooldown("奥术弹幕"));
/script print(UnitAffectingCombat("player"));
/cast 奥术冲击
/script print(W_BuffCount(30451, "player"));
/script print(NA_Cast4NoBuffs({14325}, 100201, "target"));
/script print(W_checkBuffs({14325}, 100201, "target"));
/script print(NA_FireSpell(100201,"target"))
/script print(W_IsUsableSpell(100201,"target"))
Anesthetic Poison 麻醉药膏
Crippling Poison 减速药膏
Deadly Poison 致命药膏
Mind-numbing Poison 麻痹药膏
Poison Spit
Scorpid Poison
Scorpid Sting
Serpent Sting
Touch of Zanzil
Upset Tummy
Viper Sting
Weak Poison
Wound Poison
Wyvern Sting
local i = 1
while i <= GetNumTalentTabs() do
local numTalents = GetNumTalents(i)
DEFAULT_CHAT_FRAME:AddMessage( numTalents .. ' ' .. GetTalentTabInfo(i) .. ' ' )
i = i+1
end
index = GetShapeshiftForm(flag);
#showtooltip [stance:1/3]裂伤(熊);裂伤(豹)
/cast [stance:1/3]裂伤(熊);裂伤(豹)
#showtooltip
/cast [target=target,nostance,nohelp] 月火术;
[target=target,nostance, help] 回春;
[stance:3,stealth] 突袭;
[stance:3,nostealth] 斜掠;
[stance:1,harm] 低吼;
/startattack
#showtooltip [stance:1/3,nocombat]精灵之火(野性);星火术
/startattack
/cast [stance:1/3,nocombat]精灵之火(野性)
/cast 星火术
#showtooltip [stance:1]野性冲锋 - 熊;[stance:3]野性冲锋 - 豹
/cast [stance:1]野性冲锋 - 熊
/cast [stance:3]野性冲锋 - 豹
NOCOMBAT (2.0) CreateMacro("name", icon, "body", perCharacter, isLocal) - Create a new macro.
GetMacroInfo(id or "name") - Returns "name", "iconTexture", "body", isLocal.
_\[ \n_[
_\[([0-9]+)\]=\{name_enus:'(.*)',icon:'(.*)'\}; \3\t\2\t\1
API EasyMenuedit this page
Main Menu
WoW API
Widget API
Macro API
Lua functions
Events
XML UI
Changes
HOWTOs
Snippets
UI tech.
Category nav.
→ FrameXML Docs
This function is implemented by FrameXML in FrameXML/EasyMenu.lua.
Populate a context menu with options described in a provided table.
EasyMenu(menuList, menuFrame, anchor, x, y, displayMode, autoHideDelay)
editArguments
menuList
Table - an array of tables describing the entries in the menu to be created. The descriptions may use any key-value tables used in a UIDropDownMenu info table; as a bare minimum, each option should specify the "text" key.
menuFrame
Frame - a Frame object that will be used to store some information about the menu.
anchor
String/Region - Specify what to anchor the menu relative to: either "cursor", a region name, or a region (frame) reference.
x
Number - x offset from the anchor.
y
Number - y offset from the anchor.
displayMode
String - "MENU" enables a tooltip-styled context menu, any other value the dropdown style.
autoHideDelay
Number - Automatically hide the menu after this many seconds.
edit Details
The menu becomes visible as soon as you call the function and goes away after you click a menu item unless keepShownOnClick in menuList was set to 1.
Fine-grained control over the positioning of the menu is possible by setting the menuFrame.point and menuFrame.relativePoint values to specific anchor points to use when anchoring the frame to a non-cursor region.
editExample
The following example creates a context menu based on a table description:
local menu = {
{ text = "Select an Option", isTitle = true},
{ text = "Option 1", func = function() print("You've chosen option 1"); end },
{ text = "Option 2", func = function() print("You've chosen option 2"); end },
{ text = "More Options", hasArrow = true,
menuList = {
{ text = "Option 3", func = function() print("You've chosen option 3"); end }
}
}
}
local menuFrame = CreateFrame("Frame", "ExampleMenuFrame", UIParent, "UIDropDownMenuTemplate")
-- Make the menu appear at the cursor:
EasyMenu(menu, menuFrame, "cursor", 0 , 0, "MENU");
-- Or make the menu appear at the frame:
menuFrame:SetPoint("Center", UIParent, "Center")
EasyMenu(menu, menuFrame, menuFrame, 0 , 0, "MENU");
editNotes
You must give the frame a name (argument 2 to CreateFrame()) for menus to work.
MainMenuExpBar:Hide();
MainMenuBarLeftEndCap:Hide();
MainMenuBarRightEndCap:Hide();
--PlayerFrame:Hide();
--HidePartyFrame() -- hides all party members
--PartyMemberFrameX:Hide() -- hides a specified party member (X=1/2/3/4)
MainActionBar:SetPoint("BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 0, 0);
ShapeshiftBarFrame:SetPoint("BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 0, MainActionBar:GetHeight());
MainMenuBar:SetPoint("BOTTOMLEFT", "UIParent", "BOTTOMLEFT", ShapeshiftBarFrame:GetWidth(), MainActionBar:GetHeight());
MultiBarBottomLeft:SetPoint("BOTTOMLEFT", "UIParent", "BOTTOMLEFT", MainActionBar:GetWidth(), 0);
MultiBarBottomRight:SetPoint("BOTTOMLEFT", "UIParent", "BOTTOMLEFT", MainActionBar:GetWidth(), MainActionBar:GetHeight());
--MultiBarLeft
--MultiBarRight
主辅天赋装备一键切换宏
#showtooltip [spec:2] Unholy Presence; Frost Presence
/equipset [spec:2] UnholySet
/equipset [spec:1] FrostSet
/usetalents [spec:2] 1; 2
死缠宏
#showtooltip Death Coil
/startattack [harm]
/cast [modifier:alt,target=pet,exists] Death Coil, [harm] Death Coil, [target=pet,exists] Death Coil
http://www.battlenet.com.cn/wow/zh/tool/talent-calculator/11
for(var i=0;i<Grid.gridData.length; i++){
var item = Grid.gridData[i];
console.log('if(unitLevel>='+item[1]+')then listSpell[\"'+item[0][1]+'\"] = '+item[0][0]+'; end --'+item[0][3]);
}
for(var i=0;i<spells_data.length; i++){
var item = spells_data[i];
console.log('if(unitLevel>='+item[3]+')then listSpell[\"'+_[item[0]].i+'\"] = '+item[0]+'; end --'+item[1]);
}
http://www.battlenet.com.cn/wow/zh/tool/talent-calculator#U!21111.
//dk:6
var wowdata = TalentSelector.instances[10].data;
for(var i=0;i<wowdata.spells.length; i++){
var item = wowdata.spells[i];
console.log('if(unitLevel>='+item.minLevel+')then listSpell[\"'+item.spell.icon+'\"] = '+item.spell.id+'; end --'+item.spell.name +'--'+item.spell.htmlDescription);
}
for(var specNo=0;specNo<3;specNo++){
console.log('--'+wowdata.specs[specNo].name+'--'+wowdata.specs[specNo].bg);
spells = wowdata.specs[specNo].spells;
for(var i=0;i<spells.length; i++){
var item = spells[i];
console.log('if(unitLevel>='+item.minLevel+')then listSpell[\"'+item.spell.icon+'\"] = '+item.spell.id+'; end --'+item.spell.name +'--'+item.spell.htmlDescription);
}
}
console.log('-------------------------talent-------------------------');
for(var talentNo=0;talentNo<18;talentNo++){
item = wowdata.talents[(talentNo-talentNo%3)/3][talentNo%3].spell;
console.log('if(unitLevel>='+((talentNo-talentNo%3)/3+1)*15+')then listSpell[\"'+item.icon+'\"] = '+item.id+'; end --'+item.name +'--'+item.htmlDescription);
}
/run print(W_BuffTime(NA_Player, -114664, true));
{{Zone Map Note|<X-coordinate>|<Y-coordinate>|<Icon name>|<Hover text>}}
{{Zone Map|zone=雷神岛|notes=
{{Zone Map Note|25.8|89.6|Skull|Hogger}}
{{Zone Map Note|39.4|60.5|Star|Graveyard}}
{{Zone Map Note|24.4|78|Cross|Raid meets here}}
}}
{{Zone Map|zone=Isle of Thunder|notes={{Zone Map Note|25.8|89.6|Skull|Hogger}}{{Zone Map Note|39.4|60.5|Star|Graveyard}}}}
#showtooltip 冰霜之柱
/use # (#為你所裝備的主動飾品等)
/cast 冰霜之柱
/cast 亡者复生
爆发宏,冰霜之柱1mincd 亡者复生 2mincd ,可以搭配一些主动sp使用
/run SetCVar("raidFramesDisplayIncomingHeals",1)
/script NA_TestMaxDPS(0)
/script NA_testSpell('5118', NA_Player)
/script NA_testSpell('3044', NA_Target)
/run print(NA_FireSpell('3044', NA_Target))
/run print(UnitIsVisible(NA_Target))
/run print(W_IsUsableSpell('3044', NA_Target))