feat(mosstank): add VTank-style automation PoC
This commit is contained in:
parent
f6fe0f2a4f
commit
4e6e9bc9d9
212 changed files with 49462 additions and 416 deletions
|
|
@ -15,7 +15,15 @@ public sealed record SpellComponentDescriptor(
|
|||
uint WeenieClassId,
|
||||
string Name,
|
||||
uint Category,
|
||||
uint IconId);
|
||||
uint IconId)
|
||||
{
|
||||
public uint SpellComponentId { get; init; }
|
||||
public double BurnRate { get; init; }
|
||||
public uint GestureId { get; init; }
|
||||
public double GestureSpeed { get; init; }
|
||||
public string Type { get; init; } = string.Empty;
|
||||
public string Word { get; init; } = string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Process-shareable projection of retail's spell, component, and
|
||||
|
|
@ -142,7 +150,15 @@ public sealed class MagicCatalog
|
|||
wcid,
|
||||
pair.Value.Name.Value,
|
||||
pair.Value.Category,
|
||||
pair.Value.Icon.DataId);
|
||||
pair.Value.Icon.DataId)
|
||||
{
|
||||
SpellComponentId = pair.Key,
|
||||
BurnRate = pair.Value.CDM,
|
||||
GestureId = pair.Value.Gesture,
|
||||
GestureSpeed = pair.Value.Time,
|
||||
Type = pair.Value.Type.ToString(),
|
||||
Word = pair.Value.Text.Value,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue