1 - Dodges and reflects now have a minimum cooldown of 20 seconds
2 - Changed dodge and reflect info tooltips to use common tooltips
This commit is contained in:
1 parent
d6e1097a05
commit
99748807b1
5 files changed
+27
-44
No files matched your search
@@ -62,17 +62,17 @@
|
||||
|
||||
// Dodge cooldowns (in frames)
|
||||
// TODO -- Some of these could be moved to the respective item files
|
||||
internal static readonly int BeltDodgeCooldownMin = 900;
|
||||
internal static readonly int BeltDodgeCooldownMin = 1200;
|
||||
internal static readonly int BeltDodgeCooldownMax = 5400;
|
||||
internal static readonly int BrainDodgeCooldownMin = 900;
|
||||
internal static readonly int BrainDodgeCooldownMin = 1200;
|
||||
internal static readonly int BrainDodgeCooldownMax = 5400;
|
||||
internal static readonly int AmalgamDodgeCooldownMin = 900;
|
||||
internal static readonly int AmalgamDodgeCooldownMin = 1200;
|
||||
internal static readonly int AmalgamDodgeCooldownMax = 5400;
|
||||
internal static readonly int MirrorDodgeCooldownMin = 900;
|
||||
internal static readonly int MirrorDodgeCooldownMin = 1200;
|
||||
internal static readonly int MirrorDodgeCooldownMax = 5400;
|
||||
internal static readonly int DaedalusReflectCooldownMin = 900;
|
||||
internal static readonly int DaedalusReflectCooldownMin = 1200;
|
||||
internal static readonly int DaedalusReflectCooldownMax = 5400;
|
||||
internal static readonly int EvolutionReflectCooldownMin = 900;
|
||||
internal static readonly int EvolutionReflectCooldownMin = 1200;
|
||||
internal static readonly int EvolutionReflectCooldownMax = 5400;
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -1565,9 +1565,8 @@ namespace CalamityMod.CalPlayer
|
||||
#region Free and Consumable Dodge Hooks
|
||||
public override bool FreeDodge(Player.HurtInfo info)
|
||||
{
|
||||
// 22AUG2023: Ozzatron: god slayer damage resistance removed due to it being strong enough to godmode rev yharon
|
||||
// If the incoming damage is somehow less than 1 (TML doesn't allow this, but...), the hit is completely ignored.
|
||||
if (info.Damage < 1 /* || (godSlayerDamage && info.Damage <= 80) */)
|
||||
if (info.Damage < 1)
|
||||
return true;
|
||||
|
||||
// Silva armor revive provides complete immunity.
|
||||
|
||||
@@ -11,6 +11,18 @@ NotConsumable: Not consumable
|
||||
RogueDamage: "{0}% increased rogue damage"
|
||||
RogueCrit: "{0}% increased rogue critical strike chance"
|
||||
RogueVelocity: "{0}% increased rogue velocity"
|
||||
DodgeInformation:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 20 and 90 seconds depending on the dodged attack's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
ReflectInformation:
|
||||
'''
|
||||
Projectiles that deal less than 5% of your max life in damage will not be reflected
|
||||
The reflect has a cooldown that ranges between 20 and 90 seconds depending on the reflected projectile's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
GrappleStats:
|
||||
'''
|
||||
Reach: {0} tiles
|
||||
|
||||
@@ -56,9 +56,7 @@ AbyssalMirror: {
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 15 and 90 seconds depending on the dodged attack's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
{$Common.DodgeInformation}
|
||||
Dodging an attack gives stealth
|
||||
'''
|
||||
FlavorTooltip: "'Light does not reach the depths of the ocean'"
|
||||
@@ -108,12 +106,7 @@ AmalgamatedBrain: {
|
||||
Grants the ability to dodge attacks
|
||||
After dodging, summon damage and crit chance are boosted by 10%
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 15 and 90 seconds depending on the dodged attack's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
HoldShiftTooltip: "{$Common.DodgeInformation}"
|
||||
}
|
||||
|
||||
AmbrosialAmpoule: {
|
||||
@@ -661,10 +654,8 @@ EclipseMirror: {
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 15 and 90 seconds depending on the dodged attack's damage
|
||||
{$Common.DodgeInformation}
|
||||
Dodging an attack grants a lot of stealth
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
FlavorTooltip: "'Its reflection shows naught but darkness'"
|
||||
}
|
||||
@@ -1658,12 +1649,7 @@ StatisNinjaBelt: {
|
||||
Provides light when worn
|
||||
{$Common.AbyssLightLevel1}
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 15 and 90 seconds depending on the dodged attack's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
HoldShiftTooltip: "{$Common.DodgeInformation}"
|
||||
}
|
||||
|
||||
StatisVoidSash: {
|
||||
@@ -1678,12 +1664,7 @@ StatisVoidSash: {
|
||||
Provides light when worn
|
||||
{$Common.AbyssLightLevel1}
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 15 and 90 seconds depending on the dodged attack's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
HoldShiftTooltip: "{$Common.DodgeInformation}"
|
||||
}
|
||||
|
||||
// Be warned translators, this thing fucking sucks
|
||||
@@ -1812,12 +1793,7 @@ TheAmalgam: {
|
||||
Grants the ability to dodge attacks
|
||||
After dodging, summon damage and crit chance are boosted by 10%
|
||||
'''
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
Attacks that deal less than 5% of your max life in damage will not be dodged
|
||||
The dodge has a cooldown that ranges between 15 and 90 seconds depending on the dodged attack's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
'''
|
||||
HoldShiftTooltip: "{$Common.DodgeInformation}"
|
||||
}
|
||||
|
||||
TheBee: {
|
||||
@@ -1866,9 +1842,7 @@ TheEvolution: {
|
||||
Tooltip:
|
||||
'''
|
||||
Reflects projectiles that hit you, negating their damage and dealing 10x damage to enemies
|
||||
Projectiles that deal less than 5% of your max life in damage will not be reflected
|
||||
The reflect has a cooldown that ranges between 15 and 90 seconds depending on the reflected projectile's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
{$Common.ReflectInformation}
|
||||
Reflecting a projectile grants +6 HP/s life regen for 5 seconds and grants maximum natural life regen
|
||||
Getting hit by the same enemy projectile type during cooldown will resist its damage by 25%
|
||||
'''
|
||||
|
||||
@@ -106,9 +106,7 @@ DaedalusHeadMelee: {
|
||||
Enemies are more likely to target you
|
||||
You reflect projectiles back at enemies
|
||||
Reflected projectiles deal 50% less damage to you
|
||||
Projectiles that deal less than 5% of your max life in damage will not be reflected
|
||||
The reflect has a cooldown that ranges between 15 and 90 seconds depending on the reflected projectile's damage
|
||||
This cooldown is shared with all other dodges and reflects
|
||||
{$Common.ReflectInformation}
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user