Skip to content

VisionSharing

XML Elements

The following elements can be used within this component:

VisionSharing

Bribable

Type: boolean (true or false)

Path: VisionSharing/Bribable

Duration

Duration (in second) of the vision sharing for spies

Type: positive decimal

Path: VisionSharing/Duration

FailureCostRatio

Fraction of the bribe cost that will be incured if a bribe failed

Type: non-negative decimal

Path: VisionSharing/FailureCostRatio

RELAX NG Grammar

<define name="component.VisionSharing">
  <element name="VisionSharing">
    <interleave>
      <element name="Bribable">
        <data type="boolean"/>
      </element>
      <optional>
        <element name="Duration">
          <ref name="positiveDecimal"/>
        </element>
      </optional>
      <optional>
        <element name="FailureCostRatio">
          <ref name="nonNegativeDecimal"/>
        </element>
      </optional>
    </interleave>
  </element>
</define>