mirror of
https://github.com/waynebian01/Shigure.git
synced 2026-09-03 07:15:24 +08:00
Add new potion images for Recklessness and Silvermoon City Health Potions
- Added 'recklessness-potion.jpg' to the Assets/Spell directory. - Added 'silvermoon-city-health-potion.png' to the Assets/Spell directory.
This commit is contained in:
@@ -1928,6 +1928,13 @@ public sealed class ModuleEditorControl : UserControl
|
||||
|
||||
var columnName = _rulesGrid.Columns[e.ColumnIndex].Name;
|
||||
var row = _rulesGrid.Rows[e.RowIndex];
|
||||
if (columnName == "SpellIcon" && row.IsNewRow)
|
||||
{
|
||||
e.Value = SpellIconCatalog.GetLastRuleRowIcon();
|
||||
e.FormattingApplied = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!row.IsNewRow && GetMissingConditionFields(row).Count > 0)
|
||||
{
|
||||
// 缺失字段会让条件静默不命中;用整行红色状态在保存前就提醒用户修复配置。
|
||||
|
||||
Reference in New Issue
Block a user