Snapshot for release 2026.10.19.1 (internal f0bdcf8)

This commit is contained in:
Tom Bohar 2026-10-19 09:11:22 -04:00
commit 39de36d3af
131 changed files with 11266 additions and 520 deletions

View file

@ -255,6 +255,18 @@
</DataTemplate></DataGridTemplateColumn.CellEditingTemplate>
</DataGridTemplateColumn>
<!-- Kite / pull-away -->
<DataGridTemplateColumn Header="Kite" Width="90" MinWidth="70">
<DataGridTemplateColumn.CellTemplate><DataTemplate>
<TextBlock Text="{Binding Kite}" Padding="3,1" VerticalAlignment="Center"
ToolTip.Tip="Default = DEFAULT row. Off = fight in place. PullAway = tag then run until pulled clear, then kill."/>
</DataTemplate></DataGridTemplateColumn.CellTemplate>
<DataGridTemplateColumn.CellEditingTemplate><DataTemplate>
<ComboBox ItemsSource="{Binding $parent[Window].((local:MainWindow)DataContext).KiteOptions}"
SelectedItem="{Binding Kite, Mode=TwoWay}"/>
</DataTemplate></DataGridTemplateColumn.CellEditingTemplate>
</DataGridTemplateColumn>
<!-- Delete -->
<DataGridTemplateColumn Header="Del" Width="34" CanUserResize="False" CanUserSort="False">
<DataGridTemplateColumn.CellTemplate><DataTemplate>

View file

@ -29,6 +29,9 @@ public partial class MainWindow : Window
{ "None", "Slash", "Pierce", "Bludgeon", "Fire", "Cold", "Lightning", "Acid", "Nether" };
public string[] PetOptions { get; } =
{ "PAuto", "Slash", "Pierce", "Bludgeon", "Fire", "Cold", "Lightning", "Acid", "Nether" };
/// <summary>RynthAi KiteModes: Default follows the DEFAULT row; PullAway tags then runs clear.</summary>
public string[] KiteOptions { get; } =
{ "Default", "Off", "PullAway" };
private string _charFolder = string.Empty;
private string _monstersPath = string.Empty;

View file

@ -23,6 +23,7 @@ public class MonsterRule : INotifyPropertyChanged
private int _offhandId;
private int _preferredAmmoItemId;
private string _petDamage = "PAuto";
private string _kite = "Default";
public string Name { get => _name; set { _name = value; OnPropertyChanged(); } }
/// <summary>The plugin's rule group label. Kept and editable here (before 2026-10-05 an
@ -58,6 +59,8 @@ public class MonsterRule : INotifyPropertyChanged
/// <summary>Optional loose ammo stack id for missile combat while this rule matches (0 = auto).</summary>
public int PreferredAmmoItemId { get => _preferredAmmoItemId; set { _preferredAmmoItemId = value; OnPropertyChanged(); } }
public string PetDamage { get => _petDamage; set { _petDamage = value; OnPropertyChanged(); } }
/// <summary>Pull-away kite: Default (follow DEFAULT row), Off, or PullAway. RynthAi KiteModes.</summary>
public string Kite { get => _kite; set { _kite = value ?? "Default"; OnPropertyChanged(); } }
/// <summary>Every field in the file this class doesn't know (e.g. the plugin's CustomDebuffs,
/// or one added later), written back unchanged.</summary>
@ -94,6 +97,7 @@ public class MonsterRule : INotifyPropertyChanged
OffhandId = _offhandId,
PreferredAmmoItemId = _preferredAmmoItemId,
PetDamage = _petDamage,
Kite = _kite,
};
}
@ -122,6 +126,7 @@ public class MonsterRule : INotifyPropertyChanged
OffhandId = src.OffhandId;
PreferredAmmoItemId = src.PreferredAmmoItemId;
PetDamage = src.PetDamage;
Kite = src.Kite;
}
public event PropertyChangedEventHandler? PropertyChanged;