mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
New feature (by rftr): Arulco Rebel Command (ARC)
Improve you cities and overall campaign by choosing out of several upgrades Requires GameDir >= r2613 For more info, see https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24884&start=0& git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9153 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -125,6 +125,7 @@
|
||||
#include "LightEffects.h" // added by Flugente for CreatePersonalLight()
|
||||
#include "DynamicDialogue.h" // added by Flugente for HandleDynamicOpinions()
|
||||
#include "strategic town loyalty.h" // added by Flugente for gTownLoyalty
|
||||
#include "Rebel Command.h"
|
||||
|
||||
//forward declarations of common classes to eliminate includes
|
||||
class OBJECTTYPE;
|
||||
@@ -21382,7 +21383,7 @@ extern FLOAT GetAdministrationPercentage( INT16 sX, INT16 sY );
|
||||
FLOAT SOLDIERTYPE::GetAdministrationModifier()
|
||||
{
|
||||
if ( ADMINISTRATION_BONUS( this->bAssignment ) )
|
||||
return 1.0f + GetAdministrationPercentage( this->sSectorX, this->sSectorY ) / 100.0f;
|
||||
return 1.0f + GetAdministrationPercentage( this->sSectorX, this->sSectorY ) / 100.0f + RebelCommand::GetAssignmentBonus(this->sSectorX, this->sSectorY);
|
||||
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user