7 lines
1.9 KiB
HTML
7 lines
1.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/effect/proc_holder/spell - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="obj/effect/proc_holder/spell.html#proc">Proc Details</a></header><main><h1>spell <aside>/<a href="obj.html">obj</a>/<a href="obj/effect/proc_holder/spell.html">effect/proc_holder/spell</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/spells/spell.dm#L92"><img src="git.png" width="16" height="16" title="code/modules/spells/spell.dm 92"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="obj/effect/proc_holder/spell.html#proc/can_target">can_target</a></th><td>can_target: Checks if we are allowed to cast the spell on a target.</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/can_target"><aside class="declaration">proc </aside>can_target<aside>(/<a href="atom.html">atom</a>/target, /<a href="mob.html">mob</a>/user, silent) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/spells/spell.dm#L236"><img src="git.png" width="16" height="16" title="code/modules/spells/spell.dm 236"></a></aside></h3><p>can_target: Checks if we are allowed to cast the spell on a target.</p>
|
|
<p>Arguments:</p>
|
|
<ul>
|
|
<li>target The atom that is being targeted by the spell.</li>
|
|
<li>user The mob using the spell.</li>
|
|
<li>silent If the checks should not give any feedback messages.</li>
|
|
</ul></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |