Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
54569759e1
8 files changed
+17
-14
No files matched your search
+2
-1
@@ -157,6 +157,7 @@ namespace CalamityMod
|
||||
public static List<int> angryBonesList;
|
||||
public static List<int> hornetList;
|
||||
public static List<int> mossHornetList;
|
||||
Mod thorium = ModLoader.GetMod("ThoriumMod");
|
||||
|
||||
#region Load
|
||||
public override void Load()
|
||||
@@ -189,7 +190,7 @@ namespace CalamityMod
|
||||
|
||||
SetupLists();
|
||||
SetupVanillaDR();
|
||||
SetupThoriumBossDR(ModLoader.GetMod("ThoriumMod"));
|
||||
SetupThoriumBossDR(thorium);
|
||||
|
||||
CalamityLocalization.AddLocalizations();
|
||||
}
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
projectile.tileCollide = false;
|
||||
projectile.penetrate = 1;
|
||||
projectile.timeLeft = 420;
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = -1;
|
||||
projectile.Calamity().rogue = true;
|
||||
cooldownSlot = 1;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
for (int i = 0; i < Main.npc.Length; i++)
|
||||
{
|
||||
NPC npc = Main.npc[i];
|
||||
if (!npc.friendly && !npc.townNPC && npc.active)
|
||||
if (!npc.friendly && !npc.townNPC && npc.active && !npc.dontTakeDamage && npc.chaseable)
|
||||
{
|
||||
float dist = (projectile.Center - npc.Center).Length();
|
||||
if (dist < minDist)
|
||||
|
||||
@@ -6,11 +6,11 @@ namespace CalamityMod.Walls
|
||||
{
|
||||
public class AstralDirtWall : ModWall
|
||||
{
|
||||
public override bool Autoload(ref string name, ref string texture)
|
||||
/*public override bool Autoload(ref string name, ref string texture)
|
||||
{
|
||||
mod.AddWall("AstralDirtWallUnsafe", this, texture);
|
||||
return base.Autoload(ref name, ref texture);
|
||||
}
|
||||
mod.AddWall("AstralDirtWallUnsafe",this, "CalamityMod/Walls/AstralD" );
|
||||
return true;
|
||||
}*/
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
@@ -6,11 +6,11 @@ namespace CalamityMod.Walls
|
||||
{
|
||||
public class AstralGrassWall : ModWall
|
||||
{
|
||||
public override bool Autoload(ref string name, ref string texture)
|
||||
/*public override bool Autoload(ref string name, ref string texture)
|
||||
{
|
||||
mod.AddWall("AstralGrassWallUnsafe", this, texture);
|
||||
return base.Autoload(ref name, ref texture);
|
||||
}
|
||||
}*/
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
@@ -6,11 +6,11 @@ namespace CalamityMod.Walls
|
||||
{
|
||||
public class AstralIceWall : ModWall
|
||||
{
|
||||
public override bool Autoload(ref string name, ref string texture)
|
||||
/*public override bool Autoload(ref string name, ref string texture)
|
||||
{
|
||||
mod.AddWall("AstralIceWallUnsafe", this, texture);
|
||||
return base.Autoload(ref name, ref texture);
|
||||
}
|
||||
}*/
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
@@ -6,11 +6,11 @@ namespace CalamityMod.Walls
|
||||
{
|
||||
public class AstralSandstoneWall : ModWall
|
||||
{
|
||||
public override bool Autoload(ref string name, ref string texture)
|
||||
/*public override bool Autoload(ref string name, ref string texture)
|
||||
{
|
||||
mod.AddWall("AstralSandstoneWallUnsafe", this, texture);
|
||||
return base.Autoload(ref name, ref texture);
|
||||
}
|
||||
}*/
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
@@ -6,11 +6,11 @@ namespace CalamityMod.Walls
|
||||
{
|
||||
public class AstralStoneWall : ModWall
|
||||
{
|
||||
public override bool Autoload(ref string name, ref string texture)
|
||||
/*public override bool Autoload(ref string name, ref string texture)
|
||||
{
|
||||
mod.AddWall("AstralStoneWallUnsafe", this, texture);
|
||||
return base.Autoload(ref name, ref texture);
|
||||
}
|
||||
}*/
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user