<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://ffxivclassic.fragmenterworks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Math_Formula</id>
		<title>Math Formula - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://ffxivclassic.fragmenterworks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Math_Formula"/>
		<link rel="alternate" type="text/html" href="http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;action=history"/>
		<updated>2026-06-03T12:47:27Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;diff=32&amp;oldid=prev</id>
		<title>Jorge at 14:31, 26 October 2017</title>
		<link rel="alternate" type="text/html" href="http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;diff=32&amp;oldid=prev"/>
				<updated>2017-10-26T14:31:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:31, 26 October 2017&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;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Formula functions &lt;/del&gt;to reproduce values the client derives from its own scripts.&amp;#160; Presented in LUA.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Functions &lt;/ins&gt;to reproduce values the client derives from its own scripts.&amp;#160; Presented in LUA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scaled experience reward from quests == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scaled experience reward from quests == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb2:diff:version:1.11a:oldid:31:newid:32 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jorge</name></author>	</entry>

	<entry>
		<id>http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;diff=31&amp;oldid=prev</id>
		<title>Jorge: Added a page description.</title>
		<link rel="alternate" type="text/html" href="http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;diff=31&amp;oldid=prev"/>
				<updated>2017-10-26T14:20:54Z</updated>
		
		<summary type="html">&lt;p&gt;Added a page description.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:20, 26 October 2017&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;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;Presented in LUA.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Formula functions to reproduce values the client derives from its own scripts.&amp;#160; &lt;/ins&gt;Presented in LUA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scaled experience reward from quests == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Scaled experience reward from quests == &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb2:diff:version:1.11a:oldid:29:newid:31 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jorge</name></author>	</entry>

	<entry>
		<id>http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;diff=29&amp;oldid=prev</id>
		<title>Jorge: Initial page.  No syntax highlighting extension installed for colouring/bolding goodness.</title>
		<link rel="alternate" type="text/html" href="http://ffxivclassic.fragmenterworks.com/wiki/index.php?title=Math_Formula&amp;diff=29&amp;oldid=prev"/>
				<updated>2017-10-26T14:15:04Z</updated>
		
		<summary type="html">&lt;p&gt;Initial page.  No syntax highlighting extension installed for colouring/bolding goodness.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Presented in LUA.&lt;br /&gt;
&lt;br /&gt;
== Scaled experience reward from quests == &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:800px;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
function calcSkillPoint(player, lvl, weight)&lt;br /&gt;
    weight = weight / 100&lt;br /&gt;
    return math.ceil(expTable[lvl] * weight)  &lt;br /&gt;
    -- expTable is a table listing total XP needed per level&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Command MP cost ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:800px;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;local commandCost = {  &lt;br /&gt;
    -- Some example base MP costs before the formula scales the cost to current level&lt;br /&gt;
    [&amp;quot;raise&amp;quot;] = 150,&lt;br /&gt;
    [&amp;quot;cure&amp;quot;] = 40,&lt;br /&gt;
    [&amp;quot;cura&amp;quot;] = 100,&lt;br /&gt;
    [&amp;quot;curaga&amp;quot;] = 150,&lt;br /&gt;
    [&amp;quot;firaga&amp;quot;] = 255,&lt;br /&gt;
    [&amp;quot;thundara&amp;quot;] = 135,&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function calculateCommandCost(skillName, level)&lt;br /&gt;
    if skillName and level and commandCost[skillName] then&lt;br /&gt;
        if level &amp;lt;= 10 then&lt;br /&gt;
            return math.ceil((100 + level * 10) * (commandCost[skillName] * 0.001));&lt;br /&gt;
        elseif level &amp;lt;= 20 then&lt;br /&gt;
            return math.ceil((200 + (level - 10) * 20) * (commandCost[skillName] * 0.001));            &lt;br /&gt;
        elseif level &amp;lt;= 30 then&lt;br /&gt;
            return math.ceil((400 + (level - 20) * 40) * (commandCost[skillName] * 0.001));       &lt;br /&gt;
        elseif level &amp;lt;= 40 then&lt;br /&gt;
             return math.ceil((800 + (level - 30) * 70) * (commandCost[skillName] * 0.001));   &lt;br /&gt;
        elseif level &amp;lt;= 50 then&lt;br /&gt;
            return math.ceil((1500 + (level - 40) * 130) * (commandCost[skillName] * 0.001)); &lt;br /&gt;
        elseif level &amp;lt;= 60 then&lt;br /&gt;
            return math.ceil((2800 + (level - 50) * 200) * (commandCost[skillName] * 0.001)); &lt;br /&gt;
        elseif level &amp;lt;= 70 then&lt;br /&gt;
            return math.ceil((1500 + (level - 60) * 320) * (commandCost[skillName] * 0.001)); &lt;br /&gt;
        else&lt;br /&gt;
            return math.ceil((8000 + (level - 70) * 500) * (commandCost[skillName] * 0.001)); &lt;br /&gt;
        end;&lt;br /&gt;
  end;&lt;br /&gt;
  return 1;&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jorge</name></author>	</entry>

	</feed>