From 4c850ea76813fb1f21456dccc4ad6b6d21e426c3 Mon Sep 17 00:00:00 2001 From: Yogurt Date: Sat, 1 Jun 2019 03:05:40 -0700 Subject: [PATCH] Don't generate TP on misses --- FFXIVClassic Map Server/actors/chara/Character.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFXIVClassic Map Server/actors/chara/Character.cs b/FFXIVClassic Map Server/actors/chara/Character.cs index 4cde4926..60d94b62 100644 --- a/FFXIVClassic Map Server/actors/chara/Character.cs +++ b/FFXIVClassic Map Server/actors/chara/Character.cs @@ -847,7 +847,7 @@ namespace FFXIVClassic_Map_Server.Actors } //TP is only gained from autoattacks and abilities - if (action.commandType == CommandType.AutoAttack || action.commandType == CommandType.Ability) + if (action.commandType == CommandType.AutoAttack || action.commandType == CommandType.Ability && action.hitType != HitType.Miss) { //TP gained on an attack is usually 100 * delay. //Store TP seems to add .1% per point.