mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
BattleCommand changes
New targeting flags for BattleCommand and TargetFind. (This breaks combat until new BattleCommand data is in) Changed MP and TP to shorts in BattleCommand to handle cases where they might go negative. (might not be correct?)
This commit is contained in:
@@ -1160,8 +1160,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
public List<Character> GetPartyMembersInRange(uint range)
|
||||
{
|
||||
TargetFind targetFind = new TargetFind(this);
|
||||
targetFind.SetAOEType(ValidTarget.PartyMember, TargetFindAOEType.Circle, TargetFindAOETarget.Self, range, 0, 10, 0, 0);
|
||||
targetFind.FindWithinArea(this, ValidTarget.PartyMember, TargetFindAOETarget.Self);
|
||||
targetFind.SetAOEType(ValidTarget.Party, TargetFindAOEType.Circle, TargetFindAOETarget.Self, range, 0, 10, 0, 0);
|
||||
targetFind.FindWithinArea(this, ValidTarget.Party, TargetFindAOETarget.Self);
|
||||
return targetFind.GetTargets();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user