Fixed some XML documentation

This commit is contained in:
verysecrethero
2016-02-18 13:49:22 +01:00
parent 8c92b7ceb6
commit b2304a95f8
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<xs:element name="BoostSniper">
<xs:annotation>
<xs:documentation>This is the defender's class boost component</xs:documentation>
<xs:documentation>This is the sniper's class boost component</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
@@ -5,12 +5,12 @@
<xs:element name="ShieldAbility">
<xs:annotation>
<xs:documentation>A dash component for one of the classes</xs:documentation>
<xs:documentation>A shield component for one of the classes</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="CoolDownMaxTimer" type="t:double" minOccurs="0">
<xs:annotation><xs:documentation>This is the cooldown on dash</xs:documentation></xs:annotation>
<xs:annotation><xs:documentation>This is the cooldown on shield</xs:documentation></xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
@@ -5,12 +5,12 @@
<xs:element name="SprintAbility">
<xs:annotation>
<xs:documentation>A dash component for one of the classes</xs:documentation>
<xs:documentation>A sprint component for one of the classes</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="CoolDownMaxTimer" type="t:double" minOccurs="0">
<xs:annotation><xs:documentation>This is the cooldown on dash</xs:documentation></xs:annotation>
<xs:annotation><xs:documentation>This is the cooldown on sprint</xs:documentation></xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
@@ -385,7 +385,7 @@ bool AssaultWeaponBehaviour::shoot(double damage)
}
// BoostUpdate: If friendly fire - reduce damage to 0
// If friendly fire - reduce damage to 0 (needed to make Boosts, Ammosharing work)
if ((ComponentInfo::EnumType)victim["Team"]["Team"] == (ComponentInfo::EnumType)m_Player["Team"]["Team"]) {
damage = 0;
}