added a glowmask to seeking scorcher
This commit is contained in:
1 parent
3c69c5bcec
commit
87cdba5fe9
1 file changed
+10
@@ -153,6 +153,16 @@ namespace CalamityMod.Projectiles.Melee
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
Texture2D texture = Main.projectileTexture[projectile.type];
|
||||
SpriteEffects spriteEffects = SpriteEffects.None;
|
||||
if (projectile.spriteDirection == -1)
|
||||
spriteEffects = SpriteEffects.FlipHorizontally;
|
||||
|
||||
spriteBatch.Draw(texture, projectile.Center - Main.screenPosition, new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, 0, texture.Width, texture.Height)), Color.White, projectile.rotation, texture.Size() / 2f, projectile.scale, spriteEffects, 0f);
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
//inflict Holy Flames for 6 seconds
|
||||
|
||||
Reference in new issue
Block a user