oops
This commit is contained in:
1 parent
62b55d0985
commit
00e4dcf033
2 files changed
+3
No files matched your search
@@ -55,6 +55,7 @@ using CalamityMod.NPCs.PlagueEnemies;
|
||||
using CalamityMod.NPCs.TownNPCs;
|
||||
using CalamityMod.Packets;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Projectiles.Mage;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Projectiles.Melee;
|
||||
using CalamityMod.Projectiles.Pets;
|
||||
|
||||
@@ -142,6 +142,8 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Vector2 drawPosition = player.Center - Main.screenPosition + Vector2.UnitY * -67f;
|
||||
Vector2 origin = texture.Size() * 0.5f;
|
||||
|
||||
|
||||
Main.EntitySpriteDraw(texture, drawPosition, null, Projectile.GetAlpha(lightColor) * (visuals ? 1f : 0.5f), Projectile.rotation, origin, Projectile.scale, SpriteEffects.None, 0);
|
||||
if (visuals)
|
||||
{
|
||||
float fade = Utils.GetLerpValue(0, modPlayer.fleshTotemManaStorage, FleshTotem.manaStorageMax, true);
|
||||
|
||||
Reference in new issue
Block a user