mirror of
https://github.com/YouHaveTrouble/YHTMod.git
synced 2026-05-11 21:56:54 +00:00
adapt ooga booga C# code style
This commit is contained in:
+11
-10
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user