C# Class ACR_BuilderPlugin.CreatureHelper

Show file Open project: ALandFarAway/ALFA-Base-Resources Class Usage Examples

Public Methods

Method Description
CalcHitPointModsFromStats ( NWN2CreatureTemplate creature ) : int
CalcMaxHitpointsFromHitDice ( NWN2CreatureTemplate creature ) : int
GetHitPointsMax ( NWN2CreatureTemplate creature ) : short
GetHitPointsPNP ( NWN2CreatureTemplate creature ) : short
GetIsConstruct ( NWN2CreatureTemplate creature ) : bool
GetIsUndead ( NWN2CreatureTemplate creature ) : bool
SetCreatureBehaviorType ( NWN2CreatureTemplate creature, string behavior ) : void
SetCreatureHitPoints ( NWN2CreatureTemplate creature, HPType hpType ) : void

Method Details

CalcHitPointModsFromStats() public static method

public static CalcHitPointModsFromStats ( NWN2CreatureTemplate creature ) : int
creature NWN2CreatureTemplate
return int

CalcMaxHitpointsFromHitDice() public static method

public static CalcMaxHitpointsFromHitDice ( NWN2CreatureTemplate creature ) : int
creature NWN2CreatureTemplate
return int

GetHitPointsMax() public static method

public static GetHitPointsMax ( NWN2CreatureTemplate creature ) : short
creature NWN2CreatureTemplate
return short

GetHitPointsPNP() public static method

public static GetHitPointsPNP ( NWN2CreatureTemplate creature ) : short
creature NWN2CreatureTemplate
return short

GetIsConstruct() public static method

public static GetIsConstruct ( NWN2CreatureTemplate creature ) : bool
creature NWN2CreatureTemplate
return bool

GetIsUndead() public static method

public static GetIsUndead ( NWN2CreatureTemplate creature ) : bool
creature NWN2CreatureTemplate
return bool

SetCreatureBehaviorType() public static method

public static SetCreatureBehaviorType ( NWN2CreatureTemplate creature, string behavior ) : void
creature NWN2CreatureTemplate
behavior string
return void

SetCreatureHitPoints() public static method

public static SetCreatureHitPoints ( NWN2CreatureTemplate creature, HPType hpType ) : void
creature NWN2CreatureTemplate
hpType HPType
return void