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:
yogurt 2018-05-31 11:25:55 -05:00
parent 0f7e6f359d
commit 79f2edf406
7 changed files with 46 additions and 39 deletions

View file

@ -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());
}