#4634: Too much bonus power for completing the mission faster - reduce to 66%
-------------------------------------------+-------------------------
        Reporter:  leander                 |      Owner:
            Type:  bug                     |     Status:  new
        Priority:  normal                  |  Milestone:  unspecified
       Component:  Engine: Scripting / AI  |    Version:  git/master
Operating System:  GNU/Linux 64bit         |
-------------------------------------------+-------------------------
 Campain - hard difficulty

 Too much bonus power -
 Remembers to give bonus power for completing the mission faster -
 reducing for 66%.
 I got 10k for first 4-5 missions and can use my tanks as cannon fodder.

 diff --git a/data/base/script/campaign/libcampaign.js
 b/data/base/script/campaign/libcampaign.js
 index e150fd9..52f7ee8 100644
 --- a/data/base/script/campaign/libcampaign.js
 +++ b/data/base/script/campaign/libcampaign.js
 @@ -2255,6 +2255,8 @@ function camNextLevel(nextLevel)
                         else if (difficulty === INSANE)
                                 bonus = 105;

 +                       bonusTime = Math.round(bonusTime / 3);
 +
                         camTrace("Bonus time", bonusTime);
                         setPowerModifier(bonus); // Bonus percentage for
 completing fast
                         extraPowerTime(bonusTime);

--
Ticket URL: <http://developer.wz2100.net/ticket/4634>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to