You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO - does not handle multi-tile blocks (for example Town-Hall)
// TODO - maybe this is OK?
if(hasOccupant() && damageModifier > 0){
unit.afflictDamage(std::ceil(damageModifier));
}
}
In multi-tile units, the damage is only applied to the "primary tile". Units currently only reference1 tile, but perhaps there should be a list of "secondary tiles"
The text was updated successfully, but these errors were encountered:
deep-rts/src/Tile.cpp
Lines 262 to 270 in 148df8d
In multi-tile units, the damage is only applied to the "primary tile". Units currently only reference1 tile, but perhaps there should be a list of "secondary tiles"
The text was updated successfully, but these errors were encountered: