Changeset 2363413f0f8c27b963b10ead194f238c0b89bf63
- Timestamp:
- 05/18/08 14:27:51
(5 months ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1211113671 +0200
- git-parent:
[36f1a995b8f1bf74626122ef10e3bce9158c2c7c]
- git-author:
- Simon Dietsch <rhonabwy@sternenbund.org> 1211113671 +0200
- Message:
[gameplay] Schiffe in Reihe zwei benoetigen keine Verteidigung gegen Torpedos mehr
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| refaad01 |
r2363413 |
|
| 803 | 803 | // Wenn wir allerdings nicht genug Crew haben koennen wir auch nicht alle Docks bedienen |
|---|
| 804 | 804 | docks = docks + (int)Math.floor(type.getJDocks() * crewfactor); |
|---|
| 805 | | defcount = defcount + 1; |
|---|
| | 805 | // Einschraenkung, nur Schiffe in Reihe 1 muessen verteidigt werden |
|---|
| | 806 | if ((selectedShip.getAction() & Battle.BS_SECONDROW) != 0){ |
|---|
| | 807 | defcount = defcount + 1; |
|---|
| | 808 | } |
|---|
| 806 | 809 | // Wenn Schiffe mit Docks Torpabwehr stellen, dann hinzufuegen |
|---|
| 807 | 810 | if(type.getTorpedoDef() > 0){ |
|---|
| … | … | |
| 819 | 822 | docksuse = docksuse + 1; |
|---|
| 820 | 823 | }else if(type.getSize() > ShipType.SMALL_SHIP_MAXSIZE){ |
|---|
| 821 | | // GKS ohne Docks muessen auch verteidigt werden |
|---|
| 822 | | defcount = defcount + 1; |
|---|
| | 824 | // GKS in Reihe 1 ohne Docks muessen auch verteidigt werden |
|---|
| | 825 | if ((selectedShip.getAction() & Battle.BS_SECONDROW) != 0){ |
|---|
| | 826 | defcount = defcount + 1; |
|---|
| | 827 | } |
|---|
| 823 | 828 | // Wenn Schiffe Torpabwehr stellen, dann hinzufuegen |
|---|
| 824 | 829 | if(type.getTorpedoDef() > 0){ |
|---|