mirror of
https://gitlab.com/Syroot/Worms.git
synced 2025-01-30 15:47:57 +03:00
Seperate Scheme enums and structs into own files.
This commit is contained in:
parent
5c129053dc
commit
a70ac954c5
File diff suppressed because it is too large
Load Diff
1597
src/Syroot.Worms/Gen2/Armageddon/SchemeEnums.cs
Normal file
1597
src/Syroot.Worms/Gen2/Armageddon/SchemeEnums.cs
Normal file
File diff suppressed because it is too large
Load Diff
33
src/Syroot.Worms/Gen2/Armageddon/SchemeWeaponSetting.cs
Normal file
33
src/Syroot.Worms/Gen2/Armageddon/SchemeWeaponSetting.cs
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user