<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel rdf:about="https://let.hatelabo.jp/kageroh_/rss">
    <link>https://let.hatelabo.jp/kageroh_/rss</link>
    <description></description>
    <title>Bookmarklets from kageroh_</title>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://let.hatelabo.jp/kageroh_/let/hLHUgc6mo8kN"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://let.hatelabo.jp/kageroh_/let/hLHUgc6mo8kN">
    <link>https://let.hatelabo.jp/kageroh_/let/hLHUgc6mo8kN</link>
    <dc:date>2015-11-28T12:38:22Z</dc:date>
    <description></description>
    <dc:creator>kageroh_</dc:creator>
    <title>[Let] 「パズドラ　ダメージ計算」にラードラボタンを表示するブックマークレット</title>
    <content:encoded>&lt;a href="javascript:%22https%3A%2F%2Flet.st-hatelabo.com%2Fkageroh_%2Flet%2FhLHUgc6mo8kN.bookmarklet.js%20%28arg%29%22.replace%28%2F%28%5CS%2B%29%5Cs%2B%28%5CS%2A%29%2F%2Cfunction%28s%2Curl%2Carg%29%7Bs%3Ddocument.createElement%28%22script%22%29%3Bs.charset%3D%22utf-8%22%3Bs.src%3Durl%2B%22%3Fs%3D%22%2BencodeURIComponent%28arg%29%3Bdocument.body.appendChild%28s%29%7D%29%3Bvoid%280%29%3B"&gt;「パズドラ　ダメージ計算」にラードラボタンを表示するブックマークレット&lt;/a&gt;&lt;pre&gt;/*
 * @title 「パズドラ　ダメージ計算」にラードラボタンを表示するブックマークレット
 * @include http://www.geocities.jp/pangya_monooki/p/dmg-sim2/
 * @license MIT License
 */

(function () {
	function select_option (select, regexp) {
		var options = select.options;
		for (var option, i = 0; option = options[i]; i++) if (regexp.test(option.text.trim())) break;
		select.selectedIndex = i;
	}

	var inputs = document.querySelectorAll('input[id^=&amp;quot;drop_&amp;quot;]');
	for (var input, i = 0; input = inputs[i]; i++) {
		input.type = 'number';
		input.value = '';
		input.placeholder = 0;
		input.style.width = '3em';
	}

	var input = document.querySelector('input[onclick^=&amp;quot;set_ra&amp;quot;]');
	input = input.cloneNode(true);
	var table = document.querySelector('table[style*=&amp;quot;left:800&amp;quot;]');
	table.parentNode.removeChild(table);

	input.value = 'ラードラパボタン';
	input.style.position = 'absolute';
	input.style.left = 'auto';
	input.style.top = '9em';
	input.style.right = '0';
	document.body.appendChild(input);

	input.onclick = function () {
		select_option(document.querySelector('select[name=&amp;quot;enemy_color&amp;quot;]'), /^火$/);
		document.all.skill_onoff.selectedIndex = 0;

		select_option(document.querySelector('select[name=&amp;quot;ls&amp;quot;]'), /^ラードラ6色$/);
		select_option(document.querySelector('select[name=&amp;quot;fs&amp;quot;]'), /^ラードラ6色$/);

		document.all.na.value = &amp;quot;ラードラ99&amp;quot;;
		document.all.nb.value = &amp;quot;覚醒イシス99&amp;quot;;
		document.all.nc.value = &amp;quot;闇カーリー99&amp;quot;;
		document.all.nd.value = &amp;quot;闇カーリー99&amp;quot;;
		document.all.ne.value = &amp;quot;インドラ99&amp;quot;;
		document.all.nf.value = &amp;quot;ラードラ99&amp;quot;;

		select_option(document.getElementById('type_main_a:a:a'), /^神$/);
		select_option(document.getElementById('type_sub_a:a:a'), /^ドラゴン$/);

		select_option(document.getElementById('type_main_a:a:b'), /^神$/);
		select_option(document.getElementById('type_sub_a:a:b'), /^悪魔$/);

		select_option(document.getElementById('type_main_a:a:c'), /^神$/);
		select_option(document.getElementById('type_sub_a:a:c'), /^ドラゴン$/);

		select_option(document.getElementById('type_main_a:a:d'), /^神$/);
		select_option(document.getElementById('type_sub_a:a:d'), /^ドラゴン$/);

		select_option(document.getElementById('type_main_a:a:e'), /^神$/);
		select_option(document.getElementById('type_sub_a:a:e'), /^ドラゴン$/);

		select_option(document.getElementById('type_main_a:a:f'), /^神$/);
		select_option(document.getElementById('type_sub_a:a:f'), /^ドラゴン$/);

		document.getElementById('atk_a:a:a').value = 2003;
		document.getElementById('atk_a:a:b').value = 2092;
		document.getElementById('atk_a:a:c').value = 2269;
		document.getElementById('atk_a:a:d').value = 2269;
		document.getElementById('atk_a:a:e').value = 1962;
		document.getElementById('atk_a:a:f').value = 2003;

		document.getElementById('tway_0').selectedIndex = 2;
		document.getElementById('tway_1').selectedIndex = 0;
		document.getElementById('tway_2').selectedIndex = 1;
		document.getElementById('tway_3').selectedIndex = 1;
		document.getElementById('tway_4').selectedIndex = 0;
		document.getElementById('tway_5').selectedIndex = 2;

		document.getElementById('color_main_a:a:a').selectedIndex = 3;
		document.getElementById('color_main_a:a:b').selectedIndex = 1;
		document.getElementById('color_main_a:a:c').selectedIndex = 4;
		document.getElementById('color_main_a:a:d').selectedIndex = 4;
		document.getElementById('color_main_a:a:e').selectedIndex = 3;
		document.getElementById('color_main_a:a:f').selectedIndex = 3;

		document.getElementById('color_sub_a:a:a').selectedIndex = 4;
		document.getElementById('color_sub_a:a:b').selectedIndex = 3;
		document.getElementById('color_sub_a:a:c').selectedIndex = 1;
		document.getElementById('color_sub_a:a:d').selectedIndex = 1;
		document.getElementById('color_sub_a:a:e').selectedIndex = 4;
		document.getElementById('color_sub_a:a:f').selectedIndex = 4;

		document.all.combo_select.value = 8;
		select_option(document.all.enhance, /^なし$/);
		select_option(document.all.enh_power, /^1\.0倍$/);

		select_option(document.querySelector('select[name=&amp;quot;stim_blue&amp;quot;]'), /^1枚$/);
		select_option(document.querySelector('select[name=&amp;quot;kd_blue&amp;quot;]'), /^2枚$/);

		document.getElementById('drop_red1').value = 3;
		document.getElementById('drop_blue1').value = 3;
		document.getElementById('drop_green1').value = 3;
		document.getElementById('drop_yellow1').value = 3;
		document.getElementById('drop_purple1').value = 3;

		bg_change(0);
		main();
	};
}());
&lt;/pre&gt;</content:encoded>
  </item>
</rdf:RDF>
