<div class='api-docs-breadcrumbs'><a href="test/index">test</a> / <a href="test/magic">magic</a></div>
<h1>magic</h1>
<div class="overload-group"><a name="$magic(kotlin.String)"></a>
<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.String)/spell">spell</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
<h3>Parameters</h3>
<p><a name="spell"></a>
<code>spell</code> - The text of spell, often distributed on scrolls</p>
<p><strong>Return</strong> Spell ID for future casts</p>
</div>
<div class="overload-group"><a name="$magic(kotlin.Int)"></a>
<div class="signature"><code><span class="keyword">fun </span><span class="identifier">magic</span><span class="symbol">(</span><span class="parameterName" id="$magic(kotlin.Int)/spell">spell</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
<h3>Parameters</h3>
<p><a name="spell"></a>
<code>spell</code> - Spell ID of previously casted spell</p>
<p><strong>Return</strong> Spell ID for future casts</p>
</div>