Seperate Scheme enums and structs into own files.

This commit is contained in:
Ray Koopa 2017-04-21 15:41:45 +02:00
parent 5c129053dc
commit a70ac954c5
3 changed files with 1639 additions and 1679 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,33 @@
using System.Diagnostics;
namespace Syroot.Worms.Gen2.Armageddon
{
/// <summary>
/// Represents the configuration of a weapon.
/// </summary>
[DebuggerDisplay("Ammo={Ammunition} Power={Power} Delay={Delay} Prob={Probability}")]
public struct SchemeWeaponSetting
{
/// <summary>
/// The amount of this weapon with which a team is equipped at game start. 10 and negative values represent
/// infinity.
/// </summary>
public sbyte Ammunition;
/// <summary>
/// The power of this weapon.
/// </summary>
public byte Power;
/// <summary>
/// The number of turns required to be taken by each team before this weapon becomes available. Negative values
/// represenet infinity.
/// </summary>
public sbyte Delay;
/// <summary>
/// The percentual chance of this weapon to appear in crates. Has no effect for super weapons.
/// </summary>
public sbyte Probability;
}
}