feat(suite): ILT Server restore, progress lum/Enl, Oracle Benediction, Handler ring evade
RynthILT: restore RynthILT.Server for Oracle/Mini Remote; aug/enl planners use character AvailableLuminance. RynthOracle: Asheron Lesser Benediction via lesserbenedictionaug; Skills tabs. RynthAi: Empyrean Handler lethal-ring back-jump evade (face Handler then xs); pet CD already on sk. Inventory/Sort: GInv/RSort off bar; inventory links and autostack polish.
This commit is contained in:
parent
ee846559fe
commit
23efcfee87
42 changed files with 882 additions and 98 deletions
|
|
@ -64,6 +64,9 @@ internal sealed partial class OracleView
|
|||
w.SeparatorText("Commands");
|
||||
w.BulletText("/ro open or close this window");
|
||||
w.BulletText("/ro character the Character tab (status, session)");
|
||||
w.BulletText("/ro skills raise and train skills");
|
||||
w.BulletText("/ro attrs attributes and vitals");
|
||||
w.BulletText("/ro progress ILT progression planners");
|
||||
w.BulletText("/ro timers open or close the Quest Timers window");
|
||||
w.BulletText("/ro fellowship the Fellowship tab");
|
||||
w.BulletText("/ro about this tab (settings, server)");
|
||||
|
|
|
|||
|
|
@ -73,15 +73,15 @@ internal sealed partial class OracleView
|
|||
w.SeparatorText(a.Name);
|
||||
continue;
|
||||
}
|
||||
if (a.IsUnknown) w.TextColored(UiColors.Grey, "?");
|
||||
else DoneMark(w, a.IsComplete(prop, flags));
|
||||
DoneMark(w, a.IsComplete(prop, flags));
|
||||
w.SameLine(50f);
|
||||
w.Text(a.IsUnknown ? "" : a.Text(prop, flags));
|
||||
w.Text(a.Text(prop, flags));
|
||||
w.SameLine(100f);
|
||||
Augmentation row = a;
|
||||
w.Selectable(Cut(a.Name, 26), "a.r." + a.Category + a.Id + a.Flag + a.Name, false,
|
||||
() => PrintEntry(row.Name, row.Flag, row.Effect, row.Hint, row.Url), 190f);
|
||||
if (a.IsUnknown) w.Tooltip("Asheron's Lesser Benediction is an item; RynthOracle can't count it.");
|
||||
() => PrintEntry(row.Name, row.Flag.Length > 0 ? row.Flag : (row.Id == -3 ? Augmentation.LesserBenedictionFlag : ""), row.Effect, row.Hint, row.Url), 190f);
|
||||
if (a.Id == -3)
|
||||
w.Tooltip("Detected from the lesserbenedictionaug quest flag (after Donatello Linante / Blackmoor's Page). Refresh Quests if this looks stale.");
|
||||
w.SameLine(300f);
|
||||
w.Text(Cut(a.Effect, 34));
|
||||
string cost = a.CostText(prop, flags);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ namespace RynthCore.Plugin.RynthOracle.Views;
|
|||
/// </summary>
|
||||
internal sealed partial class OracleView
|
||||
{
|
||||
public const string TabQuests = "Quests", TabCharacter = "Character", TabAugs = "Augs", TabSociety = "Society",
|
||||
public const string TabQuests = "Quests", TabCharacter = "Character",
|
||||
TabSkills = "Skills", TabAttributes = "Attributes", TabProgress = "Progress",
|
||||
TabAugs = "Augs", TabSociety = "Society",
|
||||
TabMarkers = "Markers", TabTitles = "Titles", TabVoid = "Void", TabFellowship = "Fellowship",
|
||||
TabBoards = "Leaderboards", TabConquest = "Conquest", TabBreeding = "Pet Breeding", TabAbout = "About";
|
||||
|
||||
|
|
@ -18,6 +20,8 @@ internal sealed partial class OracleView
|
|||
|
||||
private readonly OracleContext _c;
|
||||
private readonly TabDef[] _tabs;
|
||||
/// <summary>Last SkillsFace embed tab signalled to the engine (-2 = never).</summary>
|
||||
private int _lastSkillsEmbed = -2;
|
||||
|
||||
/// <summary>Asks the plugin to show or hide the Void window (the Void tab's button).</summary>
|
||||
public Action<bool>? SetVoidWindow;
|
||||
|
|
@ -31,6 +35,10 @@ internal sealed partial class OracleView
|
|||
{
|
||||
new(TabQuests, any, DrawQuests, true),
|
||||
new(TabCharacter, any, DrawCharacter, true),
|
||||
// Skills / Attributes / Progress: engine SkillsFace body embedded by ScriptWindowFace.
|
||||
new(TabSkills, any, DrawSkillsEmbed, true),
|
||||
new(TabAttributes, any, DrawAttributesEmbed, true),
|
||||
new(TabProgress, any, DrawProgressEmbed, true),
|
||||
new(TabAugs, any, DrawAugs, true),
|
||||
new(TabSociety, any, DrawSociety, true),
|
||||
new(TabMarkers, any, DrawMarkers, false),
|
||||
|
|
@ -98,12 +106,34 @@ internal sealed partial class OracleView
|
|||
}
|
||||
w.Separator();
|
||||
|
||||
// Keep the engine SkillsFace embed in sync with the selected Oracle tab.
|
||||
int embed = tab switch
|
||||
{
|
||||
TabSkills => 0,
|
||||
TabAttributes => 1,
|
||||
TabProgress => 2,
|
||||
_ => -1,
|
||||
};
|
||||
if (embed != _lastSkillsEmbed)
|
||||
{
|
||||
_lastSkillsEmbed = embed;
|
||||
_c.SkillsEmbedChanged(embed);
|
||||
}
|
||||
|
||||
if (!_c.InWorld && tab != TabAbout)
|
||||
{
|
||||
w.TextDisabled("Log in to a character to see this page.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Skills-family tabs: leave the body empty so ScriptWindowFace can paint SkillsFace
|
||||
// into the remaining content region after the script tab strip.
|
||||
if (embed >= 0)
|
||||
{
|
||||
(current?.Draw ?? DrawSkillsEmbed)(w);
|
||||
return;
|
||||
}
|
||||
|
||||
w.BeginChild("page." + tab, 0f, 0f, border: false);
|
||||
(current?.Draw ?? DrawAbout)(w);
|
||||
w.EndChild();
|
||||
|
|
|
|||
26
Plugins/RynthCore.Plugin.RynthOracle/Views/SkillsTabs.cs
Normal file
26
Plugins/RynthCore.Plugin.RynthOracle/Views/SkillsTabs.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// ============================================================================
|
||||
// RynthCore.Plugin.RynthOracle - Views/SkillsTabs.cs
|
||||
// Skills / Attributes / Progress tabs: the engine draws SkillsFace into this
|
||||
// window after the Oracle tab strip (ScriptWindowFace + OracleSkillsEmbed).
|
||||
// These Draw methods only reserve the page and document the hand-off.
|
||||
// ============================================================================
|
||||
|
||||
using RynthCore.Plugin.RynthOracle.Ui;
|
||||
|
||||
namespace RynthCore.Plugin.RynthOracle.Views;
|
||||
|
||||
internal sealed partial class OracleView
|
||||
{
|
||||
/// <summary>Skills: raise / train (was the standalone Skills panel).</summary>
|
||||
private void DrawSkillsEmbed(UiWindow w)
|
||||
{
|
||||
// Placeholder only: ScriptWindowFace draws SkillsFace into the remaining space.
|
||||
w.Dummy(0f, 1f);
|
||||
}
|
||||
|
||||
/// <summary>Attributes & vitals: same engine body, attributes tab.</summary>
|
||||
private void DrawAttributesEmbed(UiWindow w) => w.Dummy(0f, 1f);
|
||||
|
||||
/// <summary>Progress: ILT progression planners (was Skills → Progression).</summary>
|
||||
private void DrawProgressEmbed(UiWindow w) => w.Dummy(0f, 1f);
|
||||
}
|
||||
Loading…
Reference in a new issue