<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://www.tibiawiki.com.br/index.php?action=history&amp;feed=atom&amp;title=Usu%C3%A1rio_Discuss%C3%A3o%3AKepler%2Fcalc</id>
	<title>Usuário Discussão:Kepler/calc - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://www.tibiawiki.com.br/index.php?action=history&amp;feed=atom&amp;title=Usu%C3%A1rio_Discuss%C3%A3o%3AKepler%2Fcalc"/>
	<link rel="alternate" type="text/html" href="https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;action=history"/>
	<updated>2026-04-10T13:41:51Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;diff=202815&amp;oldid=prev</id>
		<title>Kepler em 20h12min de 24 de fevereiro de 2018</title>
		<link rel="alternate" type="text/html" href="https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;diff=202815&amp;oldid=prev"/>
		<updated>2018-02-24T20:12:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 20h12min de 24 de fevereiro de 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Linha 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/* Calculadoras - Shards */$(document).ready(function () {    $('#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calc_shard&lt;/del&gt;').bind(&amp;quot;keyup change&amp;quot;, function () {        var level = $('#level').val();        var quantidade = $('#quantidade').val();        var item = $(&amp;quot;select#item&amp;quot;).val();        if (item == 2) {            if (quantidade = 5) {                $('#shard-result').text('Você pagará ' + ($('#level').val() - 20) * 1000  + ' pelas 5 blessings.');&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/* Calculadoras - Shards */$(document).ready(function () {    $('#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;calc_teste&lt;/ins&gt;').bind(&amp;quot;keyup change&amp;quot;, function () {        var level = $('#level').val();        var quantidade = $('#quantidade').val();        var item = $(&amp;quot;select#item&amp;quot;).val();        if (item == 2) {            if (quantidade = 5) {                $('#shard-result').text('Você pagará ' + ($('#level').val() - 20) * 1000  + ' pelas 5 blessings.');&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 $('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 $('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             } else if (quantidade &amp;gt;= 2) {                $('#shard-result').text('Você pagará ' + ($('#level').val() - 20) * 1000  + ' pelas 5 blessings.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);            } else {                $('#shard-result').text('Você receberá ' + $('#level').val() * $('#level').val() * 100 + ' de experiência.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            }        } else {            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            if (quantidade &amp;gt;= 41) {            $('#shard-result2').removeClass(&amp;quot;hide&amp;quot;);        } else {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             } else if (quantidade &amp;gt;= 2) {                $('#shard-result').text('Você pagará ' + ($('#level').val() - 20) * 1000  + ' pelas 5 blessings.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);            } else {                $('#shard-result').text('Você receberá ' + $('#level').val() * $('#level').val() * 100 + ' de experiência.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            }        } else {            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            if (quantidade &amp;gt;= 41) {            $('#shard-result2').removeClass(&amp;quot;hide&amp;quot;);        } else {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kepler</name></author>
	</entry>
	<entry>
		<id>https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;diff=202814&amp;oldid=prev</id>
		<title>Kepler em 20h11min de 24 de fevereiro de 2018</title>
		<link rel="alternate" type="text/html" href="https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;diff=202814&amp;oldid=prev"/>
		<updated>2018-02-24T20:11:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 20h11min de 24 de fevereiro de 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Linha 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$(document).ready(function () {    $('#calc_shard').bind(&amp;quot;keyup change&amp;quot;, function () {        var level = $('#level').val();        var quantidade = $('#quantidade').val();        var item = $(&amp;quot;select#item&amp;quot;).val();        if (item == 2) {            if (quantidade &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/del&gt;= &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0) {                $('#shard-result').addClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            } else if (quantidade &amp;gt;= 2&lt;/del&gt;) {                $('#shard-result').text('Você &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;receberá &lt;/del&gt;' + $('#level').val() &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* $('#level'&lt;/del&gt;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.val() * 100 &lt;/del&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$('#quantidade').val() &lt;/del&gt;+ ' &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;de experiência&lt;/del&gt;.'); &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;               &lt;/del&gt;$('#shard-result').removeClass(&amp;quot;hide&amp;quot;); &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;               &lt;/del&gt;$('#shard-result3').removeClass(&amp;quot;hide&amp;quot;); &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;           &lt;/del&gt;} else {                $('#shard-result').text('Você &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;receberá &lt;/del&gt;' + $('#level').val() &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* $('#level').val(&lt;/del&gt;) * &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100 &lt;/del&gt;+ ' &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;de experiência&lt;/del&gt;.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;').addClass(&amp;quot;hide&amp;quot;);            }        } else {            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            if (quantidade &amp;gt;= 41) {            $('#shard-result2&lt;/del&gt;').removeClass&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&amp;quot;hide&amp;quot;);        } else {            $('#shard-result2').addClass(&amp;quot;hide&amp;quot;);        }            if (quantidade &amp;lt;= 0) {                $('#shard-result').addClass(&amp;quot;hide&amp;quot;);                $('#shard-result2').addClass&lt;/del&gt;(&amp;quot;hide&amp;quot;);            } else &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if (quantidade &amp;gt;= 1) &lt;/del&gt;{                &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if (level &amp;gt;= 200) {                    $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                    &lt;/del&gt;$('#shard-result').text('Você receberá ' + &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(300 * 200) * &lt;/del&gt;$('#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;quantidade&lt;/del&gt;').val() &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+ ' de experiência.');                } else {                    $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                    $('#shard-result').text('Você receberá ' + (300 &lt;/del&gt;* $('#level').val(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/del&gt;) * &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$('#quantidade').val() &lt;/del&gt;+ ' de experiência.');                &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}            }        }        if (level &amp;gt;= 1 &amp;amp;&amp;amp; quantidade &amp;lt;= 0) {            &lt;/del&gt;$('#shard-result').&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addClass&lt;/del&gt;(&amp;quot;hide&amp;quot;); &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;           &lt;/del&gt;$('#shard-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;result2&lt;/del&gt;').addClass(&amp;quot;hide&amp;quot;);            &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$('#shard-result3').addClass(&amp;quot;hide&amp;quot;); &lt;/del&gt;       } else &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if (level &amp;lt;= 0 &amp;amp;&amp;amp; quantidade &amp;lt;= 0) &lt;/del&gt;{            $('#shard-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;result&lt;/del&gt;').addClass(&amp;quot;hide&amp;quot;);            &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$('#shard-result2').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);        } else &lt;/del&gt;if (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;level &amp;lt;= 0 &amp;amp;&amp;amp; &lt;/del&gt;quantidade &amp;gt;= &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;) { &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;           $('#shard-result').addClass(&amp;quot;hide&amp;quot;); &lt;/del&gt;           $('#shard-result2').&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addClass&lt;/del&gt;(&amp;quot;hide&amp;quot;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);        }    });});$(document).ready(function () {    $(&amp;quot;#calc_shard&amp;quot;).keydown(function (event) {        if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || event.keyCode == 13 || (event.keyCode == 65 &amp;amp;&amp;amp; event.ctrlKey === true) || (event.keyCode &amp;gt;= 35 &amp;amp;&amp;amp; event.keyCode &amp;lt;= 39)) {            return&lt;/del&gt;;        } else { &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;           if (event.shiftKey || (event.keyCode &amp;lt; 48 || event.keyCode &amp;gt; 57) &amp;amp;&amp;amp; (event.keyCode &amp;lt; 96 || event.keyCode &amp;gt; 105)) {                event.preventDefault();            }        }    });});&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/* Calculadoras - Shards */&lt;/ins&gt;$(document).ready(function () {    $('#calc_shard').bind(&amp;quot;keyup change&amp;quot;, function () {        var level = $('#level').val();        var quantidade = $('#quantidade').val();        var item = $(&amp;quot;select#item&amp;quot;).val();        if (item == 2) {            if (quantidade = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5&lt;/ins&gt;) {                $('#shard-result').text('Você &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pagará &lt;/ins&gt;' + &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;$('#level').val() &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- 20&lt;/ins&gt;) * &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1000  &lt;/ins&gt;+ ' &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pelas 5 blessings&lt;/ins&gt;.');&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                &lt;/ins&gt;$('#shard-result').removeClass(&amp;quot;hide&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                &lt;/ins&gt;$('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            &lt;/ins&gt;} else &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if (quantidade &amp;gt;= 2) &lt;/ins&gt;{                $('#shard-result').text('Você &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pagará &lt;/ins&gt;' + &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;$('#level').val() &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- 20&lt;/ins&gt;) * &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1000  &lt;/ins&gt;+ ' &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pelas 5 blessings&lt;/ins&gt;.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);            } else {                $('#shard-result').text('Você receberá ' + $('#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;level&lt;/ins&gt;').val() * $('#level').val() * &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100 &lt;/ins&gt;+ ' de experiência.');                $('#shard-result').&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;removeClass&lt;/ins&gt;(&amp;quot;hide&amp;quot;); &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;               &lt;/ins&gt;$('#shard-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;result3&lt;/ins&gt;').addClass(&amp;quot;hide&amp;quot;);            &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;} &lt;/ins&gt;       } else {            $('#shard-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;result3&lt;/ins&gt;').addClass(&amp;quot;hide&amp;quot;);            if (quantidade &amp;gt;= &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;41&lt;/ins&gt;) {            $('#shard-result2').&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;removeClass&lt;/ins&gt;(&amp;quot;hide&amp;quot;);        } else {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kepler</name></author>
	</entry>
	<entry>
		<id>https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;diff=202812&amp;oldid=prev</id>
		<title>Kepler: Criou página com '$(document).ready(function () {    $('#calc_shard').bind(&quot;keyup change&quot;, function () {        var level = $('#level').val();        var quantidade = $('#quantidade').val();   ...'</title>
		<link rel="alternate" type="text/html" href="https://www.tibiawiki.com.br/index.php?title=Usu%C3%A1rio_Discuss%C3%A3o:Kepler/calc&amp;diff=202812&amp;oldid=prev"/>
		<updated>2018-02-24T19:59:01Z</updated>

		<summary type="html">&lt;p&gt;Criou página com &amp;#039;$(document).ready(function () {    $(&amp;#039;#calc_shard&amp;#039;).bind(&amp;quot;keyup change&amp;quot;, function () {        var level = $(&amp;#039;#level&amp;#039;).val();        var quantidade = $(&amp;#039;#quantidade&amp;#039;).val();   ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;$(document).ready(function () {    $('#calc_shard').bind(&amp;quot;keyup change&amp;quot;, function () {        var level = $('#level').val();        var quantidade = $('#quantidade').val();        var item = $(&amp;quot;select#item&amp;quot;).val();        if (item == 2) {            if (quantidade &amp;lt;= 0) {                $('#shard-result').addClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            } else if (quantidade &amp;gt;= 2) {                $('#shard-result').text('Você receberá ' + $('#level').val() * $('#level').val() * 100 * $('#quantidade').val() + ' de experiência.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').removeClass(&amp;quot;hide&amp;quot;);            } else {                $('#shard-result').text('Você receberá ' + $('#level').val() * $('#level').val() * 100 + ' de experiência.');                $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            }        } else {            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);            if (quantidade &amp;gt;= 41) {            $('#shard-result2').removeClass(&amp;quot;hide&amp;quot;);        } else {            $('#shard-result2').addClass(&amp;quot;hide&amp;quot;);        }            if (quantidade &amp;lt;= 0) {                $('#shard-result').addClass(&amp;quot;hide&amp;quot;);                $('#shard-result2').addClass(&amp;quot;hide&amp;quot;);            } else if (quantidade &amp;gt;= 1) {                if (level &amp;gt;= 200) {                    $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                    $('#shard-result').text('Você receberá ' + (300 * 200) * $('#quantidade').val() + ' de experiência.');                } else {                    $('#shard-result').removeClass(&amp;quot;hide&amp;quot;);                    $('#shard-result').text('Você receberá ' + (300 * $('#level').val()) * $('#quantidade').val() + ' de experiência.');                }            }        }        if (level &amp;gt;= 1 &amp;amp;&amp;amp; quantidade &amp;lt;= 0) {            $('#shard-result').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result2').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);        } else if (level &amp;lt;= 0 &amp;amp;&amp;amp; quantidade &amp;lt;= 0) {            $('#shard-result').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result2').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);        } else if (level &amp;lt;= 0 &amp;amp;&amp;amp; quantidade &amp;gt;= 1) {            $('#shard-result').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result2').addClass(&amp;quot;hide&amp;quot;);            $('#shard-result3').addClass(&amp;quot;hide&amp;quot;);        }    });});$(document).ready(function () {    $(&amp;quot;#calc_shard&amp;quot;).keydown(function (event) {        if (event.keyCode == 46 || event.keyCode == 8 || event.keyCode == 9 || event.keyCode == 27 || event.keyCode == 13 || (event.keyCode == 65 &amp;amp;&amp;amp; event.ctrlKey === true) || (event.keyCode &amp;gt;= 35 &amp;amp;&amp;amp; event.keyCode &amp;lt;= 39)) {            return;        } else {            if (event.shiftKey || (event.keyCode &amp;lt; 48 || event.keyCode &amp;gt; 57) &amp;amp;&amp;amp; (event.keyCode &amp;lt; 96 || event.keyCode &amp;gt; 105)) {                event.preventDefault();            }        }    });});&lt;/div&gt;</summary>
		<author><name>Kepler</name></author>
	</entry>
</feed>