MediaWiki:Common.js: Difference between revisions

Automated page publish
Automated page publish
Line 68: Line 68:
     'Duskknight Helmet Spike': [{name:'Large Ebony Rod', count:1},{name:'Silver Foil', count:1}],
     'Duskknight Helmet Spike': [{name:'Large Ebony Rod', count:1},{name:'Silver Foil', count:1}],
     'Duskknight Body Breastplate': [{name:'Large Ebony Plate', count:4},{name:'Silver Foil', count:8}],
     'Duskknight Body Breastplate': [{name:'Large Ebony Plate', count:4},{name:'Silver Foil', count:8}],
    'Bronze Bar': [{name:'Copper Ore', count:1},{name:'Tin Ore', count:1}],
     'Iron Bar': [{name:'Iron Ore', count:2}],
     'Iron Bar': [{name:'Iron Ore', count:2}],
     'Steel Bar': [{name:'Iron Ore', count:1},{name:'Coal Ore', count:1}],
     'Steel Bar': [{name:'Iron Ore', count:1},{name:'Coal Ore', count:1}],
Line 78: Line 79:
   // Smithing XP per item, for bars that aren't in the GATHER.smithing dropdown (they're an
   // Smithing XP per item, for bars that aren't in the GATHER.smithing dropdown (they're an
   // intermediate step, not a selectable training target) but still have their own recipe XP.
   // intermediate step, not a selectable training target) but still have their own recipe XP.
   var BAR_SMITHING_XP = { 'Iron Bar':30, 'Steel Bar':55, 'Mithril Bar':155, 'Gold Bar':800, 'Silver Bar':675, 'Ebony Bar':1800 };
   var BAR_SMITHING_XP = { 'Bronze Bar':15, 'Iron Bar':30, 'Steel Bar':55, 'Mithril Bar':155, 'Gold Bar':800, 'Silver Bar':675, 'Ebony Bar':1800 };
   function getSmithingXp(name){
   function getSmithingXp(name){
     var found = GATHER.smithing.filter(function(e){ return e.name === name; })[0];
     var found = GATHER.smithing.filter(function(e){ return e.name === name; })[0];