Baby Slime God -> Paladin
This commit is contained in:
1 parent
a5a44fb77d
commit
d2448bb2df
6 files changed
+8
-8
No files matched your search
@@ -3,7 +3,7 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Buffs.Summon
|
||||
{
|
||||
public class BabySlimeGodBuff : BaseSummonBuff
|
||||
public class BabyPaladinBuff : BaseSummonBuff
|
||||
{
|
||||
protected override int MinionProjectileType => ModContent.ProjectileType<StatigelBlightedSlime>();
|
||||
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 486 B |
@@ -47,8 +47,8 @@ namespace CalamityMod.Items.Armor.Statigel
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
var source = player.GetSource_Accessory(Item);
|
||||
if (player.FindBuffIndex(ModContent.BuffType<BabySlimeGodBuff>()) == -1)
|
||||
player.AddBuff(ModContent.BuffType<BabySlimeGodBuff>(), 3600, true);
|
||||
if (player.FindBuffIndex(ModContent.BuffType<BabyPaladinBuff>()) == -1)
|
||||
player.AddBuff(ModContent.BuffType<BabyPaladinBuff>(), 3600, true);
|
||||
|
||||
int minionID = -1;
|
||||
int minionDamage = (int)player.GetTotalDamage<SummonDamageClass>().ApplyTo(SlimeDamage);
|
||||
|
||||
@@ -1274,9 +1274,9 @@ BabyBloodCrawlerBuff: {
|
||||
Description: The baby blood crawler will protect you
|
||||
}
|
||||
|
||||
BabySlimeGodBuff: {
|
||||
DisplayName: Baby Slime God
|
||||
Description: The Slime God will protect you
|
||||
BabyPaladinBuff: {
|
||||
DisplayName: Baby Paladin
|
||||
Description: The blighted paladin will protect you
|
||||
}
|
||||
|
||||
BabyStormlionBuff: {
|
||||
|
||||
@@ -279,7 +279,7 @@ SquirrelSquireAcorn.DisplayName: Squirrel Acorn
|
||||
SquirrelSquireMinion.DisplayName: Squirrel Squire
|
||||
Starforge.DisplayName: Starforge
|
||||
StarforgeBlast.DisplayName: Starforge Blast
|
||||
StatigelBlightedSlime.DisplayName: Slime God
|
||||
StatigelBlightedSlime.DisplayName: Blighted Paladin
|
||||
StellarTorusBeam.DisplayName: Stellar Torus Beam
|
||||
StellarTorusSummon.DisplayName: Stellar Torus Summon
|
||||
StormjawBaby.DisplayName: Stormjaw Baby
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
dust += 1f;
|
||||
}
|
||||
bool isMinion = Projectile.type == ModContent.ProjectileType<StatigelBlightedSlime>();
|
||||
player.AddBuff(ModContent.BuffType<BabySlimeGodBuff>(), 3600);
|
||||
player.AddBuff(ModContent.BuffType<BabyPaladinBuff>(), 3600);
|
||||
if (!modPlayer.slimeGod)
|
||||
{
|
||||
Projectile.active = false;
|
||||
|
||||
Reference in new issue
Block a user