several changes based on #feedback
This commit is contained in:
1 parent
1e0dceb25b
commit
95fbaadb3e
5 files changed
+13
-13
No files matched your search
@@ -43,7 +43,7 @@ namespace CalamityMod.Items.Accessories
|
||||
if (player.ownedProjectileCounts[ModContent.ProjectileType<FungalClumpMinion>()] < 1)
|
||||
{
|
||||
var source = player.GetSource_Accessory(Item);
|
||||
int damage = (int)player.GetTotalDamage<SummonDamageClass>().ApplyTo(FungalClumpDamage);
|
||||
int damage = (int)player.GetBestClassDamage().ApplyTo(FungalClumpDamage);
|
||||
int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType<FungalClumpMinion>(), damage, 1f, player.whoAmI, 0f, 0f);
|
||||
if (Main.projectile.IndexInRange(p))
|
||||
Main.projectile[p].originalDamage = FungalClumpDamage;
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Localization
|
||||
new [] { "PlagueBossText", "PLAGUE NUKE BARRAGE ARMED, PREPARING FOR LAUNCH!!!" },
|
||||
new [] { "PlagueBossText2", "MISSILES LAUNCHED, TARGETING ROUTINE INITIATED!!!" },
|
||||
|
||||
new [] { "ProfanedBossText", "The air is burning..." },
|
||||
new [] { "ProfanedBossText", "Holy flames burn away at your wings..." },
|
||||
new [] { "ProfanedBossText2", "Shrieks are echoing from the dungeon." },
|
||||
new [] { "ProfanedBossText3", "The calamitous beings have been inundated with bloodstone." },
|
||||
new [] { "ProfanedBossText4", "The Profaned Goddess has recognised your devotion to purity!" },
|
||||
@@ -216,6 +216,8 @@ namespace CalamityMod.Localization
|
||||
new [] { "CometShardText", "You have already used a Comet Shard. Using more would make you nauseous." },
|
||||
new [] { "EtherealCoreText", "You have already used an Ethereal Core. It's best to not use more than you are able to." },
|
||||
new [] { "PhantomHeartText", "You have already used a Phantom Heart. It's probably good that you can't use another." },
|
||||
|
||||
new [] { "SlimeGodRun", "The Slime God flees to fight another day..." },
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -235,6 +235,15 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
Main.dust[num624].velocity *= 2f;
|
||||
}
|
||||
|
||||
// Let the player know that the Slime God isn't dead fr
|
||||
if (!DownedBossSystem.downedSlimeGod)
|
||||
{
|
||||
string key = "Mods.CalamityMod.SlimeGodRun";
|
||||
Color messageColor = Color.Magenta;
|
||||
|
||||
CalamityUtils.DisplayLocalizedText(key, messageColor);
|
||||
}
|
||||
|
||||
NPC.active = false;
|
||||
NPC.HitEffect();
|
||||
NPC.NPCLoot();
|
||||
|
||||
@@ -23,16 +23,6 @@ namespace CalamityMod.Projectiles.Healing
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (Projectile.localAI[0] == 0f)
|
||||
{
|
||||
Player player = Main.player[Projectile.owner];
|
||||
Item item = player.ActiveItem();
|
||||
bool summonNotWhip = item.CountsAsClass<SummonDamageClass>() && !item.CountsAsClass<SummonMeleeSpeedDamageClass>();
|
||||
if (summonNotWhip || item.hammer > 0 || item.pick > 0 || item.axe > 0)
|
||||
Projectile.timeLeft = 600;
|
||||
Projectile.localAI[0] += 1f;
|
||||
}
|
||||
|
||||
Projectile.HealingProjectile((int)Projectile.ai[1], (int)Projectile.ai[0], 5f, 15f);
|
||||
float num494 = Projectile.velocity.X * 0.334f;
|
||||
float num495 = -(Projectile.velocity.Y * 0.334f);
|
||||
|
||||
@@ -34,7 +34,6 @@ namespace CalamityMod.Projectiles.Summon
|
||||
Projectile.timeLeft *= 5;
|
||||
Projectile.minion = true;
|
||||
Projectile.tileCollide = false;
|
||||
Projectile.DamageType = DamageClass.Summon;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
Reference in new issue
Block a user