Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
No files matched your search
@@ -0,0 +1,29 @@
|
||||
using CalamityMod.Tiles.Furniture;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Placeables.Furniture.Trophies
|
||||
{
|
||||
public class AquaticScourgeTrophy : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Aquatic Scourge 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 = 23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 516 B |
|
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 951 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -21,8 +21,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
item.useTurn = false;
|
||||
item.useAnimation = 15;
|
||||
item.useTime = 15;
|
||||
item.width = 30;
|
||||
item.height = 30;
|
||||
item.width = 28;
|
||||
item.height = 34;
|
||||
item.damage = 52;
|
||||
item.melee = true;
|
||||
item.knockBack = 6.5f;
|
||||
|
||||
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 604 B |
|
Before Width: | Height: | Size: 996 B After Width: | Height: | Size: 895 B |
@@ -3,6 +3,7 @@ using CalamityMod.Items.Accessories;
|
||||
using CalamityMod.Items.LoreItems;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables;
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using CalamityMod.Items.TreasureBags;
|
||||
using CalamityMod.Items.Weapons.Magic;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
@@ -147,8 +148,8 @@ namespace CalamityMod.NPCs.AquaticScourge
|
||||
DropHelper.DropBags(npc);
|
||||
|
||||
DropHelper.DropItem(npc, ItemID.GreaterHealingPotion, 8, 14);
|
||||
// there is no Aquatic Scourge trophy yet
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeAquaticScourge>(), true, !CalamityWorld.downedAquaticScourge);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<AquaticScourgeTrophy>(), 10);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeAquaticScourge>(), true, !CalamityWorld.downedAquaticScourge);
|
||||
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeSulphurSea>(), true, !CalamityWorld.downedAquaticScourge);
|
||||
DropHelper.DropResidentEvilAmmo(npc, CalamityWorld.downedAquaticScourge, 4, 2, 1);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.NPCs.CeaselessVoid
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Ceaseless Void");
|
||||
Main.npcFrameCount[npc.type] = 4;
|
||||
Main.npcFrameCount[npc.type] = 6;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 26 KiB |
@@ -97,7 +97,10 @@ namespace CalamityMod.Tiles.Furniture
|
||||
case 22:
|
||||
item = ModContent.ItemType<RavagerTrophy>();
|
||||
break;
|
||||
}
|
||||
case 23:
|
||||
item = ModContent.ItemType<AquaticScourgeTrophy>();
|
||||
break;
|
||||
}
|
||||
if (item > 0)
|
||||
{
|
||||
Item.NewItem(i * 16, j * 16, 48, 48, item);
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 24 KiB |