adapt ooga booga C# code style

This commit is contained in:
2025-12-22 17:59:47 +01:00
parent ee06338f22
commit 50d7f8b0d2
11 changed files with 69 additions and 51 deletions
+11 -10
View File
@@ -1,20 +1,21 @@
using System;
using Terraria.ModLoader;
namespace YHTMod;
namespace YHTMod;
public class YhtPlayer : ModPlayer {
public class YhtPlayer : ModPlayer
{
public int ArcaneMissle = 0;
public int KatanaTeleportCooldown = 0;
public int arcaneMissle = 0;
public int katanaTeleportCooldown = 0;
public override void PreUpdate() {
this.katanaTeleportCooldown = Math.Max(this.katanaTeleportCooldown - 1, 0);
public override void PreUpdate()
{
KatanaTeleportCooldown = Math.Max(KatanaTeleportCooldown - 1, 0);
}
public override void ResetEffects() {
this.arcaneMissle = 0;
public override void ResetEffects()
{
ArcaneMissle = 0;
base.ResetEffects();
}