C# 클래스 ExampleMod.NPCs.Abomination.CaptiveElement2

상속: Terraria.ModLoader.ModNPC
파일 보기 프로젝트 열기: bluemagic123/tModLoader

Private Properties

프로퍼티 타입 설명
CreateDust void
LookInDirection void
LookToPlayer void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CreateDust ( ) : void
LookInDirection ( Vector2 look ) : void
LookToPlayer ( ) : void

메소드 상세

AI() 공개 메소드

public AI ( ) : void
리턴 void

BossHeadSlot() 공개 메소드

public BossHeadSlot ( int &index ) : void
index int
리턴 void

BossLoot() 공개 메소드

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

CanHitPlayer() 공개 메소드

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

DrawHealthBar() 공개 메소드

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

FindFrame() 공개 메소드

public FindFrame ( int frameHeight ) : void
frameHeight int
리턴 void

GetColor() 공개 메소드

public GetColor ( ) : Color?
리턴 Color?

GetDebuff() 공개 메소드

public GetDebuff ( ) : int
리턴 int

GetDebuffTime() 공개 메소드

public GetDebuffTime ( ) : int
리턴 int

HitEffect() 공개 메소드

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
리턴 void

NPCLoot() 공개 메소드

public NPCLoot ( ) : void
리턴 void

OnHitPlayer() 공개 메소드

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

PreNPCLoot() 공개 메소드

public PreNPCLoot ( ) : bool
리턴 bool

ScaleExpertStats() 공개 메소드

public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
numPlayers int
bossLifeScale float
리턴 void

SetDefaults() 공개 메소드

public SetDefaults ( ) : void
리턴 void