mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Clarify Tera Raid crystal middle number
This commit is contained in:
parent
7a28a23d5e
commit
b4b72a8fda
1 changed files with 10 additions and 14 deletions
|
@ -89,26 +89,31 @@ public sealed class TeraRaidDetail
|
|||
}
|
||||
|
||||
[Category(General), Description("Zone the raid crystal is located in.")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
public uint AreaID
|
||||
{
|
||||
get => ReadUInt32LittleEndian(Span[0x04..]);
|
||||
set => WriteUInt32LittleEndian(Span[0x04..], value);
|
||||
}
|
||||
|
||||
[Category(Misc), Description("Indicates how the crystal is shown on the player's YMAP.")]
|
||||
public TeraRaidDisplayType DisplayType
|
||||
[Category(Misc), Description("Indicates which group the crystal belongs to.")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
public uint LotteryGroup
|
||||
{
|
||||
get => (TeraRaidDisplayType)ReadUInt32LittleEndian(Span[0x08..]);
|
||||
set => WriteUInt32LittleEndian(Span[0x08..], (uint)value);
|
||||
get => ReadUInt32LittleEndian(Span[0x08..]);
|
||||
set => WriteUInt32LittleEndian(Span[0x08..], value);
|
||||
}
|
||||
|
||||
[Category(General), Description("Zone-specific overworld spawn point for the raid crystal.")]
|
||||
[Category(General), Description("Random crystal choice from the area and lottery group.")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
public uint SpawnPointID
|
||||
{
|
||||
get => ReadUInt32LittleEndian(Span[0x0C..]);
|
||||
set => WriteUInt32LittleEndian(Span[0x0C..], value);
|
||||
}
|
||||
|
||||
public string ScenePointName => $"Raid_Point_{AreaID}_{LotteryGroup}_{SpawnPointID}";
|
||||
|
||||
[Category(General), Description("RNG Seed (32bit) for fetching the raid data table and generating the raid."), TypeConverter(typeof(TypeConverterU32))]
|
||||
public uint Seed
|
||||
{
|
||||
|
@ -138,15 +143,6 @@ public sealed class TeraRaidDetail
|
|||
}
|
||||
}
|
||||
|
||||
public enum TeraRaidDisplayType : uint
|
||||
{
|
||||
None = 0,
|
||||
Unrestricted = 1,
|
||||
RequiresRide = 2,
|
||||
Requires3 = 3,
|
||||
Requires4 = 4,
|
||||
}
|
||||
|
||||
public enum TeraRaidContentType : uint
|
||||
{
|
||||
Base05,
|
||||
|
|
Loading…
Reference in a new issue