GetTargetList¶
Refresh all enemy party members's BattlePosition and obtains an array containing the enemydata index whose position are contained in a provided list.
private int[] GetTargetList(List<BattlePosition> pos)
Parameters¶
pos: A list of BattlePosition to search for
Procedure¶
- RefreshEnemyPos is called which checks all enemy party members whose
hpis above 0, whose cantfall is false and whose position isGroundorFlying. If the enemy battleentity.heightis above battleentity.minheight+ 0.5, the position is set toFlying,Groundotherwise - Check the
positionof everyenemydataand if it is contained in the sent pos list, it is added to a list - The list ToArray is returned