mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-25 22:27:45 +00:00
Don't generate TP on misses
This commit is contained in:
parent
afe1e59889
commit
4c850ea768
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
}
|
}
|
||||||
|
|
||||||
//TP is only gained from autoattacks and abilities
|
//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.
|
//TP gained on an attack is usually 100 * delay.
|
||||||
//Store TP seems to add .1% per point.
|
//Store TP seems to add .1% per point.
|
||||||
|
|
Loading…
Add table
Reference in a new issue