1 - Dynamic tooltip for Hallow-Point Rounds works now.
2 - Fixed weird spacing (GitHub does not show whitespace correctly in PRs)
This commit is contained in:
1 parent
26cea4be8d
commit
b4bc7c4e83
3 files changed
+20
-18
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -33,6 +34,13 @@ namespace CalamityMod.Items.Ammo
|
||||
Item.ammo = AmmoID.Bullet;
|
||||
}
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> list)
|
||||
{
|
||||
// Add the proper damage value
|
||||
int nonConvertDamage = (int)Main.LocalPlayer.GetTotalDamage<RangedDamageClass>().ApplyTo(BaseDamage + BonusDamageOnHit);
|
||||
list.FindAndReplace("[DAMAGE]", nonConvertDamage.ToString());
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe(100).
|
||||
|
||||
@@ -9,7 +9,7 @@ HotAttunement: {
|
||||
Function:
|
||||
'''
|
||||
Conjure searing blades in front of you that get larger and stronger with enemy hits
|
||||
The blades will bounce you off of tiles while in the air
|
||||
The blades will bounce you off of tiles while in the air
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -22,17 +22,14 @@ TropicalAttunement: {
|
||||
Name: Grovetender's Touch
|
||||
Function:
|
||||
'''
|
||||
Throw out the blade on a vine whip, pulling you toward struck tiles
|
||||
Throw out the blade on a vine whip, pulling you toward struck tiles
|
||||
Striking enemies with the tip of the whip as it cracks guarantees a critical hit
|
||||
'''
|
||||
}
|
||||
|
||||
EvilAttunement: {
|
||||
Name: Decay's Retort
|
||||
Function:
|
||||
'''
|
||||
Lunge forward with a ghostly rapier projection, bouncing away from struck targets and leeching their life
|
||||
'''
|
||||
Function: Lunge forward with a ghostly rapier projection, bouncing away from struck targets and leeching their life
|
||||
}
|
||||
|
||||
// Mended Biome Blade
|
||||
@@ -68,7 +65,7 @@ TrueTropicalAttunement: {
|
||||
Name: Grovetender's Touch
|
||||
Function:
|
||||
'''
|
||||
Throw out the blade on a vine whip, pulling you toward struck tiles
|
||||
Throw out the blade on a vine whip, pulling you toward struck tiles
|
||||
Striking enemies with the tip of the whip as it cracks guarantees a critical hit
|
||||
Spreading vines sprout from critical strikes, which can hit up to three targets
|
||||
'''
|
||||
@@ -105,7 +102,7 @@ MarineAttunement: {
|
||||
Name: Gesture for the Drowned
|
||||
Function:
|
||||
'''
|
||||
Shoot out gravity-affected water orbs, which turn into small waves on ground contact
|
||||
Shoot out gravity-affected water orbs, which turn into small waves on ground contact
|
||||
Waves that make contact with water become much larger and faster
|
||||
'''
|
||||
}
|
||||
@@ -138,7 +135,7 @@ SuperPogoAttunement: {
|
||||
Conjure molten blades in front of you that get larger and stronger with enemy hits
|
||||
The blades will bounce you off of tiles while in the air
|
||||
Releasing sends the charged blades hurtling forwards like a wheel
|
||||
Attacking immediately after throwing the blade launches you toward it, damaging enemies
|
||||
Attacking immediately after throwing the blade launches you toward it, damaging enemies
|
||||
'''
|
||||
PassiveDesc: Striking enemies will rarely heal you
|
||||
}
|
||||
@@ -175,7 +172,7 @@ AriesAttunement: {
|
||||
Name: Aries' Wrath
|
||||
Function:
|
||||
'''
|
||||
Binds the sword to your cursor through a chain of constellations
|
||||
Binds the sword to your cursor through a chain of constellations
|
||||
Striking enemies causes nebulous explosions which spawn homing cosmic bolts
|
||||
'''
|
||||
PassiveName: Capricorn's Blessing
|
||||
@@ -193,7 +190,7 @@ PolarisAttunement: {
|
||||
Channel Galaxia's power into a vortex of celestial energies
|
||||
The vortex powers up over time and while hitting enemies
|
||||
Release to fire a powerful star directly at your cursor
|
||||
Attacking immediately after firing the star launches you toward it, damaging enemies
|
||||
Attacking immediately after firing the star launches you toward it, damaging enemies
|
||||
'''
|
||||
PassiveName: Cancer's Blessing
|
||||
PassiveDesc:
|
||||
|
||||
@@ -83,7 +83,7 @@ HallowPointRound: {
|
||||
DisplayName: Hallow-Point Round
|
||||
Tooltip:
|
||||
'''
|
||||
Releases anointed light on hit that increases the bullet's base damage to {0}
|
||||
Releases anointed light on hit that increases the bullet's base damage to [DAMAGE]
|
||||
This effect does not occur if the bullets are converted by special guns
|
||||
'''
|
||||
}
|
||||
@@ -93,16 +93,13 @@ HolyFireBullet: {
|
||||
Tooltip:
|
||||
'''
|
||||
Profaned bullets that explode on impact, dealing extra damage
|
||||
The explosion grows weaker the further the bullet travels
|
||||
The explosion grows weaker the further the bullet travels
|
||||
'''
|
||||
}
|
||||
|
||||
HyperiusBullet: {
|
||||
DisplayName: Hyperius Bullet
|
||||
Tooltip:
|
||||
'''
|
||||
Dazzling multicolor bullets that split into swirling lights on impact
|
||||
'''
|
||||
Tooltip: Dazzling multicolor bullets that split into swirling lights on impact
|
||||
}
|
||||
|
||||
IcicleArrow: {
|
||||
|
||||
Reference in new issue
Block a user