Boni: Unterschied zwischen den Versionen

Aus BotE Wiki
Zur Navigation springen Zur Suche springen
(Boni ergänzt)
(Minor.cpp + System.cpp: e.g. FoodBoni is additional increased if minor is farmer (Type Food))
 
Zeile 18: Zeile 18:
  
 
siehe [[Schiffsaufgaben#Kommandoschiff (Commando_ship)(4)|hier]]
 
siehe [[Schiffsaufgaben#Kommandoschiff (Commando_ship)(4)|hier]]
 +
 +
 +
= Minor.cpp =
 +
 +
*Minor::RaceMod(RACE_MOD_TYPE type)
 +
 +
not done yet....see [[MinorraceEditor#kind]] -> an industrial minor has higher industry production .... RACE_MOD_TYPE is used in [[#System.cpp]]
 +
 +
= System.cpp =
 +
 +
e.g. FoodBoni is additional increased if minor is farmer (Type Food)
 +
 +
tmpFoodBoni += minor->RaceMod(CMinor::RACE_MOD_TYPE_FOOD);
 +
tmpIndustryBoni += minor->RaceMod(CMinor::RACE_MOD_TYPE_INDUSTRY);
 +
tmpEnergyBoni += minor->RaceMod(CMinor::RACE_MOD_TYPE_ENERGY);
 +
tmpSecurityBoni += minor->RaceMod(CMinor::RACE_MOD_TYPE_SECURITY);
 +
tmpResearchBoni += minor->RaceMod(CMinor::RACE_MOD_TYPE_RESEARCH);
 +
tmpAllRessourcesBoni = minor->RaceMod(CMinor::RACE_MOD_TYPE_ALL_RESOURCES);
 +
tmpTitanBoni += tmpAllRessourcesBoni;
 +
tmpDeuteriumBoni += tmpAllRessourcesBoni;
 +
tmpDuraniumBoni += tmpAllRessourcesBoni;
 +
tmpCrystalBoni += tmpAllRessourcesBoni;
 +
tmpIridiumBoni += tmpAllRessourcesBoni;
 +
tmpCreditsBoni += minor->RaceMod(CMinor::RACE_MOD_TYPE_CREDITS);
  
  

Aktuelle Version vom 11. Januar 2014, 18:56 Uhr

Englisch-Symbol.jpg for English just click here

Einleitung

In BotE gibt es eine Vielzahl von Boni.

Einzelne Boni

Boni für gemischte Flotte

siehe hier

Flaggschiff-Bonus

siehe Flaggschiff

Kommandoschiff-Bonus

siehe hier


Minor.cpp

  • Minor::RaceMod(RACE_MOD_TYPE type)

not done yet....see MinorraceEditor#kind -> an industrial minor has higher industry production .... RACE_MOD_TYPE is used in #System.cpp

System.cpp

e.g. FoodBoni is additional increased if minor is farmer (Type Food)

tmpFoodBoni		+= minor->RaceMod(CMinor::RACE_MOD_TYPE_FOOD);
tmpIndustryBoni		+= minor->RaceMod(CMinor::RACE_MOD_TYPE_INDUSTRY);
tmpEnergyBoni		+= minor->RaceMod(CMinor::RACE_MOD_TYPE_ENERGY);
tmpSecurityBoni		+= minor->RaceMod(CMinor::RACE_MOD_TYPE_SECURITY);
tmpResearchBoni		+= minor->RaceMod(CMinor::RACE_MOD_TYPE_RESEARCH);
tmpAllRessourcesBoni 	= minor->RaceMod(CMinor::RACE_MOD_TYPE_ALL_RESOURCES);
tmpTitanBoni		+= tmpAllRessourcesBoni;
tmpDeuteriumBoni	+= tmpAllRessourcesBoni;
tmpDuraniumBoni		+= tmpAllRessourcesBoni;
tmpCrystalBoni		+= tmpAllRessourcesBoni;
tmpIridiumBoni		+= tmpAllRessourcesBoni;
tmpCreditsBoni		+= minor->RaceMod(CMinor::RACE_MOD_TYPE_CREDITS);


SystemProd.cpp

Hier sind (nur) die Boni aus der SystemProd.cpp, die Teil des Programm-Codes ist. Die restlichen Werte aus der SystemProd.cpp sind hier beschrieben.

sonstige Informationen

ShieldPowerBoni

ShipDefendBoni

GroundDefendBoni

ScanPowerBoni

ScanRangeBoni


Geheimdienst-Boni

InnerSecurityBoni

EconomySpyBoni

EconomySabotageBoni

ResearchSpyBoni

ResearchSabotageBoni

MilitarySpyBoni

MilitarySabotageBoni


Forschungstech-Boni

BioTechBoni

EnergyTechBoni

CompTechBoni

PropulsionTechBoni

ConstructionTechBoni

WeaponTechBoni