C# Class ExampleMod.NPCs.Abomination.CaptiveElement2

Inheritance: Terraria.ModLoader.ModNPC
Mostrar archivo Open project: bluemagic123/tModLoader

Private Properties

Property Type Description
CreateDust void
LookInDirection void
LookToPlayer void

Public Methods

Method Description
AI ( ) : void
BossHeadSlot ( int &index ) : void
BossLoot ( string &name, int &potionType ) : void
CanHitPlayer ( Player target, int &cooldownSlot ) : bool
DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool?
FindFrame ( int frameHeight ) : void
GetColor ( ) : Color?
GetDebuff ( ) : int
GetDebuffTime ( ) : int
HitEffect ( int hitDirection, double damage ) : void
NPCLoot ( ) : void
OnHitPlayer ( Player player, int dmgDealt, bool crit ) : void
PreNPCLoot ( ) : bool
ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
SetDefaults ( ) : void

Private Methods

Method Description
CreateDust ( ) : void
LookInDirection ( Vector2 look ) : void
LookToPlayer ( ) : void

Method Details

AI() public method

public AI ( ) : void
return void

BossHeadSlot() public method

public BossHeadSlot ( int &index ) : void
index int
return void

BossLoot() public method

public BossLoot ( string &name, int &potionType ) : void
name string
potionType int
return void

CanHitPlayer() public method

public CanHitPlayer ( Player target, int &cooldownSlot ) : bool
target Terraria.Player
cooldownSlot int
return bool

DrawHealthBar() public method

public DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool?
hbPosition byte
scale float
position Vector2
return bool?

FindFrame() public method

public FindFrame ( int frameHeight ) : void
frameHeight int
return void

GetColor() public method

public GetColor ( ) : Color?
return Color?

GetDebuff() public method

public GetDebuff ( ) : int
return int

GetDebuffTime() public method

public GetDebuffTime ( ) : int
return int

HitEffect() public method

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
return void

NPCLoot() public method

public NPCLoot ( ) : void
return void

OnHitPlayer() public method

public OnHitPlayer ( Player player, int dmgDealt, bool crit ) : void
player Terraria.Player
dmgDealt int
crit bool
return void

PreNPCLoot() public method

public PreNPCLoot ( ) : bool
return bool

ScaleExpertStats() public method

public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
numPlayers int
bossLifeScale float
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void