Difference between revisions of "SetCreatureMaxMana"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fix missing parameter)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetCreatureMaxMana
 
|name=SetCreatureMaxMana
Line 8: Line 7:
 
|param2type=int
 
|param2type=int
 
|param2name=nMaxMana
 
|param2name=nMaxMana
|param2desc=
+
|param2desc=the maximum mana the creature should have
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=

Latest revision as of 00:28, 20 February 2010

Sets the max mana of a creature

void SetCreatureMaxMana(
object oCreature,
int nMaxMana
);
Parameters:
oCreature
the creature whose mana we set
nMaxMana
the maximum mana the creature should have
Returns:

Nothing.

Source:

script.ldf

Description

Sets the max mana of a creature