replace vanilla dash tooltips if it's overridden
This commit is contained in:
1 parent
ecb582822e
commit
caf3ebe49f
2 files changed
+5
No files matched your search
@@ -617,6 +617,10 @@ namespace CalamityMod.Items
|
||||
// "Buffed" Step Stool
|
||||
if (item.type == ItemID.PortableStool)
|
||||
EditTooltipByNum(0, (line) => line.Text += AddedTooltip("PortableStool"));
|
||||
|
||||
// Replace the double tap line if double tap dash is overridden
|
||||
if ((item.type == ItemID.EoCShield || item.type == ItemID.Tabi) && CalamityKeybinds.DashHotkey.GetAssignedKeys().Count != 0)
|
||||
EditTooltipByNum(1, (line) => line.Text = CalamityUtils.GetText("Vanilla.DashKey").Format(CalamityKeybinds.DashHotkey.TooltipHotkeyString()));
|
||||
#endregion
|
||||
|
||||
// For boss summon item clarity
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
DashKey: Press {0} while facing a direction
|
||||
DodgeInfo:
|
||||
'''
|
||||
Grants the ability to dodge attacks
|
||||
|
||||
Reference in new issue
Block a user