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
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue