mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-12 23:44:34 +02:00
Bug fixes
Fixed some bugs with targeting flags Fixed action equip bug for real this time Fixed server crash when commands hit no targets
This commit is contained in:
parent
0f7e6f359d
commit
79f2edf406
7 changed files with 46 additions and 39 deletions
|
@ -1098,7 +1098,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
}
|
||||
else
|
||||
{
|
||||
actions.AddAction(new BattleAction(target.actorId, 30202, 0));
|
||||
actions.AddAction(new BattleAction(actorId, 30202, 0));
|
||||
}
|
||||
|
||||
//Now that we know if we hit the target we can check if the combo continues
|
||||
|
@ -1109,6 +1109,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
player.SetCombos();
|
||||
|
||||
BattleAction error = new BattleAction(actorId, 0, 0);
|
||||
DelMP(command.CalculateMpCost(this));
|
||||
DelTP(command.CalculateTpCost(this));
|
||||
actions.CombineLists();
|
||||
DoBattleAction(command.id, command.battleAnimation, actions.GetList());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue