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
hp
is above 0, whose cantfall is false and whose position isGround
orFlying
. If the enemy battleentity.height
is above battleentity.minheight
+ 0.5, the position is set toFlying
,Ground
otherwise - Check the
position
of everyenemydata
and if it is contained in the sent pos list, it is added to a list - The list ToArray is returned