[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 /std/basic/scroll_base.c</h2>
This is the basic control file for scrolls.  It contains all the common
scroll handling stuff that goes into both the object and the shadow.
<h2>Inherits</h2>
This class inherits the following classes <a href="std.basic.scroll_book_react.c.shtml">/std/basic/scroll_book_react.c</a><h2>Includes</h2>
This class includes the following files <a href="include.tasks.h.shtml">/include/tasks.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#cast_spell">cast_spell</a>(string)<br/>
This method clears the spell off the scroll and turns it back into
a normal piece of paper.
<li><a href="#cast_spell_new">cast_spell_new</a>(string, object *, object *)<br/>
This method clears the spell off the scroll and turns it back into
a normal piece of paper.
<li><a href="#clear_spell">clear_spell</a>(int)<br/>
This method clears the spell off the scroll and turns it back into
a normal piece of paper.
<li><a href="#query_binding_force">query_binding_force</a>()<br/>
This method returns the current binding force of the scroll.
<li><a href="#query_magic_scroll">query_magic_scroll</a>()<br/>
This method returns always returns 1 for a magic scroll.
<li><a href="#query_spell">query_spell</a>()<br/>
This method returns the spell associated with the scroll.
<li><a href="#query_spell_name">query_spell_name</a>()<br/>
This method returns the name o fthe spell on the scroll.
<li><a href="#query_spell_power_level">query_spell_power_level</a>()<br/>
This method returns the power level of the spell current associated
with the object.
<li><a href="#set_spell">set_spell</a>(string)<br/>
This method sets the spell associated with the scroll.
<li><a href="#test_skill">test_skill</a>()<br/>
This method tests the skill needed to cast the spell on the scroll.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="cast_spell">
cast_spell</a><pre>
int cast_spell(string words)
</pre></br>
This method clears the spell off the scroll and turns it back into
a normal piece of paper.
<br/><ul>
<li><b>Parameters:</b>
<br/>award - a tm was awarded on the way

</dl>

<ul><a name="cast_spell_new">
cast_spell_new</a><pre>
int cast_spell_new(string words,
                   object * targets,
                   object * using)
</pre></br>
This method clears the spell off the scroll and turns it back into
a normal piece of paper.
<br/><ul>
<li><b>Parameters:</b>
<br/>award - a tm was awarded on the way

</dl>

<ul><a name="clear_spell">
clear_spell</a><pre>
void clear_spell(int award)
</pre></br>
This method clears the spell off the scroll and turns it back into
a normal piece of paper.
<br/><ul>
<li><b>Parameters:</b>
<br/>award - a tm was awarded on the way

</dl>

<ul><a name="query_binding_force">
query_binding_force</a><pre>
int query_binding_force()
</pre></br>
This method returns the current binding force of the scroll.  This is
the amount of force the paper exerts to try and keep the spell on the
paper.
<br/><ul>
<li><b>Returns:</b>
<br/>the scrolls binding force

</dl>

<ul><a name="query_magic_scroll">
query_magic_scroll</a><pre>
int query_magic_scroll()
</pre></br>
This method returns always returns 1 for a magic scroll.
<br/><ul>
<li><b>Returns:</b>
<br/>always returns 1

</dl>

<ul><a name="query_spell">
query_spell</a><pre>
string query_spell()
</pre></br>
This method returns the spell associated with the scroll.
<br/><ul>
<li><b>Returns:</b>
<br/>the spell associated with the scroll

</dl>

<ul><a name="query_spell_name">
query_spell_name</a><pre>
string query_spell_name()
</pre></br>
This method returns the name o fthe spell on the scroll.
<br/><ul>
<li><b>Returns:</b>
<br/>the name of the spell

</dl>

<ul><a name="query_spell_power_level">
query_spell_power_level</a><pre>
int query_spell_power_level()
</pre></br>
This method returns the power level of the spell current associated
with the object.


<ul><a name="set_spell">
set_spell</a><pre>
void set_spell(string word)
</pre></br>
This method sets the spell associated with the scroll.
<br/><ul>
<li><b>Parameters:</b>
<br/>word - the spells path

</dl>

<ul><a name="test_skill">
test_skill</a><pre>
int test_skill()
</pre></br>
This method tests the skill needed to cast the spell on the scroll.
<br/><ul>
<li><b>Returns:</b>
<br/>the skill needed to cast

</dl>


[an error occurred while processing this directive]

