View Single Post
05-03-14, 03:27 AM   #4
Tactica
Not Amused
 
Tactica's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2010
Posts: 96
I don't know if this is even possible with regex/apend without having to do it manually:
Code:
s(895,"Stormshroud Armor",{15058,21278,23073,30362,12966},1544) --Leather
s(-1266,"Stormshroud Armor (Recolor)",{29141,21458,21708},nil) --Leather
s(-166,"Stormshroud Armor (Recolor)",{10153,10149,10147,10145},nil) --Leather
s(-163,"Stormshroud Armor (Recolor)",{8299,8301,8298,8293,8295},nil) --Leather
s(1759,"Battle",{99157,99158,99159,105779,105792},4) --Mail
s(-1764,"Battle (Lookalike)",{105140,104956,105141,105086,105119},nil) --Mail
s(1763,"Battle (Recolor)",{99081,99082,105086,105119},4) --Mail
s(-1762,"Battle (Lookalike)",{105639,105584,105617},nil) --Mail
s(-1761,"Battle (Recolor)",{99404,105584,105617},4) --Mail
s(-1760,"Battle (Lookalike)",{105800,105779,105792},nil) --Mail
I am trying to place the 895/1759 etc. etc. value to all pieces in a matching name/set:
Code:
s(895,"Stormshroud Armor",{15058,21278,23073,30362,12966},1544) --Leather; 895
s(-1266,"Stormshroud Armor (Recolor)",{29141,21458,21708},nil) --Leather; 895
s(-166,"Stormshroud Armor (Recolor)",{10153,10149,10147,10145},nil) --Leather; 895
s(-163,"Stormshroud Armor (Recolor)",{8299,8301,8298,8293,8295},nil) --Leather; 895
s(1759,"Battle",{99157,99158,99159,105779,105792},4) --Mail; 1759
s(-1764,"Battle (Lookalike)",{105141,105086,105119},nil) --Mail 1759
s(-1763,"Battle (Recolor)",{99081,99082,105086,105119},4) --Mail; 1759
s(-1762,"Battle (Lookalike)",{105639,105584,105617},nil) --Mail; 1759
s(-1761,"Battle (Recolor)",{99404,105584,105617},4) --Mail; 1759
s(-1760,"Battle (Lookalike)",{105800,105779,105792},nil) --Mail; 1759
  Reply With Quote