Changeset a531977f776a02aab4f08accd24e1974f5e67cad
- Timestamp:
- 01/04/08 22:06:48
(8 months ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1199480808 +0100
- git-parent:
[5ea43127cd6a75dfda719873fc41e3cc10169d83]
- git-author:
- Christopher Jung <bktheg@web.de> 1199480808 +0100
- Message:
Verweise auf nicht mehr vorhandene AP-Kosten in der KS-Oberflaeche entfernt
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| refe50c3 |
ra531977 |
|
| 310 | 310 | menuEntryAsk( weaponcount+" "+weapon.getName()+"<br /><span style=\"font-weight:normal;font-size:14px\"> "+ |
|---|
| 311 | 311 | "Schaden: "+schaden+"<br /> "+ |
|---|
| 312 | | "Kosten: n*"+weapon.getECost()+"E "+apcost+"AP</span>", |
|---|
| | 312 | "Kosten: n*"+weapon.getECost()+"Energie</span>", |
|---|
| 313 | 313 | new Object[] { |
|---|
| 314 | 314 | "ship", ownShip.getId(), |
|---|
| … | … | |
| 323 | 323 | menuEntry( weaponcount+" "+weapon.getName()+"<span style=\"font-weight:normal;font-size:14px\"><br /> "+ |
|---|
| 324 | 324 | "Schaden: "+schaden+"<br /> "+ |
|---|
| 325 | | "Kosten: n*"+weapon.getECost()+"E "+apcost+"AP</span>", |
|---|
| | 325 | "Kosten: n*"+weapon.getECost()+"Energie</span>", |
|---|
| 326 | 326 | "ship", ownShip.getId(), |
|---|
| 327 | 327 | "attack", enemyShip.getId(), |
|---|
| refe50c3 |
ra531977 |
|
| 75 | 75 | |
|---|
| 76 | 76 | if( this.isPossible(battle, new KSDischargeBatteriesSingleAction() ) == RESULT_OK ) { |
|---|
| 77 | | this.menuEntry( "Batterien entladen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 3 AP</span>", |
|---|
| | 77 | this.menuEntry( "Batterien entladen", |
|---|
| 78 | 78 | "ship", ownShip.getId(), |
|---|
| 79 | 79 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 101 | 101 | |
|---|
| 102 | 102 | if( battsidlist > 0 ) { |
|---|
| 103 | | this.menuEntryAsk( "Alle Batterien entladen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: "+(battsidlist*3)+" AP</span>", |
|---|
| | 103 | this.menuEntryAsk( "Alle Batterien entladen", |
|---|
| 104 | 104 | new Object[] { "ship", ownShip.getId(), |
|---|
| 105 | 105 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 115 | 115 | continue; |
|---|
| 116 | 116 | } |
|---|
| 117 | | this.menuEntryAsk( "Bei allen "+ShipTypes.getShipClass(classID).getPlural()+"n die Batterien entladen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: "+(idlist*3)+" AP</span>", |
|---|
| | 117 | this.menuEntryAsk( "Bei allen "+ShipTypes.getShipClass(classID).getPlural()+"n die Batterien entladen", |
|---|
| 118 | 118 | new Object[] { "ship", ownShip.getId(), |
|---|
| 119 | 119 | "attack", enemyShip.getId(), |
|---|
| r2c96489 |
ra531977 |
|
| 66 | 66 | // Kapern? |
|---|
| 67 | 67 | if( this.isPossible(battle, new KSKapernAction()) == RESULT_OK ) { |
|---|
| 68 | | this.menuEntry("Kapern<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 5 AP</span>", |
|---|
| | 68 | this.menuEntry("Kapern", |
|---|
| 69 | 69 | "ship", ownShip.getId(), |
|---|
| 70 | 70 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 74 | 74 | // Die zweiten Reihe stuermen |
|---|
| 75 | 75 | if( this.isPossible(battle, new KSSecondRowAttackAction()) == RESULT_OK ) { |
|---|
| 76 | | this.menuEntry("Sturmangriff<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 300 AP</span>", |
|---|
| | 76 | this.menuEntry("Sturmangriff", |
|---|
| 77 | 77 | "ship", ownShip.getId(), |
|---|
| 78 | 78 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 82 | 82 | // Zur zweiten Reihe vorruecken |
|---|
| 83 | 83 | if( this.isPossible(battle, new KSSecondRowEngageAction()) == RESULT_OK ) { |
|---|
| 84 | | this.menuEntry("Vorrücken<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 100 AP</span>", |
|---|
| | 84 | this.menuEntry("Vorrücken", |
|---|
| 85 | 85 | "ship", ownShip.getId(), |
|---|
| 86 | 86 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 90 | 90 | // Zweite Reihe verlassen |
|---|
| 91 | 91 | if( this.isPossible(battle, new KSLeaveSecondRowAction()) == RESULT_OK ) { |
|---|
| 92 | | this.menuEntry("Zweite Reihe verlassen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 1 AP</span>", |
|---|
| | 92 | this.menuEntry("Zweite Reihe verlassen", |
|---|
| 93 | 93 | "ship", ownShip.getId(), |
|---|
| 94 | 94 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 98 | 98 | // Zweite Reihe |
|---|
| 99 | 99 | if( this.isPossible(battle, new KSSecondRowAction()) == RESULT_OK ) { |
|---|
| 100 | | this.menuEntry("In zweite Reihe verlegen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 1 AP</span>", |
|---|
| | 100 | this.menuEntry("In zweite Reihe verlegen", |
|---|
| 101 | 101 | "ship", ownShip.getId(), |
|---|
| 102 | 102 | "attack", enemyShip.getId(), |
|---|
| r2c96489 |
ra531977 |
|
| 48 | 48 | //Alle Abdocken |
|---|
| 49 | 49 | if( this.isPossible(battle, new KSUndockAllAction()) == RESULT_OK ) { |
|---|
| 50 | | menuEntry("Alle Abdocken<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 1 AP</span>", |
|---|
| | 50 | menuEntry("Alle Abdocken", |
|---|
| 51 | 51 | "ship", ownShip.getId(), |
|---|
| 52 | 52 | "attack", enemyShip.getId(), |
|---|
| refe50c3 |
ra531977 |
|
| 73 | 73 | |
|---|
| 74 | 74 | if( (ownShipType.getShields() > 0) && (ownShip.getShip().getShields() < ownShipType.getShields()) ) { |
|---|
| 75 | | this.menuEntry("Schilde aufladen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: 1 AP</span>", |
|---|
| | 75 | this.menuEntry("Schilde aufladen", |
|---|
| 76 | 76 | "ship", ownShip.getId(), |
|---|
| 77 | 77 | "attack", enemyShip.getId(), |
|---|
| … | … | |
| 94 | 94 | |
|---|
| 95 | 95 | if( shieldidlist > 0 ) { |
|---|
| 96 | | this.menuEntryAsk( "Alle Schilde aufladen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: "+shieldidlist+" AP</span>", |
|---|
| | 96 | this.menuEntryAsk( "Alle Schilde aufladen", |
|---|
| 97 | 97 | new Object[] { |
|---|
| 98 | 98 | "ship", ownShip.getId(), |
|---|
| … | … | |
| 109 | 109 | continue; |
|---|
| 110 | 110 | } |
|---|
| 111 | | this.menuEntryAsk( "Alle "+ShipTypes.getShipClass(classID).getPlural()+"-Schilde aufladen<br /><span style=\"font-weight:normal; font-size:14px\">Kosten: "+idlist+" AP</span>", |
|---|
| | 111 | this.menuEntryAsk( "Alle "+ShipTypes.getShipClass(classID).getPlural()+"-Schilde aufladen", |
|---|
| 112 | 112 | new Object[] { |
|---|
| 113 | 113 | "ship", ownShip.getId(), |
|---|
| r390f9f1 |
ra531977 |
|
| 389 | 389 | <tr> |
|---|
| 390 | 390 | {if user.commander} |
|---|
| 391 | | <td class="BorderS" style="width:30%">Aktionspunkte: {battle.points.own}</td> |
|---|
| | 391 | <td class="BorderS" style="width:30%"> </td> |
|---|
| 392 | 392 | {if battle.turn.own} |
|---|
| 393 | 393 | <td style="text-align:center;width:30%" class="BorderS"><a class="forschinfo" href="javascript:ask('Wollen sie ihren Zug wirklich beenden?','./ds?module=angriff&sess={global.sess}&battle={battle.id}&ship={ownship.id}&attack={enemyship.id}&scan={global.scan}&ksaction=endturn&ownshipgroup={global.ownshipgroup}&enemyshipgroup={global.enemyshipgroup}&weapon={global.weapon}')">Zug beenden</a></td> |
|---|