Added hint about guards & armor
This commit is contained in:
@@ -26,6 +26,8 @@ public class Teams{
|
||||
public Seq<TeamData> active = new Seq<>();
|
||||
/** Teams with block or unit presence. */
|
||||
public Seq<TeamData> present = new Seq<>(TeamData.class);
|
||||
/** Current boss unit. */
|
||||
public @Nullable Unit boss;
|
||||
|
||||
public Teams(){
|
||||
active.add(get(Team.crux));
|
||||
@@ -178,6 +180,10 @@ public class Teams{
|
||||
data.units.add(unit);
|
||||
data.presentFlag = true;
|
||||
|
||||
if(unit.team == state.rules.waveTeam && unit.isBoss()){
|
||||
boss = unit;
|
||||
}
|
||||
|
||||
if(data.unitsByType == null || data.unitsByType.length <= unit.type.id){
|
||||
data.unitsByType = new Seq[content.units().size];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user