Beispiel #1
0
 void apply( PlayerCityPtr city ) const
 {
   events::dispatch<UpdateFavour>( city->name(), favour );
 }
void resetFavour(PlayerCityPtr city)
{
  world::Emperor& emperor = city->empire()->emperor();
  emperor.updateRelation( city->name(), config::emperor::defaultFavor );
}