C# Class ExampleMod.Projectiles.ElementShield

Inheritance: Terraria.ModLoader.ModProjectile
Exibir arquivo Open project: bluemagic123/tModLoader

Public Methods

Method Description
AI ( ) : void
GetAlpha ( Color lightColor ) : Color?
GetDebuff ( ) : int
GetDebuffTime ( ) : int
GetName ( ) : string
LightColor ( ) : void
OnHitNPC ( Terraria.NPC target, int damage, float knockback, bool crit ) : void
OnHitPvp ( Player target, int damage, bool crit ) : void
SetDefaults ( ) : void

Method Details

AI() public method

public AI ( ) : void
return void

GetAlpha() public method

public GetAlpha ( Color lightColor ) : Color?
lightColor Color
return Color?

GetDebuff() public method

public GetDebuff ( ) : int
return int

GetDebuffTime() public method

public GetDebuffTime ( ) : int
return int

GetName() public method

public GetName ( ) : string
return string

LightColor() public method

public LightColor ( ) : void
return void

OnHitNPC() public method

public OnHitNPC ( Terraria.NPC target, int damage, float knockback, bool crit ) : void
target Terraria.NPC
damage int
knockback float
crit bool
return void

OnHitPvp() public method

public OnHitPvp ( Player target, int damage, bool crit ) : void
target Terraria.Player
damage int
crit bool
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void