RynthSuite as of 2026-10-05 evening (internal a078b8e): release 2026.10.5.20 - healing delay fixes, stuck-cast safeguards, buffs over items, slayers recognised and chosen first, recover my corpse, /ub give and /mt give, Mana Tap skips wands, dungeon floor-plan bake, heal latency log
This commit is contained in:
parent
53438c65c1
commit
6847868401
60 changed files with 6361 additions and 769 deletions
|
|
@ -117,6 +117,22 @@ public sealed partial class RynthAiPlugin
|
|||
// through to HandleMtCommand returning false → "Unrecognized /ub".
|
||||
int sp = fullCommand.IndexOf(' ');
|
||||
|
||||
// /ub give[p] [count] <item> to <target>: UtilityBelt gives EVERY matching carried item
|
||||
// (Tom, 2026-10-05: "/ub give ... should give every item that matches the name"), unless
|
||||
// a count is given. It used to fall through to /mt give, which hands over only the first.
|
||||
// Targets match partially, as /mt give always did. give = exact item, givep = partial item.
|
||||
if (sp > 0 && cmd is "give" or "givep")
|
||||
{
|
||||
string rest = fullCommand.Substring(sp + cmd.Length + 1).TrimStart();
|
||||
string first = rest.Split(' ', 2)[0];
|
||||
bool counted = int.TryParse(first, out int n) && n > 0;
|
||||
string verb = cmd == "givep"
|
||||
? (counted ? "givepp" : "giveapp")
|
||||
: (counted ? "givexp" : "giveaxp");
|
||||
HandleRaCommand("/ra " + verb + " " + rest);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Verbs /mt doesn't implement but /ra does — route to the /ra dispatcher
|
||||
// (VTank-meta migration). "/ub follow X" → "/ra follow X"; myquests → /ra
|
||||
// quest-flag refresh.
|
||||
|
|
|
|||
Loading…
Reference in a new issue