mirror of
https://github.com/YouHaveTrouble/YHTMod.git
synced 2026-05-11 21:56:54 +00:00
22 lines
407 B
C#
22 lines
407 B
C#
using System;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace YHTMod;
|
|
|
|
public class YhtPlayer : ModPlayer
|
|
{
|
|
public int ArcaneMissle = 0;
|
|
public int KatanaTeleportCooldown = 0;
|
|
|
|
public override void PreUpdate()
|
|
{
|
|
KatanaTeleportCooldown = Math.Max(KatanaTeleportCooldown - 1, 0);
|
|
}
|
|
|
|
public override void ResetEffects()
|
|
{
|
|
ArcaneMissle = 0;
|
|
|
|
base.ResetEffects();
|
|
}
|
|
} |