Updated some TODOs to be other types
This commit is contained in:
1 parent
91244772da
commit
501b2d3567
14 files changed
+27
-27
No files matched your search
@@ -4959,7 +4959,7 @@ namespace CalamityMod.CalPlayer
|
||||
player.npcTypeNoAggro[ModContent.NPCType<PerennialSlime>()] = true;
|
||||
player.npcTypeNoAggro[ModContent.NPCType<PlaguedJungleSlime>()] = true;
|
||||
player.npcTypeNoAggro[ModContent.NPCType<AstralSlime>()] = true;
|
||||
// TODO -- When Wulfrum Slimes start being definitely robots, remove this immunity.
|
||||
// LATER -- When Wulfrum Slimes start being definitely robots, remove this immunity.
|
||||
player.npcTypeNoAggro[ModContent.NPCType<WulfrumSlime>()] = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Ammo.FiniteUse
|
||||
item.rare = 8;
|
||||
item.shoot = ModContent.ProjectileType<ExplosiveShotgunShell>();
|
||||
item.shootSpeed = 12f;
|
||||
item.ammo = ModContent.ItemType<ExplosiveShells>(); // TODO -- would item.type work here
|
||||
item.ammo = ModContent.ItemType<ExplosiveShells>(); // CONSIDER -- Would item.type work here instead of a self reference?
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Ammo.FiniteUse
|
||||
item.rare = 8;
|
||||
item.shoot = ModContent.ProjectileType<GrenadeRound>();
|
||||
item.shootSpeed = 12f;
|
||||
item.ammo = ModContent.ItemType<GrenadeRounds>(); // TODO -- would item.type work here
|
||||
item.ammo = ModContent.ItemType<GrenadeRounds>(); // CONSIDER -- Would item.type work here instead of a self reference?
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Ammo.FiniteUse
|
||||
item.rare = 8;
|
||||
item.shoot = ModContent.ProjectileType<MagnumRound>();
|
||||
item.shootSpeed = 12f;
|
||||
item.ammo = ModContent.ItemType<MagnumRounds>(); // TODO -- would item.type work here
|
||||
item.ammo = ModContent.ItemType<MagnumRounds>(); // CONSIDER -- Would item.type work here instead of a self reference?
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -34,7 +34,7 @@ namespace CalamityMod.Items
|
||||
return true;
|
||||
}
|
||||
|
||||
// TODO -- Make Super Dummies work in multiplayer by spawning correctly.
|
||||
// DEFECT -- Make Super Dummies work in multiplayer by spawning correctly.
|
||||
public override bool UseItem(Player player)
|
||||
{
|
||||
if (player.altFunctionUse == 2)
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
crit = false;
|
||||
}
|
||||
|
||||
// TODO -- Providence specifically is immune to Coldheart Icicle. There is probably a better way to do this
|
||||
// LATER -- Providence specifically is immune to Coldheart Icicle. There is probably a better way to do this
|
||||
public override void ModifyHitNPC(Player player, NPC target, ref int damage, ref float knockBack, ref bool crit)
|
||||
{
|
||||
damage = 1;
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Main.PlaySound(2, (int)player.position.X, (int)player.position.Y, 14);
|
||||
|
||||
// TODO -- HiveBombExplosion doesn't exist. Is it supposed to?
|
||||
// DEFECT -- HiveBombExplosion does not exist.
|
||||
// Projectile.NewProjectile(target.Center.X, target.Center.Y, 0f, 0f, ModContent.ProjectileType<HiveBombExplosion>(), (int)((float)item.damage * player.meleeDamage), knockback, Main.myPlayer);
|
||||
|
||||
for (int num621 = 0; num621 < 30; num621++)
|
||||
|
||||
+12
-12
@@ -445,7 +445,7 @@ namespace CalamityMod
|
||||
|
||||
setBonus = setBonus.ToLower();
|
||||
|
||||
// TODO -- no summon set bonuses are written well. all use two bools, neither of which actually controls the function
|
||||
// LATER -- no summon set bonuses are written well. all use two bools, neither of which actually controls the function
|
||||
|
||||
// Victide
|
||||
if (setBonus == "victide_summon" || setBonus == "victide summon")
|
||||
@@ -682,7 +682,7 @@ namespace CalamityMod
|
||||
if (setBonus == "victide_summon" || setBonus == "victide summon")
|
||||
{
|
||||
mp.victideSet = enabled;
|
||||
mp.urchin = enabled; // TODO -- remove this when player.urchin actually controls victide summoner
|
||||
mp.urchin = enabled; // LATER -- remove this when player.urchin actually controls victide summoner
|
||||
return true;
|
||||
}
|
||||
else if (setBonus == "victide" || setBonus.StartsWith("victide_") || setBonus.StartsWith("victide "))
|
||||
@@ -695,7 +695,7 @@ namespace CalamityMod
|
||||
if (setBonus == "aerospec_summon" || setBonus == "aerospec summon")
|
||||
{
|
||||
mp.aeroSet = enabled;
|
||||
mp.valkyrie = enabled; // TODO -- remove this when player.valkyrie actually controls aerospec summoner
|
||||
mp.valkyrie = enabled; // LATER -- remove this when player.valkyrie actually controls aerospec summoner
|
||||
return true;
|
||||
}
|
||||
else if (setBonus == "aerospec" || setBonus.StartsWith("aerospec_") || setBonus.StartsWith("aerospec "))
|
||||
@@ -708,7 +708,7 @@ namespace CalamityMod
|
||||
if (setBonus == "statigel_summon" || setBonus == "statigel summon")
|
||||
{
|
||||
mp.statigelSet = enabled;
|
||||
mp.slimeGod = enabled; // TODO -- remove this when player.slimeGod actually controls statigel summoner
|
||||
mp.slimeGod = enabled; // LATER -- remove this when player.slimeGod actually controls statigel summoner
|
||||
return true;
|
||||
}
|
||||
else if (setBonus == "statigel" || setBonus.StartsWith("statigel_") || setBonus.StartsWith("statigel "))
|
||||
@@ -743,7 +743,7 @@ namespace CalamityMod
|
||||
return true;
|
||||
case "daedalus_summon":
|
||||
case "daedalus summon":
|
||||
mp.daedalusCrystal = enabled; // TODO -- remove this when player.daedalusCrystal actually controls daedalus summoner
|
||||
mp.daedalusCrystal = enabled; // LATER -- remove this when player.daedalusCrystal actually controls daedalus summoner
|
||||
return true;
|
||||
case "daedalus_rogue":
|
||||
case "daedalus rogue":
|
||||
@@ -770,7 +770,7 @@ namespace CalamityMod
|
||||
return true;
|
||||
case "reaver_summon":
|
||||
case "reaver summon":
|
||||
mp.reaverOrb = enabled; // TODO -- remove this when player.reaverOrb actually controls reaver summoner
|
||||
mp.reaverOrb = enabled; // LATER -- remove this when player.reaverOrb actually controls reaver summoner
|
||||
return true;
|
||||
case "reaver_rogue":
|
||||
case "reaver rogue":
|
||||
@@ -804,7 +804,7 @@ namespace CalamityMod
|
||||
case "ataxia_summon":
|
||||
case "ataxia summon":
|
||||
mp.ataxiaBlaze = enabled;
|
||||
mp.chaosSpirit = enabled; // TODO -- remove this when player.chaosSpirit actually controls ataxia summoner
|
||||
mp.chaosSpirit = enabled; // LATER -- remove this when player.chaosSpirit actually controls ataxia summoner
|
||||
return true;
|
||||
case "ataxia_rogue":
|
||||
case "ataxia rogue":
|
||||
@@ -853,7 +853,7 @@ namespace CalamityMod
|
||||
case "tarragon_summon":
|
||||
case "tarragon summon":
|
||||
mp.tarraSet = enabled;
|
||||
mp.tarraSummon = enabled; // TODO -- remove this when player.tarraSummon actually controls life aura
|
||||
mp.tarraSummon = enabled; // LATER -- remove this when player.tarraSummon actually controls life aura
|
||||
return true;
|
||||
case "tarragon_rogue":
|
||||
case "tarragon rogue":
|
||||
@@ -888,7 +888,7 @@ namespace CalamityMod
|
||||
case "bloodflare_summon":
|
||||
case "bloodflare summon":
|
||||
mp.bloodflareSet = enabled;
|
||||
mp.bloodflareSummon = enabled; // TODO -- remove this when player.bloodflareSummon actually controls bloodflare orbs
|
||||
mp.bloodflareSummon = enabled; // LATER -- remove this when player.bloodflareSummon actually controls bloodflare orbs
|
||||
return true;
|
||||
case "bloodflare_rogue":
|
||||
case "bloodflare rogue":
|
||||
@@ -935,7 +935,7 @@ namespace CalamityMod
|
||||
case "godslayer summon":
|
||||
case "god slayer summon":
|
||||
mp.godSlayer = enabled;
|
||||
mp.godSlayerSummon = enabled; // TODO -- remove this when player.godSlayerSummon actually controls mechworm
|
||||
mp.godSlayerSummon = enabled; // LATER -- remove this when player.godSlayerSummon actually controls mechworm
|
||||
return true;
|
||||
case "godslayer_rogue":
|
||||
case "godslayer rogue":
|
||||
@@ -971,7 +971,7 @@ namespace CalamityMod
|
||||
case "silva_summon":
|
||||
case "silva summon":
|
||||
mp.silvaSet = enabled;
|
||||
mp.silvaSummon = enabled; // TODO -- remove this when player.silvaSummon actually controls silva crystal
|
||||
mp.silvaSummon = enabled; // LATER -- remove this when player.silvaSummon actually controls silva crystal
|
||||
return true;
|
||||
case "silva_rogue":
|
||||
case "silva rogue":
|
||||
@@ -1075,7 +1075,7 @@ namespace CalamityMod
|
||||
if (setBonus == "demonshade")
|
||||
{
|
||||
mp.dsSetBonus = enabled;
|
||||
mp.rDevil = enabled; // TODO -- remove this when player.rDevil controls demonshade summoned minion
|
||||
mp.rDevil = enabled; // LATER -- remove this when player.rDevil controls demonshade summoned minion
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -701,7 +701,7 @@ namespace CalamityMod.NPCs
|
||||
{
|
||||
ResetAdrenaline(npc);
|
||||
|
||||
// TODO -- this could be abused to have Draedon Mayhem effects active nigh indefinitely or in all sorts of weird conditions
|
||||
// LATER -- keeping bosses alive lets draedon mayhem continue even after killing mechs
|
||||
// Reset Draedon Mayhem to false if no bosses are alive
|
||||
if (CalamityGlobalNPC.DraedonMayhem)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Main.PlaySound(2, (int)target.position.X, (int)target.position.Y, 14);
|
||||
if (projectile.owner == Main.myPlayer)
|
||||
{
|
||||
// TODO -- HiveBombExplosion does not exist.
|
||||
// DEFECT -- HiveBombExplosion does not exist.
|
||||
// Projectile.NewProjectile(target.Center.X, target.Center.Y, projectile.velocity.X * 0f, projectile.velocity.Y * 0f, ModContent.ProjectileType<HiveBombExplosion>(), projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
}
|
||||
projectile.position.X = projectile.position.X + (float)(projectile.width / 2);
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
{
|
||||
// TODO -- HiveExplosion does not exist.
|
||||
// DEFECT -- HiveExplosion does not exist.
|
||||
// int explode = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<HiveExplosion>(), projectile.damage / 4, projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
// Main.projectile[explode].penetrate = 1;
|
||||
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 62);
|
||||
@@ -144,7 +144,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
// TODO -- HiveExplosion does not exist.
|
||||
// DEFECT -- HiveExplosion does not exist.
|
||||
// int explode = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<HiveExplosion>(), projectile.damage / 4, projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
// Main.projectile[explode].penetrate = 1;
|
||||
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 62);
|
||||
@@ -177,7 +177,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
target.immune[projectile.owner] = 2;
|
||||
// TODO -- HiveExplosion does not exist.
|
||||
// DEFECT -- HiveExplosion does not exist.
|
||||
// int explode = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<HiveExplosion>(), projectile.damage / 4, projectile.knockBack, projectile.owner, 0f, 0f);
|
||||
// Main.projectile[explode].penetrate = 1;
|
||||
projectile.position.X = projectile.position.X + (float)(projectile.width / 2);
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 27);
|
||||
// TODO -- BoltExplosion does not exist.
|
||||
// DEFECT -- BoltExplosion does not exist.
|
||||
// Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<BoltExplosion>(), (int)((double)projectile.damage * 0.5), 0f, projectile.owner, 0f, 0f);
|
||||
int num212 = Main.rand.Next(10, 20);
|
||||
for (int num213 = 0; num213 < num212; num213++)
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
}
|
||||
|
||||
// TODO -- Vanquisher Arrow projectile glowmask doesn't work.
|
||||
// DEFECT -- Vanquisher Arrow projectile glowmask doesn't work.
|
||||
/*
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
}
|
||||
}
|
||||
|
||||
// TODO -- Vanquisher Arrow duplicate projectile glow doesn't work.
|
||||
// DEFECT -- Vanquisher Arrow duplicate projectile glow doesn't work.
|
||||
/*
|
||||
public override void PostDraw(SpriteBatch spriteBatch, Color lightColor)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user