Big fucken tooltip thing, and a celestial reaper fix

This commit is contained in:
Shucks committed 2019-11-09 18:46:21 -06:00
1 parent 90a2ae859e
commit cda2dbfbe4
37 files changed
+47 -25

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ namespace CalamityMod.Items.Armor
"Taking over 25 damage in one hit will cause a spread of homing feathers to fall\n" +
"Allows you to fall more quickly and disables fall damage\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 100\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
CalamityPlayer modPlayer = player.Calamity();
+1
View File
@@ -43,6 +43,7 @@ namespace CalamityMod.Items.Armor
"Rogue weapons have a 10% chance to unleash a volley of chaos flames around the player that chase enemies when used\n" +
"You have a 20% chance to emit a blazing explosion when you are hit\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 120\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
CalamityPlayer modPlayer = player.Calamity();
+1
View File
@@ -44,6 +44,7 @@ namespace CalamityMod.Items.Armor
"Max run speed and acceleration boosted by 10%\n" +
"Rogue weapon critical strikes will do 1.25 times damage while you are above 50% HP\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 160\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
CalamityPlayer modPlayer = player.Calamity();
+1
View File
@@ -50,6 +50,7 @@ namespace CalamityMod.Items.Armor
"Being below 80% life boosts your rogue damage by 10%\n" +
"Rogue critical strikes have a 50% chance to heal you\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 135\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
player.crimsonRegen = true;
+1
View File
@@ -47,6 +47,7 @@ namespace CalamityMod.Items.Armor
player.setBonus = "5% increased rogue damage\n" +
"Rogue projectiles throw out crystal shards as they travel\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 110\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
CalamityPlayer modPlayer = player.Calamity();
+1
View File
@@ -47,6 +47,7 @@ namespace CalamityMod.Items.Armor
"While at full HP all of your rogue stats are boosted by 10%\n" +
"If you take over 80 damage in one hit you will be given extra immunity frames\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 140\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
}
+1
View File
@@ -44,6 +44,7 @@ namespace CalamityMod.Items.Armor
player.setBonus = "5% increased rogue damage\n" +
"You emit a cloud of spores when you are hit\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 115\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
player.Calamity().throwingDamage += 0.05f;
+1
View File
@@ -52,6 +52,7 @@ namespace CalamityMod.Items.Armor
"Rogue weapons have a faster throwing rate while you are above 50% life\n" +
"After the silva invulnerability time your rogue weapons will do 10% more damage\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 150\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
}
+1
View File
@@ -35,6 +35,7 @@ namespace CalamityMod.Items.Armor
player.setBonus = "When you take over 100 damage in one hit you become immune to damage for an extended period of time\n" +
"Grants an extra jump and increased jump height\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 105\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
CalamityPlayer modPlayer = player.Calamity();
+1
View File
@@ -52,6 +52,7 @@ namespace CalamityMod.Items.Armor
"This effect can only occur once every 30 seconds\n" +
"While under the effects of a debuff you gain 10% increased rogue damage\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 130\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
}
+1
View File
@@ -36,6 +36,7 @@ namespace CalamityMod.Items.Armor
"This seashell does true damage and does not benefit from any damage class\n" +
"Slightly reduces breath loss in the abyss\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 100\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
CalamityPlayer modPlayer = player.Calamity();
+1
View File
@@ -35,6 +35,7 @@ namespace CalamityMod.Items.Armor
player.setBonus = "+3 defense\n" +
"+5 defense when below 50% life\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 50\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
player.statDefense += 3; //9
+1
View File
@@ -46,6 +46,7 @@ namespace CalamityMod.Items.Armor
"All projectile types have special effects on enemy hits\n" +
"Imbued with cosmic wrath and rage when you are damaged\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 125\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
if (player.statLife <= (int)((double)player.statLifeMax2 * 0.5))
+2
View File
@@ -1697,6 +1697,7 @@ namespace CalamityMod.Items
player.setBonus = "+5 defense\n" +
"10% increased rogue damage and velocity\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 100\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
}
@@ -1714,6 +1715,7 @@ namespace CalamityMod.Items
"5% increased rogue damage and critical strike chance\n" +
"Grants immunity to fire blocks and temporary immunity to lava\n" +
"Rogue stealth builds while not attacking and not moving, up to a max of 100\n" +
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
}
+2 -1
View File
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Blast Barrel");
Tooltip.SetDefault("Throws a rolling barrel that explodes on wall collision\n" +
"Stealth Strike Effect: Bounces three times instead of dying. Various effects occur the more it bounces");
"Stealth strikes makes the barrel bounce twice before dissapearing with varied effects after each bounce\n" +
"'Some people used to jump over these'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Blazing Star");
Tooltip.SetDefault("Stacks up to 3\n" +
"Stealth Strike Effect: Releases all stars at once with infinite piercing");
"Stealth strikes releases all stars at once with infinite piercing");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Bloodsoaked Crasher");
Tooltip.SetDefault("Slows down when hitting an enemy. Speeds up otherwise\n" +
"Heals on enemy hits\n" +
"Stealth strikes spawn homing blood on enemy hits");
"Stealth strikes spawns homing blood on enemy hits");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Bouncing Betty");
Tooltip.SetDefault("Throws a grenade which bounces after exploding\n" +
"Stealth Strike Effect: Explodes into a violent blast of fire and shrapnel on bounce");
"Stealth strikes explode into a violent blast of fire and shrapnel when it bounces");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Bouncing Eyeball");
Tooltip.SetDefault("Throws an eyeball that bounces off of surfaces.\n" +
"Knockback is much stronger during a blood moon\n" +
"Stealth Strike Effect: Eyeballs move much faster and bounce more energetically");
"Stealth strikes causes the eyeballs to move much faster and bounce more energetically");
}
public override void SafeSetDefaults()
{
+2 -3
View File
@@ -13,9 +13,8 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Celestial Reaper");
Tooltip.SetDefault("Throws a fast homing scythe\n" +
"The scythe can hit an enemy six times\n" +
"On hitting an enemy, the scythe will bounce backwards from the enemy\n" +
"Stealth Strike Effect: Scythe creates damaging afterimages");
"The scythe will bounce after hitting an enemy up to six times\n" +
"Stealth strikes creates damaging afterimages");
}
public override void SafeSetDefaults()
+2 -1
View File
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Consecrated Water");
Tooltip.SetDefault("Throws a holy flask of water that explodes into a sacred flame pillar on death\n" +
"The pillar is destroyed if there's no tiles below it\n" +
"Stealth Strike Effect: Creates three flame pillars instead of one on death");
"Stealth strikes creates three flame pillars instead of one on impact\n" +
"'The bottle is surprisingly dusty'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Eclipse's Fall");
Tooltip.SetDefault("When the sun goes dark, you will know judgment\n" +
"Summons spears from the sky on hit\n" +
"Stealth strikes impale enemies and summon a constant barrage of spears");
"Stealth strikes impale enemies and summon a constant barrage of spears over time");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Enchanted Axe");
Tooltip.SetDefault("Throws a high velocity axe that returns to you after travelling a short distance or hitting a wall\n" +
"At the furthest point from the player, a magical axe that travels through walls will be cast towards the nearest enemy\n" +
"Stealth Strike Effect: The axe flies further, throwing out many other magical axes in all directions");
"Stealth strikes makes the axe fly further, throwing out many other magical axes in all directions");
}
public override void SafeSetDefaults()
+2 -1
View File
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Epidemic Shredder");
Tooltip.SetDefault("Throws a plagued boomerang that releases plague seekers when it hits tiles or enemies\n" +
"Stealth Strike Effect: Constantly releases plague seekers as it travels");
"Stealth strikes makes the boomerang release plague seekers constantly as it travels\n" +
"'Contrary to its name, it will probably cause an epidemic if used incorrectly'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Iron Francisca");
Tooltip.SetDefault("The franciscas do more damage for a short time when initially thrown\n" +
"Stealth Strike: The franciscas have infinite piercing");
"Stealth strikes makes the franciscas have infinite piercing");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Kylie");
Tooltip.SetDefault("Throws three short ranged boomerangs if stealth is full\n" + "Also known as Dowak");
Tooltip.SetDefault("Stealth strikes throws three short ranged kylies instead of a single long range one\n" + "'Also known as Dowak'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Lead Tomahawk");
Tooltip.SetDefault("The tomahawks have more damage for a short time when initially thrown\n" +
"Stealth Strike: The tomahawks pierce infinitely");
"Stealth strikes makes the tomahawks pierce infinitely");
}
public override void SafeSetDefaults()
+2 -1
View File
@@ -18,7 +18,8 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Luminous Striker");
Tooltip.SetDefault("Throws a stardust javelin trailed by rising stardust shards\n"
+"Explodes into additional stardust shards upon hitting enemies\n"
+"Stealth Strikes cause the stardust shards to fly alongside the javelin instead of rising");
+"Stealth Strikes cause the stardust shards to fly alongside the javelin instead of rising\n"
+"'Send the stars back to where they belong'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Lunar Kunai");
Tooltip.SetDefault("Throws out a set of three kunai that ignore gravity and slightly home in on enemies\n"
+"After traveling enough distance, the kunai supercharge with lunar energy, homing in far more aggressively and exploding on impact\n"
+"Stealth Strikes instantly throw twelve supercharged Kunai");
+"Stealth strikes instantly throw twelve supercharged Kunai");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Monkey Darts");
Tooltip.SetDefault("Throws three bouncing darts if stealth is full\n" + "Perfect for popping");
Tooltip.SetDefault("Stealth strikes throw 3 bouncing dart at high speed\n" + "'Perfect for popping'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Sky Stabber");
Tooltip.SetDefault("Shoots a gravity-defying spiky ball. Stacks up to 4.\n" +
"Stealth strikes rain feathers onto enemies\n" +
"Stealth strikes makes the balls rain feathers onto enemies when they hit\n" +
"Right click to delete all existing spiky balls");
}
+2 -1
View File
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Slick Cane");
Tooltip.SetDefault("Swipes a cane that steals money from enemies.\n" +
"Stealth strike effect: 1 in 15 chance for hit enemies to drop 1-3 gold coins");
"Stealth strikes gives a 1 in 15 chance for enemies to drop 1-3 gold coins when hit\n" +
"'Economy at its finest'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
DisplayName.SetDefault("Stormfront Razor");
Tooltip.SetDefault("Throws a throwing knife that leaves sparks as it travels.\n" +
"Stealth Strike: The knife is faster and leaves a huge shower of sparks as it travels");
"Stealth strike causes the knife to be faster and leave a huge shower of sparks as it travels");
}
public override void SafeSetDefaults()
+2 -1
View File
@@ -18,7 +18,8 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("The Syringe");
Tooltip.SetDefault("Throws a high velocity syringe that increases damage as it travels\n" +
"Shatters into glass and plague cinders on impact\n" +
"Stealth strikes also shatter into plague bees");
"Stealth strikes also shatter into plague bees\n" +
"'I'm pretty sure this isn't healthy'");
}
public override void SafeSetDefaults()
+1 -1
View File
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Weapons.Rogue
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Throws a brick that shatters if stealth is full.\n" +
"Prove its resistance by throwing it upwards and catching it with your face");
"'Prove its resistance by throwing it upwards and catching it with your face'");
DisplayName.SetDefault("Throwing Brick");
}
public override void SafeSetDefaults()
+2 -1
View File
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Weapons.Rogue
DisplayName.SetDefault("Utensil Poker");
Tooltip.SetDefault("Fires random utensils in bursts of three\n" +
"Grants Well Fed on enemy hits\n" +
"Stealth strikes launch an additional butcher knife");
"Stealth strikes launch an additional butcher knife\n" +
"'Space chickens, that is all.'");
}
public override void SafeSetDefaults()
@@ -2,6 +2,7 @@
using Microsoft.Xna.Framework;
using System;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Rogue
{
@@ -51,7 +52,7 @@ namespace CalamityMod.Projectiles.Rogue
}
}
}
public override bool? CanHitNPC(NPC target) => HomingCooldown == 0 && !target.townNPC;
public override bool? CanHitNPC(NPC target) => HomingCooldown == 0 && !target.townNPC && target.type != NPCID.DD2EterniaCrystal;
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
HomingCooldown = 25;