C# Class ExampleMod.NPCs.Abomination.CaptiveElement2

Inheritance: Terraria.ModLoader.ModNPC
Afficher le fichier Open project: bluemagic123/tModLoader

Private Properties

Свойство Type Description
CreateDust void
LookInDirection void
LookToPlayer void

Méthodes publiques

Méthode 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

Méthode Description
CreateDust ( ) : void
LookInDirection ( Vector2 look ) : void
LookToPlayer ( ) : void

Method Details

AI() public méthode

public AI ( ) : void
Résultat void

BossHeadSlot() public méthode

public BossHeadSlot ( int &index ) : void
index int
Résultat void

BossLoot() public méthode

public BossLoot ( string &name, int &potionType ) : void
name string
potionType int
Résultat void

CanHitPlayer() public méthode

public CanHitPlayer ( Player target, int &cooldownSlot ) : bool
target Terraria.Player
cooldownSlot int
Résultat bool

DrawHealthBar() public méthode

public DrawHealthBar ( byte hbPosition, float &scale, Vector2 &position ) : bool?
hbPosition byte
scale float
position Vector2
Résultat bool?

FindFrame() public méthode

public FindFrame ( int frameHeight ) : void
frameHeight int
Résultat void

GetColor() public méthode

public GetColor ( ) : Color?
Résultat Color?

GetDebuff() public méthode

public GetDebuff ( ) : int
Résultat int

GetDebuffTime() public méthode

public GetDebuffTime ( ) : int
Résultat int

HitEffect() public méthode

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
Résultat void

NPCLoot() public méthode

public NPCLoot ( ) : void
Résultat void

OnHitPlayer() public méthode

public OnHitPlayer ( Player player, int dmgDealt, bool crit ) : void
player Terraria.Player
dmgDealt int
crit bool
Résultat void

PreNPCLoot() public méthode

public PreNPCLoot ( ) : bool
Résultat bool

ScaleExpertStats() public méthode

public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
numPlayers int
bossLifeScale float
Résultat void

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void