forked from Mirrors/openclonk
35 lines
1.0 KiB
XML
35 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<func>
|
|
<title>SetPlrMagic</title>
|
|
<category>Player</category>
|
|
<version>5.1 OC</version>
|
|
<syntax>
|
|
<rtype>int</rtype>
|
|
<params>
|
|
<param>
|
|
<type>int</type>
|
|
<name>player</name>
|
|
<desc>Number of the player whose list of available spells you want to change.</desc>
|
|
</param>
|
|
<param>
|
|
<type>id</type>
|
|
<name>id</name>
|
|
<desc>ID of the spell.</desc>
|
|
</param>
|
|
<param>
|
|
<type>bool</type>
|
|
<name>remove</name>
|
|
<desc>Whether to remove the spell.</desc>
|
|
</param>
|
|
</params>
|
|
</syntax>
|
|
<desc>Adds or removes a magic spell to or from the list of available spells of a player.</desc>
|
|
<related><funclink>GetPlrMagic</funclink></related>
|
|
</func>
|
|
<author>Günther</author><date>2005-02</date>
|
|
</funcs>
|