@@ -381,40 +381,13 @@ holding Shift will put it in the second.]])
381
381
self .controls .displayItemSectionEnchant = new (" Control" , {" TOPLEFT" ,self .controls .displayItemSectionSockets ," BOTTOMLEFT" }, {0 , 0 , 0 , function ()
382
382
return (self .controls .displayItemAnoint :IsShown () or self .controls .displayItemAnoint2 :IsShown () or self .controls .displayItemCorrupt :IsShown () ) and 28 or 0
383
383
end })
384
- self .controls .displayItemAnoint = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemSectionEnchant ," TOPLEFT" , true }, {0 , 0 , 100 , 20 }, " Anoint..." , function ()
384
+ self .controls .displayItemAnoint = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemSectionEnchant ," TOPLEFT" }, {0 , 0 , 100 , 20 }, " Anoint..." , function ()
385
385
self :AnointDisplayItem (1 )
386
386
end )
387
387
self .controls .displayItemAnoint .shown = function ()
388
388
return self .displayItem and (self .displayItem .base .type == " Amulet" or self .displayItem .canBeAnointed )
389
389
end
390
- self .controls .displayItemAnoint2 = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemAnoint ," TOPRIGHT" ,true }, {8 , 0 , 100 , 20 }, " Anoint 2..." , function ()
391
- self :AnointDisplayItem (2 )
392
- end )
393
- self .controls .displayItemAnoint2 .shown = function ()
394
- return self .displayItem and
395
- (self .displayItem .base .type == " Amulet" or self .displayItem .canBeAnointed ) and
396
- self .displayItem .canHaveTwoEnchants and
397
- # self .displayItem .enchantModLines > 0
398
- end
399
- self .controls .displayItemAnoint3 = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemAnoint2 ," TOPRIGHT" ,true }, {8 , 0 , 100 , 20 }, " Anoint 3..." , function ()
400
- self :AnointDisplayItem (3 )
401
- end )
402
- self .controls .displayItemAnoint3 .shown = function ()
403
- return self .displayItem and
404
- (self .displayItem .base .type == " Amulet" or self .displayItem .canBeAnointed ) and
405
- self .displayItem .canHaveThreeEnchants and
406
- # self .displayItem .enchantModLines > 1
407
- end
408
- self .controls .displayItemAnoint4 = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemAnoint3 ," TOPRIGHT" ,true }, {8 , 0 , 100 , 20 }, " Anoint 4..." , function ()
409
- self :AnointDisplayItem (4 )
410
- end )
411
- self .controls .displayItemAnoint4 .shown = function ()
412
- return self .displayItem and
413
- (self .displayItem .base .type == " Amulet" or self .displayItem .canBeAnointed ) and
414
- self .displayItem .canHaveFourEnchants and
415
- # self .displayItem .enchantModLines > 2
416
- end
417
- self .controls .displayItemCorrupt = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemAnoint4 ," TOPRIGHT" ,true }, {8 , 10 , 100 , 20 }, " Corrupt..." , function ()
390
+ self .controls .displayItemCorrupt = new (" ButtonControl" , {" TOPLEFT" ,self .controls .displayItemAnoint ," TOPRIGHT" ,true }, {8 , 0 , 100 , 20 }, " Corrupt..." , function ()
418
391
self :CorruptDisplayItem ()
419
392
end )
420
393
self .controls .displayItemCorrupt .shown = function ()
0 commit comments