Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
09c112f460
7 files changed
+37
-4
No files matched your search
@@ -2218,6 +2218,7 @@ namespace CalamityMod
|
||||
ModContent.ItemType<KnowledgeMechs>(),
|
||||
ModContent.ItemType<KnowledgeMoonLord>(),
|
||||
ModContent.ItemType<KnowledgeOcean>(),
|
||||
ModContent.ItemType<KnowledgeOldDuke>(),
|
||||
ModContent.ItemType<KnowledgePerforators>(),
|
||||
ModContent.ItemType<KnowledgePlaguebringerGoliath>(),
|
||||
ModContent.ItemType<KnowledgePlantera>(),
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
using CalamityMod.Tiles.Furniture;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.Furniture.Trophies
|
||||
{
|
||||
public class OldDukeTrophy : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Old Duke Trophy");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 30;
|
||||
item.height = 30;
|
||||
item.maxStack = 99;
|
||||
item.useTurn = true;
|
||||
item.autoReuse = true;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 10;
|
||||
item.useStyle = 1;
|
||||
item.consumable = true;
|
||||
item.value = 50000;
|
||||
item.rare = 1;
|
||||
item.createTile = ModContent.TileType<BossTrophy>();
|
||||
item.placeStyle = 24;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -472,8 +472,8 @@ namespace CalamityMod
|
||||
List<int> bosses = new List<int>() { NPCType<OldDuke>() };
|
||||
int summon = ItemType<BloodwormItem>();
|
||||
List<int> loot = new List<int>() { ItemType<OldDukeBag>(), ItemType<InsidiousImpaler>(), ItemType<SepticSkewer>(), ItemType<FetidEmesis>(), ItemType<VitriolicViper>(), ItemType<Miasma>(), ItemType<CadaverousCarrion>(), ItemType<ToxicantTwister>(), ItemType<DukeScales>(), ItemType<MutatedTruffle>(), ItemID.SuperHealingPotion };
|
||||
List<int> collection = new List<int>() { /*ItemType<OldDukeTrophy>(), */ItemType<OldDukeMask>(), ItemType<KnowledgeOldDuke>() };
|
||||
string instructions = $"Reach a high percentage in the post-Polterghast Acid Rain event or fish using a [i:{summon}] in the Sulphurous Sea";
|
||||
List<int> collection = new List<int>() { ItemType<OldDukeTrophy>(), ItemType<OldDukeMask>(), ItemType<KnowledgeOldDuke>() };
|
||||
string instructions = $"Defeat the Acid Rain event post-Polterghast or fish using a [i:{summon}] in the Sulphurous Sea";
|
||||
string despawn = CalamityUtils.ColorMessage("The old duke disappears amidst the acidic downpour.", new Color(0xF0, 0xE6, 0x8C));
|
||||
AddBoss(bossChecklist, calamity, "OldDuke", order, bosses, DownedBoomerDuke, summon, loot, collection, instructions, despawn);
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ namespace CalamityMod.NPCs.OldDuke
|
||||
{
|
||||
DropHelper.DropBags(npc);
|
||||
|
||||
//DropHelper.DropItemChance(npc, ModContent.ItemType<OldDukeTrophy>(), 10);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<OldDukeTrophy>(), 10);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeOldDuke>(), true, !CalamityWorld.downedBoomerDuke);
|
||||
DropHelper.DropResidentEvilAmmo(npc, CalamityWorld.downedBoomerDuke, 6, 3, 2);
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
projectile.velocity = Vector2.Normalize(new Vector2(projectile.ai[0], projectile.ai[1]) - projectile.Center) * 1.5f;
|
||||
|
||||
projectile.rotation += 0.1f * (float)(1D - (projectile.alpha / 255D));
|
||||
projectile.rotation -= 0.1f * (float)(1D - (projectile.alpha / 255D));
|
||||
|
||||
float lightAmt = 2f * projectile.scale;
|
||||
Lighting.AddLight(projectile.Center, lightAmt, lightAmt * 2f, lightAmt);
|
||||
|
||||
@@ -102,6 +102,9 @@ namespace CalamityMod.Tiles.Furniture
|
||||
case 23:
|
||||
item = ModContent.ItemType<AquaticScourgeTrophy>();
|
||||
break;
|
||||
case 24:
|
||||
item = ModContent.ItemType<OldDukeTrophy>();
|
||||
break;
|
||||
}
|
||||
if (item > 0)
|
||||
{
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 26 KiB |
Reference in new issue
Block a user