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:
parent
a99a129d9a
commit
9cda72f1ab
1 changed files with 3 additions and 2 deletions
|
@ -1129,6 +1129,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
actions.AddAction(new CommandResult(actorId, 30202, 0));
|
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
|
//Now that we know if we hit the target we can check if the combo continues
|
||||||
if (this is Player)
|
if (this is Player)
|
||||||
{
|
{
|
||||||
|
@ -1139,8 +1142,6 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||||
((Player)this).SetCombos();
|
((Player)this).SetCombos();
|
||||||
}
|
}
|
||||||
|
|
||||||
DelMP(command.CalculateMpCost(this));
|
|
||||||
DelTP(command.CalculateTpCost(this));
|
|
||||||
|
|
||||||
actions.CombineLists();
|
actions.CombineLists();
|
||||||
DoBattleAction(command.id, command.battleAnimation, actions.GetList());
|
DoBattleAction(command.id, command.battleAnimation, actions.GetList());
|
||||||
|
|
Loading…
Add table
Reference in a new issue