rem: source = "Carried"; target = "Wielded"; value  = false; 
add: source = "Carried"; target = "Wielded"; value  = false; 
context: function ChangeWeapon( wielded ){  if (disable_autocalc())    return;  var source;  var target;  var value;  if ( wielded )  {  	 source = "Wielded";	 target = "Carried";	 value  = true;  }  else  {  	 source = "Carried";	 target = "Wielded";	 value  = false;  }  for ( var i = 1; i <= 4; i++ )  {    if ( sheet()[ "Weapon" + i + source ].checked == value )	    sheet()[ "Weapon" + i + target ].checked = value;  }  // We need to call this because we may have changed the 'carried' flag  CalcWeight();  }
meta: 8354	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8354/d72fdfbf37aa1d233635af773bc09628b7ebc13f/gear.js/buggy/public_profiler/v3.5-DD/gear.js