[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /obj/handlers/change_skills.c</h2>
Handles updating the skill systems to new levels when the skill tree
is changed.<p><b>See also:</b><br>/std/living/skills.c<br /><p>Written by Deutha<h2>Includes</h2>
This class includes the following files /include/obj_parser.h, /include/cmds/teach.h, /include/login_handler.h, /include/cmds/options.h, /include/combat.h, /include/tune.h, /include/player_handler.h, /include/playtesters.h, /include/player.h, /include/language.h and /include/skills.h<h2>Method index</h2>
<ul>
<li><a href="#change_language_skills">change_language_skills</a>(object, int)<br/>
Changes the skill array up to the new tree involving the
languages.
<li><a href="#change_skills">change_skills</a>(object)<br/>
Update the skills from the original skills system to the
beta skills system.
<li><a href="#change_skills_epsilon">change_skills_epsilon</a>(object)<br/>
Update the skills from the original skills system to the
beta skills system.
<li><a href="#change_skills_eta">change_skills_eta</a>(object)<li><a href="#change_skills_theta">change_skills_theta</a>(object)<li><a href="#change_skills_zeta">change_skills_zeta</a>(object)<br/>
Change everyones skill levels (downwards).
<li><a href="#chomp">chomp</a>(string)<li><a href="#entering">entering</a>(string, string)<br/>
Called by the login handler, checks to see if an upgrade
is neede.
<li><a href="#fixup_stats">fixup_stats</a>(object)<li><a href="#new_skill_value">new_skill_value</a>(int)<br/>
Calulate the new skill value for the skills version zeta

<li><a href="#query_minimum_skill_xp">query_minimum_skill_xp</a>(int)<br/>
Figure out thge minimum amount of xp that could have been used to
get the skill level.
<li><a href="#query_version">query_version</a>()<br/>
The current version of the skill tree.
<li><a href="#recalc_parents">recalc_parents</a>(mapping, string)</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="change_language_skills">
change_language_skills</a><pre class="autodocfuncdef">
void change_language_skills(object thing,
                            int lev)
</pre><dd><br />
Changes the skill array up to the new tree involving the
languages.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
thing - the object to upgrade<br />
lev - the level we are changing up to.
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="change_skills">
change_skills</a><pre class="autodocfuncdef">
void change_skills(object thing)
</pre><dd><br />
Update the skills from the original skills system to the
beta skills system.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
thing - the person to update
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="change_skills_epsilon">
change_skills_epsilon</a><pre class="autodocfuncdef">
void change_skills_epsilon(object thing)
</pre><dd><br />
Update the skills from the original skills system to the
beta skills system.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
thing - the person to update
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="change_skills_eta">
change_skills_eta</a><pre class="autodocfuncdef">
void change_skills_eta(object thing)
</pre>
<dt class="autodocfuncname"><a name="change_skills_theta">
change_skills_theta</a><pre class="autodocfuncdef">
void change_skills_theta(object thing)
</pre>
<dt class="autodocfuncname"><a name="change_skills_zeta">
change_skills_zeta</a><pre class="autodocfuncdef">
void change_skills_zeta(object thing)
</pre><dd><br />
Change everyones skill levels (downwards).<br />
<br /><dl>
<dd><b>Parameters:</b><br />
thing - the person to update
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="chomp">
chomp</a><pre class="autodocfuncdef">
string chomp(string str)
</pre>
<dt class="autodocfuncname"><a name="entering">
entering</a><pre class="autodocfuncdef">
void entering(string name,
              string type)
</pre><dd><br />
Called by the login handler, checks to see if an upgrade
is neede.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
name - the name of the player logging in<br />
type - the type of the login<br />
<br />
<dd><b>See also:</b>
<br />/obj/handlers/login_handler.c
<br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="fixup_stats">
fixup_stats</a><pre class="autodocfuncdef">
void fixup_stats(object thing)
</pre>
<dt class="autodocfuncname"><a name="new_skill_value">
new_skill_value</a><pre class="autodocfuncdef">
int new_skill_value(int sk)
</pre><dd><br />
Calulate the new skill value for the skills version zeta
<br />

<dt class="autodocfuncname"><a name="query_minimum_skill_xp">
query_minimum_skill_xp</a><pre class="autodocfuncdef">
int query_minimum_skill_xp(int lvl)
</pre><dd><br />
Figure out thge minimum amount of xp that could have been used to
get the skill level.  This assumes a leaf skill
This appears to be the xp equation.  Using it anyway...<br />
<br /><dl>
<dd><b>Parameters:</b><br />
lvl - the level to get to<br />
<br />
<dd><b>Returns:</b>
<br />the skill cost in xp
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_version">
query_version</a><pre class="autodocfuncdef">
string query_version()
</pre><dd><br />
The current version of the skill tree.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the version of the skill system
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="recalc_parents">
recalc_parents</a><pre class="autodocfuncdef">
mapping recalc_parents(mapping skills,
                       string skill)
</pre>
</dl>
[an error occurred while processing this directive]

