Editing Module:Experience/data/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Documentation}} |
{{Documentation}} |
||
Load with <syntaxhighlight |
Load with <syntaxhighlight language="lua" inline>data = mw.loadData('Module:Experience/data')</syntaxhighlight>. |
||
<syntaxhighlight |
<syntaxhighlight language="lua" inline>data.level[i]</syntaxhighlight> is the total experience needed to reach level <syntaxhighlight language="lua" inline>i</syntaxhighlight> in a profession. |
||
<syntaxhighlight |
<syntaxhighlight language="lua" inline>data.knowledge[i]</syntaxhighlight> is the the experience gained at level <syntaxhighlight language="lua" inline>i</syntaxhighlight> when using knowledge to gain experience in a profession. Knowledge can only be used for <syntaxhighlight language="lua" inline>i >= 20</syntaxhighlight>. |