Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 95 lines (79 sloc) 5.532 kb
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
1
ec627a87 » tekkub
2009-01-13 deDE locale
2 local L = Panda.locale
3
4
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
5 local SPELLID = 7411
6 local AVELLUM1, AVELLUM2, AVELLUM3 = 38682, 37602, 43145
7 local WVELLUM1, WVELLUM2, WVELLUM3 = 29249, 39350, 43146
8 local NAME = GetSpellInfo(SPELLID)
9 local function MakeMacro(id, name, isweapon)
ec627a87 » tekkub
2009-01-13 deDE locale
10 local chantname = name:match(L["Scroll of (.+)$"])
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
11 return "/run if IsShiftKeyDown() then ChatEdit_InsertLink('"..select(2, GetItemInfo(id)).."') end\n"..
12 "/stopmacro [mod:shift]\n/run CloseTradeSkill()\n/cast "..NAME.."\n"..
13 "/run for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i) == '"..chantname.."' then TradeSkillFrame_SetSelection(i); DoTradeSkill(i) end end CloseTradeSkill()\n"..
14 "/use item:"..(isweapon and WVELLUM2 or AVELLUM2)
15 end
16
17
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
18 Panda.panel:RegisterFrame(L["Enchant Boots"], Panda.PanelFactory(SPELLID,
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
19 [[38786:AGI 38807:AGI 38844:AGI 38863:AGI 37603:AGI 38976:AGI 0 44449:AP 44469:AP 0 38943:SPE
20 38785:STA 38810:STA 38830:STA 38862:STA 38909:STA 38966:STA 0 0 0 0 38944:SPE 39006:SPE
21 38819:SPI 38864:SPI 38961:SPI 0 38908:HMP 38974:HMP 0 38910:HIT 38986:HIT 0 38837:SPE
22 ]], nil, function(frame)
23 frame:SetAttribute("type", "macro")
24 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
25 end))
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
26
27
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
28 Panda.panel:RegisterFrame(L["Enchant Bracer"], Panda.PanelFactory(SPELLID,
6c2e80d0 » tekkub
2009-01-21 New 3.0.8 recipes
29 [[38768:DEF 38811:DEF 38842:DEF 38899:DEF 0 38984:EXP 0 38898:STAT 38987:STAT
30 38771:STA 38793:STA 38812:STA 38849:STA 38855:STA 38902:STA 44947:STA 0 38679:HP
31 38778:STR 38797:STR 38817:STR 38846:STR 38854:STR 38897:STR 0 38938:AP 38971:AP 44815:AP 0 38777:AGI
32 38803:INT 38829:INT 38852:INT 38937:INT 38968:INT 0 0 38903:SP 38997:SP 38900:SP 0 38881:MPR 38901:MPR
33 38774:SPI 38783:SPI 38809:SPI 38832:SPI 38853:SPI 38980:SPI 0 38882:SP 38900:SP 38996:SP
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
34 ]], nil, function(frame)
35 frame:SetAttribute("type", "macro")
5f241b4c » tekkub
2008-11-13 Fix enchanting panel (oops)
36 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
37 end))
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
38
39
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
40 Panda.panel:RegisterFrame(L["Enchant Chest"], Panda.PanelFactory(SPELLID,
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
41 [[38766:HP 38773:HP 38782:HP 38808:HP 38833:HP 38866:HP 38911:HP 38955:HP 0 38930:RES 0 38767:DEF 38798:DEF
42 38769:MP 38776:MP 38799:MP 38818:MP 38841:MP 38867:MP 38912:MP 0 0 38928:SPI 0 38929:MPR 38962:MPR
43 38804:STAT 38824:STAT 38847:STAT 38865:STAT 38913:STAT
44 ]], nil, function(frame)
45 frame:SetAttribute("type", "macro")
46 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
47 end))
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
48
49
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
50 Panda.panel:RegisterFrame(L["Enchant Cloak"], Panda.PanelFactory(SPELLID,
99c8a0b5 » tekkub
2009-01-18 More enchant icons
51 [[38789:AGI 38835:AGI 38940:AGI 38959:AGI 44457:AGI 0 0 0 0 0 0 0 0 38770:RALL 38826:RALL 38858:RALL 38915:RALL
52 38775:ARM 38790:ARM 38806:ARM 38825:ARM 38859:ARM 38914:ARM 39001:ARM 0 0 0 0 0 0 38784:RFI 38815:RFI 38891:RFI 38969:RFI
53 0 0 0 0 0 0 0 0 0 0 0 0 0 0 38795:RSH 38942:RSH 38977:RSH
54 0 0 38939:SPEN 38894:FADE 38893:STL 39000:DEF 38895:DOD 0 0 0 0 0 0 0 0 38941:RAR 38982:RAR
55 44456:HASTE 39003:HASTE 38973:SPEN 39004:FADE 38993:STL 38978:DEF 0 0 0 0 0 0 0 0 0 38892:RNA 38956:RNA
56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 38950:RFR
7307dbfc » tekkub
2008-11-16 Add cloak enchants panel
57 ]], nil, function(frame)
58 frame:SetAttribute("type", "macro")
59 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
60 end))
7307dbfc » tekkub
2008-11-16 Add cloak enchants panel
61
62
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
63 Panda.panel:RegisterFrame(L["Enchant Gloves"], Panda.PanelFactory(SPELLID,
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
64 [[38850:MOUNT 0 38802:FISH 38823:SKIN 38801:HERB 38834:HERB 38800:MINE 38831:MINE 38980:GATHER
65 38827:AGI 38856:AGI 38890:AGI 38967:AGI 0 38836:STR 38857:STR 38933:STR 0 38934:AP 38964:AP 44458:AP
99c8a0b5 » tekkub
2009-01-18 More enchant icons
66 38932:HIT 38953:HIT 0 38931:CRIT 38985:CRIT 0 38951:EXP 0 38851:HASTE 0 38885:THREAT 38990:THREAT
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
67 38888:FIP 38887:FRP 38886:SHP 0 38889:SP 38936:SP 38935:SP 38979:SP
68 ]], nil, function(frame)
69 frame:SetAttribute("type", "macro")
70 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
71 end))
19d2f8cd » tekkub
2009-01-18 New panels, ench boots. chest, gloves
72
73
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
74 Panda.panel:RegisterFrame(L["Enchant Shield"], Panda.PanelFactory(SPELLID,
430a7328 » tekkub
2009-01-18 Add custom icons for enchanting panels (and elsewhere?)
75 [[38787:STA 38805:STA 38828:STA 38861:STA 38945:STA 38983:STA 0 38949:RES
76 38791:ARM 0 38904:BLKV 0 38820:BLKR 38906:BLKR 0 38954:DEF
77 38792:SPI 38816:SPI 38839:SPI 38860:SPI 0 38905:INT 44455:INT
78 38843:RFR 0 38907:RALL
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
79 ]], nil, function(frame)
80 frame:SetAttribute("type", "macro")
5f241b4c » tekkub
2008-11-13 Fix enchanting panel (oops)
81 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
82 end))
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
83
7307dbfc » tekkub
2008-11-16 Add cloak enchants panel
84
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
85 Panda.panel:RegisterFrame(L["Enchant Weapon"], Panda.PanelFactory(SPELLID,
99c8a0b5 » tekkub
2009-01-18 More enchant icons
86 [[38780:DAM 38794:DAM 38821:DAM 38848:DAM 38870:DAM 38917:DAM 0 0 0 0 0 0 38772:DAM 38796:DAM 38822:DAM 38845:DAM 38869:DAM
87 38880:AGI 38947:AGI 38995:AGI 0 38879:STR 38920:STR 0 44453:AP 0 0 0 0 0 38896:AGI 38922:AGI 0 38919:AP
88 38883:SPI 38963:SPI 0 38918:INT 38884:INT 0 0 0 0 0 0 0 38788:SPI 38874:SPI 0 38781:INT 38875:INT
89 38878:SP 38946:SP 0 38877:SP 38921:SP 38991:SP 44467:SP
90 38876:WINTER 38838:FIERY 38868:FROST 38872:UNHOLY 38873:CRUSADER 38871:LIFESTEAL 0 38925:MONGOOSE 38927:LIFESTEAL 38926:MPR 38924:SOULFROST 38923:SUNFIRE 0 44493:BERSERK 44497:HIT 38998:FROST
430a7328 » tekkub
2009-01-18 Add custom icons for enchanting panels (and elsewhere?)
91 38779:BEAST 38813:BEAST 0 38814:ELEM 0 38840:DEMON
aab26604 » tekkub
2008-11-09 Add some enchant-to-vellum panels
92 ]], nil, function(frame)
93 frame:SetAttribute("type", "macro")
5f241b4c » tekkub
2008-11-13 Fix enchanting panel (oops)
94 frame:SetAttribute("macrotext", MakeMacro(frame.id, frame.name, true))
3860c48b » tekkub
2009-01-23 Add "tabs" for each craft, reorganize panels
95 end))
Something went wrong with that request. Please try again.