resprites
No files matched your search
@@ -1178,7 +1178,7 @@ namespace CalamityMod.CalPlayer
|
||||
public bool omegaBlueTransformation;
|
||||
public bool omegaBlueTransformationForce;
|
||||
public bool omegaBlueTransformationPower;
|
||||
public bool redBow;
|
||||
public bool ghostBracelet;
|
||||
#endregion
|
||||
|
||||
#region Calamitas Enchant Effects
|
||||
@@ -2232,7 +2232,7 @@ namespace CalamityMod.CalPlayer
|
||||
omegaBlueTransformationPrevious = omegaBlueTransformation;
|
||||
omegaBlueTransformation = omegaBlueTransformationForce = omegaBlueTransformationPower = false;
|
||||
|
||||
redBow = false;
|
||||
ghostBracelet = false;
|
||||
|
||||
rageModeActive = false;
|
||||
adrenalineModeActive = false;
|
||||
@@ -4290,11 +4290,11 @@ namespace CalamityMod.CalPlayer
|
||||
profanedCrystalAnimCounter = new KeyValuePair<int, int>(0, 10);
|
||||
}
|
||||
|
||||
if (redBow)
|
||||
if (ghostBracelet)
|
||||
{
|
||||
Player.legs = EquipLoader.GetEquipSlot(Mod, "RedBow", EquipType.Legs);
|
||||
Player.body = EquipLoader.GetEquipSlot(Mod, "RedBow", EquipType.Body);
|
||||
Player.head = EquipLoader.GetEquipSlot(Mod, "RedBow", EquipType.Head);
|
||||
Player.legs = EquipLoader.GetEquipSlot(Mod, "GhostBracelet", EquipType.Legs);
|
||||
Player.body = EquipLoader.GetEquipSlot(Mod, "GhostBracelet", EquipType.Body);
|
||||
Player.head = EquipLoader.GetEquipSlot(Mod, "GhostBracelet", EquipType.Head);
|
||||
}
|
||||
|
||||
if (snowRuffianSet)
|
||||
|
||||
@@ -22,8 +22,8 @@ namespace CalamityMod.Items.Accessories
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 38;
|
||||
Item.height = 44;
|
||||
Item.width = 50;
|
||||
Item.height = 48;
|
||||
Item.value = CalamityGlobalItem.RarityLimeBuyPrice;
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
Item.defense = 8; // we buff Ankh Shield to 8
|
||||
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@@ -4,23 +4,22 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Accessories.Vanity
|
||||
{
|
||||
public class RedBow : ModItem, ILocalizedModType
|
||||
[LegacyName("RedBow")]
|
||||
public class GhostBracelet : ModItem, ILocalizedModType
|
||||
{
|
||||
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
public override void Load()
|
||||
{
|
||||
if (Main.netMode != NetmodeID.Server)
|
||||
{
|
||||
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Accessories/Vanity/Apelusa_Head", EquipType.Head, this);
|
||||
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Accessories/Vanity/Apelusa_Body", EquipType.Body, this);
|
||||
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Accessories/Vanity/Apelusa_Legs", EquipType.Legs, this);
|
||||
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Accessories/Vanity/Dandy_Head", EquipType.Head, this);
|
||||
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Accessories/Vanity/Dandy_Body", EquipType.Body, this);
|
||||
EquipLoader.AddEquipTexture(Mod, "CalamityMod/Items/Accessories/Vanity/Dandy_Legs", EquipType.Legs, this);
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
if (Main.netMode == NetmodeID.Server)
|
||||
return;
|
||||
|
||||
@@ -37,8 +36,8 @@ namespace CalamityMod.Items.Accessories.Vanity
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 30;
|
||||
Item.width = 42;
|
||||
Item.height = 38;
|
||||
Item.accessory = true;
|
||||
Item.value = CalamityGlobalItem.RarityGreenBuyPrice;
|
||||
Item.rare = ItemRarityID.Green;
|
||||
@@ -48,14 +47,14 @@ namespace CalamityMod.Items.Accessories.Vanity
|
||||
|
||||
public override void UpdateVanity(Player player)
|
||||
{
|
||||
player.Calamity().redBow = true;
|
||||
player.Calamity().ghostBracelet = true;
|
||||
}
|
||||
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
{
|
||||
if (!hideVisual)
|
||||
{
|
||||
player.Calamity().redBow = true;
|
||||
player.Calamity().ghostBracelet = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 919 B |
|
Before Width: | Height: | Size: 640 B |
@@ -90,15 +90,15 @@ namespace CalamityMod.Items.TreasureBags.MiscGrabBags
|
||||
};
|
||||
itemLoot.AddIf(getsHapuFruit, ModContent.ItemType<HapuFruit>());
|
||||
|
||||
// Apelusa dev item
|
||||
// Name specific: "Pelusa"
|
||||
static bool getsRedBow(DropAttemptInfo info)
|
||||
// Dandy dev item
|
||||
// Name specific: "Dandy"
|
||||
static bool getsGhostBracelet(DropAttemptInfo info)
|
||||
{
|
||||
string playerName = info.player.name;
|
||||
return playerName == "Pelusa";
|
||||
return playerName == "Dandy";
|
||||
}
|
||||
|
||||
itemLoot.AddIf(getsRedBow, ModContent.ItemType<RedBow>());
|
||||
itemLoot.AddIf(getsGhostBracelet, ModContent.ItemType<GhostBracelet>());
|
||||
|
||||
// Mishiro dev vanity
|
||||
// Name specific: "Amber" or "Mishiro"
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 74;
|
||||
Item.height = 86;
|
||||
Item.width = 86;
|
||||
Item.height = 98;
|
||||
Item.damage = 105;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = 22;
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -2027,9 +2027,9 @@ CrystalHeartVodka: {
|
||||
Tooltip: "'Tastes like strawberry cream liqueur (and estrogen)'"
|
||||
}
|
||||
|
||||
CocosFeather: {
|
||||
DisplayName: Coco's Feather
|
||||
Tooltip: ""
|
||||
GhostBracelet: {
|
||||
DisplayName: Ghost Bracelet
|
||||
Tooltip: Wow.... It looks at me with its hollow eyes full of curiosity
|
||||
}
|
||||
|
||||
HapuFruit: {
|
||||
@@ -2050,8 +2050,3 @@ Popo: {
|
||||
'Don't let the demons steal your nose'
|
||||
'''
|
||||
}
|
||||
|
||||
RedBow: {
|
||||
DisplayName: Red Bow
|
||||
Tooltip: "'Pelusa's favorite bow'"
|
||||
}
|
||||
@@ -14,13 +14,11 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
ProjectileID.Sets.TrailCacheLength[Projectile.type] = 5;
|
||||
ProjectileID.Sets.TrailingMode[Projectile.type] = 0;
|
||||
Main.projFrames[Projectile.type] = 5;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Projectile.width = 46;
|
||||
Projectile.height = 36;
|
||||
Projectile.width = Projectile.height = 24;
|
||||
Projectile.friendly = true;
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
Projectile.penetrate = 1;
|
||||
@@ -46,15 +44,6 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Projectile.alpha = 0;
|
||||
}
|
||||
|
||||
Projectile.frameCounter++;
|
||||
if (Projectile.frameCounter > 6)
|
||||
{
|
||||
Projectile.frame++;
|
||||
Projectile.frameCounter = 0;
|
||||
}
|
||||
if (Projectile.frame > 4)
|
||||
Projectile.frame = 0;
|
||||
|
||||
if (Projectile.ai[0] >= 0f && Projectile.ai[0] < 200f)
|
||||
{
|
||||
int npcTracker = (int)Projectile.ai[0];
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 549 B |