1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 11:47:48 +00:00

Remove MP and TP before setting combo ids to actually take combo into

account for MP and TP cost
This commit is contained in:
Yogurt 2019-05-31 23:42:52 -07:00
parent a99a129d9a
commit 9cda72f1ab

View file

@ -1129,6 +1129,9 @@ namespace FFXIVClassic_Map_Server.Actors
actions.AddAction(new CommandResult(actorId, 30202, 0));
}
DelMP(command.CalculateMpCost(this));
DelTP(command.CalculateTpCost(this));
//Now that we know if we hit the target we can check if the combo continues
if (this is Player)
{
@ -1139,8 +1142,6 @@ namespace FFXIVClassic_Map_Server.Actors
((Player)this).SetCombos();
}
DelMP(command.CalculateMpCost(this));
DelTP(command.CalculateTpCost(this));
actions.CombineLists();
DoBattleAction(command.id, command.battleAnimation, actions.GetList());