SSV requests
This commit is contained in:
1 parent
e46b1cc825
commit
4c2de24645
3 files changed
+10
-2
No files matched your search
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 397;
|
||||
Item.damage = 533;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 12;
|
||||
Item.width = 38;
|
||||
|
||||
@@ -9,6 +9,7 @@ using Terraria.Audio;
|
||||
using Terraria.Graphics.Shaders;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace CalamityMod.Projectiles.Magic
|
||||
{
|
||||
@@ -44,6 +45,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Projectile.DamageType = DamageClass.Magic;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 7;
|
||||
Projectile.hide = true;
|
||||
}
|
||||
|
||||
// Vanilla Terraria does not sync projectile scale by default.
|
||||
@@ -147,6 +149,12 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Owner.itemAnimation = 2;
|
||||
}
|
||||
|
||||
// Draw these vortices behind other projectiles to ensure that they do not obstruct SCal's projectiles.
|
||||
public override void DrawBehind(int index, List<int> behindNPCsAndTiles, List<int> behindNPCs, List<int> behindProjectiles, List<int> overPlayers, List<int> overWiresUI)
|
||||
{
|
||||
behindProjectiles.Add(index);
|
||||
}
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
{
|
||||
Main.spriteBatch.EnterShaderRegion(BlendState.Additive);
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
target.ExoDebuffs();
|
||||
}
|
||||
|
||||
// Draw these vortices behind other projectiles to ensure that it does not draw on top of the big vortex.
|
||||
// Draw these vortices behind other projectiles to ensure that they do not obstruct SCal's projectiles.
|
||||
public override void DrawBehind(int index, List<int> behindNPCsAndTiles, List<int> behindNPCs, List<int> behindProjectiles, List<int> overPlayers, List<int> overWiresUI)
|
||||
{
|
||||
behindProjectiles.Add(index);
|
||||
|
||||
Reference in new issue
Block a user