Class CombatConstants
Static class that contains constants regarding combat.
Inheritance
System.Object
CombatConstants
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Mechanics.Contracts.Constants
Assembly: Fibula.Mechanics.Contracts.dll
Syntax
public static class CombatConstants
Fields
| Improve this Doc View SourceDefaultAttackSpeed
The default attack speed of a combatant.
Declaration
public const decimal DefaultAttackSpeed = 1.0M
Field Value
Type | Description |
---|---|
System.Decimal |
DefaultCombatRoundTimeInMs
The default combat round time in milliseconds.
Declaration
public const int DefaultCombatRoundTimeInMs = 2000
Field Value
Type | Description |
---|---|
System.Int32 |
DefaultDefenseSpeed
The default defense speed of a combatant.
Declaration
public const decimal DefaultDefenseSpeed = 1.0M
Field Value
Type | Description |
---|---|
System.Decimal |
DefaultMaximumAttackCredits
The default maximum attack credits that a combatant has.
Declaration
public const ushort DefaultMaximumAttackCredits = 1
Field Value
Type | Description |
---|---|
System.UInt16 |
DefaultMaximumDefenseCredits
The default maximum defense credits that a combatant has.
Declaration
public const ushort DefaultMaximumDefenseCredits = 2
Field Value
Type | Description |
---|---|
System.UInt16 |
MaximumCombatSpeed
The maximum allowed combat speed in the game for combatants.
Declaration
public const decimal MaximumCombatSpeed = 5.0M
Field Value
Type | Description |
---|---|
System.Decimal |
MinimumCombatSpeed
The minimum allowed combat speed in the game for combatants.
Declaration
public const decimal MinimumCombatSpeed = 0.2M
Field Value
Type | Description |
---|---|
System.Decimal |