mirror of
https://github.com/YouHaveTrouble/YHTMod.git
synced 2026-05-11 21:56:54 +00:00
mini reformat
This commit is contained in:
@@ -5,8 +5,6 @@ using Terraria.ModLoader;
|
|||||||
namespace YHTMod.Changes;
|
namespace YHTMod.Changes;
|
||||||
|
|
||||||
public class WarriorItemEffects : GlobalItem {
|
public class WarriorItemEffects : GlobalItem {
|
||||||
|
|
||||||
public override bool InstancePerEntity => true;
|
|
||||||
|
|
||||||
public override void UseItemHitbox(Item item, Player player, ref Rectangle hitbox, ref bool noHitbox) {
|
public override void UseItemHitbox(Item item, Player player, ref Rectangle hitbox, ref bool noHitbox) {
|
||||||
YhtPlayer modPlayer = player.GetModPlayer<YhtPlayer>();
|
YhtPlayer modPlayer = player.GetModPlayer<YhtPlayer>();
|
||||||
@@ -29,10 +27,10 @@ public class WarriorItemEffects : GlobalItem {
|
|||||||
hitbox.Height = newH;
|
hitbox.Height = newH;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
base.UseItemHitbox(item, player, ref hitbox, ref noHitbox);
|
base.UseItemHitbox(item, player, ref hitbox, ref noHitbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void HoldItem(Item item, Player player) {
|
public override void HoldItem(Item item, Player player) {
|
||||||
YhtPlayer modPlayer = player.GetModPlayer<YhtPlayer>();
|
YhtPlayer modPlayer = player.GetModPlayer<YhtPlayer>();
|
||||||
|
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ Buffs: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
WarriorAmbitionBuff: {
|
WarriorAmbitionBuff: {
|
||||||
DisplayName: Warrior's Ambition
|
DisplayName: Warrior's Ambition
|
||||||
Description:
|
Description:
|
||||||
'''
|
'''
|
||||||
Your power grows with your ambition
|
Your power grows with your ambition
|
||||||
|
|
||||||
Essences absorbed: {0}
|
Essences absorbed: {0}
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,27 +109,27 @@ Items: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
WarriorsAmbition: {
|
WarriorsAmbition: {
|
||||||
DisplayName: Warriors Ambition
|
DisplayName: Warriors Ambition
|
||||||
Tooltip:
|
Tooltip:
|
||||||
'''
|
'''
|
||||||
Grants Warrior's Ambition.
|
Grants Warrior's Ambition.
|
||||||
"For those who wish to face enemy head on."
|
"For those who wish to face enemy head on."
|
||||||
{0} defense
|
{0} defense
|
||||||
'''
|
'''
|
||||||
KingSlime: "[i:560] {0}% increased true melee weapon size"
|
KingSlime: "[i:560] {0}% increased true melee weapon size"
|
||||||
DesertScourge: "{0} Increases maximum life by 10"
|
DesertScourge: "{0} Increases maximum life by 10"
|
||||||
EyeOfCthulhu: "[i:43] Increases melee damage by 10%"
|
EyeOfCthulhu: "[i:43] Increases melee damage by 10%"
|
||||||
Crabulon: "{0} Enemies struck by whips glow slightly"
|
Crabulon: "{0} Enemies struck by whips glow slightly"
|
||||||
EaterOfWorlds: "[i:70] Melee damage penetrates 5 armor"
|
EaterOfWorlds: "[i:70] Melee damage penetrates 5 armor"
|
||||||
BrainOfCthulhu: "[i:1331] 5% increased true melee damage"
|
BrainOfCthulhu: "[i:1331] 5% increased true melee damage"
|
||||||
HiveMind: "{0} +2 defense"
|
HiveMind: "{0} +2 defense"
|
||||||
Perforators: "{0} +2 defense"
|
Perforators: "{0} +2 defense"
|
||||||
QueenBee: "[i:1133] Damaging debuffs expire 5% faster on you"
|
QueenBee: "[i:1133] Damaging debuffs expire 5% faster on you"
|
||||||
Deerclops: "[i:5120] Melee hits can throw debris"
|
Deerclops: "[i:5120] Melee hits can throw debris"
|
||||||
Skeletron: "[i:4801] Increases melee knockback"
|
Skeletron: "[i:4801] Increases melee knockback"
|
||||||
WallOfFlesh: "[i:267] +5 defense"
|
WallOfFlesh: "[i:267] +5 defense"
|
||||||
SlimeGod: "{0} 2.5% increased true melee weapon size"
|
SlimeGod: "{0} 2.5% increased true melee weapon size"
|
||||||
PreHardmodeRealized: Fully realized. Seek greater heights.
|
PreHardmodeRealized: Fully realized. Seek greater heights.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user