Nerf katana teleport

This commit is contained in:
2023-01-28 22:02:59 +01:00
parent 8a9730f61f
commit e300c3cddb
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -1,3 +1,4 @@
using System;
using Terraria.ModLoader;
namespace YHTMod;
@@ -5,6 +6,11 @@ namespace YHTMod;
public class YhtPlayer : ModPlayer {
public int arcaneMissle = 0;
public int katanaTeleportCooldown = 0;
public override void PreUpdate() {
this.katanaTeleportCooldown = Math.Max(this.katanaTeleportCooldown - 1, 0);
}
public override void ResetEffects() {