diff --git a/Plugins/Directory.Build.props b/Plugins/Directory.Build.props new file mode 100644 index 0000000..c5e824d --- /dev/null +++ b/Plugins/Directory.Build.props @@ -0,0 +1,14 @@ + + + + + + diff --git a/Plugins/RynthCore.Plugin.RynthAi/ActivityArbiter.cs b/Plugins/RynthCore.Plugin.RynthAi/ActivityArbiter.cs index d5dc6f6..7ebc41a 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/ActivityArbiter.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/ActivityArbiter.cs @@ -61,11 +61,18 @@ internal readonly struct ArbiterInputs /// but never changes who wins the tick. /// public readonly bool FollowActive; + /// + /// A lootable corpse in range has waited LootStarveMs while combat kept the tick, and no + /// monster is close (the caller checks both). Looting gets the tick: on a busy spawn there + /// is always a monster inside MonsterRange, so "combat first" meant corpses were never + /// looted until the area emptied (2026-10-03). + /// + public readonly bool LootStarved; public ArbiterInputs(bool macroRunning, bool wantBuffing, bool wantCombat, bool wantLooting, bool wantSalvaging, bool wantNav, bool combatEngaged = false, bool boostNav = false, bool boostLoot = false, - bool followActive = false) + bool followActive = false, bool lootStarved = false) { MacroRunning = macroRunning; WantBuffing = wantBuffing; @@ -77,6 +84,7 @@ internal readonly struct ArbiterInputs BoostNav = boostNav; BoostLoot = boostLoot; FollowActive = followActive; + LootStarved = lootStarved; } } @@ -115,6 +123,9 @@ internal sealed class ActivityArbiter // clause instead. if (s.BoostLoot && s.WantLooting && !s.CombatEngaged) return BotActivity.Looting; + // Loot starvation: a corpse waited too long behind combat and nothing is close. + if (s.LootStarved && s.WantLooting) return BotActivity.Looting; + // ── Default order ───────────────────────────────────────────────── if (s.WantCombat) return BotActivity.Combat; if (s.WantLooting) return BotActivity.Looting; @@ -203,7 +214,8 @@ internal sealed class ActivityArbiter private void LogDecisionIfChanged(BotActivity decision, in ArbiterInputs s, string botAction, bool wrote) { string key = $"{decision} wrote={wrote} ba={botAction} want[buff={s.WantBuffing} cbt={s.WantCombat} loot={s.WantLooting} salv={s.WantSalvaging} nav={s.WantNav}]" - + $" eng={s.CombatEngaged} boost[nav={s.BoostNav} loot={s.BoostLoot}]"; + + $" eng={s.CombatEngaged} boost[nav={s.BoostNav} loot={s.BoostLoot}]" + + (s.LootStarved ? " lootStarved" : ""); if (key == _lastDecisionKey) return; _lastDecisionKey = key; _log($"Arbiter[step5]: {key}"); diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/AcStubs.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/AcStubs.cs index 41f3a14..03f889c 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/AcStubs.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/AcStubs.cs @@ -132,11 +132,18 @@ public class WorldObject if (o != null) { if (o.Strings.TryGetValue((uint)key, out string? v)) return v; - if (!o.LiveFallback) return defaultValue; + if (!o.LiveFallback) return NameOr(key, defaultValue); } - return Cache?.GetStringProperty(Id, (uint)key, defaultValue) ?? defaultValue; + string s = Cache?.GetStringProperty(Id, (uint)key, defaultValue) ?? defaultValue; + return string.IsNullOrEmpty(s) ? NameOr(key, defaultValue) : s; } + // The server doesn't put the name in the appraisal's string properties, so a + // StringValue(Name) loot condition compared against "" and every name rule failed + // (healing-kit Keep # rules never looted; 2026-09-28). Fall back to the object's name. + private string NameOr(StringValueKey key, string defaultValue) + => key == StringValueKey.Name && !string.IsNullOrEmpty(Name) ? Name : defaultValue; + public double Values(DoubleValueKey key, double defaultValue) { var o = Overlay; @@ -236,7 +243,9 @@ public class SpellInfo { "Jibril's Blessing", "Armor Tinkering Expertise" }, { "Yoshi's Blessing", "Item Tinkering Expertise" }, { "Koga's Blessing", "Weapon Tinkering Expertise" }, - { "Nuhmidira's Blessing", "Mana Conversion Mastery" }, + { "Nuhmudira's Blessing", "Mana Conversion Mastery" }, + { "Blessing of T'ing", "Two Handed Combat Mastery" }, + { "Celdiseth's Blessing", "Magic Item Tinkering Expertise" }, { "Saladur's Blessing", "Sprint" }, { "Jahannan's Blessing", "Jumping Mastery" }, { "Odif's Blessing", "Fealty" }, { "Odif's Boon", "Fealty" }, @@ -323,6 +332,11 @@ public class SpellInfo { n = n[8..].Trim(); changed = true; } } + // 3b. The spell data spells tiers 1-6 and 8 of the bludgeon bane "Bludgeon Bane"; + // tier 7 (Tusker's Bane) maps to "Bludgeoning Bane". One family for all. + if (n.Equals("Bludgeon Bane", StringComparison.OrdinalIgnoreCase)) + n = "Bludgeoning Bane"; + // 4. Strip " Self" / " Other" target suffixes, then lowercase n = n.Replace(" Self", "").Replace(" Other", "").Trim().ToLowerInvariant(); @@ -471,6 +485,7 @@ public class CharacterSkills AcSkillType.HeavyWeapons => 44, AcSkillType.LightWeapons => 45, AcSkillType.FinesseWeapons => 46, + AcSkillType.MissileWeapons => 47, AcSkillType.TwoHandedCombat => 41, AcSkillType.Shield => 48, AcSkillType.DualWield => 49, diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/BuffManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/BuffManager.cs index 62d13a7..76cb525 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/BuffManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/BuffManager.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using RynthCore.PluginSdk; using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -16,6 +17,8 @@ public class BuffManager : IDisposable private WorldObjectCache? _worldObjectCache; private DateTime _lastCastAttempt = DateTime.MinValue; + /// When buffing last sent a cast (buff, vital or refill). The buffing-coma watchdog's sign of progress. + public DateTime LastCastAttemptAt => _lastCastAttempt; // Throttles ChangeCombatMode(Magic) from EnsureMagicMode's "wand wielded but // mode != Magic" branch. Without this, when the server rejects/silently-drops // mode flips (e.g. wedged-target combat state), the branch fires every tick @@ -40,6 +43,7 @@ public class BuffManager : IDisposable // under RebuffSecondsRemaining), not the Force Rebuff button. The batch only tops // off buffs under RebuffTopOffSecondsRemaining; Force Rebuff recasts everything. private bool _isAutoBatchRebuff = false; + private int _lastLivePlayerEnchantCount = -1; // previous live registry read; -1 = none yet private int _pendingSpellId = 0; private Action? _onCastResolved; @@ -116,6 +120,10 @@ public class BuffManager : IDisposable // recorded (live refresh or post-cast). Max-of-observed so it converges to // the character's true ceiling after the first cast. private readonly Dictionary _familyAchievedTier = new(); + // Highest tier this session has CAST per family (nominal level). The achieved-tier cap + // applies only once the target tier has been tried, so a family deliberately cast low + // first (the tier-7 creature bootstrap before 8s) still upgrades. + private readonly Dictionary _familyAttemptedTier = new(); /// Keyed by (objectId, spellFamily) packed as long. private readonly Dictionary _itemBuffTimers = new(); /// Keyed by spell family. Tracks item-enchantment casts (armor banes, Impenetrability) directly. @@ -236,6 +244,12 @@ public class BuffManager : IDisposable private const double BusyBackoffBaseMs = 500; private const double BusyBackoffMaxMs = 8000; + // "Not enough mana" refusal (see OnChatWindowText): the refused family rests + // briefly and buffing pauses; neither is a silent-no-show strike. + private DateTime _lowManaPauseUntil = DateTime.MinValue; + private const double LowManaBuffPauseMs = 5000; + private const double LowManaFamilyRestSec = 15; + private readonly Dictionary _castIssuedAtByFamily = new(); private readonly Dictionary _expiryAtCastByFamily = new(); private const double AuditSettleMs = 15_000.0; @@ -295,6 +309,15 @@ public class BuffManager : IDisposable private int _wieldGateFailCount; private const int WieldGateFailMax = 3; private bool _wandSwapExhausted; // per-EnsureMagicMode(forBuff) signal: swap can't succeed now + // Per-EnsureMagicMode signal for EVERY caller (vitals included): the switch to Magic + // can't complete right now. A vital cast used to report "handled" here, so the potion + // after it never ran and the heal flag held Buffing over combat - an archer with a + // full pack stood still at low health, drinking nothing and not shooting back. + private bool _magicModeBlocked; + // After a blocked switch, vital casts skip the swap for this long (kits and potions + // still run), so the failing swap isn't retried and logged every tick. + private DateTime _vitalSwapBlockedUntil = DateTime.MinValue; + private const double VitalSwapBlockedRetrySec = 10; // Shared cross-subsystem weapon-swap serializer (set by RynthAiPlugin). // Prevents the buff wand-equip from racing CombatManager's weapon equip. @@ -338,6 +361,8 @@ public class BuffManager : IDisposable { AcSkillType.HeavyWeapons, "Heavy Weapon Mastery" }, { AcSkillType.LightWeapons, "Light Weapon Mastery" }, { AcSkillType.FinesseWeapons, "Finesse Weapon Mastery" }, + // Missile Weapons was missing entirely, so archers never got their mastery buff. + { AcSkillType.MissileWeapons, "Missile Weapon Mastery" }, { AcSkillType.TwoHandedCombat, "Two Handed Combat Mastery" }, { AcSkillType.Shield, "Shield Mastery" }, { AcSkillType.DualWield, "Dual Wield Mastery" }, @@ -476,6 +501,16 @@ public class BuffManager : IDisposable public void Dispose() { } + // Force Rebuff / Cancel requested from another thread (the ImGui FR button runs on + // the render thread, /ra chat commands on AC's main thread, the UI exports on the + // caller's). ForceFullRebuff clears and rewrites the timer dictionaries that + // OnHeartbeat enumerates on the plugin pump thread, so the request is only recorded + // here and applied at the top of the next OnHeartbeat. + private int _forceRebuffRequested; + private int _cancelBuffingRequested; + public void RequestForceFullRebuff() => System.Threading.Interlocked.Exchange(ref _forceRebuffRequested, 1); + public void RequestCancelBuffing() => System.Threading.Interlocked.Exchange(ref _cancelBuffingRequested, 1); + public void ForceFullRebuff() { _isForceRebuffing = true; @@ -522,7 +557,32 @@ public class BuffManager : IDisposable /// and they need the same mid-cast protection a buff gets. Side-effect free: /// CheckVitals repopulates these flags every cycle it reaches. /// - public bool WantsVitalRecharge => _isHealingSelf || _isRechargingMana || _isRechargingStamina; + public bool WantsVitalRecharge => _isHealingSelf || _isRechargingMana || _isRechargingStamina || WantsHealNow(); + + // Health below a heal line wins the arbiter's tick by itself. The flags above are only set on + // a tick where CheckVitals actually ran and acted, and it doesn't run while the client is busy + // (CanCastNow / BusyCount): looting keeps it busy almost constantly, so in a pack the arbiter + // never saw "wants to heal", looting and nav kept the tick, and the character nearly died + // (2026-10-04). Backs off for HealUnavailableMs after a check that found nothing able to + // heal, so an unhealable state can't hold the bot (the old reason the flags were strict). + private DateTime _healUnavailableUntil = DateTime.MinValue; + private const double HealUnavailableMs = 5000; + private const double HealInterruptMinMs = 600; // a buff gesture is never shorter; CanCastNow also gates + + internal bool WantsHealNow() + { + if (!_settings.IsMacroRunning || _vitals.MaxHealth == 0) return false; + if (DateTime.Now < _healUnavailableUntil) return false; + return HealthUnderAnyLine(_vitals.HealthPct, _vitals.StaminaPct); + } + + private bool HealthUnderAnyLine(int hp, int stamPct) + { + if (_settings.EmergencyHealAt > 0 && hp <= _settings.EmergencyHealAt) return true; + if (StaminaToHealthAllowed(_settings, hp, stamPct)) return true; + bool inCombat = _combatManager?.HasCloseThreat(System.Math.Max(1, _settings.MonsterRange)) == true; + return hp < (inCombat ? _settings.HealAt : _settings.TopOffHP); + } public BuffStateSnapshot GetStateSnapshot() => new() { @@ -576,6 +636,13 @@ public class BuffManager : IDisposable public void OnHeartbeat() { + // Requests queued from other threads (see RequestForceFullRebuff), in click order + // as far as it matters: a cancel after a rebuff request wins. + if (System.Threading.Interlocked.Exchange(ref _forceRebuffRequested, 0) != 0) + ForceFullRebuff(); + if (System.Threading.Interlocked.Exchange(ref _cancelBuffingRequested, 0) != 0) + CancelBuffing(); + // Post-cast diffs for the bufftest experiment run unconditionally — even if the // user toggled the macro off mid-experiment, we still want to capture and log them. // Drain any pending diagnostics whose 2s post-cast window has elapsed. @@ -639,12 +706,47 @@ public class BuffManager : IDisposable // them by reading it (no chat, no no-chat blacklisting that poisons the // tier walk). Armor/item enchants are NOT in the player registry — they // live on the item — so they still resolve via chat + the no-chat valve. + // Healing interrupts buffing: a BUFF awaiting confirmation (up to 2.5 s, 5 s for armor) + // held every heal but an emergency kit/potion. Once its gesture is done the server has + // the cast; with health under a heal line, stop waiting for the confirmation and let + // CheckVitals heal now. A late confirmation still lands through the enchantment events; + // at worst a buff is recast later (2026-10-04). + if (_pendingSpellId != 0 && _pendingSpellId != _pendingVitalSpellId && WantsHealNow() + && (DateTime.Now - _lastCastAttempt).TotalMilliseconds >= HealInterruptMinMs + && BusyCount == 0 && CastGateWatchdog.CanCastNow(_host.CanCastNow, s => _host.Log(s))) + { + _host.Log($"[BuffDiag] health {_vitals.HealthPct}% under a heal line: released pending buff id={_pendingSpellId} to heal first."); + _pendingSpellId = 0; + _onCastResolved?.Invoke("released to heal"); + } + if (_pendingSpellId != 0) { var pendingSpell = SpellTableStub.GetById(_pendingSpellId); bool pendingIsArmor = pendingSpell != null && IsItemEnchantment(pendingSpell.Name); - if (pendingSpell != null && !pendingIsArmor) + // VITAL (Heal Self, Stamina to Health, Revitalize, Stamina to Mana): instant, never + // in the enchantment registry. Its "You cast ... and restore N points" line clears + // it; when that line is late, the registry poll below counted a no-show, and two + // of those parked Heal Self for 30 minutes, so a mage healed nothing between + // Emergency Heal At and Heal At (tester's log, 2026-10-01). Now a late line just + // releases the pending cast, with no strike. + if (pendingSpell != null && _pendingSpellId == _pendingVitalSpellId) + { + if ((DateTime.Now - _lastCastAttempt).TotalMilliseconds > SelfBuffGiveUpMs) + { + _host.Log($"[BuffDiag] vital cast '{pendingSpell.Name}' (id={_pendingSpellId}) not confirmed by chat in {SelfBuffGiveUpMs:0}ms — released, no strike."); + _pendingSpellId = 0; + _pendingVitalSpellId = 0; + _onCastResolved?.Invoke("vital cast unconfirmed"); + } + else + { + TryEmergencyHealWhilePending(); + return; + } + } + else if (pendingSpell != null && !pendingIsArmor) { // SELF-BUFF: confirm against the live registry once the cast has // settled. (OnEnchantmentAdded usually clears pending faster; this @@ -657,6 +759,18 @@ public class BuffManager : IDisposable RefreshFromLiveMemory(); bool active = _ramBuffTimers.TryGetValue(pendingSpell.Family, out RamTimerInfo? st) && st.Expiration > DateTime.Now; + // A top-off (auto batch), Force Rebuff or tier upgrade casts over a + // buff that is still on, so "active" is true at the first poll + // whatever happened: a fizzle counted as landed, the buff wasn't + // refreshed, and the late fizzle line then cleared the NEXT cast. + // While the old entry hasn't moved, wait for the chat line or the + // enchantment event; at the give-up it is judged exactly as before. + if (active && sinceCastMs <= SelfBuffGiveUpMs + && _castIssuedAtByFamily.TryGetValue(pendingSpell.Family, out DateTime issuedAt) + && _expiryAtCastByFamily.TryGetValue(pendingSpell.Family, out DateTime expiryThen) + && expiryThen > issuedAt // it was on when we cast + && st!.Expiration <= expiryThen.AddSeconds(2)) // and hasn't been refreshed + active = false; if (active) { // During an auto-batch / force-rebuff, IsBuffActive gates on @@ -701,7 +815,7 @@ public class BuffManager : IDisposable // Yield while the self-buff cast is in flight. PendingSpellId keeps // the arbiter on Buffing, so CombatManager can't sneak a peace-mode // switch in mid-cast. - if (_pendingSpellId != 0) return; + if (_pendingSpellId != 0) { TryEmergencyHealWhilePending(); return; } } else if (pendingIsArmor) { @@ -759,7 +873,7 @@ public class BuffManager : IDisposable _onCastResolved?.Invoke("no-chat timeout (armor)"); } // Hold the cycle until chat resolves the item cast. - if (_pendingSpellId != 0) return; + if (_pendingSpellId != 0) { TryEmergencyHealWhilePending(); return; } } } @@ -789,6 +903,42 @@ public class BuffManager : IDisposable if (CheckVitals()) return; + // Mana floor: no buff while mana is under Get Mana At. CheckVitals above already tried + // Stamina to Mana and a mana potion; when neither could run (stamina too low, none + // carried) buffing used to carry on and run mana to 0. Wait for it instead. + int manaFloor = _settings.GetManaAt; + if (manaFloor > 0 && _vitals.MaxMana > 0 && _vitals.ManaPct < manaFloor) + { + // The floor refills on its own: Stamina to Mana (or a potion) right here, then buffing + // carries on. CheckVitals only refills below Top Off Mana out of combat, so a Top Off + // Mana under Get Mana At left buffing waiting on natural regen - one buff every 1-2 + // minutes (tester, 10-01: 85 minutes of "buffing waits", Stamina to Mana never cast). + // A low stamina is topped up first (kit, Revitalize, potion) so Stamina to Mana can run. + if (_vitals.StaminaPct > 15 && AttemptVitalCast("Stamina to Mana Self")) + { + _isRechargingMana = true; + return; + } + if (_vitals.StaminaPct <= 15 && (AttemptStaminaKitUse() || AttemptVitalCast("Revitalize Self") + || AttemptPotion("StaminaPotion", "Stamina"))) + { + _isRechargingStamina = true; + return; + } + if (AttemptPotion("ManaPotion")) + { + _isRechargingMana = true; + return; + } + LastBuffSkipReason = $"mana {_vitals.ManaPct}% under Get Mana At {manaFloor}%"; + if ((DateTime.Now - _lastManaFloorLogAt).TotalSeconds >= 30) + { + _lastManaFloorLogAt = DateTime.Now; + _host.Log($"[RynthAi] Vitals: buffing waits: mana {_vitals.ManaPct}% is under Get Mana At {manaFloor}%, stamina {_vitals.StaminaPct}%, and nothing refilled it (Stamina to Mana / stamina / potion: {Why(_vitalWhy)})"); + } + return; + } + // Too-busy backoff gates BUFFING only, and sits after CheckVitals on // purpose: a refused heal is worth retrying hard, a refused buff is not. // Blocking vitals here would have delayed emergency heals by up to 8s, @@ -809,6 +959,21 @@ public class BuffManager : IDisposable return; } + if (DateTime.Now < _lowManaPauseUntil) + { + LastBuffSkipReason = $"not enough mana ({(_lowManaPauseUntil - DateTime.Now).TotalMilliseconds:0}ms left)"; + return; + } + + // Buff items and field rations sit behind the same gates as a buff cast (no cast + // pending, server finished the last one, client not busy). They ran first, gated + // only on the local gesture, so their UseObject landed while a buff was still + // resolving server-side; the "You're too busy!" that drew cleared that buff's + // pending state. When one of them acts, no buff cast follows in the same tick. + DateTime beforeItems = _lastCastAttempt; + try { TryUseBuffItems(); TryMakeRations(); } catch { } + if (_lastCastAttempt != beforeItems) return; + if (_settings.EnableBuffing) { if (CheckAndCastSelfBuffs()) @@ -920,7 +1085,7 @@ public class BuffManager : IDisposable } } - private bool CheckVitals() + internal bool CheckVitals() // internal for the host tests (VitalsTests) { int curHealthPct = _vitals.HealthPct; int curManaPct = _vitals.ManaPct; @@ -933,11 +1098,28 @@ public class BuffManager : IDisposable _isRechargingMana = false; _isRechargingStamina = false; - // Emergency override regardless of mode: HP critical + stam available → - // burn stam for HP. Sits below the configurable thresholds so even a - // "do nothing" recharge config still saves the character. - // If it can't be cast, fall through to Heal Self rather than giving up at 30% HP. - if (curHealthPct <= 30 && curStamPct > 20 && AttemptVitalCast("Stamina to Health Self")) + // A kit's heal hasn't landed yet: nothing else for vitals until it has (see KitPending). + if (KitPending()) + { + _isHealingSelf = true; + return true; + } + + // Emergency override regardless of mode, ahead of the configurable Heal At / + // Top Off thresholds so even a "do nothing" recharge config still saves the + // character. Two independent lines (each 0 = off): + // Emergency Heal At (EmergencyHealAt, default 30): healing kits (and, while a + // cast is pending, kits and potions - TryEmergencyHealWhilePending). + // Stamina To Health At (StaminaToHealthAt, default 30) with stamina over + // Stamina To Health Min Stamina (StaminaToHealthMinStamina, default 20): + // burn stamina for health with Stamina to Health Self. + // Order: + // 1. Out of Magic mode, a kit first: the spell needs a wand swap (seconds with + // no heal and no attack at critical health). Used when either line is crossed. + // 2. Stamina to Health Self, when its own line and stamina floor allow. + // 3. Otherwise fall through to the normal chain below (kit, Heal Self, potion) + // rather than giving up at critical health. + if (TryEmergencyVitals(curHealthPct, curStamPct)) { _isHealingSelf = true; return true; @@ -959,17 +1141,46 @@ public class BuffManager : IDisposable // flagging a heal that can't happen — spell unknown, Life Magic untrained, // or parked after the server refused it (no components) — stalled the bot: // no route, no fighting back, until natural regen topped it up. - if (curHealthPct < hpThreshold && (AttemptHealthKitUse() || AttemptVitalCast("Heal Self"))) + // Kits, then spells, then potions (a consumable only when nothing free + // works: no spell, Life Magic untrained, or out of components). + if (curHealthPct < hpThreshold) { - _isHealingSelf = true; - return true; + _vitalWhy = ""; + bool healed = AttemptHealthKitUse(); + string kitWhy = _vitalWhy; + if (!healed) { _vitalWhy = ""; healed = AttemptVitalCast("Heal Self"); } + string spellWhy = _vitalWhy; + if (!healed) { _vitalWhy = ""; healed = AttemptPotion("HealthPotion"); } + if (healed) + { + _isHealingSelf = true; + return true; + } + _healUnavailableUntil = DateTime.Now.AddMilliseconds(HealUnavailableMs); + LogNoHeal($"health {curHealthPct}% < {(inCombat ? "Heal At" : "Top Off HP")} {hpThreshold}% but nothing healed: " + + $"kit: {Why(kitWhy)}; Heal Self: {Why(spellWhy)}; potion: {Why(_vitalWhy)}"); } - if (curManaPct < manaThreshold && curStamPct > 15 && AttemptVitalCast("Stamina to Mana Self")) + else if (!inCombat && curHealthPct < _settings.HealAt) + { + LogNoHeal($"health {curHealthPct}% < Heal At {_settings.HealAt}% but no monster within MonsterRange " + + $"{_settings.MonsterRange} yd, so the idle Top Off HP {hpThreshold}% applies"); + } + // Reaching here means nothing healed this check. If health is still under a line + // (e.g. an emergency line above Heal At whose kit failed), back off so WantsHealNow + // doesn't hold the tick for a heal that can't happen. + if (HealthUnderAnyLine(curHealthPct, curStamPct)) + _healUnavailableUntil = DateTime.Now.AddMilliseconds(HealUnavailableMs); + + if (curManaPct < manaThreshold + && ((curStamPct > 15 && AttemptVitalCast("Stamina to Mana Self")) || AttemptPotion("ManaPotion"))) { _isRechargingMana = true; return true; } - if (curStamPct < stamThreshold && AttemptVitalCast("Revitalize Self")) + // Stamina kits first, like healing kits for health: Lucy carried Greater Stamina Kits + // and cast Revitalize/Robustification instead, because stamina never looked for a kit. + if (curStamPct < stamThreshold && (AttemptStaminaKitUse() || AttemptVitalCast("Revitalize Self") + || AttemptPotion("StaminaPotion", "Stamina"))) { _isRechargingStamina = true; return true; @@ -978,46 +1189,430 @@ public class BuffManager : IDisposable return false; } + /// True when Stamina To Health At / Min Stamina allow Stamina to Health Self now. + internal static bool StaminaToHealthAllowed(LegacyUiSettings s, int healthPct, int staminaPct) + => s.StaminaToHealthAt > 0 && healthPct <= s.StaminaToHealthAt && staminaPct > s.StaminaToHealthMinStamina; + + /// The emergency step of CheckVitals (order in the comment there). True = handled. + private bool TryEmergencyVitals(int curHealthPct, int curStamPct) + { + int emergencyAt = _settings.EmergencyHealAt; + bool emergencyKit = emergencyAt > 0 && curHealthPct <= emergencyAt; + bool stamToHealth = StaminaToHealthAllowed(_settings, curHealthPct, curStamPct); + if (!emergencyKit && !stamToHealth) return false; + + // 1. Out of Magic mode a kit first (no wand swap at critical health). + if (CurrentCombatMode != CombatMode.Magic && AttemptHealthKitUse()) return true; + // 2. Stamina to Health Self, by its own line and stamina floor. + if (stamToHealth && AttemptVitalCast("Stamina to Health Self")) return true; + // 3. Not handled: the normal Heal At chain (kit, Heal Self, potion) gets its turn. + return false; + } + + private DateTime _lastPendingEmergencyHealAt = DateTime.MinValue; + + /// + /// A cast awaiting confirmation holds the tick for up to 2.5 s (self-buff give-up) + /// or 5 s (armor with no chat), and CheckVitals sits after that hold, so a character + /// at critical health mid-batch got no kit or potion until the cast resolved. At + /// Emergency Heal At (EmergencyHealAt, not Stamina To Health At), use a kit or potion (not a spell: that + /// would replace the pending cast) once the server has finished the cast (UseDone) + /// and the client isn't busy, so it doesn't draw "You're too busy!". + /// + private void TryEmergencyHealWhilePending() + { + int emergencyAt = _settings.EmergencyHealAt; + if (emergencyAt <= 0 || _vitals.HealthPct > emergencyAt) return; + if ((DateTime.Now - _lastPendingEmergencyHealAt).TotalMilliseconds < 2500) return; + if (IsAwaitingCastResolution() || BusyCount > 0 || KitPending()) return; + if (!CastGateWatchdog.CanCastNow(_host.CanCastNow, s => _host.Log(s))) return; + if (AttemptHealthKitUse() || AttemptPotion("HealthPotion")) + { + _lastPendingEmergencyHealAt = DateTime.Now; + _isHealingSelf = true; + } + } + + // Why the last kit / vital spell / potion attempt did nothing (the "no heal" log line). + private string _vitalWhy = ""; + private DateTime _lastNoHealLogAt = DateTime.MinValue; + + private bool VitalNo(string why) { _vitalWhy = why; return false; } + + // The pending cast is a vital one when _pendingSpellId equals this (set by AttemptVitalCast). + private int _pendingVitalSpellId; + private DateTime _lastManaFloorLogAt = DateTime.MinValue; + private static string Why(string why) => why.Length > 0 ? why : "-"; + + /// + /// One line every 10 s while health is low and nothing heals: which of kit, spell and + /// potion was skipped and why (a mage stuck between Stamina to Health's 30% and Heal At + /// healed nothing, and every skip returned silently, 2026-09-30). + /// + private void LogNoHeal(string line) + { + if ((DateTime.Now - _lastNoHealLogAt).TotalSeconds < 10) return; + _lastNoHealLogAt = DateTime.Now; + _host.Log("[RynthAi] Vitals: " + line); + } + private bool AttemptVitalCast(string baseName) { - if (!IsSkillUsable(AcSkillType.LifeMagic)) return false; + if (!IsSkillUsable(AcSkillType.LifeMagic)) return VitalNo("Life Magic not usable"); int spellId = FindBestSpellId(baseName, AcSkillType.LifeMagic); - if (spellId == 0) return false; + if (spellId == 0) return VitalNo($"no known '{baseName}' spell at the allowed tiers"); // Parked after a hard server refusal (see OnChatWindowText) — the same // per-family cooldown the buff selectors honour. int family = SpellTableStub.GetById(spellId)?.Family ?? 0; if (family != 0 && _buffFailCooldownUntil.TryGetValue(family, out DateTime coolUntil) && DateTime.Now < coolUntil) - return false; - if (!EnsureMagicMode()) return true; + return VitalNo($"parked for {(coolUntil - DateTime.Now).TotalSeconds:0} s more after a refusal or no-show"); + if (CurrentCombatMode != CombatMode.Magic && DateTime.Now < _vitalSwapBlockedUntil) + return VitalNo("wand swap blocked, retrying shortly"); + if (!EnsureMagicMode()) + { + if (!_magicModeBlocked) return true; // a swap step is in flight: yield the tick + // The switch can't complete now (no room to put the bow away, the wand won't + // wield): not handled, so the kit/potion after this gets its turn. + _vitalSwapBlockedUntil = DateTime.Now.AddSeconds(VitalSwapBlockedRetrySec); + return VitalNo("couldn't switch to Magic mode"); + } + // A locally rejected cast sends nothing, so no chat or registry change will + // ever come; setting pending anyway waited 2.5 s and counted a no-show + // strike. Mirror the buff path: not handled, so the potion gets its turn. _pendingSpellId = spellId; - _host.CastSpell((uint)_host.GetPlayerId(), spellId); + _pendingVitalSpellId = spellId; // instant: confirmed by chat, never by the registry + bool castOk = _host.CastSpell((uint)_host.GetPlayerId(), spellId); _lastCastAttempt = DateTime.Now; + if (!castOk) + { + _pendingSpellId = 0; + return VitalNo($"the client refused the cast (spell {spellId})"); + } NoteCastIssued(); return true; } - private bool AttemptHealthKitUse() + /// + /// Drinks the first potion of from the Items panel. + /// "Stamina" is the older name for stamina potions. Off with UsePotions. + /// + private bool AttemptPotion(params string[] types) { - if (_worldObjectCache == null) return false; - + if (!_settings.UsePotions || _worldObjectCache == null) return VitalNo("Use Potions is off"); + if ((DateTime.Now - _lastPotionAt).TotalMilliseconds < 2500) return VitalNo("one drunk under 2.5 s ago"); foreach (var rule in _settings.ConsumableRules) { - if (!rule.Type.Equals("HealthKit", StringComparison.OrdinalIgnoreCase)) - continue; - - if (_worldObjectCache[rule.Id] == null) - continue; - - uint playerId = _host.GetPlayerId(); - if (playerId == 0) return false; - _host.UseObjectOn(unchecked((uint)rule.Id), playerId); + if (Array.FindIndex(types, t => t.Equals(rule.Type, StringComparison.OrdinalIgnoreCase)) < 0) continue; + if (_worldObjectCache[rule.Id] == null) continue; + _host.Log($"[RynthAi] Vitals: drinking {rule.Name} ({rule.Type})."); + _host.UseFor(unchecked((uint)rule.Id), "Buff", $"vitals: drink {rule.Name} ({rule.Type}) from the Items list"); + _lastPotionAt = DateTime.Now; _lastCastAttempt = DateTime.Now; return true; } + // Nothing on the Items panel: anything in the pack of that kind (Field Rations + // weren't used unless someone added them by hand, 2026-09-29). + foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: false)) + { + string? kind = RynthCore.Plugin.RynthAi.LegacyUi.LegacyWeaponsUi.PotionType(wo); + if (kind == null || Array.FindIndex(types, t => t.Equals(kind, StringComparison.OrdinalIgnoreCase)) < 0) continue; + _host.Log($"[RynthAi] Vitals: using {wo.Name} from the pack ({kind})."); + _host.UseFor(unchecked((uint)wo.Id), "Buff", $"vitals: {kind} potion from the pack"); + _lastPotionAt = DateTime.Now; + _lastCastAttempt = DateTime.Now; + return true; + } + return VitalNo("none in the Items list or the pack"); + } - return false; + // ── Buff items: unlimited gems that cast a buff when used ───────────── + // name -> the spell ids that mean its buff is already on (Benediction and the + // Lesser one give the same +10% max health, so either counts for both). + private static readonly (string Name, uint[] Spells)[] BuffItems = + { + ("Asheron's Benediction", new uint[] { 3810, 4024 }), + ("Asheron's Lesser Benediction", new uint[] { 3810, 4024 }), + ("Blackmoor's Favor", new uint[] { 3811 }), + }; + private readonly Dictionary _buffItemUsedAt = new(StringComparer.OrdinalIgnoreCase); + private DateTime _lastBuffItemCheck = DateTime.MinValue; + + /// + /// Uses a buff item whose buff isn't on the player (Asheron's Benediction, Blackmoor's + /// Favor). They were never used. One item per check, 3 s apart; 15 s before the same + /// item again so its buff can land. Off with UseBuffItems. + /// + private void TryUseBuffItems() + { + if (!_settings.UseBuffItems || _worldObjectCache == null || !_host.HasReadPlayerEnchantments) return; + if ((DateTime.Now - _lastBuffItemCheck).TotalMilliseconds < 3000) return; + _lastBuffItemCheck = DateTime.Now; + if (!_host.CanCastNow) return; + + var active = new HashSet(); + var sids = new uint[256]; + var exp = new double[256]; + int n = _host.ReadPlayerEnchantments(sids, exp, sids.Length); + for (int i = 0; i < n && i < sids.Length; i++) active.Add(sids[i]); + + foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: false)) + { + foreach (var (name, spells) in BuffItems) + { + if (!wo.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) continue; + bool on = false; + foreach (uint s in spells) if (active.Contains(s)) { on = true; break; } + if (on) break; + if (_buffItemUsedAt.TryGetValue(name, out DateTime at) && (DateTime.Now - at).TotalSeconds < 15) break; + _buffItemUsedAt[name] = DateTime.Now; + // The same buff from the other Benediction counts as done too. + foreach (var (other, os) in BuffItems) if (os == spells || os[0] == spells[0]) _buffItemUsedAt[other] = DateTime.Now; + _host.Log($"[RynthAi] Buff item: using {wo.Name} (its buff isn't on)."); + _host.UseFor(unchecked((uint)wo.Id), "Buff", $"buff item: the buff of {wo.Name} is not on"); + _lastCastAttempt = DateTime.Now; + return; + } + } + } + + // ── Field rations: Cooking Pot on (Infinite) Dried Rations, 25 at a time ── + private DateTime _lastRationAttempt = DateTime.MinValue, _rationRestUntil = DateTime.MinValue; + private int _rationTries, _rationCountBefore = -1; + + /// + /// Cooks field rations when the pack holds fewer than MakeRationsBelow: Elaborate from + /// (Infinite) Elaborate Dried Rations, else Simple from Simple ones. Not in a fight. + /// Three tries that don't raise the count (Cooking too low, missing pot) rest it 10 min. + /// + private void TryMakeRations() + { + int want = _settings.MakeRationsBelow; + if (want <= 0 || _worldObjectCache == null || !_host.HasUseObjectOn) return; + if (DateTime.Now < _rationRestUntil) return; + if ((DateTime.Now - _lastRationAttempt).TotalSeconds < 6) return; + if (_combatManager?.HasCloseThreat(Math.Max(1, _settings.MonsterRange)) == true) return; + if (!_host.CanCastNow) return; + + int pot = 0, elaborateDried = 0, simpleDried = 0, elaborate = 0, simple = 0; + foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: false)) + { + string nm = wo.Name ?? ""; + int count = Math.Max(1, wo.Values(LongValueKey.StackCount, 1)); + if (nm.Equals("Cooking Pot", StringComparison.OrdinalIgnoreCase)) pot = wo.Id; + else if (nm.EndsWith("Elaborate Dried Rations", StringComparison.OrdinalIgnoreCase)) + { if (elaborateDried == 0 || nm.StartsWith("Infinite", StringComparison.OrdinalIgnoreCase)) elaborateDried = wo.Id; } + else if (nm.EndsWith("Simple Dried Rations", StringComparison.OrdinalIgnoreCase)) + { if (simpleDried == 0 || nm.StartsWith("Infinite", StringComparison.OrdinalIgnoreCase)) simpleDried = wo.Id; } + else if (nm.Equals("Elaborate Field Rations", StringComparison.OrdinalIgnoreCase)) elaborate += count; + else if (nm.Equals("Simple Field Rations", StringComparison.OrdinalIgnoreCase)) simple += count; + } + if (pot == 0) return; + int dried = elaborateDried != 0 ? elaborateDried : simpleDried; + int have = elaborateDried != 0 ? elaborate : simple; + if (dried == 0 || have >= want) { _rationTries = 0; _rationCountBefore = -1; return; } + + if (_rationCountBefore >= 0 && have <= _rationCountBefore) _rationTries++; + else _rationTries = 0; + if (_rationTries >= 3) + { + _rationTries = 0; + _rationCountBefore = -1; + _rationRestUntil = DateTime.Now.AddMinutes(10); + _host.WriteToChat("[RynthAi] Couldn't cook field rations (3 tries). Is your Cooking high enough? Trying again in 10 minutes.", 2); + return; + } + _rationCountBefore = have; + _lastRationAttempt = DateTime.Now; + _lastCastAttempt = DateTime.Now; + _host.Log($"[RynthAi] Rations: {have} left (< {want}), cooking with the Cooking Pot."); + _host.UseOnFor(unchecked((uint)pot), unchecked((uint)dried), "Buff", $"rations: {have} left, cooking more"); + } + private DateTime _lastPotionAt = DateTime.MinValue; + + private bool AttemptHealthKitUse() + { + if (_worldObjectCache == null) return false; + // VTank's kit options: skip kits in magic mode unless allowed; optionally + // drop to peace mode first (kits work best out of combat stance). + int mode = CurrentCombatMode; + if (mode == CombatMode.Magic && !_settings.UseKitsInMagicMode) return VitalNo("in Magic mode (Use Kits in Magic Mode is off)"); + // The first kit on the Items panel that's still there, else the best healing kit in the + // pack. Rules name one exact kit, which vanishes when its uses run out (Lucy carried + // Peerless, Gifted and Adept kits with none listed and healed with spells, 2026-09-29). + WorldObject? kit = null; + bool fromPack = false; + foreach (var r in _settings.ConsumableRules) + if (r.Type.Equals("HealthKit", StringComparison.OrdinalIgnoreCase) && _worldObjectCache[r.Id] is WorldObject wo) { kit = wo; break; } + if (kit == null) { kit = BestPackHealingKit(); fromPack = true; } + if (kit == null) return VitalNo("no healing kit"); + // Too likely to fail on what's missing (KitMinSuccessPct): let the spell have it. + uint missing = _vitals.MaxHealth > _vitals.CurrentHealth ? _vitals.MaxHealth - _vitals.CurrentHealth : 0; + if (!KitChanceOk(kit.Id, kit.Name ?? "", missing, _settings.PeaceModeForKits)) return VitalNo($"{kit.Name} under Kit Min Success %"); + if (_settings.PeaceModeForKits && mode != CombatMode.NonCombat && _host.HasChangeCombatMode) + { + _host.ChangeCombatMode(CombatMode.NonCombat); + _lastCastAttempt = DateTime.Now; + return true; // use the kit next tick, once in peace mode + } + + uint playerId = _host.GetPlayerId(); + if (playerId == 0) return false; + if (fromPack) _host.Log($"[RynthAi] Vitals: using {kit.Name} from the pack."); + _host.UseOnFor(unchecked((uint)kit.Id), playerId, "Buff", "vitals: healing kit on yourself"); + _lastCastAttempt = DateTime.Now; + MarkKitUsed(); + return true; + } + + /// + /// Uses the best stamina kit in the pack on the player, with the same rules as healing + /// kits: not in Magic mode unless UseKitsInMagicMode, peace mode first if PeaceModeForKits. + /// + private bool AttemptStaminaKitUse() + { + if (_worldObjectCache == null || !_host.HasUseObjectOn) return false; + int mode = CurrentCombatMode; + if (mode == CombatMode.Magic && !_settings.UseKitsInMagicMode) return false; + WorldObject? kit = BestPackStaminaKit(); + if (kit == null) return false; + uint missing = _vitals.MaxStamina > _vitals.CurrentStamina ? _vitals.MaxStamina - _vitals.CurrentStamina : 0; + if (!KitChanceOk(kit.Id, kit.Name ?? "", missing, _settings.PeaceModeForKits)) return false; + if (_settings.PeaceModeForKits && mode != CombatMode.NonCombat && _host.HasChangeCombatMode) + { + _host.ChangeCombatMode(CombatMode.NonCombat); + _lastCastAttempt = DateTime.Now; + return true; // use the kit next tick, once in peace mode + } + uint playerId = _host.GetPlayerId(); + if (playerId == 0) return false; + _host.Log($"[RynthAi] Vitals: using {kit.Name} from the pack."); + _host.UseOnFor(unchecked((uint)kit.Id), playerId, "Buff", "vitals: healing kit on yourself"); + _lastCastAttempt = DateTime.Now; + MarkKitUsed(); + return true; + } + + // ── Kit result wait ────────────────────────────────────────────────────── + // ACE (Healer.cs) updates the vital and says "You heal yourself for N ..." before UseDone + // clears the busy state, but _vitals can lag that, so the next tick still saw low health + // and used a second kit, every time (2026-10-03). After a kit, vitals wait for the + // kit's own result line (heal, fail, movement disrupted, already at full), plus + // KitLandGraceMs for the vitals to catch up, or KitResultTimeoutMs with no line at all. + private DateTime _kitUsedAt = DateTime.MinValue; + private DateTime _kitLandedAt = DateTime.MinValue; + private const double KitResultTimeoutMs = 8000; + private const double KitLandGraceMs = 700; + + internal void MarkKitUsed() // internal for the host tests (VitalsTests) + { + _kitUsedAt = DateTime.Now; + _kitLandedAt = DateTime.MinValue; + } + + internal bool KitPending() + { + if (_kitUsedAt == DateTime.MinValue) return false; + DateTime now = DateTime.Now; + bool done = _kitLandedAt != DateTime.MinValue + ? (now - _kitLandedAt).TotalMilliseconds >= KitLandGraceMs + : (now - _kitUsedAt).TotalMilliseconds >= KitResultTimeoutMs; + if (done) { _kitUsedAt = DateTime.MinValue; _kitLandedAt = DateTime.MinValue; } + return !done; + } + + /// True for the chat lines that end a kit use on yourself (ACE Healer.cs). + internal static bool IsKitResultLine(string lower) => + lower.Contains("heal yourself") // "You heal yourself for ...", "You critically heal ...", "You fail to heal yourself." + || lower.Contains("disrupted healing") // "Your movement disrupted healing!" + || lower.Contains("is already at full"); // full health / stamina / mana + + // ── Kit success chance (VTank's "kit chance" option) ───────────────────── + // ACE Healer.DoSkillCheck: (Healing + kit BoostValue) x (1.5 specialized, else 1.1) + // against missing vital x 2 x (1.0 in peace mode, else 1.1), through + // SkillCheck.GetSkillChance's 1 - 1/(1 + e^(0.03 x (skill - difficulty))). + private const uint PropIntBoostValue = 90; + + // BoostValue by kit name, from the live world database (2026-09-30), for kits whose + // property the client doesn't have (not identified). Unknown kits count as 0. + private static readonly (string Name, int Boost)[] KitBoosts = + { + ("Light Infused Healing Kit", 250), ("Plentiful Healing Kit", 100), ("Gifted Healing Kit", 100), + ("Adept Healing Kit", 75), ("Handy Healing Kit", 50), ("Treated Healing Kit", 25), + ("Peerless Healing Kit", 20), ("Excellent Healing Kit", 10), ("Plain Healing Kit", 0), + ("Medicated Stamina Kit", 500), ("Gauntlet Stamina Kit", 225), ("Greater Stamina Kit", 200), + ("Lesser Stamina Kit", 100), ("Eternal Stamina Kit", 100), + }; + private DateTime _lastKitChanceLog = DateTime.MinValue; + + /// + /// True when a kit may be used: KitMinSuccessPct is 0, or the kit's chance of working on + /// points is at least that. Below it the caller falls through + /// to the spell, as VTank does. + /// + private bool KitChanceOk(int kitId, string kitName, uint missing, bool willBePeace) + { + int minPct = _settings.KitMinSuccessPct; + if (minPct <= 0 || _charSkills == null) return true; + + int boost = 0; + if (_host.HasGetObjectIntProperty && _host.TryGetObjectIntProperty(unchecked((uint)kitId), PropIntBoostValue, out int b)) + boost = b; + else + foreach (var (n, v) in KitBoosts) + if (kitName.Equals(n, StringComparison.OrdinalIgnoreCase)) { boost = v; break; } + + var healing = _charSkills[AcSkillType.Healing]; + double trainedMod = healing.Training == 3 ? 1.5 : 1.1; + double combatMod = willBePeace || CurrentCombatMode == CombatMode.NonCombat ? 1.0 : 1.1; + int skill = (int)Math.Round((Math.Max(0, healing.Buffed) + boost) * trainedMod); + int difficulty = (int)Math.Round(missing * 2 * combatMod); + double chance = 1.0 - 1.0 / (1.0 + Math.Exp(0.03 * (skill - difficulty))); + int pct = (int)Math.Floor(Math.Clamp(chance, 0, 1) * 100); + bool ok = pct >= minPct; + if (!ok && (DateTime.Now - _lastKitChanceLog).TotalSeconds >= 10) + { + _lastKitChanceLog = DateTime.Now; + _host.Log($"[RynthAi] Vitals: {kitName} would work {pct}% of the time on {missing} missing (skill {skill} vs {difficulty}), under {minPct}%: using the spell."); + } + return ok; + } + + // Greater restores the most, Lesser the least. + private WorldObject? BestPackStaminaKit() + { + if (_worldObjectCache == null) return null; + WorldObject? best = null; + int bestRank = int.MaxValue; + foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: false)) + { + string name = wo.Name ?? ""; + if (!name.EndsWith("Stamina Kit", StringComparison.OrdinalIgnoreCase)) continue; + int rank = name.Contains("Greater", StringComparison.OrdinalIgnoreCase) ? 0 + : name.Contains("Lesser", StringComparison.OrdinalIgnoreCase) ? 2 : 1; + if (rank < bestRank) { best = wo; bestRank = rank; } + } + return best; + } + + // Better kits heal more per use: the best one in the pack goes first. + private static readonly string[] KitRanks = { "Peerless", "Excellent", "Gifted", "Adept", "Treated" }; + + private WorldObject? BestPackHealingKit() + { + if (_worldObjectCache == null) return null; + WorldObject? best = null; + int bestRank = int.MaxValue; + foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: false)) + { + string name = wo.Name ?? ""; + if (!name.EndsWith("Healing Kit", StringComparison.OrdinalIgnoreCase)) continue; + int rank = Array.FindIndex(KitRanks, k => name.Contains(k, StringComparison.OrdinalIgnoreCase)); + if (rank < 0) rank = name.Contains("Crude", StringComparison.OrdinalIgnoreCase) ? KitRanks.Length + 1 : KitRanks.Length; + if (rank < bestRank) { best = wo; bestRank = rank; } + } + return best; } /// @@ -1160,6 +1755,14 @@ public class BuffManager : IDisposable bool castOk = _host.CastSpell((uint)_host.GetPlayerId(), spellId); _lastCastAttempt = DateTime.Now; if (castOk) NoteCastIssued(); + if (castOk && buffFamily != 0 && spellInfo != null) + { + // Highest tier cast per family this session: IsBuffActive's landed-tier cap only + // applies once the target tier has been tried. + int castLevel = GetSpellLevel(spellInfo); + if (!_familyAttemptedTier.TryGetValue(buffFamily, out int prevAttempt) || castLevel > prevAttempt) + _familyAttemptedTier[buffFamily] = castLevel; + } if (!castOk) { // Local CastSpell rejected — packet never went out, so no chat @@ -1184,12 +1787,12 @@ public class BuffManager : IDisposable // RefreshFromLiveMemory (which rebuilds player buffs from the live registry // and would otherwise wipe them → perpetual recast = "buffing in circles"). // Matches base names AND tier-7 lore / "Aura of" forms. - private static bool IsItemEnchantment(string name) + internal static bool IsItemEnchantment(string name) { string[] itemSpells = { // Armor: Impenetrability + Brogard's, and the elemental/physical Banes "Impenetrability", "Brogard's Defiance", "Acid Bane", "Olthoi's Bane", - "Blade Bane", "Swordsman's Bane", "Swordman's Bane", "Bludgeoning Bane", "Tusker's Bane", + "Blade Bane", "Swordsman's Bane", "Swordman's Bane", "Bludgeoning Bane", "Bludgeon Bane", "Tusker's Bane", "Flame Bane", "Inferno's Bane", "Frost Bane", "Gelidite's Bane", "Lightning Bane", "Astyrrian's Bane", "Piercing Bane", "Archer's Bane", // Weapon auras: base names cover "Aura of X Self N" / "Incantation of X Self"; @@ -1447,8 +2050,16 @@ public class BuffManager : IDisposable // upgrade rule fire forever → endless recast. Cap the target at the // highest tier we've actually observed land for this family, so once // the Incantation lands at its real ceiling we stop chasing 8. + // The cap only counts once this session has actually CAST the target tier (or + // higher) for the family and seen it land lower. A family bootstrapped at a lower + // tier on purpose (Creature Enchantment Mastery / Focus / Willpower cast at 7 so the + // skill reaches 8) landed at exactly what was cast; capping it there kept those + // three at 7 while everything after them went to 8. No attempt recorded (fresh + // login) keeps the cap, so a relog doesn't recast every capped Incantation. int effectiveTarget = targetLevel; - if (_familyAchievedTier.TryGetValue(targetSpell.Family, out int achieved) && achieved < effectiveTarget) + bool triedLowerOnly = _familyAttemptedTier.TryGetValue(targetSpell.Family, out int attempted) && attempted < targetLevel; + if (!triedLowerOnly + && _familyAchievedTier.TryGetValue(targetSpell.Family, out int achieved) && achieved < effectiveTarget) effectiveTarget = achieved; if (timer.SpellLevel < effectiveTarget) @@ -1508,10 +2119,12 @@ public class BuffManager : IDisposable _host.Log($"[BuffDiag] armor-recast '{targetSpell.Name}' (id={targetSpell.Id}, fam={targetSpell.Family}): {reason}"); } - private static int GetSpellLevel(SpellInfo spell) + internal static int GetSpellLevel(SpellInfo spell) { string n = spell.Name; - if (n.StartsWith("Incantation")) return 8; + // "Aura of Incantation of Blood Drinker Self" etc. are tier 8 too (5400 s); they + // fell to the "Aura of" rule below, got a 3600 s timer and recast 30 min early. + if (n.StartsWith("Incantation") || n.Contains("Incantation of")) return 8; if (n.Contains(" VIII")) return 8; // must precede " VII" — "X VIII".Contains(" VII") is true if (n.Contains(" VII")) return 7; if (n.Contains(" VI")) return 6; @@ -1574,7 +2187,7 @@ public class BuffManager : IDisposable return augs; } - private double GetCustomSpellDuration(int spellLevel) + internal double GetCustomSpellDuration(int spellLevel) { double baseSeconds = 1800; if (spellLevel == 6) baseSeconds = 2700; @@ -1607,6 +2220,18 @@ public class BuffManager : IDisposable if (count < 0) return -1; + // Item/weapon spells (Blood Drinker, Heart Seeker, banes...) are tracked from their + // cast lines, not this registry, so a death - which wipes every enchantment at once - + // left them "active" for up to an hour and the bot fought unbuffed (reported as + // "buffing skips missile weapons"). The player's registry dropping to zero (a death, + // or logging in after one) is the signal: forget them so they get recast. + if (count == 0 && _lastLivePlayerEnchantCount != 0 && _itemSpellTimers.Count > 0) + { + _host.Log($"[BuffDiag] player enchantments dropped to 0 (was {_lastLivePlayerEnchantCount}) - clearing {_itemSpellTimers.Count} item-spell timer(s) so weapon/armor buffs recast"); + _itemSpellTimers.Clear(); + } + _lastLivePlayerEnchantCount = count; + // Preserve item enchantment timers (armor banes, Impenetrability, etc.) // that live on the item, not the player — ReadPlayerEnchantments won't // return them, so clearing would lose them every login. @@ -1919,7 +2544,7 @@ public class BuffManager : IDisposable } } - private List BuildDynamicBuffList() + internal List BuildDynamicBuffList() { var step1_CreatureMastery = new List(); var step2_Focus = new List(); @@ -1977,12 +2602,14 @@ public class BuffManager : IDisposable } /// - /// Called when the engine's enchantment hook fires for an enchantment applied to the player. - /// Refreshes timers from live memory when possible; falls back to the hook-supplied duration. + /// Called when the engine's enchantment hook fires for an enchantment applied to the player + /// (engine API v70+; older engines never call it). The engine raises it after AC applied the + /// enchantment, so the live registry already holds it. Refreshes timers from live memory + /// when possible; falls back to the hook-supplied duration. /// public void OnEnchantmentAdded(uint spellId, double durationSeconds) { - var spellInfo = SpellTableStub.GetById((int)spellId); + var spellInfo = SpellTableStub.GetById((int)(spellId & 0xFFFF)); if (spellInfo == null) return; @@ -1994,7 +2621,17 @@ public class BuffManager : IDisposable { var pendingSpell = SpellTableStub.GetById(_pendingSpellId); if (pendingSpell != null && pendingSpell.Family == spellInfo.Family) + { + // Same bookkeeping as the registry-confirmed path in the tick: the engine + // dispatches enchantment events BEFORE the "You cast ..." chat line of the + // same pump tick, and that chat handler only marks the force-rebuff family + // while _pendingSpellId is still set. Clearing pending here without marking + // it would make an auto-batch respin this buff forever. + if (_isForceRebuffing) _forceRebuffCastFamilies.Add(pendingSpell.Family); _pendingSpellId = 0; + NoteCastAccepted(); + _onCastResolved?.Invoke("self-buff confirmed (enchantment event)"); + } } // The family did land — clear any silent-no-show state (counter + @@ -2003,11 +2640,10 @@ public class BuffManager : IDisposable // the buff system should resume casting without a manual reset. // Also clears the chat-driven hard-reject cooldown if the family // somehow lands despite a recent reject (server-side fix etc.). - if (_silentNoShowCounts.Remove(spellInfo.Family) || - _buffFailCooldownUntil.Remove(spellInfo.Family)) - { - // No log spam in the common case — only the rare "park-then-recover" path. - } + // (Both, not `||`: a short-circuit left the cooldown in place whenever + // the no-show counter was also set.) + _silentNoShowCounts.Remove(spellInfo.Family); + _buffFailCooldownUntil.Remove(spellInfo.Family); // Prefer live memory read — gives accurate remaining time for all enchantments. // But only trust it if the just-added buff actually shows up there yet. @@ -2022,14 +2658,20 @@ public class BuffManager : IDisposable } /// - /// Called when the engine's enchantment hook fires for an enchantment removed from the player. - /// Clears the buff timer for the corresponding spell family. + /// Called when the engine's enchantment hook fires for an enchantment removed from the player + /// (engine API v70+: the id is the spell id, layer stripped). The registry already reflects + /// the removal, so the timers are rebuilt from it: a family that still holds another + /// enchantment (a second layer, a permanent item-granted tier) stays active instead of + /// being dropped and recast. Falls back to clearing the family's timer. /// public void OnEnchantmentRemoved(uint enchantmentId) { - var spellInfo = SpellTableStub.GetById((int)enchantmentId); + var spellInfo = SpellTableStub.GetById((int)(enchantmentId & 0xFFFF)); if (spellInfo == null) return; + if (RefreshFromLiveMemory() >= 0) + return; // (it saves the timers itself) + if (_ramBuffTimers.Remove(spellInfo.Family)) SaveBuffTimers(); } @@ -2042,11 +2684,26 @@ public class BuffManager : IDisposable { string lower = text.ToLowerInvariant(); + // Diagnostic: log every chat seen while waiting on a cast confirmation, // so we can see what AC is actually emitting and adjust our matchers. if (_pendingSpellId != 0) _host.Log($"[BuffChat] pending={_pendingSpellId} type={chatType} text='{text}'"); + // Speech and our own lines are never cast results. Every chat line reaches + // this handler, so "Bob tells you, "did you cast banes?"" matched "ou cast ", + // fell back to the pending spell and wrote a phantom 1-hour armor timer; a + // quoted "fizzle" cleared the pending cast. Speech always carries ', "' + // (says / tells you / You say, ""); no cast result does. + if (text.Contains(", \"", StringComparison.Ordinal) + || lower.StartsWith("[rynthai]", StringComparison.Ordinal) + || lower.StartsWith("rynthai]", StringComparison.Ordinal)) + return; + + // A kit on yourself finished (see KitPending). After the speech filter: "heal yourself" in a tell is not one. + if (_kitUsedAt != DateTime.MinValue && _kitLandedAt == DateTime.MinValue && IsKitResultLine(lower)) + _kitLandedAt = DateTime.Now; + // Real failure phrases. Note: bare "component" was removed — it false-matches // the "consumed the following components" line, which fires for both success // AND fizzle, so it's NOT a reliable signal either direction. Ignore it @@ -2130,6 +2787,34 @@ public class BuffManager : IDisposable return; } + // OUT OF MANA: ACE refuses with "You don't have enough Mana to cast this + // spell." It matched nothing, so the pending cast waited out the 2.5 s + // registry give-up and counted a silent no-show; two of those parked the + // family for 30 min, and a batch at low mana walked the list parking every + // buff (a vital cast parked Heal Self the same way). Not a strike: clear + // pending, rest this family briefly (a vital then falls to its potion) and + // pause buffing for a few seconds. Vitals still run, so mana can recover. + // A zeroed _lastCastAttempt (the soft-fail path) would re-cast at tick rate. + if (lower.Contains("enough mana")) + { + if (_pendingSpellId == 0) return; + var pendingSpell = SpellTableStub.GetById(_pendingSpellId); + if (pendingSpell != null) + { + if (IsItemEnchantment(pendingSpell.Name)) + { + _itemSpellTimers.Remove(pendingSpell.Family); + SaveBuffTimers(); + } + _buffFailCooldownUntil[pendingSpell.Family] = DateTime.Now.AddSeconds(LowManaFamilyRestSec); + } + _host.Log($"[BuffChat] CLEARED pending={_pendingSpellId} - not enough mana; resting the family {LowManaFamilyRestSec:0}s, buffs {LowManaBuffPauseMs / 1000:0}s."); + _pendingSpellId = 0; + _lowManaPauseUntil = DateTime.Now.AddMilliseconds(LowManaBuffPauseMs); + _onCastResolved?.Invoke("not enough mana"); + return; + } + // SOFT failure: random fizzle or transient (out of mana). Clear pending // and allow a prompt retry — do NOT cooldown the family. if (lower.Contains("fizzle") || @@ -2179,6 +2864,10 @@ public class BuffManager : IDisposable if (spellInfo != null) { _buffFailCooldownUntil.Remove(spellInfo.Family); // it cast — clear any stale hard-fail cooldown + // ...and its silent-no-show strikes. Only OnEnchantmentAdded cleared them, + // which never fires for instant vitals (Heal/Revitalize/Stamina to Mana), so + // two slow confirmations hours apart parked Heal Self for 30 minutes. + _silentNoShowCounts.Remove(spellInfo.Family); NoteCastAccepted(); // AC accepted a cast — end any too-busy backoff // Chat-authoritative record: only NOW (AC confirmed "you cast X"). // Item/armor enchants live in _itemSpellTimers (what IsBuffActive @@ -2264,7 +2953,7 @@ public class BuffManager : IDisposable // TODO: Replace with real skill training lookup from AC memory private bool IsSkillUsable(AcSkillType s) => _charSkills != null ? _charSkills[s].Training >= 2 : true; - private static AcSkillType SkillForBuff(string name) + internal static AcSkillType SkillForBuff(string name) { // Impregnability Self = Missile Defense (Creature Enchantment), NOT Item Enchantment. // Impenetrability / Bane / weapon auras = Item Enchantment. @@ -2299,11 +2988,14 @@ public class BuffManager : IDisposable private bool _buffStanceWedgeWarned; private const double BuffStanceStuckRecoverMs = 8000; private const int BuffStanceReEquipMax = 2; + // No-wand branch: bare-handed flips sent without reaching Magic before it stops holding the bot. + private const int NoWandFlipMaxFails = 4; private bool EnsureMagicMode(bool forBuff = false) { // Per-call signal; only the buff path may set it (vitals/self-heals NEVER degrade). _wandSwapExhausted = false; + _magicModeBlocked = false; if (CurrentCombatMode == CombatMode.Magic) { // Successfully reached magic mode — clear per-cycle teardown flag @@ -2330,8 +3022,35 @@ public class BuffManager : IDisposable if (wandId == 0) { // No wand available — try to switch mode anyway (bare-handed magic). - _host.ChangeCombatMode(CombatMode.Magic); - _lastCastAttempt = DateTime.Now; + // Same exponential backoff as the wand-wielded branch below: this used to + // send ChangeCombatMode every SpellCastIntervalMs (2.5 Hz) forever when the + // flip didn't take, the stance spam that crashed clients (field comment at + // _lastBuffStanceAttempt), while buffing held the bot. + int noWandShift = Math.Min(_buffStanceConsecutiveFails, 5); + int noWandGateMs = Math.Min(1000 << noWandShift, 30000); + if ((DateTime.Now - _lastBuffStanceAttempt).TotalMilliseconds > noWandGateMs) + { + _host.ChangeCombatMode(CombatMode.Magic); + _lastBuffStanceAttempt = DateTime.Now; + _lastCastAttempt = DateTime.Now; + if (_buffStanceConsecutiveFails < 6) _buffStanceConsecutiveFails++; + if (_buffStanceConsecutiveFails > 1) + _host.Log($"[BuffStance] no wand: ChangeCombatMode(Magic) retry #{_buffStanceConsecutiveFails} (next retry in {noWandGateMs / 1000}s)"); + return false; + } + // Several flips haven't taken: stop holding the bot. Buff families park + // (the caller's wand-swap-exhausted path) and vitals fall through to kits + // and potions, so combat runs; the flip is retried on the backoff. + if (_buffStanceConsecutiveFails >= NoWandFlipMaxFails) + { + _magicModeBlocked = true; + if (forBuff) _wandSwapExhausted = true; + if (!_buffStanceWedgeWarned) + { + _buffStanceWedgeWarned = true; + _host.WriteToChat($"[RynthAi] Can't enter Magic mode (no wand found) after {_buffStanceConsecutiveFails} tries. Buffs and spell heals wait and retry; add a wand to Items if this character should cast.", 2); + } + } return false; } @@ -2421,9 +3140,13 @@ public class BuffManager : IDisposable // No verified-open pack to receive the bow, or repeated dequip // failures -> the swap provably can't complete now. Degrade. _host.Log($"[WieldGate] bow 0x{(uint)bowId:X8} dequip blocked (openPack=0x{(uint)openPack:X8}, attempts={_bowDequipAttempts}/{BowDequipMaxAttempts}) — degrading"); + if (openPack == 0) + WorldObjectCache.WarnPackFull(_host, "can't put the weapon away to switch to the wand, so buffs and spell heals can't cast"); return SignalSwapFailure(forBuff, bowId, wandId); } _bowDequipAttempts++; + if (_worldObjectCache?[bowId] is WorldObject blocker && IsInOffhandSlot(blocker)) + OffhandStowed?.Invoke(bowId); // a shield: combat puts it back after _host.MoveItemInternal((uint)bowId, (uint)openPack, 0, 1); // amount>=1 (engine rejects 0) _bowDequipPendingId = bowId; _bowDequipAt = now; @@ -2434,7 +3157,7 @@ public class BuffManager : IDisposable _bowDequipPendingId = 0; // bow confirmed unwielded — fall through to wield the wand } - _host.UseObject((uint)wandId); + _host.UseFor((uint)wandId, "Buff", "buffing: wield the wand"); _pendingWieldId = wandId; _pendingWieldAt = now; _lastCastAttempt = now; @@ -2465,7 +3188,7 @@ public class BuffManager : IDisposable _buffStanceLastRecoverAt = DateTime.Now; _buffStanceReEquips++; _host.Log($"[BuffStance] STUCK {stuckMs:0}ms (wielded, mode={CurrentCombatMode}≠Magic) — re-equip attempt {_buffStanceReEquips}/{BuffStanceReEquipMax} 0x{(uint)wandId:X8}"); - _host.UseObject((uint)wandId); + _host.UseFor((uint)wandId, "Buff", "buffing: stance stuck, wield the wand again"); _lastCastAttempt = DateTime.Now; return false; } @@ -2499,29 +3222,52 @@ public class BuffManager : IDisposable return false; // Yield — let stance animation finish } - // The currently-wielded non-wand weapon (the bow) that blocks the Held-slot wand. + /// Told the id of an off-hand item (a shield) buffing put into a pack for its wand, + /// so combat puts it back on (CombatManager.NoteOffhandStowed). + public Action? OffhandStowed { get; set; } + private bool _offhandNoneNoted; + + // The currently-wielded non-wand weapon (the bow) that blocks the Held-slot wand; else + // what is in the off hand (a shield, or an off-hand weapon): ACE refuses a Held-slot caster + // beside either. With the global Offhand setting None the off hand is never touched (the + // wand then can't be wielded; logged once). private int FindWieldedNonWandWeapon(int wandId) { if (_worldObjectCache == null) return 0; + int offhand = 0; foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: true)) { if (wo.Id == wandId) continue; if (IsWandObject(wo)) continue; - if (wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0 - && (wo.ObjectClass == AcObjectClass.MeleeWeapon - || wo.ObjectClass == AcObjectClass.MissileWeapon)) + if (WorldObjectCache.IsAmmo(wo)) continue; // arrows stay on; only the bow blocks the wand + if (IsInOffhandSlot(wo)) { offhand = wo.Id; continue; } + if ((wo.ObjectClass == AcObjectClass.MeleeWeapon + || wo.ObjectClass == AcObjectClass.MissileWeapon) + && WorldObjectCache.IsWieldedByPlayer(_host, wo)) return wo.Id; } - return 0; + if (offhand != 0 && OffhandRules.Parse(_settings.OffhandDefault, OffhandMode.Auto) == OffhandMode.None) + { + if (!_offhandNoneNoted) + { + _offhandNoneNoted = true; + _host.Log($"[WieldGate] 0x{(uint)offhand:X8} '{_worldObjectCache[offhand]?.Name}' is in the off hand and Offhand is None — leaving it; the server won't wield the wand beside it"); + } + return 0; + } + return offhand; } + private static bool IsInOffhandSlot(WorldObject wo) => + (wo.Values(LongValueKey.CurrentWieldedLocation, 0) & OffhandRules.ShieldSlot) != 0; + // Live (forceRefresh) wielded check — never trusts a stale cache snapshot. private bool IsWieldedLive(int id) { if (id == 0 || _worldObjectCache == null) return false; foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: true)) if (wo.Id == id) - return wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0; + return WorldObjectCache.IsWieldedByPlayer(_host, wo); if (_host.HasGetObjectWielderInfo) { uint pid = _host.GetPlayerId(); @@ -2540,7 +3286,8 @@ public class BuffManager : IDisposable // Bounded degrade. Re-arms the bow for combat and, for the BUFF path only, raises the // exhaustion signal so the buff selector parks the family and the bot fights unbuffed. - // Vitals (forBuff=false) just yield/retry and never park (death-risk: heals must keep trying). + // Vitals (forBuff=false) never park a family; they see _magicModeBlocked, fall through to + // kits/potions, and retry the swap after VitalSwapBlockedRetrySec. private bool SignalSwapFailure(bool forBuff, int bowId, int wandId) { // If the wand ended up wielded but mode never flipped, dequip it so the bow can @@ -2553,53 +3300,30 @@ public class BuffManager : IDisposable } else if (bowId != 0 && !IsWieldedLive(bowId)) { - _host.UseObject((uint)bowId); // re-wield the bow for missile combat + _host.UseFor((uint)bowId, "Buff", "buffing done: wield the bow again"); // re-wield the bow for missile combat } _pendingWieldId = 0; _bowDequipPendingId = 0; _bowDequipAttempts = 0; _wieldGateFailCount = 0; + _magicModeBlocked = true; if (forBuff) _wandSwapExhausted = true; return false; } /// - /// Locates a wand to equip. Prefers a configured ItemRule classified as WandStaffOrb, - /// falling back to the first WandStaffOrb found in the inventory cache. - /// Mirrors CombatManager.FindWandInItems. + /// Locates a wand to equip: a listed wand, the one already in hand first (so buffing + /// doesn't swap one listed wand for another). The pack is searched only when the Items list + /// has no wand at all and WieldUnlistedWandWhenNoneListed is on, by object class only. + /// Shares WeaponList.FindWand with CombatManager.FindWandInItems. /// private int FindWandInItems() { if (_worldObjectCache == null) return 0; - - // Prefer explicitly configured wand from item rules - foreach (var rule in _settings.ItemRules) - { - var wo = _worldObjectCache[rule.Id]; - if (wo != null && IsWandObject(wo)) return rule.Id; - } - - // Inventory cache scan — ObjectClass first, name fallback for unclassified items - foreach (var wo in _worldObjectCache.GetInventory()) - { - if (IsWandObject(wo)) return wo.Id; - } - - return 0; + var cache = _worldObjectCache; + return WeaponList.FindWand(_settings.ItemRules, i => cache[i], wo => WorldObjectCache.IsWieldedByPlayer(_host, wo), + cache.GetInventory(), _settings.WieldUnlistedWandWhenNoneListed, out _); } - private static bool IsWandObject(WorldObject wo) => - wo.ObjectClass == AcObjectClass.WandStaffOrb || IsWandName(wo.Name); - - private static bool IsWandName(string name) - { - if (string.IsNullOrEmpty(name)) return false; - return name.IndexOf("Orb", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Staff", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Wand", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Scepter", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Sceptre", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Baton", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Crozier", StringComparison.OrdinalIgnoreCase) >= 0; - } + private static bool IsWandObject(WorldObject wo) => WeaponList.IsWand(wo); } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.Ammo.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.Ammo.cs new file mode 100644 index 0000000..752de5f --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.Ammo.cs @@ -0,0 +1,303 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using RynthCore.Plugin.RynthAi.CreatureData; +using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.Shared; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// Missile swaps between launchers that shoot different ammo (bow / crossbow / atlatl), rules in +/// . Melee, magic and thrown weapons never come here. +/// +/// 1. The plan: a launcher with no fitting ammo in the pack is not a candidate (logged once), +/// unless it is the one in hand (running out is ammo crafting's job, as before) or no +/// launcher at all has ammo (then nothing changes). A launcher's element is the element it +/// does with the ammo it would shoot: the stack wielded when it fits, else the stack +/// picks. +/// 2. Before wielding a launcher, ammo of another type in the ammunition slot goes into the +/// pack (the server refuses the launcher otherwise). One move in flight, 3 tries, then a rest. +/// 3. Once the launcher is in hand, the chosen stack is wielded: one in flight, confirmed in +/// the ammunition slot, retry cap and no flip-flop (, the same +/// tracker as weapons). Ammo crafting holds off while this runs (). +/// +public partial class CombatManager +{ + /// Combat's ammo wields after a launcher swap: one in flight, confirmed, capped. + internal WeaponSwapTracker AmmoTracker { get; } = new(); + /// Tests: the pack an ammo stack is put into (default: an open pack with room). + internal Func? OpenPackOverride { get; set; } + + // The launcher whose ammo combat wields once it lands, and until when that holds crafting off. + private int _ammoFollowUpFor; + private DateTime _ammoFollowUpUntil = DateTime.MinValue; + private const double AmmoFollowUpMs = 30_000; + + // Putting ammo of the wrong type away before the launcher wield. + private int _ammoDequipPendingId, _ammoDequipTries; + private DateTime _ammoDequipAt = DateTime.MinValue, _ammoDequipRestUntil = DateTime.MinValue; + private const double AmmoDequipResolveMs = 2500; + private const int AmmoDequipMaxTries = 3; + + private readonly HashSet _noAmmoNoted = new(); + + /// + /// A launcher swap's ammo step is under way (the old stack going into the pack, or the new + /// one being wielded). Ammo crafting waits: it would otherwise equip ammo for the launcher + /// being swapped away from, or start a craft in the middle of the swap. + /// + public bool AmmoSwapInProgress => _ammoFollowUpFor != 0 && DateTime.Now < _ammoFollowUpUntil; + + private void ResetAmmoState() + { + AmmoTracker.Reset(); + _ammoFollowUpFor = 0; + _ammoFollowUpUntil = DateTime.MinValue; + _ammoDequipPendingId = _ammoDequipTries = 0; + _ammoDequipRestUntil = DateTime.MinValue; + _noAmmoNoted.Clear(); + } + + /// Arrows, quarrels, darts: ValidLocations has the ammunition slot; by name when that isn't known. + internal static bool IsAmmoItem(WorldObject wo) + { + int valid = wo.Values(LongValueKey.Locations, 0); + if (valid != 0) return (valid & MissileAmmo.AmmoSlot) != 0; + return WorldObjectCache.IsAmmo(wo); + } + + /// The ammo type a weapon needs; 0 for anything but a launcher whose type is known (thrown, melee, wand). + private static int LauncherTypeOf(WorldObject? wo) + { + if (wo == null || wo.ObjectClass != AcObjectClass.MissileWeapon || IsAmmoItem(wo)) return 0; + bool stackable = wo.Values(LongValueKey.MaxStackSize, 0) > 1; + return MissileAmmo.LauncherAmmoType(wo.Values((int)MissileAmmo.PropAmmoType, 0), wo.Name, stackable); + } + + private static int AmmoTypeOfItem(WorldObject wo) => MissileAmmo.AmmoTypeOf(wo.Values((int)MissileAmmo.PropAmmoType, 0), wo.Name); + + /// Every ammo stack the character carries (wielded one included), in pack order. + internal List PackAmmo() + { + var list = new List(); + var rules = _settings.ItemRules; + foreach (var wo in _worldFilter.GetDirectInventory(forceRefresh: true)) + { + if (!IsAmmoItem(wo)) continue; + int type = AmmoTypeOfItem(wo); + if (type == 0) continue; + uint uid = unchecked((uint)wo.Id); + int? dt = _host.HasGetObjectIntProperty && _host.TryGetObjectIntProperty(uid, WeaponElements.PropDamageType, out int d) ? d : null; + int? fx = _host.HasGetObjectIntProperty && _host.TryGetObjectIntProperty(uid, WeaponElements.PropUiEffects, out int f) ? f : null; + bool prismatic = MissileAmmo.IsPrismatic(dt, wo.Name); + string elem = prismatic ? "" : WeaponElements.Detect(dt, null, fx, wo.Name).Element; + int listIdx = rules.FindIndex(r => r.Id == wo.Id); + int quality = AmmoRecipes.OutputRank(wo.Name, MissileAmmo.CategoryOf(type)); + bool wielded = WorldObjectCache.IsWieldedByPlayer(_host, wo); + list.Add(new AmmoCandidate(wo.Id, wo.Name, type, elem, prismatic, quality, listIdx, wielded)); + } + return list; + } + + private static string RuleElementOf(MonsterRule? rule) => + rule != null && !string.IsNullOrEmpty(rule.DamageType) && !rule.DamageType.Equals("Auto", StringComparison.OrdinalIgnoreCase) + ? WeaponElements.Normalize(rule.DamageType) : ""; + + private static Func AmmoRank(string ruleElement, CreatureWeakness.Ranking? weak) => + MissileAmmo.RankBy(WeaponElements.Normalize(ruleElement), weak != null && weak.Order.Count > 0 ? WeaponPlanner.TieGroups(weak) : null); + + /// A launcher's own element: the Items list's, else what its properties say. + private string LauncherElement(int id, WorldObject wo) + { + var r = _settings.ItemRules.FirstOrDefault(x => x.Id == id); + string e = WeaponElements.Normalize(r?.Element); + return e.Length > 0 ? e : ElementTracker.Read(id, wo.Name).Element; + } + + /// + /// The plan's view of the launchers (step 1 in the class note). Lists without a launcher come + /// back as they are, so melee and magic plans don't change. + /// + internal List ApplyAmmo(List listed, string ruleElement, CreatureWeakness.Ranking? weak) + { + if (listed.Count == 0 || !listed.Any(c => c.Kind == CombatMode.Missile)) return listed; + + List? pack = null; + var rank = AmmoRank(ruleElement, weak); + var result = new List(listed.Count); + var dropped = new List<(WeaponCandidate C, int Type)>(); + foreach (var c in listed) + { + if (c.Kind != CombatMode.Missile) { result.Add(c); continue; } + int lt = LauncherTypeOf(_worldFilter[c.Id]); + if (lt == 0) { result.Add(c); continue; } // thrown, or a type not known: as before + + pack ??= PackAmmo(); + var wielded = pack.FirstOrDefault(a => a.Wielded); + var use = wielded != null && MissileAmmo.Fits(lt, wielded.AmmoType) + ? wielded + : MissileAmmo.Choose(lt, c.Element, pack, rank); + if (use == null) + { + if (c.InHand) { result.Add(c); continue; } // ran out in hand: crafting's job, as before + dropped.Add((c, lt)); + continue; + } + _noAmmoNoted.Remove(c.Id); + // An element the user picked in the Items panel wins over the ammo's (owner's call, + // 2026-10-01), although the server uses the ammo's element for the damage. + if (_settings.ItemRules.FirstOrDefault(x => x.Id == c.Id)?.ElementSource == WeaponList.SourceSet) + { + result.Add(c); + continue; + } + string e = MissileAmmo.EffectiveElement(use, c.Element); + result.Add(e.Length > 0 && e != c.Element ? c with { Element = e } : c); + } + + if (dropped.Count == 0) return result; + // No launcher of the character's main kind is left: change nothing (the first launcher is + // still wielded and ammo crafting makes ammo for it), rather than turning an archer into a + // swordsman or a mage because the pack ran dry. + if (listed[0].Kind == CombatMode.Missile && !result.Any(c => c.Kind == CombatMode.Missile)) + return listed; + foreach (var (c, lt) in dropped) + if (_noAmmoNoted.Add(c.Id)) + _host.Log($"[EquipDiag] 0x{(uint)c.Id:X8} '{c.Name}' has no {MissileAmmo.Label(lt)} in the pack — not swapping to it"); + return result; + } + + private enum AmmoPrep { Ready, Busy, Blocked } + + /// + /// Step 2: called right before a launcher wield is sent. Ready: send it. Busy: ammo of the + /// wrong type is on its way into the pack (wait). Blocked: it can't be put away now (no pack + /// room, or resting after failed tries); don't send the launcher, the server would refuse it. + /// Also arms step 3 when a fitting stack is in the pack. + /// + private AmmoPrep PrepareAmmoFor(int launcherId) + { + int lt = LauncherTypeOf(_worldFilter[launcherId]); + if (lt == 0) return AmmoPrep.Ready; + + DateTime now = DateTime.Now; + var pack = PackAmmo(); + var wielded = pack.FirstOrDefault(a => a.Wielded); + if (wielded != null && MissileAmmo.Fits(lt, wielded.AmmoType)) + { + _ammoDequipPendingId = 0; _ammoDequipTries = 0; + return AmmoPrep.Ready; // same ammo type: it stays + } + if (pack.Any(a => !a.Wielded && MissileAmmo.Fits(lt, a.AmmoType))) + ArmAmmoFollowUp(launcherId, now); + if (wielded == null) + { + _ammoDequipPendingId = 0; _ammoDequipTries = 0; + return AmmoPrep.Ready; + } + + // Ammo of another type is wielded: into the pack first. + if (_ammoDequipPendingId == wielded.Id && (now - _ammoDequipAt).TotalMilliseconds < AmmoDequipResolveMs) + return AmmoPrep.Busy; + if (now < _ammoDequipRestUntil) return AmmoPrep.Blocked; + if (_ammoDequipTries >= AmmoDequipMaxTries) + { + _ammoDequipTries = 0; + _ammoDequipPendingId = 0; + _ammoDequipRestUntil = now.AddMinutes(2); + _host.Log($"[EquipDiag] {MissileAmmo.Label(wielded.AmmoType)} 0x{(uint)wielded.Id:X8} '{wielded.Name}' didn't come off after {AmmoDequipMaxTries} tries — not swapping to 0x{(uint)launcherId:X8} '{WeaponName(launcherId)}' for 2 min"); + return AmmoPrep.Blocked; + } + int packId = OpenPackOverride?.Invoke() ?? WorldObjectCache.FindPackFor(_host, _worldFilter, includeMainPack: true, requireFree: 1); + if (packId == 0 || !_host.HasMoveItemInternal) + { + if (packId == 0) WorldObjectCache.WarnPackFull(_host, $"can't put the {MissileAmmo.Label(wielded.AmmoType)} away to switch launchers"); + return AmmoPrep.Blocked; + } + if (_weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("combat-ammo-dequip")) return AmmoPrep.Busy; + + var wo = _worldFilter[wielded.Id]; + int amount = Math.Max(1, wo?.Values(LongValueKey.StackCount, 1) ?? 1); // the whole stack, not one arrow + _host.MoveItemInternal(unchecked((uint)wielded.Id), unchecked((uint)packId), 0, amount); + _ammoDequipPendingId = wielded.Id; + _ammoDequipAt = now; + _ammoDequipTries++; + _lastEquipTime = now; + _host.Log($"[EquipDiag] {MissileAmmo.Label(wielded.AmmoType)} 0x{(uint)wielded.Id:X8} '{wielded.Name}' x{amount} -> pack 0x{(uint)packId:X8} before wielding 0x{(uint)launcherId:X8} '{WeaponName(launcherId)}' (try {_ammoDequipTries}/{AmmoDequipMaxTries})"); + return AmmoPrep.Busy; + } + + private void ArmAmmoFollowUp(int launcherId, DateTime now) + { + if (_ammoFollowUpFor == launcherId && now < _ammoFollowUpUntil) return; + _ammoFollowUpFor = launcherId; + _ammoFollowUpUntil = now.AddMilliseconds(AmmoFollowUpMs); + } + + private void EndAmmoFollowUp() { _ammoFollowUpFor = 0; _ammoFollowUpUntil = DateTime.MinValue; } + + /// + /// Step 3, with confirmed in hand. True while the attack should + /// wait for the ammo wield. Only after combat's own launcher swap: an empty quiver otherwise is + /// left to ammo crafting (which may craft better ammo first), as before. + /// + private bool AmmoFollowUp(int launcherId, WorldObject target, MonsterRule? rule) + { + if (_ammoFollowUpFor == 0) return false; + DateTime now = DateTime.Now; + if (_ammoFollowUpFor != launcherId || now >= _ammoFollowUpUntil) { EndAmmoFollowUp(); return false; } + var wo = _worldFilter[launcherId]; + int lt = LauncherTypeOf(wo); + if (wo == null || lt == 0) { EndAmmoFollowUp(); return false; } + + SwapTracker.Confirmed(launcherId, now); // the launcher landed + if (AmmoTracker.PendingId != 0 && ServerRefusedSinceSend()) AmmoTracker.Refused(now, WeaponName); + + var pack = PackAmmo(); + var wielded = pack.FirstOrDefault(a => a.Wielded); + if (wielded != null && MissileAmmo.Fits(lt, wielded.AmmoType)) + { + AmmoTracker.Confirmed(wielded.Id, now); + _host.Log($"[EquipDiag] ammo in: 0x{(uint)wielded.Id:X8} '{wielded.Name}' for 0x{(uint)launcherId:X8} '{wo.Name}'"); + EndAmmoFollowUp(); + return false; + } + + var pick = MissileAmmo.Choose(lt, LauncherElement(launcherId, wo), pack, AmmoRank(RuleElementOf(rule), WeaknessFor(target))); + if (pick == null) + { + _host.Log($"[EquipDiag] no {MissileAmmo.Label(lt)} left for 0x{(uint)launcherId:X8} '{wo.Name}' — leaving it to ammo crafting"); + EndAmmoFollowUp(); + return false; + } + + var step = AmmoTracker.Next(pick.Id, wielded?.Id ?? 0, now, WeaponName); + if (AmmoTracker.Notice != null) + { + _host.Log($"[EquipDiag] {AmmoTracker.Notice}"); + AmmoTracker.Notice = null; + } + switch (step) + { + case WeaponSwapTracker.Step.Wait: + return true; + case WeaponSwapTracker.Step.Swap: + if (_weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("combat-ammo")) return true; + _host.UseFor(unchecked((uint)pick.Id), "Combat", "ammo for the missile weapon"); + if (_host.HasGetLastUseDone && _host.TryGetLastUseDone(out int uSeq, out _)) _swapUseDoneSeq = uSeq; + if (_host.HasGetLastWeenieError && _host.TryGetLastWeenieError(out int wSeq, out _, out _, out _)) _swapWeenieSeq = wSeq; + AmmoTracker.Sent(pick.Id, wielded?.Id ?? 0, now); + _lastEquipTime = now; + _host.Log($"[EquipDiag] ammo: wielding 0x{(uint)pick.Id:X8} '{pick.Name}' for 0x{(uint)launcherId:X8} '{wo.Name}' (try {AmmoTracker.TriesFor(pick.Id)}/{AmmoTracker.MaxTries})"); + return true; + case WeaponSwapTracker.Step.Hold: + _host.Log($"[EquipDiag] ammo: not wielding 0x{(uint)pick.Id:X8} '{pick.Name}' ({AmmoTracker.HoldReason}) — leaving it to ammo crafting"); + EndAmmoFollowUp(); + return false; + default: + EndAmmoFollowUp(); + return false; + } + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.Offhand.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.Offhand.cs new file mode 100644 index 0000000..95e0371 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.Offhand.cs @@ -0,0 +1,388 @@ +using System; +using System.Collections.Generic; +using RynthCore.Loot; +using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.Shared; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// The off hand (the Shield slot): a shield, or a second weapon (dual wield). Rules in +/// , the choice in . +/// +/// 1. The choice for a target: the Monsters rule's OffhandId (Auto / Shield / Offhand weapon / +/// None, or an item), else the global LegacyUiSettings.OffhandDefault. The Damage tab's +/// per-monster offhand item wins over the mode (not over None). Listed items only. +/// 2. Before a main weapon that can't share the hands (a two-hander, a launcher, a caster, or a +/// thrown weapon with an off-hand weapon) is wielded, the off hand goes into an open pack: +/// the server refuses the main weapon otherwise. One move in flight, 3 tries, then a rest. +/// With None the off hand is never touched: that main weapon isn't wielded (combat keeps +/// what's in hand) rather than sending a wield the server would refuse. +/// 3. Once the main weapon is confirmed in hand (and the stance reached), the planned off hand +/// is wielded into the Shield slot: one in flight, confirmed in the slot, server refusals +/// counted, 3 tries then a rest, no flip-flop (, the same tracker +/// as weapons and ammo). Something else in the off hand comes off first. +/// 4. What RynthAi itself took off (for a two-hander, or buffing's wand) goes back on once the +/// hands allow it, when nothing listed is planned there. +/// +public partial class CombatManager +{ + /// Combat's off-hand wields: one in flight, confirmed, capped, no flip-flop. + internal WeaponSwapTracker OffhandTracker { get; } = new(); + /// How long a read of the off hand is reused (it walks the inventory). Tests set 0. + internal double OffhandReadMs { get; set; } = 1000; + + // Taking the off hand off (into a pack): one move in flight, 3 tries, then a rest. + private int _offDequipPendingId, _offDequipTries; + private DateTime _offDequipAt = DateTime.MinValue, _offDequipRestUntil = DateTime.MinValue; + private const double OffDequipResolveMs = 2500; + private const int OffDequipMaxTries = 3; + + // The off hand that was in the slot when the current swap was decided (for no flip-flop). + private int _offSwapFrom; + // An off hand RynthAi took off itself (for a main weapon, or buffing's wand): put back later. + private int _stowedOffhandId; + // The off-hand mode for the target combat is equipping for (the wand path reads it). + private OffhandMode _curOffhandMode = OffhandMode.Auto; + + private int _offSlotId; + private DateTime _offSlotReadAt = DateTime.MinValue; + private (int Id, string Source) _lastOffPlan = (-1, ""); + private DateTime _lastOffHoldLogAt = DateTime.MinValue; + private readonly HashSet _offNoted = new(); + + private void ResetOffhandState() + { + OffhandTracker.Reset(); + _offDequipPendingId = _offDequipTries = 0; + _offDequipAt = _offDequipRestUntil = DateTime.MinValue; + _offSwapFrom = _stowedOffhandId = 0; + _offSlotId = 0; + _offSlotReadAt = DateTime.MinValue; + _lastOffPlan = (-1, ""); + _offNoted.Clear(); + } + + /// Buffing took out of the off hand for its wand: combat puts it back. + public void NoteOffhandStowed(int id) + { + if (id != 0) _stowedOffhandId = id; + } + + // ── What things are ────────────────────────────────────────────────────── + + private static int WieldedSlot(WorldObject wo) => wo.Values(LongValueKey.CurrentWieldedLocation, 0); + + private static bool IsTwoHandedItem(WorldObject wo) => + OffhandRules.IsTwoHanded(wo.Values((int)OffhandRules.PropCombatUse, 0), wo.Values(LongValueKey.Locations, 0), + wo.Values((int)OffhandRules.PropWeaponSkill, 0)); + + /// A shield (CombatUse Shield, or a non-weapon that goes in the Shield slot). + internal static bool IsShieldItem(WorldObject wo) + { + bool weaponClass = wo.ObjectClass == AcObjectClass.MeleeWeapon || wo.ObjectClass == AcObjectClass.MissileWeapon + || wo.ObjectClass == AcObjectClass.WandStaffOrb; + return OffhandRules.IsShield(wo.Values((int)OffhandRules.PropCombatUse, 0), wo.Values(LongValueKey.Locations, 0), weaponClass); + } + + /// A melee weapon the server lets into the Shield slot (dual wield). + internal static bool IsOffhandWeaponItem(WorldObject wo) => + wo.ObjectClass == AcObjectClass.MeleeWeapon + && OffhandRules.CanBeOffhandWeapon(wo.Values(LongValueKey.Locations, 0), IsTwoHandedItem(wo)); + + /// What a main weapon is, by ACE's wield rules. + internal static MainHandKind MainKindOf(WorldObject? wo) + { + if (wo == null) return MainHandKind.None; + if (WeaponList.IsWand(wo)) return MainHandKind.Caster; + if (wo.ObjectClass == AcObjectClass.MissileWeapon) + { + if (IsAmmoItem(wo)) return MainHandKind.None; + return wo.Values(LongValueKey.MaxStackSize, 0) > 1 ? MainHandKind.Thrown : MainHandKind.Launcher; + } + if (wo.ObjectClass == AcObjectClass.MeleeWeapon) + return IsTwoHandedItem(wo) ? MainHandKind.TwoHanded : MainHandKind.OneHandedMelee; + return MainHandKind.None; + } + + /// The item in the off hand (the Shield slot), 0 = empty. Read live at most every + /// , always live while an off-hand action is in flight. + internal int OffhandInSlot(bool fresh = false) + { + DateTime now = DateTime.Now; + if (!fresh && OffhandTracker.PendingId == 0 && _offDequipPendingId == 0 + && (now - _offSlotReadAt).TotalMilliseconds < OffhandReadMs) + return _offSlotId; + _offSlotReadAt = now; + int found = 0; + try + { + foreach (var wo in _worldFilter.GetDirectInventory(forceRefresh: true)) + if ((WieldedSlot(wo) & OffhandRules.ShieldSlot) != 0) { found = wo.Id; break; } + // CurrentWieldedLocation can read 0 (always under the Decal bridge): ask the weenie + // itself who wields the listed off-hand items and where. + if (found == 0 && _host.HasGetObjectWielderInfo) + { + uint pid = _host.GetPlayerId(); + foreach (var r in _settings.ItemRules) + { + if (r.Id == 0 || pid == 0) continue; + if (_host.TryGetObjectWielderInfo(unchecked((uint)r.Id), out uint wielder, out uint loc) + && wielder == pid && (loc & OffhandRules.ShieldSlot) != 0) { found = r.Id; break; } + } + } + } + catch { } + _offSlotId = found; + return found; + } + + private bool DualWieldTrained => _charSkills != null && _charSkills[AcSkillType.DualWield].Training >= 2; + + // ── The choice ─────────────────────────────────────────────────────────── + + /// + /// The off-hand mode for (the rule's OffhandId, else the global + /// setting) and an explicit item: the Damage tab's per-monster offhand, else the rule's old + /// item pick; listed only. + /// + internal (OffhandMode Mode, int ExplicitId, string Source) OffhandChoiceFor(WorldObject? target, MonsterRule? rule) + { + var global = OffhandRules.Parse(_settings.OffhandDefault, OffhandMode.Auto); + int ruleVal = rule?.OffhandId ?? 0; + // A rule left on Default follows the Default row; the Default row left unset is the global setting (Auto). + var defaultRow = _settings.MonsterRules.Find(r => r.Name.Equals("Default", StringComparison.OrdinalIgnoreCase)); + var mode = OffhandRules.RuleMode(ruleVal) ?? OffhandRules.RuleMode(defaultRow?.OffhandId ?? 0) ?? global; + if (mode == OffhandMode.None || target == null) return (mode, 0, ""); + + int pick = 0; + string source = ""; + if (_damageStore != null && _host.HasGetObjectWcid && _host.TryGetObjectWcid(unchecked((uint)target.Id), out uint wcid) && wcid != 0) + { + uint off = _damageStore.GetManualOffhand(wcid); + if (off != 0) { pick = unchecked((int)off); source = "Damage tab offhand"; } + } + if (pick == 0 && OffhandRules.IsRuleItem(ruleVal)) { pick = ruleVal; source = $"Monsters rule '{rule!.Name}' offhand"; } + if (pick == 0 && ruleVal == 0 && defaultRow != null && OffhandRules.IsRuleItem(defaultRow.OffhandId)) + { pick = defaultRow.OffhandId; source = "Default offhand"; } + if (pick != 0 && !_settings.ItemRules.Exists(r => r.Id == pick)) + { + NoteUnlisted(pick, source); + pick = 0; + source = ""; + } + return (mode, pick, source); + } + + /// The Items list's shields and off-hand-capable one-handed melee weapons, in list order. + internal List ListedOffhand(int offInSlot) + { + var list = new List(); + var seen = new HashSet(); + foreach (var r in _settings.ItemRules) + { + if (r.Id == 0 || !seen.Add(r.Id)) continue; + var wo = _worldFilter[r.Id]; + if (wo == null) continue; + if (IsShieldItem(wo)) list.Add(new OffhandCandidate(r.Id, wo.Name, true, r.Id == offInSlot)); + else if (IsOffhandWeaponItem(wo)) list.Add(new OffhandCandidate(r.Id, wo.Name, false, r.Id == offInSlot)); + } + return list; + } + + /// The off hand to go with against . + internal OffhandPlan OffhandPlanFor(WorldObject target, MonsterRule? rule, int mainId) + { + var (mode, pick, source) = OffhandChoiceFor(target, rule); + int off = OffhandInSlot(); + var kind = MainKindOf(_worldFilter[mainId]); + var plan = OffhandPlanner.Choose(mode, kind, mainId, ListedOffhand(off), DualWieldTrained, _settings.PreferDualWield, + _host.HasWieldItem, pick, source); + + // Nothing listed planned: put back what RynthAi took off itself, when the hands allow it. + if (plan.Id == 0 && mode != OffhandMode.None && _stowedOffhandId != 0 && _stowedOffhandId != mainId) + { + var stowed = _worldFilter[_stowedOffhandId]; + if (stowed == null || _stowedOffhandId == off) _stowedOffhandId = 0; + else if ((kind == MainHandKind.OneHandedMelee + && (IsShieldItem(stowed) || (IsOffhandWeaponItem(stowed) && _host.HasWieldItem))) + || (kind == MainHandKind.Thrown && IsShieldItem(stowed))) // a thrown weapon keeps a shield + plan = new OffhandPlan(_stowedOffhandId, "putting back what was taken off"); + } + return plan; + } + + // ── Before a main wield ────────────────────────────────────────────────── + + private enum OffPrep { Ready, Busy, Blocked } + + /// + /// Would what is in the off hand stop being wielded, with RynthAi + /// not allowed to take it off (Offhand None) or resting after failed tries? Combat then keeps + /// what's in hand instead of sending a wield the server would refuse. + /// + private bool OffhandBlocksMain(int mainId, OffhandMode mode) + { + int off = OffhandInSlot(); + if (off == 0) return false; + var offWo = _worldFilter[off]; + var kind = MainKindOf(_worldFilter[mainId]); + if (OffhandRules.OffhandAllowed(kind, offWo != null && IsShieldItem(offWo))) return false; + string why; + if (mode == OffhandMode.None) why = "Offhand is None, so it stays"; + else if (DateTime.Now < _offDequipRestUntil) why = "it didn't come off; resting"; + else return false; + if ((DateTime.Now - _lastOffHoldLogAt).TotalSeconds > 10) + { + _lastOffHoldLogAt = DateTime.Now; + _host.Log($"[EquipDiag] not wielding 0x{(uint)mainId:X8} '{WeaponName(mainId)}' ({OffhandRules.KindLabel(kind)}): 0x{(uint)off:X8} '{offWo?.Name ?? "?"}' is in the off hand and {why} — the server refuses it otherwise"); + } + return true; + } + + /// + /// Right before a main wield of : Ready when the off hand may stay + /// (or is empty); Busy while it goes into a pack (wait); Blocked when it can't come off now + /// (Offhand None, no pack room, resting): don't send the main wield. : + /// the caller already holds the shared swap gate for this step (the wand paths). + /// + private OffPrep ClearOffhandFor(int mainId, OffhandMode mode, bool gateHeld = false) + { + int off = OffhandInSlot(fresh: true); + if (off == 0) { _offDequipPendingId = 0; _offDequipTries = 0; return OffPrep.Ready; } + var offWo = _worldFilter[off]; + var kind = MainKindOf(_worldFilter[mainId]); + if (OffhandRules.OffhandAllowed(kind, offWo != null && IsShieldItem(offWo))) return OffPrep.Ready; + if (mode == OffhandMode.None) return OffPrep.Blocked; + var prep = DequipOffhand(off, $"before wielding 0x{(uint)mainId:X8} '{WeaponName(mainId)}' ({OffhandRules.KindLabel(kind)})", gateHeld); + if (prep == OffPrep.Busy && _stowedOffhandId == 0) _stowedOffhandId = off; + return prep; + } + + /// Put (in the off hand) into an open pack: one move in flight, capped. + private OffPrep DequipOffhand(int offId, string why, bool gateHeld = false) + { + DateTime now = DateTime.Now; + if (_offDequipPendingId != offId) _offDequipTries = 0; + if (_offDequipPendingId == offId && (now - _offDequipAt).TotalMilliseconds < OffDequipResolveMs) + return OffPrep.Busy; + if (now < _offDequipRestUntil) return OffPrep.Blocked; + string name = _worldFilter[offId]?.Name ?? ""; + if (_offDequipTries >= OffDequipMaxTries) + { + _offDequipTries = 0; + _offDequipPendingId = 0; + _offDequipRestUntil = now.AddMinutes(2); + _host.Log($"[EquipDiag] off hand 0x{(uint)offId:X8} '{name}' didn't come off after {OffDequipMaxTries} tries — leaving the hands as they are for 2 min"); + return OffPrep.Blocked; + } + int packId = OpenPackOverride?.Invoke() ?? WorldObjectCache.FindPackFor(_host, _worldFilter, includeMainPack: true, requireFree: 1); + if (packId == 0 || !_host.HasMoveItemInternal) + { + if (packId == 0) WorldObjectCache.WarnPackFull(_host, "can't put the shield away to change weapons"); + return OffPrep.Blocked; + } + if (!gateHeld && _weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("combat-offhand-dequip")) return OffPrep.Busy; + + _host.MoveItemInternal(unchecked((uint)offId), unchecked((uint)packId), 0, 1); + _offDequipPendingId = offId; + _offDequipAt = now; + _offDequipTries++; + _lastEquipTime = now; + _host.Log($"[EquipDiag] off hand 0x{(uint)offId:X8} '{name}' -> pack 0x{(uint)packId:X8} {why} (try {_offDequipTries}/{OffDequipMaxTries})"); + return OffPrep.Busy; + } + + // ── After the main weapon is in hand ───────────────────────────────────── + + /// + /// is confirmed in hand and the stance reached: wield the planned + /// off hand. True while the attack should wait (a wield or a move in flight). + /// + private bool OffhandFollowUp(WorldObject target, MonsterRule? rule, int mainId) + { + DateTime now = DateTime.Now; + if (OffhandTracker.PendingId != 0 && ServerRefusedSinceSend()) OffhandTracker.Refused(now, WeaponName); + var plan = OffhandPlanFor(target, rule, mainId); + int off = OffhandInSlot(); + + if (plan.Id != _lastOffPlan.Id || plan.Source != _lastOffPlan.Source) + { + _lastOffPlan = (plan.Id, plan.Source); + if (plan.Id != 0 || off != 0) + _host.Log(plan.Id != 0 + ? $"[EquipDiag] off hand for '{target.Name}': 0x{(uint)plan.Id:X8} '{WeaponName(plan.Id)}' ({plan.Source})" + : $"[EquipDiag] off hand for '{target.Name}': leaving 0x{(uint)off:X8} '{WeaponName(off)}' as it is ({plan.Source})"); + } + + if (plan.Id == 0 || plan.Id == off) + { + if (plan.Id != 0) + { + OffhandTracker.Confirmed(plan.Id, now); + if (plan.Id == _stowedOffhandId) _stowedOffhandId = 0; + } + if (off == 0 || off == plan.Id) { _offDequipPendingId = 0; _offDequipTries = 0; } + return false; + } + + var step = OffhandTracker.Next(plan.Id, off, now, WeaponName); + if (OffhandTracker.Notice != null) + { + _host.Log($"[EquipDiag] off hand: {OffhandTracker.Notice}"); + OffhandTracker.Notice = null; + } + switch (step) + { + case WeaponSwapTracker.Step.Wait: + return true; + case WeaponSwapTracker.Step.Hold: + if ((now - _lastOffHoldLogAt).TotalSeconds > 10) + { + _lastOffHoldLogAt = now; + _host.Log($"[EquipDiag] off hand: keeping 0x{(uint)off:X8} '{WeaponName(off)}' instead of 0x{(uint)plan.Id:X8} '{WeaponName(plan.Id)}' ({OffhandTracker.HoldReason})"); + } + return false; + case WeaponSwapTracker.Step.Swap: + break; + default: + return false; + } + + // Something else in the off hand: into the pack first (the server refuses an occupied slot). + if (off != 0) + { + var prep = DequipOffhand(off, $"to wield 0x{(uint)plan.Id:X8} '{WeaponName(plan.Id)}' there"); + if (prep == OffPrep.Busy) { _offSwapFrom = off; return true; } + return false; + } + + var wo = _worldFilter[plan.Id]; + if (wo == null) return false; + bool shield = IsShieldItem(wo); + if (!_host.HasWieldItem && !shield) + { + if (_offNoted.Add("noslotwield")) _host.Log("[EquipDiag] off hand: this engine can't wield into the off hand — no dual wield"); + return false; + } + // Another swap just went out (the main weapon, say): fight on and try again after the gate. + if (_weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("combat-offhand")) return false; + + bool sent = _host.HasWieldItem + ? _host.WieldItem(unchecked((uint)plan.Id), OffhandRules.ShieldSlot) + : _host.UseFor(unchecked((uint)plan.Id), "Combat", "offhand: wield the shield or offhand weapon"); + if (!sent) + { + if (_offNoted.Add("send:" + plan.Id)) _host.Log($"[EquipDiag] off hand: the wield of 0x{(uint)plan.Id:X8} '{wo.Name}' couldn't be sent"); + return false; + } + if (_host.HasGetLastUseDone && _host.TryGetLastUseDone(out int uSeq, out _)) _swapUseDoneSeq = uSeq; + if (_host.HasGetLastWeenieError && _host.TryGetLastWeenieError(out int wSeq, out _, out _, out _)) _swapWeenieSeq = wSeq; + OffhandTracker.Sent(plan.Id, _offSwapFrom, now); + _offSwapFrom = 0; + _lastEquipTime = now; + if (plan.Id != _stowedOffhandId) _stowedOffhandId = 0; // a listed one replaces what was taken off + _host.Log($"[EquipDiag] off hand: wielding 0x{(uint)plan.Id:X8} '{wo.Name}' for '{target.Name}' ({plan.Source}) (try {OffhandTracker.TriesFor(plan.Id)}/{OffhandTracker.MaxTries})"); + return true; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.cs index 09ad86e..9631bd1 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatManager.cs @@ -6,10 +6,11 @@ using RynthCore.Plugin.RynthAi.Combat; using RynthCore.Plugin.RynthAi.CreatureData; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.Plugin.RynthAi.Raycasting; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; -public class CombatManager : IDisposable +public partial class CombatManager : IDisposable { private readonly RynthCoreHost _host; private readonly LegacyUiSettings _settings; @@ -103,6 +104,7 @@ public class CombatManager : IDisposable private const int WandWieldFailMax = 3; // mirrors BuffManager.WieldGateFailMax private bool _stanceWedgeWarned; private DateTime _lastPeaceAttempt = DateTime.MinValue; + private int _idlePeaceAttempts; // idle peace requests since peace was last seen (backoff) // ── Bow→wand dequip-first swap state (2026-06-27) ──────────────────── // Stock ACE will NOT auto-dequip a main-hand bow for a Held-slot wand @@ -201,11 +203,16 @@ public class CombatManager : IDisposable private bool _wasMacroRunning; private DateTime _lastSpellCast = DateTime.MinValue; + // Chat throttles for "No spell found" and "Ring spell not found" (per element). + private DateTime _lastNoSpellChatAt = DateTime.MinValue; + private readonly Dictionary _ringMissingChatAt = new(StringComparer.OrdinalIgnoreCase); + private const double NoSpellChatIntervalMs = 30_000; private bool _lastCastWasRing = false; private const double ATTACK_SPELL_COOLDOWN_MS = 100.0; private bool _returnToPhysicalCombat = false; private int _savedWeaponId = 0; + private bool _physicalDebuffSkipWarned; // once per session: melee/missile debuffs skipped // Shared cross-subsystem weapon-swap serializer (set by RynthAiPlugin). // Prevents combat weapon equips from racing the buff wand-equip, and also @@ -256,6 +263,40 @@ public class CombatManager : IDisposable private DateTime _targetLockedAt = DateTime.MinValue; private DateTime _lastDamageDealtAt = DateTime.MinValue; + // ── Server attack binding (the 2026-09-29 melee stall) ─────────────────── + // ACE binds a melee attack to Player.MeleeTarget and, while that creature is + // alive, drops every further TargetedMeleeAttack ("already in melee loop?" in + // HandleActionTargetedMeleeAttack) — it never switches targets on its own. When + // the bound mob walked out of reach (the Olthoi in the next cell, 4-6 m away) the + // server sat in its move-to for it and ignored the bot's attacks on the mob in + // front of her: combat mode, action Combat, no swings, until the wand heal's + // CancelAttack + mode change ended the server's attack. So whenever the bot moves + // its physical attack to a new target while the old one may still be alive, it + // sends CancelAttack first and attacks the new target on the next cycle. + private int _serverAttackTargetId; // target of the last melee/missile attack request + private int _attackRebinds; // CancelAttacks sent for a target change (status) + private DateTime _lastRebindLogAt = DateTime.MinValue; + private int _rebindLogSuppressed; + + // Swing evidence for the stall watchdog: our hits (0x01B1), "X evaded your + // attack." and kills. Normal melee produces one every 1-2 s. + private DateTime _lastSwingEvidenceAt = DateTime.MinValue; + private DateTime _lastHitAt = DateTime.MinValue; + private DateTime _lastMissAt = DateTime.MinValue; + private DateTime _lastKillAt = DateTime.MinValue; + private string _lastSwingEvidenceKind = "none"; + + private readonly CombatStallWatchdog _stallWatch = new(); + private DateTime _stallToggleAt = DateTime.MinValue; // step 3 sent peace; the flip back follows + private DateTime _lastMissileNoAmmoAt = DateTime.MinValue; // missile mode waiting on ammo is not a stall + private int _stallRewieldId; // step 4 in progress (weapon id) + private bool _stallRewieldWieldSent; + private int _stallRewieldWieldTries; + private DateTime _stallRewieldAt = DateTime.MinValue; + private DateTime _stallRewieldCheckAt = DateTime.MinValue; + private const double StallRewieldStepTimeoutMs = 5000; + private const int StallRewieldMaxWieldTries = 3; + // Ids to skip in the scanner for a short window — both confirmed kills // (KillerNotification 0x01AD) and predicted kill-shot swaps. Value = the // EXPIRY time, so the longer confirmed window and the shorter predicted @@ -287,6 +328,8 @@ public class CombatManager : IDisposable private double _fightDamage; // cumulative confirmed damage dealt this fight private int _fightCastCount; // offensive casts fired this fight (for casts-to-kill learning) private bool _fightAppraiseRequested; // one appraisal attempt per fight to fill unknown HP + private bool _fightHpEstimated; // _fightTargetMaxHp is tier 0's scaled by the tier, not measured + private AwakenedTier? _awakenedTier; // Aelrynth's difficulty tier where we stand (0 elsewhere) // Predicted one-shots are swapped away BEFORE their own KillerNotification // arrives, so OnKillNotification (which keys off the CURRENT target) can't @@ -297,7 +340,8 @@ public class CombatManager : IDisposable // matching death-notification so it doesn't drop the (different) live target. private readonly List _predictedKillPending = new(); private readonly record struct PendingKill( - string Name, uint Wcid, int CastCount, uint WeaponId, string Element, int Tier, double Damage, DateTime Expiry); + string Name, uint Wcid, int CastCount, uint WeaponId, string Element, int Tier, double Damage, DateTime Expiry, + DateTime Started = default, string? Summon = null, int Id = 0); // Ring of recently-fought objects (by id). The single _lastFight* slot only credits a kill // that lands one-back; when we've advanced PAST the dying mob (rapid multi-mob melee) its @@ -328,6 +372,12 @@ public class CombatManager : IDisposable private string _lastCastElement = "Fire"; // element of the most recent offensive cast private int _lastCastTier; // tier (spell level) of the most recent offensive cast private uint _lastCastWeaponId; // weapon (wand) guid the most recent cast used — damage varies by weapon + private DateTime _fightStartedAt; // when BeginFight engaged the current target (seconds-to-kill) + private string? _fightSummon; // summon element out during this fight (null = none, "" = unknown element) + + /// The summon out right now: null = none, "" = one of unknown element, else its element. Set by the plugin (PetManager). + internal Func? SummonOut; + private int _equippedWeaponId; // weapon EquipWeaponAndSetStance last wielded (any mode) — drives melee/missile damage learning private bool _predictKillSwap; // set by AttackWithMagic, consumed in Think after the cast // Predicted kill shot is ARMED here but only executed once the cast is @@ -337,6 +387,8 @@ public class CombatManager : IDisposable // swarm and pinning AC's m_cBusy (the "can't enter combat mode" wedge). private bool _predictKillSwapArmed; private bool _predictSwapGestureSeen; // observed the cast windup since arming (gate the swap on it) + private int _predictArmTargetId; // target of the cast that armed the swap + private DateTime _predictArmCastAt = DateTime.MinValue; // when that cast was issued private const double PredictKillSwapMaxWaitMs = 3000; // hard cap: a tier-8 cast fully resolves well within this private const double KILL_CONFIDENCE = 0.80; // predict kill if remaining HP <= avg cast damage * this private const int KILL_MIN_SAMPLES = 3; // need this many learned hits before trusting the avg @@ -347,6 +399,11 @@ public class CombatManager : IDisposable _damageStore = damage; } + internal void SetAwakenedTier(AwakenedTier? tier) => _awakenedTier = tier; + + /// Aelrynth's difficulty tier where we stand; always 0 on other servers. + private int Difficulty => _awakenedTier?.Current ?? 0; + public int RaycastBlockCount { get; private set; } public int RaycastCheckCount { get; private set; } @@ -384,6 +441,21 @@ public class CombatManager : IDisposable // mob because something undamaged wandered closer. Cleared with the rest of // the fight state on switch/DropTarget. See HandleCombatTrigger. private const double DAMAGE_COMMITMENT_BONUS = 20.0; + // A monster this much lower in health than the wounded target takes over (a predicted kill + // that survived). See HandleCombatTrigger. + private const float MoreWoundedMargin = 0.15f; + + // Monster priority is a strict tier, not a score bonus: when a monster of a higher + // Priority is in range (MonsterRange), only monsters of that Priority are candidates, + // and a lower-priority target is left for it at once. As a +5-per-level bonus it lost + // to stickiness (+25) and commitment (+20) and did "little to nothing" (2026-10-03). + // Priority comes from GetRuleForTarget (name, match expression, else the DEFAULT row), + // cached per monster for PriorityCacheMs because match expressions aren't free and + // HandleCombatTrigger runs every tick over every scanned monster. + private readonly Dictionary _priorityCache = new(); + private List? _priorityCacheRules; + private const double PriorityCacheMs = 1000; + private int _lockedPriority; /// How long a cast-issue commitment arm survives without damage /// landing. Covers a projectile's flight (Force Arc confirms at a ~650ms @@ -432,6 +504,8 @@ public class CombatManager : IDisposable /// List of nearby, attackable, LOS-clear creatures. Re-scanned every tick (≤50 ms). /// Sorted by distance — selection itself is score-based via HandleCombatTrigger. public IReadOnlyList ScannedTargets => _scannedTargets; + internal MonsterDamageStore? DamageStore => _damageStore; // per-monster pet choice (PetManager) + internal CreatureProfileStore? CreatureStore => _creatureStore; // learned resists (PetManager) /// True when combat has an active target or viable targets nearby. Used to block navigation. public bool HasTargets => activeTargetId != 0 || _scannedTargets.Count > 0; @@ -509,23 +583,16 @@ public class CombatManager : IDisposable WorldObject? targetObj = activeTargetId != 0 ? _worldFilter[activeTargetId] : null; int pickedWeaponId = 0; string pickedWeaponName = ""; + string pickedWeaponWhy = ""; int pickedWeaponMode = 0; int weaponWieldLoc = -1; if (targetObj != null) { - // Mirror EquipWeaponAndSetStance: per-wcid Damage-tab weapon (override > best), - // else first configured weapon, else any wand. (rule.WeaponId is no longer consulted.) - uint dwcid = 0; - if (_host.HasGetObjectWcid && _host.TryGetObjectWcid((uint)targetObj.Id, out uint dw)) dwcid = dw; - uint deff = (dwcid != 0 && _damageStore != null) ? _damageStore.GetEffectiveWeapon(dwcid) : 0; - if (deff != 0) - pickedWeaponId = (int)deff; - else - { - var bestWeapon = _settings.ItemRules.FirstOrDefault(); - if (bestWeapon != null) pickedWeaponId = bestWeapon.Id; - } - if (pickedWeaponId == 0) pickedWeaponId = FindWandInItems(); + // The same choice EquipWeaponAndSetStance makes, else any wand. + var dumpRule = GetRuleForTarget(targetObj); + string dumpDesired = "Auto"; + pickedWeaponId = ChooseWeapon(targetObj, dumpRule, ref dumpDesired, out pickedWeaponWhy); + if (pickedWeaponId == 0) { pickedWeaponId = FindWandInItems(); pickedWeaponWhy = "FindWandInItems"; } if (pickedWeaponId != 0) { @@ -571,6 +638,7 @@ public class CombatManager : IDisposable IsMacroRunning = _settings.IsMacroRunning, PickedWeaponId = pickedWeaponId, PickedWeaponName = pickedWeaponName, + PickedWeaponWhy = pickedWeaponWhy ?? "", PickedWeaponMode = pickedWeaponMode, PickedWeaponWieldLoc = weaponWieldLoc, HasWieldedAmmoFlag = hasAmmo, @@ -599,6 +667,8 @@ public class CombatManager : IDisposable public bool IsMacroRunning; public int PickedWeaponId; public string PickedWeaponName; + /// Why that weapon (the plan's source, e.g. "slayer (Olthoi x2)"). + public string PickedWeaponWhy; public int PickedWeaponMode; public int PickedWeaponWieldLoc; public bool HasWieldedAmmoFlag; @@ -669,6 +739,11 @@ public class CombatManager : IDisposable bool losDebug = _settings.LosDebugLog; if (losDebug) LogLosDebugWeapon(); + // The player's position once per scan: Distance(player, mob) re-read it for every + // creature, two host reads per monster 20 times a second (2026-10-02 flood work). + bool hasPlayerPos = _host.TryGetObjectPosition((uint)playerId, out uint meCell, + out float meX, out float meY, out float meZ); + foreach (var wo in _worldFilter.GetLandscape()) { if (wo.Id == playerId) continue; @@ -684,14 +759,13 @@ public class CombatManager : IDisposable // so Ring reflects how many mobs are physically near us regardless of the gameplay // filters below — that's what distinguishes "out of range" from "all filtered out". scanTotal++; - double dist = _worldFilter.Distance(playerId, wo.Id); + bool hasMobPos = false; + float tx = 0f, ty = 0f; + double dist = hasPlayerPos + ? _worldFilter.DistanceFrom(meCell, meX, meY, meZ, wo.Id, out hasMobPos, out tx, out ty) + : double.MaxValue; if (dist <= maxDist) scanRing++; - // User-configured "never attack" list — excluded from acquisition - // entirely (an already-engaged match drops out of _scannedTargets - // here and is released by the scan-grace timer in Think). - if (IsUserBlacklistedName(wo.Name)) continue; - // Cache name->wcid (once per type) for AOE kill attribution (tier 5): a mob wiped // by an area cast we never directly fought is credited by matching its death message. // Attackable only — this runs before the attackable filter below, so an NPC the @@ -702,6 +776,24 @@ public class CombatManager : IDisposable && _host.HasGetObjectWcid && _host.TryGetObjectWcid((uint)wo.Id, out uint scanWcid) && scanWcid != 0) _seenMonsterNameToWcid[wo.Name] = scanWcid; + // Allow the currently-engaged target out to DisengageDistance: AC's + // combat-mode step-back routinely pushes the active target just past + // MonsterRange, and dropping it from the scan defeated the disengage + // hysteresis — it vanished from _scannedTargets and was dropped after + // the 1.5s scan grace despite the distance gate intending to keep + // attacking out to DisengageDistance. + // The range gate comes before the other filters (all of them only drop a monster, + // so the order doesn't change the result): in a crowded dungeon most monsters are + // out of range and now cost only their distance, not the name list, blacklist, + // attackable and health reads as well. + bool isEngaged = wo.Id != 0 && (wo.Id == activeTargetId || wo.Id == _lockedTargetId); + if (dist > (isEngaged ? Math.Max(maxDist, DisengageDistance) : maxDist)) continue; + + // User-configured "never attack" list — excluded from acquisition + // entirely (an already-engaged match drops out of _scannedTargets + // here and is released by the scan-grace timer in Think). + if (IsUserBlacklistedName(wo.Name)) continue; + if (_blacklistManager.IsBlacklisted(wo.Id)) continue; // Just killed (KillerNotification) but not yet a corpse — skip so we @@ -713,15 +805,6 @@ public class CombatManager : IDisposable // Dead but not yet reclassified as corpse — skip if (_worldFilter.GetHealthRatio(wo.Id) == 0f) continue; - // Allow the currently-engaged target out to DisengageDistance: AC's - // combat-mode step-back routinely pushes the active target just past - // MonsterRange, and dropping it from the scan defeated the disengage - // hysteresis — it vanished from _scannedTargets and was dropped after - // the 1.5s scan grace despite the distance gate intending to keep - // attacking out to DisengageDistance. - bool isEngaged = wo.Id != 0 && (wo.Id == activeTargetId || wo.Id == _lockedTargetId); - if (dist > (isEngaged ? Math.Max(maxDist, DisengageDistance) : maxDist)) continue; - bool losBlocked = false; if (_settings.EnableRaycasting && RaycastInitialized && _raycastSystem?.TargetingFSM != null) { @@ -740,7 +823,7 @@ public class CombatManager : IDisposable } double angle = 180.0; - if (hasPose && _host.TryGetObjectPosition((uint)wo.Id, out _, out float tx, out float ty, out _)) + if (hasPose && hasMobPos) // the mob's position was read for the distance above { double desired = Math.Atan2(tx - ppx, ty - ppy) * (180.0 / Math.PI); if (desired < 0) desired += 360.0; @@ -777,8 +860,18 @@ public class CombatManager : IDisposable // Diagnostic: surface every blacklist (any path) with id + reason so a // single login test is conclusive instead of another guess. _blacklistManager.Log = m => _host.Log($"[Blacklist] {m}"); + ElementTracker = new WeaponElementTracker(host); } + /// Reads listed weapons' elements and identifies them (pumped by the plugin). + internal WeaponElementTracker ElementTracker { get; } + /// Combat's weapon swaps: one in flight, confirmed, capped, no flip-flop. + internal WeaponSwapTracker SwapTracker { get; } = new(); + /// Tests: which elements the character can cast (default: the spellbook). + internal Func? CanCastOverride { get; set; } + /// Tests: the weapon in hand (default: a live read of the inventory). + internal Func? InHandOverride { get; set; } + public void SetSpellManager(SpellManager spellManager) => _spellManager = spellManager; public void SetCharacterSkills(CharacterSkills skills) => _charSkills = skills; @@ -804,6 +897,17 @@ public class CombatManager : IDisposable } public void SetPlayerId(uint playerId) { + if (playerId != _playerId) + { + // A new character (or a relog): its weapons are new objects. + SwapTracker.Reset(); + ResetAmmoState(); + ResetOffhandState(); + ElementTracker.Reset(); + _unlistedNoted.Clear(); + _inHandId = 0; + _inHandReadAt = DateTime.MinValue; + } _playerId = playerId; _monsterMatchEval = new MonsterMatchEvaluator(_worldFilter, playerId); } @@ -825,6 +929,9 @@ public class CombatManager : IDisposable private MonsterMatchEvaluator? _monsterMatchEval; private readonly HashSet _confirmedDebuffs = new(); + // Failed tries (fizzle/resist/refusal) per "{target}_{debuff}", cleared with _confirmedDebuffs. + private readonly Dictionary _debuffFailures = new(); + private const int DebuffMaxFailures = 3; private int _lastDebuffTargetId = 0; private string? _pendingDebuffKey = null; @@ -878,33 +985,45 @@ public class CombatManager : IDisposable { "Yield", new[] { "Magic Yield Other", "Yield" } }, }; + // Shape index into the SpellShapes / VoidSpellShapes rows. + internal const int ShapeArc = 0, ShapeRing = 1, ShapeStreak = 2, ShapeBolt = 3, ShapeBlast = 4; + + // Base names per element, by shape: Arc, Ring, Streak, Bolt, Blast. Every non-ring base has + // "{base} I".."VI" (blasts: III-VI only, retail has no blast I/II) and "Incantation of {base}" + // in SpellData.txt (checked by the host test "attack spells: every element and shape"). + // Fixed 2026-10-03: Lightning's bolt was "Shock Wave" (the bludgeon bolt), Bludgeon's arc + // "Bludgeoning Arc" (is "Shock Arc"), the Blade/Slash streak "Blade Streak" (is "Whirling + // Blade Streak") and the Bludgeon streak "Bludgeoning Streak" (is "Shock Wave Streak"): none + // of those names exist, so those shapes cast the wrong element or only their tier-7 lore. private static readonly Dictionary SpellShapes = new(StringComparer.OrdinalIgnoreCase) { - { "Fire", new[] { "Flame Arc", "Ring of Fire", "Flame Streak", "Flame Bolt" } }, - { "Cold", new[] { "Frost Arc", "Frost Ring", "Frost Streak", "Frost Bolt" } }, - { "Lightning", new[] { "Lightning Arc", "Shock Ring", "Lightning Streak", "Shock Wave" } }, - { "Acid", new[] { "Acid Arc", "Acid Ring", "Acid Streak", "Acid Stream" } }, - { "Blade", new[] { "Blade Arc", "Blade Ring", "Blade Streak", "Whirling Blade" } }, - { "Pierce", new[] { "Force Arc", "Force Ring", "Force Streak", "Force Bolt" } }, - { "Bludgeon", new[] { "Bludgeoning Arc", "Bludgeoning Ring", "Bludgeoning Streak", "Shock Wave" } }, - { "Slash", new[] { "Blade Arc", "Blade Ring", "Blade Streak", "Whirling Blade" } }, + { "Fire", new[] { "Flame Arc", "Ring of Fire", "Flame Streak", "Flame Bolt", "Flame Blast" } }, + { "Cold", new[] { "Frost Arc", "Frost Ring", "Frost Streak", "Frost Bolt", "Frost Blast" } }, + { "Lightning", new[] { "Lightning Arc", "Shock Ring", "Lightning Streak", "Lightning Bolt", "Lightning Blast" } }, + { "Acid", new[] { "Acid Arc", "Acid Ring", "Acid Streak", "Acid Stream", "Acid Blast" } }, + { "Blade", new[] { "Blade Arc", "Blade Ring", "Whirling Blade Streak", "Whirling Blade", "Blade Blast" } }, + { "Pierce", new[] { "Force Arc", "Force Ring", "Force Streak", "Force Bolt", "Force Blast" } }, + { "Bludgeon", new[] { "Shock Arc", "Bludgeoning Ring", "Shock Wave Streak", "Shock Wave", "Shock Blast" } }, + { "Slash", new[] { "Blade Arc", "Blade Ring", "Whirling Blade Streak", "Whirling Blade", "Blade Blast" } }, }; - // War Streak/Bolt lines have NO "{base} VII" — their tier-7 is a + // War Streak/Bolt/Blast lines have NO "{base} VII" — their tier-7 is a // lore-named spell (Arc uses Roman "VII"; Ring uses RingLoreNames). - // [0] = Streak VII lore, [1] = Bolt VII lore. Names verified against - // SpellData.txt skill-300 entries 2026-05-17 (e.g. Force Streak VII = - // "Outlander's Insolence" id 2133). Slash shares the Blade family. + // [0] = Streak VII lore, [1] = Bolt VII lore, [2] = Blast VII lore. Names + // verified against SpellData.txt skill-300 entries 2026-05-17 (e.g. Force + // Streak VII = "Outlander's Insolence" id 2133); blasts 2026-10-03 (power + // 325, the blast category: e.g. Flame Blast VII = "Silencia's Scorn" id 2127). + // Slash shares the Blade family. private static readonly Dictionary WarTier7Lore = new(StringComparer.OrdinalIgnoreCase) { - { "Fire", new[] { "Sizzling Fury", "Ilservian's Flame" } }, - { "Cold", new[] { "Sudden Frost", "Icy Torment" } }, - { "Lightning", new[] { "Lhen's Flare", "Alset's Coil" } }, - { "Acid", new[] { "Corrosive Flash", "Disintegration" } }, - { "Blade", new[] { "Rending Wind", "Evisceration" } }, - { "Slash", new[] { "Rending Wind", "Evisceration" } }, - { "Pierce", new[] { "Outlander's Insolence", "The Spike" } }, - { "Bludgeon", new[] { "Cameron's Curse", "Crushing Shame" } }, + { "Fire", new[] { "Sizzling Fury", "Ilservian's Flame", "Silencia's Scorn" } }, + { "Cold", new[] { "Sudden Frost", "Icy Torment", "Winter's Embrace" } }, + { "Lightning", new[] { "Lhen's Flare", "Alset's Coil", "Luminous Wrath" } }, + { "Acid", new[] { "Corrosive Flash", "Disintegration", "Dissolving Vortex" } }, + { "Blade", new[] { "Rending Wind", "Evisceration", "Sau Kolin's Sword" } }, + { "Slash", new[] { "Rending Wind", "Evisceration", "Sau Kolin's Sword" } }, + { "Pierce", new[] { "Outlander's Insolence", "The Spike", "Stinging Needles" } }, + { "Bludgeon", new[] { "Cameron's Curse", "Crushing Shame", "Pummeling Storm" } }, }; private static readonly Dictionary RingLoreNames = new(StringComparer.OrdinalIgnoreCase) @@ -921,8 +1040,8 @@ public class CombatManager : IDisposable private static readonly Dictionary VoidSpellShapes = new(StringComparer.OrdinalIgnoreCase) { - { "Nether", new[] { "Nether Arc", "Nether Ring", "Nether Streak", "Nether Bolt" } }, - { "Fire", new[] { "Corrosion Arc", "Corrosion Ring", "Corrosion Streak", "Nether Bolt" } }, + { "Nether", new[] { "Nether Arc", "Nether Ring", "Nether Streak", "Nether Bolt", "Nether Blast" } }, + { "Fire", new[] { "Corrosion Arc", "Corrosion Ring", "Corrosion Streak", "Nether Bolt", "Nether Blast" } }, }; // In-world war/void projectiles are named exactly the spell's shape base @@ -973,9 +1092,73 @@ public class CombatManager : IDisposable /// MAGIC-ONLY: melee/missile get the structured 0x01B1 event (OnCombatDamage), /// so parsing chat for them too would double-count. /// + // "Olthoi Swarm Harvester blisters your lower leg for 12 points of acid damage!" + internal static readonly System.Text.RegularExpressions.Regex IncomingDamage = new( + @"^(?:Critical hit!\s*)?(?:The )?(?.+?) \S+ (?:you|your [a-z ]+?) for (?\d+) points? of (?[a-z]+) damage", + System.Text.RegularExpressions.RegexOptions.IgnoreCase | System.Text.RegularExpressions.RegexOptions.CultureInvariant); + + internal static string ElementFromWord(string w) => w.ToLowerInvariant() switch + { + "slashing" or "slash" => "Slash", + "piercing" or "pierce" => "Pierce", + "bludgeoning" or "bludgeon" => "Bludgeon", + "fire" => "Fire", + "cold" => "Cold", + "acid" => "Acid", + "electric" or "lightning" => "Lightning", + "nether" => "Nether", + _ => "Physical", + }; + + /// The wcid of a monster we've seen by , else the current fight's when the name matches it. + private uint WcidForName(string name) + { + if (_seenMonsterNameToWcid.TryGetValue(name, out uint w)) return w; + if (_fightTargetWcid != 0 && name.Equals(_fightTargetName, StringComparison.OrdinalIgnoreCase)) return _fightTargetWcid; + return 0; + } + + /// + /// Misses and damage taken, for the Damage tab's detail panel. A miss is an attack the + /// monster evaded ("X evaded your attack.") or a spell it resisted ("X resists your + /// spell"), counted against the weapon in hand. Damage taken comes from the monster's + /// hit lines, which name it (the engine's defender event doesn't). + /// + private void LearnFromCombatChat(string text) + { + int i = text.IndexOf(" evaded your attack", StringComparison.OrdinalIgnoreCase); + bool resisted = false; + if (i < 0) { i = text.IndexOf(" resists your spell", StringComparison.OrdinalIgnoreCase); resisted = i >= 0; } + if (i > 0) + { + string who = text.Substring(0, i).Trim(); + if (who.StartsWith("The ", StringComparison.Ordinal)) who = who.Substring(4); + uint wcid = WcidForName(who); + uint weapon = resisted || CurrentCombatMode == CombatMode.Magic + ? _lastCastWeaponId : unchecked((uint)_equippedWeaponId); + if (wcid != 0) _damageStore!.RecordMiss(weapon, wcid, who); + return; + } + + if (text.StartsWith("You ", StringComparison.Ordinal)) return; // our own hits and evades + var m = IncomingDamage.Match(text); + if (!m.Success) return; + string name = m.Groups["name"].Value.Trim(); + uint src = WcidForName(name); + if (src == 0) return; + if (int.TryParse(m.Groups["n"].Value, out int amount)) + _damageStore!.RecordTaken(src, name, ElementFromWord(m.Groups["type"].Value), amount); + } + public void HandleChatForDamage(string text) { - if (string.IsNullOrEmpty(text) || _damageStore == null) return; + if (string.IsNullOrEmpty(text)) return; + // A miss is a swing too (stall watchdog). "You evaded X!" is the monster's miss, not ours. + if (text.IndexOf(" evaded your attack", StringComparison.OrdinalIgnoreCase) > 0) + NoteSwingEvidence("miss"); + NoteAttackReachedFromChat(text); + if (_damageStore == null) return; + try { LearnFromCombatChat(text); } catch { } DateTime now = DateTime.Now; bool critLine = text.IndexOf("critical", StringComparison.OrdinalIgnoreCase) >= 0; @@ -1024,7 +1207,7 @@ public class CombatManager : IDisposable /// Returns false for incoming ("... you for N points ...") and non-damage /// "points of <vital>" lines (heals / mana / stamina drains). Allocation-free (hot path). /// - private static bool TryParseOutgoingDamage(string text, out int amount) + internal static bool TryParseOutgoingDamage(string text, out int amount) { amount = 0; @@ -1116,6 +1299,7 @@ public class CombatManager : IDisposable $"'{SpellTableStub.GetById(_pendingOffensiveSpellId)?.Name}' — '{text.Trim()}'. " + $"Marked unresolvable → tiering down to an alternative."); _pendingOffensiveSpellId = 0; + _predictKillSwapArmed = false; // the cast never went out — don't swap off a live mob } else { @@ -1170,19 +1354,48 @@ public class CombatManager : IDisposable if (text.IndexOf("fizzle", StringComparison.OrdinalIgnoreCase) >= 0) { - _host.WriteToChat($"[RynthAi] Fizzled: {_pendingDebuffKey} — recasting", 2); - _waitingForDebuffResult = false; - _lastSpellCast = DateTime.Now; + NoteDebuffFailed("Fizzled"); return; } if (text.IndexOf("resists your spell", StringComparison.OrdinalIgnoreCase) >= 0) { - _host.WriteToChat($"[RynthAi] Resisted: {_pendingDebuffKey} — recasting", 2); - _waitingForDebuffResult = false; - _lastSpellCast = DateTime.Now; + NoteDebuffFailed("Resisted"); return; } + + // Refused mid-gesture: the debuff never went out, so don't let the result timeout + // mark it as landed. Retry it (counted, so a refusal loop can't run forever). + if (text.IndexOf("you're too busy", StringComparison.OrdinalIgnoreCase) >= 0 + || text.IndexOf("you are too busy", StringComparison.OrdinalIgnoreCase) >= 0) + { + NoteDebuffFailed("Refused"); + return; + } + } + + /// + /// A debuff didn't land (fizzle, resist, refusal). Recast it, but only up to + /// DebuffMaxFailures times per target: a mob the character's Creature Magic can't land + /// on used to get the same debuff forever, and the bot never reached its attack spells + /// (debuffs don't feed the no-damage blacklist either). + /// + private void NoteDebuffFailed(string what) + { + string key = $"{_pendingDebuffTargetId}_{_pendingDebuffKey}"; + _debuffFailures.TryGetValue(key, out int n); + _debuffFailures[key] = ++n; + if (n >= DebuffMaxFailures) + { + _confirmedDebuffs.Add(key); // skip it for this target + _host.WriteToChat($"[RynthAi] {what}: {_pendingDebuffKey} — {n} tries on this target, skipping it", 2); + } + else + { + _host.WriteToChat($"[RynthAi] {what}: {_pendingDebuffKey} — recasting", 2); + } + _waitingForDebuffResult = false; + _lastSpellCast = DateTime.Now; } public void ReportDamageOnTarget(int targetId) @@ -1198,6 +1411,76 @@ public class CombatManager : IDisposable _lastDamageDealtAt = DateTime.Now; } + /// + /// "X evaded your attack." and "X resists your spell" mean the attack reached X, so they + /// count as feedback for the no-damage blacklist (not as damage: no commitment bonus, no + /// no-progress reset). Before this an evasive or resistant mob that was fighting the bot + /// got blacklisted and dropped after three windows of evades (~6 s of melee), and with + /// nothing else in range the bot went idle and walked on while it kept hitting her. + /// + private void NoteAttackReachedFromChat(string text) + { + int i = text.IndexOf(" evaded your attack", StringComparison.OrdinalIgnoreCase); + if (i < 0) i = text.IndexOf(" resists your spell", StringComparison.OrdinalIgnoreCase); + if (i <= 0) return; + string who = text.Substring(0, i).Trim(); + if (who.StartsWith("The ", StringComparison.Ordinal)) who = who.Substring(4); + if (who.Length == 0) return; + + if (_pendingJudgeCastAt != DateTime.MinValue && NameIs(_pendingJudgeTargetId, who)) + _damageSincePendingCast = true; + if (NameIs(_lastAttackedTargetId, who)) + _consecutiveCastMisses = 0; + } + + private bool NameIs(int id, string name) + => id != 0 && string.Equals(_worldFilter[id]?.Name, name, StringComparison.OrdinalIgnoreCase); + + private void NoteSwingEvidence(string kind) + { + DateTime now = DateTime.Now; + _lastSwingEvidenceAt = now; + _lastSwingEvidenceKind = kind; + switch (kind) + { + case "hit": _lastHitAt = now; break; + case "miss": _lastMissAt = now; break; + case "kill": _lastKillAt = now; break; + } + } + + /// True only when the mob is known to be dead (kill notice, 0 health, corpse). + /// A mob that is merely out of view may still hold the server's attack, so it's not. + private bool IsKnownDead(int id) + { + if (id == 0 || _recentlyKilled.ContainsKey(id)) return true; + if (_worldFilter.GetHealthRatio(id) == 0f) return true; + var wo = _worldFilter[id]; + return wo != null && (int)wo.ObjectClass != (int)AcObjectClass.Monster; + } + + /// + /// End the server's melee/missile attack (CancelAttack → ACE HandleActionCancelAttack → + /// OnAttackDone clears MeleeTarget; mid-swing it ends after the swing). The next attack + /// request then starts a fresh loop on the target the bot actually wants. + /// + private void ReleaseServerAttack(string why, bool log) + { + int old = _serverAttackTargetId; + _serverAttackTargetId = 0; + if (!_host.HasCancelAttack) return; + _host.CancelAttack(); + if (!log) return; + + DateTime now = DateTime.Now; + if ((now - _lastRebindLogAt).TotalMilliseconds < 2000) { _rebindLogSuppressed++; return; } + string more = _rebindLogSuppressed > 0 ? $" (+{_rebindLogSuppressed} more since last line)" : ""; + _rebindLogSuppressed = 0; + _lastRebindLogAt = now; + string oldDesc = old == 0 ? "none" : $"0x{old:X8} '{_worldFilter[old]?.Name}' {DescribeTargetPos(old)}"; + _host.Log($"[AttackRebind] CancelAttack — server attack was on {oldDesc}; {why}; attacking again next cycle{more}"); + } + /// /// True if a monster's name matches the user-configured never-attack list /// (case-insensitive substring, so "Drudge" excludes every drudge). Blank @@ -1357,6 +1640,7 @@ public class CombatManager : IDisposable _fightTargetWcid = 0; _fightTargetName = ""; _fightTargetMaxHp = 0; + _fightHpEstimated = false; _fightDamage = 0; _fightCastCount = 0; _fightAppraiseRequested = false; @@ -1400,7 +1684,7 @@ public class CombatManager : IDisposable _predictedKillPending.Add(new PendingKill( pkName, _fightTargetWcid, _fightCastCount, _lastCastWeaponId, _lastCastElement, _lastCastTier, _fightDamage, - DateTime.Now.AddSeconds(5))); + DateTime.Now.AddSeconds(5), _fightStartedAt, _fightSummon, swapId)); } _host.Log($"[RynthAi] Predicted kill shot 0x{swapId:X8} '{_worldFilter[swapId]?.Name}' (cast#{_fightCastCount} hp~{_fightTargetMaxHp:0} dealt~{_fightDamage:0}) — confirmed accepted, swapping to next target."); // The pending-offensive judge state belongs to the mob being dropped — @@ -1428,6 +1712,7 @@ public class CombatManager : IDisposable /// public void OnKillNotification(string deathMessage) { + NoteSwingEvidence("kill"); CastsSinceLastKill = 0; // D6: a kill landed (KillerNotification → the killer) — reset the orphan signal. // Record EXACTLY ONE kill per death message, attributed by name (→ correct // wcid) from the best available source, so rapid one-shots aren't lost when @@ -1439,6 +1724,7 @@ public class CombatManager : IDisposable bool recorded = false; string how = "miss"; + int pendingKillId = 0; // id of the predicted one-shot this notice was credited to (tier 1) // (1) A predicted one-shot we swapped away from — captured wcid + cast count. for (int i = 0; i < _predictedKillPending.Count; i++) @@ -1448,7 +1734,12 @@ public class CombatManager : IDisposable { PendingKill pk = _predictedKillPending[i]; _predictedKillPending.RemoveAt(i); - _damageStore.RecordKill(pk.WeaponId, pk.Wcid, pk.Name, pk.Element, pk.Tier, pk.CastCount, pk.Damage); + pendingKillId = pk.Id; + // A summon's damage isn't in pk.Damage, so that total would learn the HP too low. + _damageStore.RecordKill(pk.WeaponId, pk.Wcid, pk.Name, pk.Element, pk.Tier, pk.CastCount, + pk.Summon != null ? 0 : pk.Damage); + if (pk.Started != default) + _damageStore.RecordFightTime(pk.WeaponId, pk.Wcid, pk.Name, (nowKill - pk.Started).TotalSeconds, pk.Summon ?? "none"); recorded = true; how = "pending"; break; } @@ -1462,8 +1753,12 @@ public class CombatManager : IDisposable // (2) The current target died (its name is in the message). if (!recorded && curMatches && _fightTargetWcid != 0 && _fightCastCount > 0) { + string? summon = _fightSummon ?? SummonOut?.Invoke(); _damageStore.RecordKill(_lastCastWeaponId, _fightTargetWcid, curName, _lastCastElement, _lastCastTier, - _fightCastCount, _fightDamage); + _fightCastCount, summon != null ? 0 : _fightDamage); + if (_fightStartedAt != default) + _damageStore.RecordFightTime(_lastCastWeaponId, _fightTargetWcid, curName, + (nowKill - _fightStartedAt).TotalSeconds, summon ?? "none"); recorded = true; how = "current"; } @@ -1528,8 +1823,21 @@ public class CombatManager : IDisposable _host.Log($"[KillDbg] how={how} curMatch={curMatches} tid=0x{(uint)tid:X8} fightWcid={_fightTargetWcid} cnt={_fightCastCount} lastWcid={_lastFightWcid} pend={_predictedKillPending.Count} msg='{deathMessage}'"); } - // Drop the current target only if IT is the one that died. - if (tid != 0 && curMatches) + // Drop the current target only if IT is the one that died. The name alone can't + // tell same-named mobs apart (a swarm is all "Olthoi Swarm Soldier"), so keep the + // live target when the notice belongs to the predicted one-shot we swapped away + // from, or when we haven't attacked the current target at all yet — then a ring or + // a late death notice killed a neighbour. Dropping it also hid it from the scan for + // 4 s, and with no other mob in range the bot went to peace mid-fight. + bool noticeForSwappedMob = pendingKillId != 0 && pendingKillId != tid; + bool curAttacked = _fightTargetId != tid || _fightCastCount > 0 || _pendingOffensiveTargetId == tid; + if (tid != 0 && curMatches && (noticeForSwappedMob || !curAttacked)) + { + _host.Log($"[RynthAi] Kill notice names 0x{tid:X8} '{curName}' but " + + (noticeForSwappedMob ? $"belongs to predicted kill 0x{pendingKillId:X8}" : "it hasn't been attacked yet") + + " — keeping the target"); + } + else if (tid != 0 && curMatches) { _recentlyKilled[tid] = nowKill.AddMilliseconds(RECENTLY_KILLED_SUPPRESS_MS); DropTarget("killed (KillerNotification)"); @@ -1564,6 +1872,7 @@ public class CombatManager : IDisposable public void OnCombatDamage(double damage, uint damageType, bool crit, bool isAttacker) { if (!isAttacker || damage <= 0) return; + NoteSwingEvidence("hit"); // any target: a swing landing anywhere means the attack loop is alive int tid = activeTargetId; if (tid == 0 || tid != _fightTargetId) return; @@ -1605,7 +1914,7 @@ public class CombatManager : IDisposable // Map an AC DAMAGE_TYPE flag (from the 0x01B1 packet) to the Damage-tab element string. // A weapon hit carries one primary type; if multiple bits are set, prefer the physical base. - private static string ElementFromDamageType(uint dt) + internal static string ElementFromDamageType(uint dt) { if ((dt & 0x1) != 0) return "Slash"; if ((dt & 0x2) != 0) return "Pierce"; @@ -1626,10 +1935,15 @@ public class CombatManager : IDisposable _fightCastCount = 0; _fightTargetWcid = 0; _fightTargetMaxHp = 0; + _fightHpEstimated = false; _fightAppraiseRequested = false; _predictKillSwap = false; _fightTargetName = ""; + _fightStartedAt = default; + _fightSummon = null; if (targetId == 0) return; + _fightStartedAt = DateTime.Now; + _fightSummon = SummonOut?.Invoke(); _fightTargetName = _worldFilter[targetId]?.Name ?? ""; if (_host.HasGetObjectWcid && _host.TryGetObjectWcid((uint)targetId, out uint wcid)) _fightTargetWcid = wcid; @@ -1660,38 +1974,65 @@ public class CombatManager : IDisposable try { if (_host.HasQueryHealth) _host.QueryHealth((uint)_fightTargetId); } catch { } } - if (_fightTargetMaxHp > 0) return; + if (_fightTargetMaxHp > 0 && !_fightHpEstimated) return; + + // Aelrynth's awakened worlds and scaled copies: the same wcid, +5% health a tier. + // 0 everywhere else, and then this is the old resolution exactly. + int difficulty = Difficulty; + double scale = AwakenedTier.HealthScale(difficulty); // User-entered HP override (set in the Damage panel) is authoritative — // it's the manual fix for ACE's skill-gated appraisal reading low. + // It is the real-Dereth value; a scaled tier scales it like the server does. if (_damageStore != null && _fightTargetWcid != 0) { double manual = _damageStore.GetManualHp(_fightTargetWcid); - if (manual > 0) { _fightTargetMaxHp = manual; return; } + if (manual > 0) { _fightTargetMaxHp = manual * scale; _fightHpEstimated = false; return; } } var obj = _worldFilter[_fightTargetId]; string name = obj?.Name ?? ""; + CreatureProfile? prof = null; if (_creatureStore != null && !string.IsNullOrEmpty(name)) { - CreatureProfile? prof = null; bool found = _fightTargetWcid != 0 ? _creatureStore.TryGet(name, _fightTargetWcid, out prof) : _creatureStore.TryGetByName(name, out prof); - if (found && prof != null && prof.MaxHealth > 0) + if (!found) prof = null; + uint appraised = _creatureStore.MaxHealthAt(prof, difficulty); + if (appraised > 0) { - _fightTargetMaxHp = prof.MaxHealth; + _fightTargetMaxHp = appraised; + _fightHpEstimated = false; return; } } if (_damageStore != null && _fightTargetWcid != 0) { - double hp = _damageStore.GetLearnedHp(_fightTargetWcid); - if (hp > 0) { _fightTargetMaxHp = hp; return; } + double hp = _damageStore.GetLearnedHp(_fightTargetWcid, difficulty); + if (hp > 0) { _fightTargetMaxHp = hp; _fightHpEstimated = false; return; } } + // A scaled tier never seen yet: tier 0's HP x (1 + 5% x tier) is what the server does + // (Scaling.cs raises the written-in health and the attributes it derives from by that + // factor), so it stands in until this tier's own appraisal lands (QueryHealth above, + // usually within the first second) and replaces it. Casts-to-kill is not estimated: + // only this tier's own kills count for that (MonsterDamageStore). + if (difficulty > 0) + { + double baseHp = prof != null && prof.MaxHealth > 0 ? prof.MaxHealth + : _damageStore != null && _fightTargetWcid != 0 ? _damageStore.GetLearnedHp(_fightTargetWcid, 0) : 0; + if (baseHp > 0) + { + _fightTargetMaxHp = baseHp * scale; + _fightHpEstimated = true; + return; + } + } + if (_fightHpEstimated) return; // keep the estimate while the appraisal is pending + // Unknown — appraise once so the shared store fills for next time. Costs // one busy-count tick; only the first encounter of a wcid pays it. if (!_fightAppraiseRequested) @@ -1756,6 +2097,14 @@ public class CombatManager : IDisposable { if (!_settings.EnableCombat) return false; + // A stall-watchdog re-wield must finish (weapon back in hand) before anything + // attacks again, target or not — see ContinueStallRewield. + if (_stallRewieldId != 0 && ContinueStallRewield()) + { + _stallWatch.Hold(DateTime.Now); + return true; + } + double acDistanceLimit = _settings.MonsterRange; // Hysteresis: a locked target is retained (and kept under attack) out to // the larger disengage distance, while new targets are still only @@ -1796,10 +2145,14 @@ public class CombatManager : IDisposable if (gestureInFlight) _predictSwapGestureSeen = true; - if (activeTargetId == 0 || _pendingOffensiveTargetId != activeTargetId) + // Uses the arm's own copy of the cast target/time: the pending-offensive fields are + // consumed by JudgePendingOffensiveCast at the next attack cycle (1.5 s), which + // used to discard the arm as "stale" before a ~2 s windup ever released, so the + // swap never fired for high-tier casts and the 3 s timeout was unreachable. A + // refused/fizzled/resisted cast still cancels the arm in HandleChatForDebuffs. + if (activeTargetId == 0 || _predictArmTargetId != activeTargetId) _predictKillSwapArmed = false; // target already advanced/dropped — stale arm - else if (_pendingOffensiveSpellId != 0 - && (DateTime.Now - _pendingOffensiveCastAt).TotalMilliseconds >= OffensiveRefusalWindowMs) + else if ((DateTime.Now - _predictArmCastAt).TotalMilliseconds >= OffensiveRefusalWindowMs) { // ⚠ Do NOT drop the target while the cast gesture is still // animating. A high-tier cast (Force Arc VII) winds up ~2s, @@ -1812,7 +2165,7 @@ public class CombatManager : IDisposable // damage and the predicted swap is correct. Bounded by a // timeout so a missing/forever gesture can't arm-lock combat. bool released = _predictSwapGestureSeen && (!_host.HasGetCastBusyState || _host.CanCastNow); - bool timedOut = (DateTime.Now - _pendingOffensiveCastAt).TotalMilliseconds >= PredictKillSwapMaxWaitMs; + bool timedOut = (DateTime.Now - _predictArmCastAt).TotalMilliseconds >= PredictKillSwapMaxWaitMs; if (released || timedOut) ExecuteDeferredKillSwap(); } @@ -1855,16 +2208,26 @@ public class CombatManager : IDisposable // No valid target — go to Peace immediately to stop the client // from auto-running toward a distant monster. The 500ms cooldown // prevents ChangeCombatMode spam while idling between spawns. + if (CurrentCombatMode == CombatMode.NonCombat) + _idlePeaceAttempts = 0; // reached peace — the next idle request starts fresh if (_settings.PeaceModeWhenIdle && CurrentCombatMode != CombatMode.NonCombat - && _scannedTargets.Count == 0 && BusyCount == 0) + && _scannedTargets.Count == 0 && BusyCount == 0 + && DateTime.Now >= _navMagicWantedUntil) // a nav recall wants Magic mode { // Defer idle peace-swap while a cast at the just-dropped target is still // resolving: ChangeCombatMode truncates the in-flight gesture → strands // Player.IsBusy. Bounded by IsCastInFlight (UseDone-seq or 2.5s). - if ((DateTime.Now - _lastPeaceAttempt).TotalMilliseconds > 500 && !IsCastInFlight()) + // Backoff like the stance flips: 500 ms for the first 4 sends, doubling every + // 4 after that up to 15 s. An unbounded ChangeCombatMode stream is the + // 2026-05-25 stance-spam crash class; this used to retry every 500 ms forever. + double peaceDelayMs = Math.Min(15_000, 500 * Math.Pow(2, Math.Min(5, _idlePeaceAttempts / 4))); + if ((DateTime.Now - _lastPeaceAttempt).TotalMilliseconds > peaceDelayMs && !IsCastInFlight()) { _host.ChangeCombatMode(CombatMode.NonCombat); _lastPeaceAttempt = DateTime.Now; + _idlePeaceAttempts++; + if (_idlePeaceAttempts == 16) + _host.Log($"[EquipDiag] WARNING: {_idlePeaceAttempts} idle peace-mode requests without reaching peace (mode={CurrentCombatMode}) — backing off to {Math.Min(15_000, 500 * Math.Pow(2, Math.Min(5, _idlePeaceAttempts / 4))) / 1000:0.#}s retries."); } } return true; @@ -1897,7 +2260,7 @@ public class CombatManager : IDisposable // trying to resolve its HP until known (the appraisal lands async). if (activeTargetId != _fightTargetId) BeginFight(activeTargetId); - else if (_fightTargetMaxHp <= 0) + else if (_fightTargetMaxHp <= 0 || _fightHpEstimated) ResolveFightHp(); // Keep trying to capture the mob's name (the world filter fills it in // asynchronously, so it's often empty at lock time) — by kill time the @@ -1939,6 +2302,11 @@ public class CombatManager : IDisposable if (currentDist > disengageLimit) return true; + // Melee/missile stall safety net (see CombatStallWatchdog). Holds the attack while + // one of its steps is settling. + if (RunStallWatchdog(targetObj, currentDist)) + return true; + // While a targeted combat cast is still resolving on the server, do NOT re-assert // stance/weapon here: EquipWeaponAndSetStance can emit ChangeCombatMode/UseObject, // motion-replacing actions that truncate the in-flight cast gesture → orphan the cast @@ -2005,7 +2373,11 @@ public class CombatManager : IDisposable // busy" orphaned windups came from. Applies with or without // UseNativeAttack. Only a turn another mode left held is released — with one // settle tick before a cast, so the stop doesn't ride with the packet. - if (CurrentCombatMode == CombatMode.Magic || CurrentCombatMode == CombatMode.Missile) + // MELEE the same: ACE's HandleActionTargetedMeleeAttack_Inner rotates to the + // target (past melee_max_angle) before the swing, so the servo made the same + // swing-spin-swing with a knife in an Olthoi swarm (2026-09-29, Lucy). + if (CurrentCombatMode == CombatMode.Magic || CurrentCombatMode == CombatMode.Missile + || CurrentCombatMode == CombatMode.Melee) { if (_facingTarget) { @@ -2049,7 +2421,11 @@ public class CombatManager : IDisposable // Don't attack in missile mode without ammo if (CurrentCombatMode == CombatMode.Missile && !HasWieldedAmmo()) + { + _lastMissileNoAmmoAt = DateTime.Now; // waiting on ammo is not a stall + LastCombatSkipReason = "no-ammo"; // D4 record-only return true; + } // SelectItem removed 2026-06-03: targeted casts now use the explicit-target // FreeHandsAndCastSpell path and direct attacks pass targetId explicitly, so @@ -2059,6 +2435,7 @@ public class CombatManager : IDisposable // RC2's RynthBot, which never selects. (Native physical attack in AttackTarget // still selects — it genuinely requires AC's selection.) + bool physicalSent = true; // false when AttackTarget sent nothing this cycle if (CurrentCombatMode == CombatMode.Magic && _spellManager != null) { // Don't issue a combat spell while the previous cast GESTURE is @@ -2095,7 +2472,7 @@ public class CombatManager : IDisposable if (_savedWeaponId != 0 && (_weaponSwapGate == null || _weaponSwapGate.TryBeginSwap("combat-restore"))) { - _host.UseObject((uint)_savedWeaponId); + _host.UseFor((uint)_savedWeaponId, "Combat", "wield the weapon again after casting"); _savedWeaponId = 0; } EquipWeaponAndSetStance(targetObj, "Auto"); @@ -2112,13 +2489,29 @@ public class CombatManager : IDisposable if (HasPendingDebuffs(rule, elem)) { int wandId = FindWandInItems(); - if (wandId != 0 + // This quick swap (UseObject wand + Magic in one go) can't work with a + // melee/missile weapon in hand: ACE won't wield the wand over it and + // denies Magic while it's wielded (see the dequip-first notes at the + // top), and EquipWeaponAndSetStance would switch straight back anyway. + // It only cost each new target a refused swap, a lost attack cycle and + // the swap gate. Skip it then; it still runs when the hands are empty. + // A shield or an off-hand weapon blocks the wand the same way (ACE refuses a caster beside it). + if (wandId != 0 && (FindWieldedNonWandWeapon(wandId) != 0 || OffhandInSlot() != 0)) + { + if (!_physicalDebuffSkipWarned) + { + _physicalDebuffSkipWarned = true; + _host.Log($"[CombatCast] debuffs for '{rule.Name}' skipped in {CombatModeName(CurrentCombatMode)} mode — can't swap to the wand with a weapon in hand"); + _host.WriteToChat($"[RynthAi] Debuffs aren't cast in melee/missile mode with a weapon in hand (the wand swap doesn't work there). Fighting without them.", 2); + } + } + else if (wandId != 0 && (_weaponSwapGate == null || _weaponSwapGate.TryBeginSwap("combat-debuff-wand"))) { // TODO: Save current equipped weapon when inventory API is available. _savedWeaponId = 0; _returnToPhysicalCombat = true; - _host.UseObject((uint)wandId); + _host.UseFor((uint)wandId, "Combat", "wield the wand to cast"); _lastEquipTime = DateTime.Now; // gate AttackWithMagic until wand is wielded _host.ChangeCombatMode(CombatMode.Magic); lastAttackCmd = DateTime.Now; @@ -2129,7 +2522,7 @@ public class CombatManager : IDisposable // Physical combat always attacks — spell shape flags (UseArc/Bolt/Ring/Streak) // are only relevant in magic mode and must not gate melee/missile attacks. - AttackTarget(); + physicalSent = AttackTarget(); } // Ring spells hit an area — no per-target damage feedback is generated, @@ -2141,7 +2534,7 @@ public class CombatManager : IDisposable // Melee/missile attack every cycle and get prompt damage feedback, // so they keep per-cycle counting (the magicMode branch is false). bool magicMode = CurrentCombatMode == CombatMode.Magic && _spellManager != null; - if (!_lastCastWasRing && (!magicMode || _offensiveCastThisCycle)) + if (!_lastCastWasRing && (!magicMode || _offensiveCastThisCycle) && physicalSent) RecordOffensiveCast(activeTargetId); lastAttackCmd = DateTime.Now; @@ -2160,6 +2553,9 @@ public class CombatManager : IDisposable { _predictKillSwapArmed = true; _predictSwapGestureSeen = false; // must observe the cast windup before swapping + // AttackWithMagic just set these for the cast that predicted the kill. + _predictArmTargetId = _pendingOffensiveTargetId != 0 ? _pendingOffensiveTargetId : activeTargetId; + _predictArmCastAt = _pendingOffensiveCastAt != DateTime.MinValue ? _pendingOffensiveCastAt : DateTime.Now; } } } @@ -2188,6 +2584,289 @@ public class CombatManager : IDisposable _host.Log($"Combat: state {key} (msSinceAttack={msSinceAttack})"); } + // ══════════════════════════════════════════════════════════════════════════ + // STALL WATCHDOG (melee/missile) — see CombatStallWatchdog + // ══════════════════════════════════════════════════════════════════════════ + + private const double StallReselectSuppressMs = 3000; // step 2: skip the stuck mob this long if another is in reach + private const double StallToggleHoldMs = 5000; // step 3: peace→back window that still counts as eligible + + /// + /// Called from Think once a live target is validated and within disengage distance. + /// Returns true when this tick's attack must be held (a recovery step was just sent). + /// Runs only while the arbiter has given combat the tick and BotAction is Combat, so it + /// never competes with buffing, looting or navigation. + /// + private bool RunStallWatchdog(WorldObject targetObj, double currentDist) + { + DateTime now = DateTime.Now; + int mode = CurrentCombatMode; + bool physical = mode == CombatMode.Melee || mode == CombatMode.Missile; + bool toggling = _stallToggleAt != DateTime.MinValue + && (now - _stallToggleAt).TotalMilliseconds < StallToggleHoldMs; + bool rewielding = _stallRewieldId != 0; + double range = Math.Max(2.0, _settings.MonsterRange); + + bool eligible = _settings.BotAction == "Combat" + && activeTargetId != 0 + && (physical || toggling) + && currentDist <= range + && _worldFilter.GetHealthRatio(activeTargetId) != 0f + && !(mode == CombatMode.Missile && (now - _lastMissileNoAmmoAt).TotalMilliseconds < 3000); + + // While the client is busy combat sends nothing (the attack block's busy gate), so no + // swing evidence can arrive — and the steps (mode change, moving the weapon to a pack) + // are exactly the actions that must not go out then. Don't fire a step; keep the + // episode (Hold, so this isn't read as a tick gap) so brief busy pulses between + // attacks change nothing and the ladder resumes once busy clears. + if (eligible && BusyCount > 0) + { + _stallWatch.Hold(now); + return false; + } + + var act = _stallWatch.Tick(now, eligible, _lastSwingEvidenceAt, out double stalledMs); + switch (act) + { + case CombatStallWatchdog.StallAction.None: + return false; + + case CombatStallWatchdog.StallAction.Recovered: + _host.Log($"[StallWatch] recovered — {_lastSwingEvidenceKind} after step {LastStallStepName} " + + $"({stalledMs / 1000:0.0}s without swings; episodes={_stallWatch.Episodes} recovered={_stallWatch.Recoveries})"); + return false; + + case CombatStallWatchdog.StallAction.GaveUp: + _host.Log($"[StallWatch] all {CombatStallWatchdog.StepCount} steps done, still no swings on 0x{activeTargetId:X8} '{targetObj.Name}' — " + + $"resting {CombatStallWatchdog.CooldownMs / 1000:0}s (targeting and no-progress rules carry on)"); + return false; + } + + if (rewielding) + return true; // a step-4 re-wield is still settling; the ladder waits for it + + _lastStallStep = act; + if (act == CombatStallWatchdog.StallAction.Reissue) + LogStallSnapshot(targetObj, currentDist, stalledMs); + + string head = $"[StallWatch] step {_stallWatch.CurrentStep}/{CombatStallWatchdog.StepCount}"; + switch (act) + { + case CombatStallWatchdog.StallAction.Reissue: + ReleaseServerAttack("stall watchdog", log: false); + lastAttackCmd = now; // the attack goes out again one cycle later, after the cancel lands + _host.Log($"{head} re-issue: CancelAttack, attack 0x{activeTargetId:X8} again next cycle"); + return true; + + case CombatStallWatchdog.StallAction.Reselect: + { + ReleaseServerAttack("stall watchdog", log: false); + int old = activeTargetId; + bool alt = HasAlternateTarget(old); + if (alt) _recentlyKilled[old] = now.AddMilliseconds(StallReselectSuppressMs); + _host.Log($"{head} re-select: dropping 0x{old:X8} '{targetObj.Name}'" + + (alt ? $" and skipping it {StallReselectSuppressMs / 1000:0}s (another mob is in reach)" : " (no other mob in reach, it may be picked again)")); + DropTarget("stall watchdog: re-select"); + lastAttackCmd = now; + return true; + } + + case CombatStallWatchdog.StallAction.ToggleMode: + // Same effect on the server as the wand heal: a mode change runs + // HandleActionCancelAttack. EquipWeaponAndSetStance flips back after its + // stance retry delay (~1 s with the flip backoff reset). + _host.ChangeCombatMode(CombatMode.NonCombat); + _stallToggleAt = now; + ResetStanceFlipBackoff(); + lastStanceAttempt = now; + _serverAttackTargetId = 0; + lastAttackCmd = now; + _host.Log($"{head} toggle mode: peace, then back to {CombatModeName(mode)} on the next stance pass"); + return true; + + case CombatStallWatchdog.StallAction.Rewield: + StartStallRewield(head); + lastAttackCmd = now; + return true; + } + return false; + } + + private CombatStallWatchdog.StallAction _lastStallStep = CombatStallWatchdog.StallAction.None; + + /// Stall watchdog / attack-rebind counters for /ra why. + public int StallEpisodes => _stallWatch.Episodes; + public int StallRecoveries => _stallWatch.Recoveries; + public int AttackRebinds => _attackRebinds; + public string LastSwingEvidenceDescription => _lastSwingEvidenceAt == DateTime.MinValue + ? "never" + : $"{_lastSwingEvidenceKind} {(DateTime.Now - _lastSwingEvidenceAt).TotalSeconds:0.0}s ago"; + private string LastStallStepName => _lastStallStep switch + { + CombatStallWatchdog.StallAction.Reissue => "1 (re-issue)", + CombatStallWatchdog.StallAction.Reselect => "2 (re-select)", + CombatStallWatchdog.StallAction.ToggleMode => "3 (toggle mode)", + CombatStallWatchdog.StallAction.Rewield => "4 (re-wield)", + _ => "?", + }; + + private static string CombatModeName(int mode) => mode switch + { + CombatMode.NonCombat => "Peace", + CombatMode.Melee => "Melee", + CombatMode.Missile => "Missile", + CombatMode.Magic => "Magic", + _ => mode.ToString(), + }; + + /// Step 4: put the weapon away and wield it again (what the heal's wand swap + /// does to the knife). Finished by ContinueStallRewield; bounded and swap-gated. + private void StartStallRewield(string head) + { + int wid = _equippedWeaponId; + var wo = wid != 0 ? _worldFilter[wid] : null; + if (wid == 0 || wo == null) + { + _host.Log($"{head} re-wield: skipped — no known weapon in hand"); + return; + } + if (_weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("stall-rewield")) + { + _host.Log($"{head} re-wield: skipped — another weapon swap ran {_weaponSwapGate.MsSinceLastSwap}ms ago ({_weaponSwapGate.LastSwapBy})"); + return; + } + + if (!IsWieldedLive(wid)) + { + // Not actually in hand: just wield it. + _host.UseFor((uint)wid, "Combat", "wield the weapon (not in hand)"); + _stallRewieldWieldSent = true; + _stallRewieldWieldTries = 1; + _host.Log($"{head} re-wield: 0x{wid:X8} '{wo.Name}' is not in hand — UseObject to wield it"); + } + else + { + int pack = WorldObjectCache.FindPackFor(_host, _worldFilter, includeMainPack: true, requireFree: 1); + if (pack == 0 || !_host.HasMoveItemInternal) + { + _host.Log($"{head} re-wield: skipped — no pack with room to put 0x{wid:X8} '{wo.Name}' in"); + return; + } + if (_host.HasCancelAttack) _host.CancelAttack(); + _serverAttackTargetId = 0; + _host.MoveItemInternal((uint)wid, (uint)pack, 0, 1); + _stallRewieldWieldSent = false; + _stallRewieldWieldTries = 0; + _host.Log($"{head} re-wield: 0x{wid:X8} '{wo.Name}' -> pack 0x{pack:X8}, then wield it again"); + } + _stallRewieldId = wid; + _stallRewieldAt = DateTime.Now; + _stallRewieldCheckAt = DateTime.MinValue; + } + + /// + /// Finish a step-4 re-wield: once the weapon is out of hand, wield it (through the swap + /// gate); done when it reads wielded. Runs at the top of Think whether or not a target + /// is locked, because EquipWeaponAndSetStance trusts a matching combat mode and would + /// not put a weapon left in the pack back in hand. Returns true while attacks must wait. + /// + private bool ContinueStallRewield() + { + DateTime now = DateTime.Now; + int mode = CurrentCombatMode; + if (mode == CombatMode.Magic) + { + // Buffing/healing took the hands; its wand swap and combat's own equip path + // (mode ≠ Melee → ChangeCombatMode + UseObject) bring the weapon back. + _host.Log($"[StallWatch] re-wield of 0x{_stallRewieldId:X8} handed over — mode is Magic"); + _stallRewieldId = 0; + return false; + } + if ((now - _stallRewieldCheckAt).TotalMilliseconds < 250) return true; + _stallRewieldCheckAt = now; + + bool wielded = IsWieldedLive(_stallRewieldId); + double ms = (now - _stallRewieldAt).TotalMilliseconds; + + if (_stallRewieldWieldSent && wielded) + { + _host.Log($"[StallWatch] re-wield done: 0x{_stallRewieldId:X8} back in hand ({ms:0}ms after the last step)"); + _stallRewieldId = 0; + lastStanceAttempt = DateTime.MinValue; // let the stance pass re-assert the mode now + return false; + } + + if (!wielded && (!_stallRewieldWieldSent || ms > StallRewieldStepTimeoutMs)) + { + if (_stallRewieldWieldTries >= StallRewieldMaxWieldTries) + { + _host.Log($"[StallWatch] re-wield FAILED: 0x{_stallRewieldId:X8} not back in hand after {_stallRewieldWieldTries} tries"); + _host.WriteToChat($"[RynthAi] Couldn't put the weapon back in hand after the stall recovery. Please wield it by hand.", 2); + _stallRewieldId = 0; + return false; + } + if (_weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("stall-rewield")) + return true; // the dequip holds the slot ~3 s; wield when it frees + _host.UseFor((uint)_stallRewieldId, "Combat", "stalled: wield the weapon again"); + _stallRewieldWieldSent = true; + _stallRewieldWieldTries++; + _stallRewieldAt = now; + return true; + } + + if (!_stallRewieldWieldSent && wielded && ms > StallRewieldStepTimeoutMs) + { + _host.Log($"[StallWatch] re-wield: 0x{_stallRewieldId:X8} never left the hand in {StallRewieldStepTimeoutMs:0}ms — leaving it wielded"); + _stallRewieldId = 0; + return false; + } + return true; + } + + /// One detailed look at every gate on the attack path, logged when a stall is + /// first declared (once per episode). + private void LogStallSnapshot(WorldObject targetObj, double dist, double stalledMs) + { + DateTime now = DateTime.Now; + string Ago(DateTime t) => t == DateTime.MinValue ? "never" : $"{(now - t).TotalMilliseconds:0}ms ago"; + int tid = activeTargetId; + + _host.Log($"[StallWatch] STALL {stalledMs / 1000:0.0}s: action Combat, mode {CombatModeName(CurrentCombatMode)}, " + + $"no hit/miss/kill while attacking 0x{tid:X8} '{targetObj.Name}' — snapshot (episode {_stallWatch.Episodes}):"); + + float hp = _worldFilter.GetHealthRatio(tid); + bool scanned = false; + for (int i = 0; i < _scannedTargets.Count; i++) + if (_scannedTargets[i].Id == tid) { scanned = true; break; } + _host.Log($"[StallWatch] target: d={dist:0.0}m range={_settings.MonsterRange:0.#} hp={(hp < 0 ? "?" : hp.ToString("0.00"))} class={targetObj.ObjectClass} " + + $"scanned={scanned} locked={(_lockedTargetId == tid)} lockedFor={Ago(_targetLockedAt)} lastDamage={Ago(_lastDamageDealtAt)} " + + $"facingErr={GetFacingError(tid):0}deg scan={_scannedTargets.Count} alt={HasAlternateTarget(tid)} {DescribeTargetPos(tid)}"); + + string serverTarget = _serverAttackTargetId == 0 ? "none" + : _serverAttackTargetId == tid ? "same" + : $"0x{_serverAttackTargetId:X8} '{_worldFilter[_serverAttackTargetId]?.Name}' dead={IsKnownDead(_serverAttackTargetId)} {DescribeTargetPos(_serverAttackTargetId)}"; + _host.Log($"[StallWatch] attack: lastCmd={Ago(lastAttackCmd)} interval=1000ms lastSkip='{LastCombatSkipReason}' serverTarget={serverTarget} " + + $"rebinds={_attackRebinds} native={(_settings.UseNativeAttack && _host.HasNativeAttack)} " + + $"evidence: hit={Ago(_lastHitAt)} miss={Ago(_lastMissAt)} kill={Ago(_lastKillAt)} (last={_lastSwingEvidenceKind})"); + + string castGate = _host.HasGetCastBusyState ? (_host.CanCastNow ? "open" : "closed") : "n/a"; + _host.Log($"[StallWatch] gates: busy={BusyCount} castGate={castGate} castInFlight={IsCastInFlight()} faceHeld={_facingTarget} " + + $"returnToPhysical={_returnToPhysicalCombat} stanceFlips={_stanceFlipAttempts} stanceStuck={Ago(_stanceStuckSince)} " + + $"wandWield(pending=0x{_wandPendingWieldId:X8} fails={_wandWieldFailCount}) " + + $"swapGate={(_weaponSwapGate == null ? "n/a" : $"{_weaponSwapGate.MsSinceLastSwap}ms ago by '{_weaponSwapGate.LastSwapBy}'")}"); + + int wid = _equippedWeaponId; + var wo = wid != 0 ? _worldFilter[wid] : null; + string weapon = wo == null ? $"0x{wid:X8} (unknown)" + : $"0x{wid:X8} '{wo.Name}' class={wo.ObjectClass} wieldedLive={IsWieldedLive(wid)} loc={wo.Values(LongValueKey.CurrentWieldedLocation, 0)}"; + string useDone = "n/a", weenie = "n/a"; + if (_host.HasGetLastUseDone && _host.TryGetLastUseDone(out int uSeq, out uint uErr)) + useDone = $"seq={uSeq} err=0x{uErr:X}"; + if (_host.HasGetLastWeenieError && _host.TryGetLastWeenieError(out int wSeq, out uint wErr, out uint wEvt, out uint wObj)) + weenie = $"seq={wSeq} err=0x{wErr:X4} evt=0x{wEvt:X3} obj=0x{wObj:X8}"; + _host.Log($"[StallWatch] weapon: {weapon} | server: lastUseDone {useDone} | lastWeenieError {weenie}"); + } + public void OnHeartbeat() { if (!_settings.IsMacroRunning) @@ -2206,6 +2885,14 @@ public class CombatManager : IDisposable LogCombatStateIfChanged(); + // A combat mode change ends the server's attack (HandleActionChangeCombatMode → + // HandleActionCancelAttack), so out of Melee/Missile there is nothing bound to release. + if (_serverAttackTargetId != 0) + { + int m = CurrentCombatMode; + if (m != CombatMode.Melee && m != CombatMode.Missile) _serverAttackTargetId = 0; + } + // Always run the scan and BotAction state update, even when combat can't // take actions. ScanNearbyTargets has no side-effects (no game commands) // and must stay fresh so HasTargets is accurate for nav-blocking decisions. @@ -2234,6 +2921,16 @@ public class CombatManager : IDisposable // the squat-without-fighting freeze: Combat can no longer latch the // lock based on broad/stale scan state. } + else if (activeTargetId != 0 || _scannedTargets.Count > 0 || _nearbyNoLos > 0) + { + // Combat switched off (the UI, /vt opt or a meta's SetOpt): the scan stops, so + // drop what it last saw. Kept, HasEngageableTarget stayed true for good: salvage + // never ticked (it yields to a threat), the arbiter kept picking Salvaging, and + // the bot stood still; BuffManager also stayed on its in-combat thresholds. + _scannedTargets.Clear(); + _nearbyNoLos = 0; + DropTarget("combat disabled"); + } // Combat can run in Default/Combat, can interrupt navigation unless nav boost is on, // and can interrupt looting unless loot boost is on. @@ -2268,8 +2965,55 @@ public class CombatManager : IDisposable double heldScore = double.MinValue; // scored total for the incumbent, for the switch log bool incumbentSeen = false; double acquireRange = Math.Max(1.0, _settings.MonsterRange); + + // Strict priority: the highest Priority among monsters inside MonsterRange (or among + // all scanned ones when none is inside it) is the only tier that may be picked. + int topPriority = int.MinValue, topAnyRange = int.MinValue; foreach (var c in _scannedTargets) { + int p = PriorityOf(c.Id); + if (p > topAnyRange) topAnyRange = p; + if (c.Distance <= acquireRange && p > topPriority) topPriority = p; + } + if (topPriority == int.MinValue) topPriority = topAnyRange; + + // Finish what you started: a target we have damaged (or whose health is known to be below + // full) is kept while it's within MonsterRange and in the top priority tier, whatever a + // closer fresh monster scores. As a score bonus (stickiness 25 + commitment 20) it lost to + // a fresh monster ~2 m closer (20 points a metre at Monster Range 5): Mob A hit twice, + // Mob B killed, back to A (2026-10-04). Only a clearly more wounded monster in range takes + // over: a predicted kill that survived. Stuck targets are still dropped by the stall + // watchdog (it suppresses them out of the scan). + int forcedId = 0; + if (_lockedTargetId != 0) + { + ScannedTarget? inc = null; + foreach (var c in _scannedTargets) if (c.Id == _lockedTargetId) { inc = c; break; } + if (inc is { } held && held.Distance <= acquireRange && PriorityOf(held.Id) >= topPriority) + { + float heldHp = _worldFilter.GetHealthRatio(held.Id); + bool wounded = _lastDamageDealtAt != DateTime.MinValue || (heldHp >= 0f && heldHp < 0.99f); + if (wounded) + { + float best = heldHp >= 0f ? heldHp : 1f; + foreach (var c in _scannedTargets) + { + if (c.Id == held.Id || c.Distance > acquireRange || PriorityOf(c.Id) < topPriority) continue; + float r = _worldFilter.GetHealthRatio(c.Id); + if (r > 0f && r < best - MoreWoundedMargin) { best = r; forcedId = c.Id; } + } + if (forcedId == 0) + { + _lockedLastSeenInScan = DateTime.Now; + return; // keep the wounded target + } + } + } + } + + foreach (var c in _scannedTargets) + { + if (PriorityOf(c.Id) < topPriority) continue; // a higher-priority monster is in range double s = ScoreCandidate(c); // The incumbent keeps stickiness and commitment only inside MonsterRange. The // scan holds a locked target out to DisengageDistance (MonsterRange+3 by default) @@ -2345,6 +3089,7 @@ public class CombatManager : IDisposable // the A->B->A flapping seen repeatedly on 2026-09-03. if (!incumbentSeen && _lockedTargetId != 0 + && _lockedPriority >= topPriority && _lockedLastScore > double.MinValue && _lockedLastSeenInScan != DateTime.MinValue && (DateTime.Now - _lockedLastSeenInScan).TotalMilliseconds <= TARGET_SCAN_GRACE_MS) @@ -2354,20 +3099,29 @@ public class CombatManager : IDisposable return; // incumbent still wins on its last known score — no switch } + if (forcedId != 0) { bestId = forcedId; bestScore = double.NaN; heldScore = double.MinValue; } + if (bestId == 0 || bestId == _lockedTargetId) return; // One line per real switch. After the scoring fixes a switch should be a // genuine event (target died, left, or something decisively better showed // up) — if this floods the log, selection is thrashing again and the two // scores say by how much. + int bestPriority = PriorityOf(bestId); if (_lockedTargetId != 0) - _host.Log($"[CombatTarget] switch 0x{_lockedTargetId:X8} '{_worldFilter[_lockedTargetId]?.Name}' (score={(heldScore == double.MinValue ? "gone" : heldScore.ToString("0.0"))}, {DescribeTargetPos(_lockedTargetId)}) " + - $"-> 0x{bestId:X8} '{_worldFilter[bestId]?.Name}' (score={bestScore:0.0}, {DescribeTargetPos(bestId)})"); + { + string held = forcedId != 0 ? "wounded, but another is more wounded" + : _lockedPriority < bestPriority ? $"priority {_lockedPriority} < {bestPriority}" + : heldScore == double.MinValue ? "gone" : heldScore.ToString("0.0"); + _host.Log($"[CombatTarget] switch 0x{_lockedTargetId:X8} '{_worldFilter[_lockedTargetId]?.Name}' (score={held}, {DescribeTargetPos(_lockedTargetId)}) " + + $"-> 0x{bestId:X8} '{_worldFilter[bestId]?.Name}' (score={bestScore:0.0}, priority {bestPriority}, {DescribeTargetPos(bestId)})"); + } else - _host.Log($"[CombatTarget] lock 0x{bestId:X8} '{_worldFilter[bestId]?.Name}' (score={bestScore:0.0}, {DescribeTargetPos(bestId)})"); + _host.Log($"[CombatTarget] lock 0x{bestId:X8} '{_worldFilter[bestId]?.Name}' (score={bestScore:0.0}, priority {bestPriority}, {DescribeTargetPos(bestId)})"); activeTargetId = bestId; _lockedTargetId = bestId; + _lockedPriority = bestPriority; _targetLockedAt = DateTime.Now; _lastDamageDealtAt = DateTime.MinValue; _lockedLastScore = double.MinValue; // new incumbent — no carried score yet @@ -2424,25 +3178,394 @@ public class CombatManager : IDisposable double facingScore = (1.0 - Math.Min(1.0, c.Angle / 180.0)) * 10.0; - // Monster-rule priority: default scoring already prefers "fastest to attack" - // (close/low-hp/in-melee/in-front), which is right for normal grind dungeons. - // The user uses MonsterRules.Priority to elevate threats they want focused - // first — so only apply a bonus when Priority is *above* the default of 1. - // Priority 10 → +45 (about half a max-distance score, enough to switch - // targets unless the alternative is much closer/lower-HP). - string targetName = c.Name; - var rule = _settings.MonsterRules.FirstOrDefault( - r => !r.Name.Equals("Default", StringComparison.OrdinalIgnoreCase) && - targetName.IndexOf(r.Name, StringComparison.OrdinalIgnoreCase) >= 0); - double priorityScore = rule != null ? Math.Max(0, rule.Priority - 1) * 5.0 : 0; + // Monster priority is not scored here: HandleCombatTrigger only scores monsters of + // the top Priority in range (see PriorityOf), so within the field it's a constant. + return distScore + hpScore + threatScore + facingScore; + } - return distScore + hpScore + threatScore + facingScore + priorityScore; + /// The Priority of the monster rule that applies to (its own + /// row by name or match expression, else the DEFAULT row; 1 when neither exists). Cached per + /// monster for ; the cache empties when the rule list changes. + private int PriorityOf(int id) + { + var rules = _settings.MonsterRules; + if (!ReferenceEquals(rules, _priorityCacheRules)) { _priorityCache.Clear(); _priorityCacheRules = rules; } + DateTime now = DateTime.Now; + if (_priorityCache.TryGetValue(id, out var hit) && (now - hit.At).TotalMilliseconds < PriorityCacheMs) + return hit.Priority; + if (_priorityCache.Count > 512) _priorityCache.Clear(); + int p = GetRuleForTarget(_worldFilter[id])?.Priority ?? 1; + _priorityCache[id] = (p, now); + return p; } private DateTime _lastEquipTime = DateTime.MinValue; private DateTime _lastStanceTime = DateTime.MinValue; private DateTime _lastEquipDiagAt = DateTime.MinValue; + /// + /// The weapon to fight with (0 = none), and the element in + /// . See WeaponPlanner for the order: the Damage tab's weapon + /// (listed only), the Monsters rule's damage type, the weakness (weakest element a listed + /// weapon of the main kind has), else the weapon in hand, the learned best, the first. + /// Casters are skipped when the character has no War/Void Magic (IsUsableCombatWeapon). + /// + internal int ChooseWeapon(WorldObject target, MonsterRule? rule, ref string desired, out string source) + { + var plan = PlanFor(target, rule); + source = plan.Source; + if (plan.Element.Length > 0) desired = plan.Element; + return plan.WeaponId; + } + + /// + /// The weapon and element for (WeaponPlanner's rule). Only weapons + /// in the Items list are candidates: a Damage-tab pick or a learned "best" weapon that is no + /// longer listed is ignored (logged once), which is how an unlisted fire wand used to be + /// wielded after the user removed it from the list (2026-09-30). + /// + internal WeaponPlan PlanFor(WorldObject target, MonsterRule? rule) + { + // The equip path and the spell path both ask every tick; the answer only moves when + // the target, the rule, the list or the hand does, so reuse it for a quarter second. + DateTime now = DateTime.Now; + int hand = InHandWeaponId(); + var list = _settings.ItemRules; + if (_planCache is { } pc && pc.TargetId == target.Id && ReferenceEquals(pc.Rule, rule) && ReferenceEquals(pc.List, list) + && pc.Count == list.Count && pc.Hand == hand && (now - pc.At).TotalMilliseconds < PlanCacheMs) + return pc.Plan; + var plan = ComputePlan(target, rule); + _planCache = (target.Id, rule, list, list.Count, hand, now, plan); + return plan; + } + + private (int TargetId, MonsterRule? Rule, List List, int Count, int Hand, DateTime At, WeaponPlan Plan)? _planCache; + private const double PlanCacheMs = 250; + + private WeaponPlan ComputePlan(WorldObject target, MonsterRule? rule) + { + var listed = ListedCandidates(); + string ruleElement = rule != null && !string.IsNullOrEmpty(rule.DamageType) + && !rule.DamageType.Equals("Auto", StringComparison.OrdinalIgnoreCase) + ? rule.DamageType : ""; + + uint wcid = 0; + if (_host.HasGetObjectWcid && _host.TryGetObjectWcid((uint)target.Id, out uint tw)) wcid = tw; + + int fixedId = 0, learnedId = 0; + string fixedSource = "Damage tab"; + bool fixedIsDefault = false; + if (wcid != 0 && _damageStore != null) + { + uint pick = _damageStore.GetManualWeapon(wcid); + if (pick == 0) { pick = _damageStore.GetDefaultWeapon(); fixedSource = "Damage tab default"; fixedIsDefault = true; } + if (pick != 0 && !listed.Any(c => c.Id == (int)pick)) { NoteUnlisted((int)pick, fixedSource); pick = 0; } + fixedId = (int)pick; + uint best = _damageStore.GetBestWeapon(wcid); + if (best != 0 && !listed.Any(c => c.Id == (int)best)) { NoteUnlisted((int)best, "Damage tab learned"); best = 0; } + learnedId = (int)best; + } + + // Launchers: their element is their ammo's, and one with no ammo to shoot isn't wielded + // (CombatManager.Ammo.cs). Lists without a launcher come back unchanged. + var weak = WeaknessFor(target); + listed = ApplyAmmo(listed, ruleElement, weak); + // Slayers (PropertyInt 166 = the monster's PropertyInt 2) only when a listed weapon has one. + int ctype = listed.Any(c => c.SlayerType > 0) ? CreatureTypeOf(wcid, target.Name, target.Id) : 0; + return WeaponPlanner.Choose(listed, ruleElement, weak, e => CanCastElement(e, rule), + fixedId, fixedSource, learnedId, ctype, fixedIsDefault); + } + + // PropertyInt 166 SlayerCreatureType, PropertyFloat 138 SlayerDamageBonus (ACE.Entity). + private const uint PropSlayerCreatureType = 166, PropSlayerDamageBonus = 138; + + /// + /// A weapon's slayer (creature type, damage multiplier); (0, 0) when it has none or isn't + /// identified yet (the weapon tracker identifies listed weapons). ACE needs both properties. + /// + internal (int Type, double Bonus) SlayerOf(int weaponId) + { + uint uid = unchecked((uint)weaponId); + if (!_host.HasGetObjectIntProperty || !_host.TryGetObjectIntProperty(uid, PropSlayerCreatureType, out int t) || t <= 0) + return (0, 0); + if (!_host.HasGetObjectDoubleProperty || !_host.TryGetObjectDoubleProperty(uid, PropSlayerDamageBonus, out double b) || b <= 0) + return (0, 0); + return (t, b); + } + + // Creature type by wcid, once seen: a wcid's type never changes, so the next spawn is instant. + // Concurrent: the Damage tab's JSON export asks for weaknesses off the combat tick. + private readonly System.Collections.Concurrent.ConcurrentDictionary _creatureTypeByWcid = new(); + + /// + /// The monster's CreatureType (PropertyInt 2; 0 = unknown): this session's per-wcid cache, + /// else the creature store (appraisals saved by name and wcid), else the live appraisal + /// (the engine identifies every new object). Never guessed from the name. + /// + internal int CreatureTypeOf(uint wcid, string? name, int objectId = 0) + { + if (wcid != 0 && _creatureTypeByWcid.TryGetValue(wcid, out int known)) return known; + int ctype = 0; + name ??= ""; + if (_creatureStore != null && name.Length > 0) + { + CreatureProfile? prof = null; + bool got = wcid != 0 ? _creatureStore.TryGet(name, wcid, out prof) : _creatureStore.TryGetByName(name, out prof); + if (got && prof != null) ctype = prof.CreatureType; + } + if (ctype == 0 && objectId != 0 && _host.HasGetObjectIntProperty + && _host.TryGetObjectIntProperty(unchecked((uint)objectId), 2 /* CreatureType */, out int ct)) + ctype = ct; + if (ctype > 0 && wcid != 0) + { + if (_creatureTypeByWcid.Count > 4096) _creatureTypeByWcid.Clear(); + _creatureTypeByWcid[wcid] = ctype; + } + return ctype > 0 ? ctype : 0; + } + + private readonly HashSet _unlistedNoted = new(); + + private void NoteUnlisted(int id, string from) + { + if (!_unlistedNoted.Add(id)) return; + var wo = _worldFilter[id]; + if (wo != null && IsShieldItem(wo) && _settings.ItemRules.Any(r => r.Id == id)) + { + _host.Log($"[EquipDiag] {from} weapon 0x{(uint)id:X8} '{wo.Name}' is a shield — it only goes in the off hand"); + return; + } + _host.Log($"[EquipDiag] {from} weapon 0x{(uint)id:X8} '{wo?.Name ?? "?"}' isn't in the Items list — not wielding it"); + } + + /// The Items list's usable weapons, in list order, with their kind, element, rending and whether each is in hand. + internal List ListedCandidates() + { + int inHand = InHandWeaponId(); + var list = new List(); + foreach (var r in _settings.ItemRules) + { + if (r.Id == 0 || !IsUsableCombatWeapon(r.Id)) continue; + if (list.Any(c => c.Id == r.Id)) continue; + var wo = _worldFilter[r.Id]; + if (wo == null) continue; + if (wo.ObjectClass == AcObjectClass.MissileWeapon && IsAmmoItem(wo)) continue; // listed arrows are the ammo choice, never a weapon to wield + if (IsShieldItem(wo)) continue; // listed shields are the off hand's (CombatManager.Offhand.cs) + var info = ElementTracker.Read(r.Id, wo.Name); + string elem = WeaponElements.Normalize(r.Element); + if (elem.Length == 0) elem = info.Element; + var (slayType, slayBonus) = SlayerOf(r.Id); + list.Add(new WeaponCandidate(r.Id, wo.Name, WeaponKind(r.Id), elem, info.Rending, r.Id == inHand, slayType, slayBonus)); + } + return list; + } + + // The weapon in hand, read live at most every InHandReadMs (the read walks the inventory). + private int _inHandId; + private DateTime _inHandReadAt = DateTime.MinValue; + private const double InHandReadMs = 1000; + + /// The melee/missile weapon or caster the character holds (0 = none readable). + internal int InHandWeaponId(bool fresh = false) + { + if (InHandOverride != null) return InHandOverride(); + DateTime now = DateTime.Now; + if (!fresh && (now - _inHandReadAt).TotalMilliseconds < InHandReadMs) return _inHandId; + _inHandReadAt = now; + int found = 0; + try + { + foreach (var wo in _worldFilter.GetDirectInventory(forceRefresh: true)) + { + if (WorldObjectCache.IsAmmo(wo)) continue; + // The off hand (a dual-wielded weapon in the Shield slot) is not the weapon in hand. + if ((wo.Values(LongValueKey.CurrentWieldedLocation, 0) & OffhandRules.ShieldSlot) != 0) continue; + bool weapon = wo.ObjectClass == AcObjectClass.MeleeWeapon + || wo.ObjectClass == AcObjectClass.MissileWeapon + || IsWandObject(wo); + if (!weapon || !WorldObjectCache.IsWieldedByPlayer(_host, wo)) continue; + // Two in hand (a wand and a sword mid-swap): a listed one wins. + if (found == 0 || _settings.ItemRules.Any(r => r.Id == wo.Id)) found = wo.Id; + } + } + catch { } + _inHandId = found; + return found; + } + + /// The combat mode a weapon puts the character in (0 = unknown). + private int WeaponKind(int id) + { + var wo = _worldFilter[id]; + if (wo == null) return 0; + return IsWandObject(wo) ? CombatMode.Magic + : wo.ObjectClass == AcObjectClass.MissileWeapon ? CombatMode.Missile + : CombatMode.Melee; + } + + /// What hurts most (server data, learned, creature type); null = unknown. + internal CreatureWeakness.Ranking? WeaknessFor(WorldObject? target) + { + if (target == null) return null; + // The creature's own appraisal resists win when the server sent any (stock ACE doesn't). + var appraised = AppraisedWeakness(target.Id); + if (appraised != null) return appraised; + uint wcid = 0; + if (_fightTargetWcid != 0 && target.Id == _fightTargetId) wcid = _fightTargetWcid; + else if (_host.HasGetObjectWcid && _host.TryGetObjectWcid((uint)target.Id, out uint w)) wcid = w; + return WeaknessFor(wcid, target.Name, target.Id); + } + + // ResistSlash, Pierce, Bludgeon, Fire, Cold, Acid, Electric (64-70), ResistNether (166), + // in CreatureWeakness.Elements order. + private static readonly uint[] ResistFloats = { 64, 65, 66, 67, 68, 69, 70, 166 }; + + private CreatureWeakness.Ranking? AppraisedWeakness(int objectId) + { + if (objectId == 0 || !_host.HasGetObjectDoubleProperty) return null; + var m = new double?[8]; + bool any = false; + for (int i = 0; i < 8; i++) + if (_host.TryGetObjectDoubleProperty(unchecked((uint)objectId), ResistFloats[i], out double v)) { m[i] = v; any = true; } + return any ? CreatureWeakness.FromAppraisal(m) : null; + } + + /// The same by wcid and name; (optional) reads a live creature type. + internal CreatureWeakness.Ranking? WeaknessFor(uint wcid, string? name, int objectId = 0) + { + name ??= ""; + int ctype = CreatureTypeOf(wcid, name, objectId); + string learned = wcid != 0 ? _damageStore?.GetBestElement(wcid) ?? "" : ""; + return CreatureWeakness.Rank(wcid, name, ctype, learned); + } + + // Server replies seen when the last combat wield was sent (UseDone / WeenieError sequence). + private int _swapUseDoneSeq, _swapWeenieSeq; + + /// + /// Asks the swap tracker about with + /// in hand, after folding in a server refusal of the wield in flight. Logs a give-up once. + /// + private WeaponSwapTracker.Step SwapStep(int chosenId, int inHandId) + { + DateTime now = DateTime.Now; + if (SwapTracker.PendingId != 0 && ServerRefusedSinceSend()) SwapTracker.Refused(now, WeaponName); + var step = SwapTracker.Next(chosenId, inHandId, now, WeaponName); + if (SwapTracker.Notice != null) + { + _host.Log($"[EquipDiag] {SwapTracker.Notice}"); + SwapTracker.Notice = null; + } + if (step == WeaponSwapTracker.Step.Hold && (DateTime.Now - _lastSwapHoldLogAt).TotalSeconds > 10) + { + _lastSwapHoldLogAt = DateTime.Now; + _host.Log($"[EquipDiag] keeping 0x{(uint)inHandId:X8} '{WeaponName(inHandId)}' instead of 0x{(uint)chosenId:X8} '{WeaponName(chosenId)}' ({SwapTracker.HoldReason})"); + } + return step; + } + + private DateTime _lastSwapHoldLogAt = DateTime.MinValue; + + private string WeaponName(int id) => id == 0 ? "" : (_worldFilter[id]?.Name ?? ""); + + /// Send one combat wield of and tell the swap tracker. + private void SendWield(int weaponId, int inHandId, string why) + { + _host.UseFor((uint)weaponId, "Combat", $"wield: {why}"); + MarkWieldSent(weaponId, inHandId); + _host.Log($"[EquipDiag] {why}: 0x{(uint)inHandId:X8} '{WeaponName(inHandId)}' -> 0x{(uint)weaponId:X8} '{WeaponName(weaponId)}' (try {SwapTracker.TriesFor(weaponId)}/{SwapTracker.MaxTries})"); + } + + /// A combat wield of was just sent: the swap tracker + /// holds further swaps until it lands, is refused, or times out. + private void MarkWieldSent(int weaponId, int inHandId) + { + DateTime now = DateTime.Now; + if (_host.HasGetLastUseDone && _host.TryGetLastUseDone(out int uSeq, out _)) _swapUseDoneSeq = uSeq; + if (_host.HasGetLastWeenieError && _host.TryGetLastWeenieError(out int wSeq, out _, out _, out _)) _swapWeenieSeq = wSeq; + SwapTracker.Sent(weaponId, inHandId, now); + _inHandReadAt = DateTime.MinValue; // read the hand fresh next time + _offSlotReadAt = DateTime.MinValue; // and the off hand + _lastEquipTime = now; + } + + /// A WeenieError, or a UseDone with an error, arrived after the wield was sent. + private bool ServerRefusedSinceSend() + { + if (_host.HasGetLastWeenieError && _host.TryGetLastWeenieError(out int wSeq, out uint wErr, out _, out _) + && wSeq != _swapWeenieSeq && wErr != 0) + { + _swapWeenieSeq = wSeq; + return true; + } + if (_host.HasGetLastUseDone && _host.TryGetLastUseDone(out int uSeq, out uint uErr) && uSeq != _swapUseDoneSeq) + { + _swapUseDoneSeq = uSeq; + return uErr != 0; + } + return false; + } + + /// + /// The combat mode already matches the chosen weapon's kind, but the chosen one isn't + /// confirmed in hand: if another weapon of the same kind is in hand (a sword for a sword, + /// a bow for a bow, a wand for a wand), wield the chosen one. One swap in flight, capped, + /// no flip-flop (WeaponSwapTracker). True while the attack should wait for the wield. + /// Needs a positive read of the other weapon in hand, so a stale wield read on the chosen + /// weapon can't turn into a UseObject that takes it off. Wand-for-wand used to never + /// happen: Magic mode was trusted, so whatever wand was in hand stayed there (2026-09-30). + /// + private bool SwapToChosenSameKind(int weaponId, int desiredMode) + { + int inHand = InHandWeaponId(); + if (inHand == 0 || inHand == weaponId) { SwapTracker.Confirmed(weaponId, DateTime.Now); if (inHand == weaponId) _equippedWeaponId = weaponId; return false; } + if (WeaponKind(inHand) != desiredMode) return false; // a cross-kind case; the branches below handle it + + _equippedWeaponId = inHand; + switch (SwapStep(weaponId, inHand)) + { + case WeaponSwapTracker.Step.Wait: return true; + case WeaponSwapTracker.Step.Swap: + // A two-hander or a launcher: the shield (or off-hand weapon) comes off first. + var off = ClearOffhandFor(weaponId, _curOffhandMode); + if (off == OffPrep.Busy) return true; + if (off == OffPrep.Blocked) return false; // fight on with what's in hand + // A launcher for another ammo type: the wielded ammo goes into the pack first. + if (desiredMode == CombatMode.Missile) + { + var prep = PrepareAmmoFor(weaponId); + if (prep == AmmoPrep.Busy) return true; + if (prep == AmmoPrep.Blocked) return false; // fight on with the launcher in hand + } + if (_weaponSwapGate != null && !_weaponSwapGate.TryBeginSwap("combat-weapon-swap")) return false; + SendWield(weaponId, inHand, "swap"); + return true; + default: return false; // Hold / InHand: fight with what's in hand + } + } + + /// + /// No weapon to wield: fight unarmed. Any combat mode already set is kept (as before). + /// From peace mode, ask for Melee (with the stance backoff) and hold the attack until it + /// lands: ACE drops a melee attack sent outside Melee mode, and the no-damage blacklist + /// then sidelined every target one after another. + /// + private bool EnsureUnarmedStance() + { + if (CurrentCombatMode != CombatMode.NonCombat) + { + ResetStanceFlipBackoff(); + return true; + } + if ((DateTime.Now - lastStanceAttempt).TotalMilliseconds > StanceRetryDelayMs()) + { + _host.ChangeCombatMode(CombatMode.Melee); + lastStanceAttempt = DateTime.Now; + NoteStanceFlipSent(); + } + return false; + } + // Returns true when the correct weapon is wielded and combat mode matches — safe to attack. // Returns false when a weapon swap or stance change is in progress — caller should skip this tick. private bool EquipWeaponAndSetStance(WorldObject target, string monsterWeakness = "Auto") @@ -2451,35 +3574,13 @@ public class CombatManager : IDisposable int targetWeaponId = 0; - var rule = _settings.MonsterRules.FirstOrDefault( - r => target.Name.IndexOf(r.Name, StringComparison.OrdinalIgnoreCase) >= 0); - if (rule == null) - rule = _settings.MonsterRules.FirstOrDefault(m => m.Name.Equals("Default", StringComparison.OrdinalIgnoreCase)); + // Same rule the spell/debuff path uses (expression + meta-state aware). A raw name + // substring match made a blank-named expression rule (IndexOf("") == 0) match every + // monster and drive weapon choice for all of them. + var rule = GetRuleForTarget(target); - string desired = (rule != null && rule.DamageType != "Auto") ? rule.DamageType : monsterWeakness; - - string weaponSource = "none"; - // Per-monster weapon now comes from the Damage tab (per-wcid override > learned best), - // NOT the Monsters-tab rule.WeaponId (that selection was removed — hard cut). Resolve the - // target's wcid the same way BeginFight does. - uint targetWcid = 0; - if (_host.HasGetObjectWcid && _host.TryGetObjectWcid((uint)target.Id, out uint tw)) targetWcid = tw; - if (targetWcid != 0 && _damageStore != null) - { - uint eff = _damageStore.GetEffectiveWeapon(targetWcid); - if (eff != 0 && IsUsableCombatWeapon((int)eff)) { targetWeaponId = (int)eff; weaponSource = "DamageTab"; } - } - if (targetWeaponId == 0) - { - // No Damage-tab choice yet → element/wand auto (element from rule.DamageType or weakness). - // Casters are skipped when the character has no War/Void Magic: a wand listed - // above the bow for the same element put a missile character in Magic mode, - // casting war spells the server refused ("You don't have all the components") - // while combat held the action lock and the route never ran. - var bestWeapon = _settings.ItemRules.FirstOrDefault(i => i.Element.Equals(desired, StringComparison.OrdinalIgnoreCase) && IsUsableCombatWeapon(i.Id)) - ?? _settings.ItemRules.FirstOrDefault(i => IsUsableCombatWeapon(i.Id)); - if (bestWeapon != null) { targetWeaponId = bestWeapon.Id; weaponSource = "ItemRules"; } - } + string desired = monsterWeakness; + targetWeaponId = ChooseWeapon(target, rule, ref desired, out string weaponSource); if (targetWeaponId == 0 && CanAttackWithMagic) { @@ -2493,7 +3594,7 @@ public class CombatManager : IDisposable _lastEquipDiagAt = DateTime.Now; _host.Log($"[EquipDiag] no weapon found (source=none, desired='{desired}', ItemRules={_settings.ItemRules.Count}, MonsterRule='{rule?.Name ?? "null"}') — proceeding unarmed"); } - return true; + return EnsureUnarmedStance(); } var weaponObj = _worldFilter[targetWeaponId]; @@ -2504,12 +3605,63 @@ public class CombatManager : IDisposable _lastEquipDiagAt = DateTime.Now; _host.Log($"[EquipDiag] weapon 0x{targetWeaponId:X8} not in WorldFilter (source={weaponSource}) — proceeding unarmed"); } - return true; + return EnsureUnarmedStance(); + } + + // Another weapon in hand: one swap at a time, capped, no flip-flop. When the tracker + // says hold (the chosen one failed its tries, or it is the weapon just swapped away + // from), carry on with the one in hand. + // With nothing readable in hand, a held swap sends no wield (the stance logic below + // still runs, so a mage can cast bare-handed). + int inHand = InHandWeaponId(); + bool allowWield = true; + _curOffhandMode = OffhandChoiceFor(target, rule).Mode; + + // Dual wield: the chosen weapon already swings in the off hand, beside another listed + // one-handed weapon in the main hand. Fight with both rather than moving it across. + if (inHand != 0 && inHand != targetWeaponId + && (weaponObj.Values(LongValueKey.CurrentWieldedLocation, 0) & OffhandRules.ShieldSlot) != 0 + && _worldFilter[inHand] is WorldObject mainObj && MainKindOf(mainObj) == MainHandKind.OneHandedMelee + && _settings.ItemRules.Any(r => r.Id == inHand)) + { + if (_offNoted.Add($"dual:{targetWeaponId}:{inHand}")) + _host.Log($"[EquipDiag] 0x{(uint)targetWeaponId:X8} '{weaponObj.Name}' is in the off hand beside 0x{(uint)inHand:X8} '{mainObj.Name}' — fighting with both (dual wield)"); + weaponSource = $"dual wield (wanted 0x{(uint)targetWeaponId:X8} is in the off hand)"; + targetWeaponId = inHand; + weaponObj = mainObj; + } + + if (inHand != targetWeaponId && OffhandBlocksMain(targetWeaponId, _curOffhandMode)) + { + // The off hand can't come off (Offhand None, or resting after failed tries) and the + // server refuses this weapon with it: keep what's in hand, as for a held swap. + if (inHand != 0 && _worldFilter[inHand] is WorldObject keepObj) + { + weaponSource = $"in hand (off hand stays); wanted 0x{(uint)targetWeaponId:X8}"; + targetWeaponId = inHand; + weaponObj = keepObj; + } + else allowWield = false; + } + else if (inHand != targetWeaponId) + { + var step = SwapStep(targetWeaponId, inHand); + if (step == WeaponSwapTracker.Step.Wait) { if (inHand != 0) _equippedWeaponId = inHand; return false; } + if (step == WeaponSwapTracker.Step.Hold) + { + if (inHand != 0 && _worldFilter[inHand] is WorldObject handObj) + { + weaponSource = $"in hand ({SwapTracker.HoldReason}); wanted 0x{(uint)targetWeaponId:X8}"; + targetWeaponId = inHand; + weaponObj = handObj; + } + else allowWield = false; + } } // Remember the weapon in hand (now confirmed in-world) so melee/missile damage // (0x01B1) learns under the real weapon, not a resolved-but-unwielded id. - _equippedWeaponId = targetWeaponId; + _equippedWeaponId = inHand != 0 ? inHand : targetWeaponId; // Use IsWandObject (ObjectClass + name fallback) so wands with // ObjectClass=Unknown (stale WorldFilter classification) still get @@ -2557,18 +3709,36 @@ public class CombatManager : IDisposable if (alreadyWielded) { + // Just swapped to this launcher: wield its ammo (one in flight, confirmed, capped). + if (desiredMode == CombatMode.Missile && AmmoFollowUp(targetWeaponId, target, rule)) + { + _lastMissileNoAmmoAt = DateTime.Now; // waiting on ammo is not a stall + LastCombatSkipReason = "no-ammo"; + return false; + } + // Don't enter missile mode without ammo — AC rejects it and cycles stance if (desiredMode == CombatMode.Missile && !HasWieldedAmmo()) + { + // Waiting on ammo is not a stall. The attack block's stamp is never reached + // from here (Think returns on false), so the stall watchdog's no-ammo + // exemption never applied and it ran its whole ladder on an empty quiver. + _lastMissileNoAmmoAt = DateTime.Now; + LastCombatSkipReason = "no-ammo"; // D4 record-only return false; + } // The wand read as wielded, so whatever UseObject we had in flight landed. // Clear the gate here (not only on reaching the stance) so a slow stance // flip doesn't leave a stale pending-wield behind it. ResetCombatWandWieldGate(); + SwapTracker.Confirmed(targetWeaponId, DateTime.Now); if (CurrentCombatMode == desiredMode) { ResetStanceRecovery(); // reached the stance — clear the whole episode + // The main weapon is in hand: now the off hand (a shield, or dual wield). + if (OffhandFollowUp(target, rule, targetWeaponId)) return false; return true; } @@ -2598,7 +3768,7 @@ public class CombatManager : IDisposable _stanceReEquipAttempts++; _host.Log($"[EquipDiag] STANCE STUCK {stuckMs:0}ms mode={CurrentCombatMode}≠{desiredMode} (wielded reads true) — re-equip attempt {_stanceReEquipAttempts}/{StanceReEquipMaxAttempts} 0x{targetWeaponId:X8}"); if (_host.HasForceResetBusyCount) _host.ForceResetBusyCount(); - _host.UseObject((uint)targetWeaponId); + _host.UseFor((uint)targetWeaponId, "Combat", "stance stuck: equip again"); _lastEquipTime = DateTime.Now; lastStanceAttempt = DateTime.MinValue; // let ChangeCombatMode re-fire next tick return false; @@ -2638,6 +3808,15 @@ public class CombatManager : IDisposable { _stanceStuckSince = DateTime.MinValue; ResetWandSwapState(); ResetStanceFlipBackoff(); // reached the stance — clear stuck timer + swap + flip backoff ResetCombatWandWieldGate(); + // The matching mode can come from ANOTHER weapon of the same kind: the weakness + // pick and the Damage tab choose between weapons of one kind, and trusting the + // mode here meant the chosen one was never put in hand. That covered melee only; + // a wand in hand in Magic mode was kept whatever the list said (2026-09-30). + if (SwapToChosenSameKind(targetWeaponId, desiredMode)) + return false; + // The chosen weapon read in hand (the wield-location read was only late): the off hand. + if (InHandWeaponId() == targetWeaponId && OffhandFollowUp(target, rule, targetWeaponId)) + return false; return true; } @@ -2651,6 +3830,19 @@ public class CombatManager : IDisposable // proven BuffManager.EnsureMagicMode dequip-first path (the missing 4th site). if (desiredMode == CombatMode.Magic) { + // The wand is resting after failed wields and the hands are empty: ask for Magic + // mode bare-handed (throttled) and send no wield. + if (!allowWield) + { + if ((DateTime.Now - lastStanceAttempt).TotalMilliseconds > StanceRetryDelayMs()) + { + _host.ChangeCombatMode(desiredMode); + lastStanceAttempt = DateTime.Now; + NoteStanceFlipSent(); + } + return false; + } + // Claim the shared swap slot FIRST so a concurrent buff/combat equip can't // collide; only then tear down / move items (don't cancel an attack then fail // to claim the slot). The 3s gate interval paces the dequip→wield steps. @@ -2723,7 +3915,8 @@ public class CombatManager : IDisposable } if (diagNow) { _lastEquipDiagAt = DateTime.Now; _host.Log($"[EquipDiag] hand clear — UseObject(0x{targetWeaponId:X8} '{weaponObj.Name}') wand equip"); } - _host.UseObject((uint)targetWeaponId); + _host.UseFor((uint)targetWeaponId, "Combat", "equip the wand"); + MarkWieldSent(targetWeaponId, inHand); _wandPendingWieldId = targetWeaponId; _wandPendingWieldAt = wnow; _lastEquipTime = wnow; @@ -2742,11 +3935,14 @@ public class CombatManager : IDisposable lastStanceAttempt = DateTime.Now; NoteStanceFlipSent(); } - if ((DateTime.Now - _lastEquipTime).TotalMilliseconds > 2000 + if (allowWield && (DateTime.Now - _lastEquipTime).TotalMilliseconds > 2000 + && ClearOffhandFor(targetWeaponId, _curOffhandMode) == OffPrep.Ready // a shield off before a two-hander / launcher + && (desiredMode != CombatMode.Missile || PrepareAmmoFor(targetWeaponId) == AmmoPrep.Ready) && (_weaponSwapGate == null || _weaponSwapGate.TryBeginSwap("combat-equip"))) { if (diagNow) { _lastEquipDiagAt = DateTime.Now; _host.Log($"[EquipDiag] wielded=FALSE UseObject(0x{targetWeaponId:X8} '{weaponObj.Name}') — equip attempt"); } - _host.UseObject((uint)targetWeaponId); + _host.UseFor((uint)targetWeaponId, "Combat", "equip the weapon"); + MarkWieldSent(targetWeaponId, inHand); _lastEquipTime = DateTime.Now; } return false; @@ -2759,7 +3955,14 @@ public class CombatManager : IDisposable private bool EnsureHandClearForWand(int wandId, bool diagNow) { int bowId = FindWieldedNonWandWeapon(wandId); - if (bowId == 0) { _combatBowDequipPendingId = 0; _combatBowDequipAttempts = 0; return true; } + if (bowId == 0) + { + _combatBowDequipPendingId = 0; _combatBowDequipAttempts = 0; + // The main hand is clear; a caster also needs an empty off hand (ACE refuses a + // Held-slot caster beside a shield), so the shield goes into the pack too. + // Both callers claim the swap gate before coming here. + return ClearOffhandFor(wandId, _curOffhandMode, gateHeld: true) == OffPrep.Ready; + } DateTime now = DateTime.Now; if (_combatBowDequipPendingId == bowId @@ -2780,6 +3983,8 @@ public class CombatManager : IDisposable _lastEquipDiagAt = now; _host.Log($"[EquipDiag] bow 0x{(uint)bowId:X8} dequip blocked (openPack=0x{(uint)openPack:X8}, attempts={_combatBowDequipAttempts}/{CombatBowDequipMaxAttempts}) — cannot swap to wand yet"); } + if (openPack == 0) + WorldObjectCache.WarnPackFull(_host, "can't put the weapon away to switch to the wand for combat spells"); _combatBowDequipPendingId = 0; _combatBowDequipAttempts = 0; return false; @@ -2804,9 +4009,10 @@ public class CombatManager : IDisposable { if (wo.Id == wandId) continue; if (IsWandObject(wo)) continue; - if (wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0 - && (wo.ObjectClass == AcObjectClass.MeleeWeapon - || wo.ObjectClass == AcObjectClass.MissileWeapon)) + if (WorldObjectCache.IsAmmo(wo)) continue; // arrows stay on; only the bow blocks the wand + if ((wo.ObjectClass == AcObjectClass.MeleeWeapon + || wo.ObjectClass == AcObjectClass.MissileWeapon) + && WorldObjectCache.IsWieldedByPlayer(_host, wo)) return wo.Id; } return 0; @@ -2818,7 +4024,7 @@ public class CombatManager : IDisposable if (id == 0) return false; foreach (var wo in _worldFilter.GetDirectInventory(forceRefresh: true)) if (wo.Id == id) - return wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0; + return WorldObjectCache.IsWieldedByPlayer(_host, wo); if (_host.HasGetObjectWielderInfo) { uint pid = _host.GetPlayerId(); @@ -2834,15 +4040,42 @@ public class CombatManager : IDisposable /// ready to cast; when false, caller should re-tick (equip/stance are throttled /// internally so calling every tick is safe). /// + // Nav calls EnsureMagicReady every tick while a Recall waypoint is firing. Until + // this lapses, the idle peace-mode switch leaves the stance alone: it used to send + // NonCombat on the tick Magic landed, right before nav's recall cast. + private DateTime _navMagicWantedUntil = DateTime.MinValue; + public bool EnsureMagicReady() { + _navMagicWantedUntil = DateTime.Now.AddMilliseconds(2000); int wandId = FindWandInItems(); - if (wandId == 0) return false; + // No target here: the global off-hand setting. With Offhand None and a shield on, the + // wand can't be wielded (the server refuses a caster beside it): cast bare-handed. + _curOffhandMode = OffhandRules.Parse(_settings.OffhandDefault, OffhandMode.Auto); + if (wandId != 0 && _worldFilter[wandId] is WorldObject w0 && !WorldObjectCache.IsWieldedByPlayer(_host, w0) + && OffhandBlocksMain(wandId, _curOffhandMode)) + wandId = 0; + if (wandId == 0) + { + // No caster anywhere: recalls cast bare-handed. This used to return false + // for good, even in Magic mode, so a Recall waypoint never cast and sat + // out the whole portal timeout. + if (CurrentCombatMode == CombatMode.Magic) { ResetStanceFlipBackoff(); return true; } + if ((DateTime.Now - lastStanceAttempt).TotalMilliseconds > StanceRetryDelayMs()) + { + _host.ChangeCombatMode(CombatMode.Magic); + lastStanceAttempt = DateTime.Now; + NoteStanceFlipSent(); + } + return false; + } var wand = _worldFilter[wandId]; if (wand == null) return false; - bool alreadyWielded = wand.Values(LongValueKey.CurrentWieldedLocation, 0) > 0; + // Location, else the live wielder id: a wand in hand whose location read 0 was + // used again and again (equip/unequip) and never got to magic mode (2026-09-29). + bool alreadyWielded = WorldObjectCache.IsWieldedByPlayer(_host, wand); if (alreadyWielded) { @@ -2875,7 +4108,7 @@ public class CombatManager : IDisposable return false; if ((DateTime.Now - _lastEquipTime).TotalMilliseconds > 2000) { - _host.UseObject((uint)wandId); + _host.UseFor((uint)wandId, "Combat", "equip the wand"); _lastEquipTime = DateTime.Now; } return false; @@ -2901,7 +4134,8 @@ public class CombatManager : IDisposable /// bow/crossbow/atlatl arc and its velocity apply (the scan used to pass "", which made /// every missile LOS test a straight line). Peace mode with a missile weapon picked counts /// as missile, so a target acquired from peace is tested with the arc it will be shot on. - /// Magic stays a straight line, as before. + /// Melee (or peace with a melee weapon) is one chest-to-chest ray. Magic stays a straight + /// line with the dungeon silhouette rays, as before. /// private TargetingFSM.AttackType DetermineAttackTypeForLOS() { @@ -2912,6 +4146,10 @@ public class CombatManager : IDisposable bool missileWeapon = weapon != null && weapon.ObjectClass == AcObjectClass.MissileWeapon; if (mode == CombatMode.NonCombat && missileWeapon) mode = CombatMode.Missile; + // Same for melee: a target picked from peace is judged as the melee attack will be, + // so the verdict doesn't change when the stance does. + else if (mode == CombatMode.NonCombat && weapon != null && weapon.ObjectClass == AcObjectClass.MeleeWeapon) + mode = CombatMode.Melee; string weaponName = mode == CombatMode.Missile && missileWeapon ? weapon!.Name ?? "" : ""; return _raycastSystem.GetAttackType(mode, weaponName); @@ -3134,6 +4372,7 @@ public class CombatManager : IDisposable // some servers type their arrows as MissileWeapon (0x100) rather than the // MissileAmmo bit (0x400) that AC's vanilla data has. private const int AmmunitionSlot = 0x00800000; + private const int MissileWeaponSlot = 0x00400000; // bow, crossbow, atlatl — or a thrown weapon private bool LooksLikeWieldedAmmo(WorldObject item, int playerId) { @@ -3167,6 +4406,14 @@ public class CombatManager : IDisposable if ((loc & AmmunitionSlot) != 0) return true; + // A thrown weapon (throwing axe/club, shuriken, javelin, phial) sits in the + // missile-weapon slot and is its own ammo. Launchers don't stack; thrown weapons do. + // Without this, a thrown-weapon character never counted as having ammo and combat + // held its target in the wrong mode forever. + if ((loc & MissileWeaponSlot) != 0 && item.ObjectClass == AcObjectClass.MissileWeapon + && item.Values(LongValueKey.MaxStackSize, 0) > 1) + return true; + // Name-based fallback for items in non-ammo slots that still match // ammo names (rare server-custom configurations). string n = item.Name; @@ -3175,7 +4422,9 @@ public class CombatManager : IDisposable return n.Contains("Arrow") || n.Contains("Quarrel") || n.Contains("Bolt") || n.Contains("Dart"); } - private void AttackTarget() + /// Send one melee/missile attack at the active target. False when nothing was + /// sent this cycle (no ammo, or the server's attack had to be released first). + private bool AttackTarget() { try { @@ -3184,7 +4433,20 @@ public class CombatManager : IDisposable // Don't fire in missile mode without ammo — let crafting manager handle it if (isMissile && !HasWieldedAmmo()) - return; + return false; + + // The server's attack is still bound to another mob that may be alive: ACE + // would drop this request and keep chasing that one (see _serverAttackTargetId). + // Release it and attack on the next cycle — sent together, the cancel of an + // in-progress swing lands after the swing, so the attack would be dropped too. + if (_serverAttackTargetId != 0 && _serverAttackTargetId != activeTargetId + && !IsKnownDead(_serverAttackTargetId)) + { + _attackRebinds++; + ReleaseServerAttack($"target is now 0x{targetId:X8} '{_worldFilter[activeTargetId]?.Name}' {DescribeTargetPos(activeTargetId)}", log: true); + LastCombatSkipReason = "attack-rebind"; + return false; + } float power; int powerPct = isMissile ? _settings.MissileAttackPower : _settings.MeleeAttackPower; @@ -3208,16 +4470,18 @@ public class CombatManager : IDisposable { _host.SelectItem(targetId); _host.NativeAttack(acHeight, power); - return; } - // Direct attack: raw game action (bypasses client facing) - if (isMissile) + else if (isMissile) _host.MissileAttack(targetId, acHeight, power); else _host.MeleeAttack(targetId, acHeight, power); + + _serverAttackTargetId = activeTargetId; + LastCombatSkipReason = "attack"; // D4 record-only: physical attack sent this tick + return true; } - catch { } + catch { return false; } } // ══════════════════════════════════════════════════════════════════════════ @@ -3312,6 +4576,7 @@ public class CombatManager : IDisposable if (activeTargetId != _lastDebuffTargetId) { _confirmedDebuffs.Clear(); + _debuffFailures.Clear(); _lastDebuffTargetId = activeTargetId; } @@ -3330,6 +4595,8 @@ public class CombatManager : IDisposable int castTier = 0; if (debuffKey.StartsWith("Vuln:")) spellId = FindBestVulnSpellWithTier(debuffKey.Substring(5), out castTier); + else if (debuffKey.StartsWith("Custom:")) + spellId = FindBestCustomDebuffWithTier(debuffKey.Substring(7), out castTier); else spellId = FindBestDebuffSpellWithTier(debuffKey, out castTier); @@ -3353,16 +4620,17 @@ public class CombatManager : IDisposable } } - if (rule != null && !rule.UseArc && !rule.UseRing && !rule.UseStreak && !rule.UseBolt) + if (rule != null && PickBaseShape(rule) < 0) { - _host.Log($"[CombatCast] rule '{rule.Name}' has no attack shapes enabled (UseArc/Ring/Streak/Bolt all false) — no offensive cast"); + _host.Log($"[CombatCast] rule '{rule.Name}' has no attack shapes enabled (UseArc/Ring/Streak/Bolt/Blast all false) — no offensive cast"); LastCombatSkipReason = "no-attack-shapes"; // D4 record-only return; } int warTier = _spellManager?.GetHighestSpellTier(AcSkillType.WarMagic) ?? 0; int voidTier = _spellManager?.GetHighestSpellTier(AcSkillType.VoidMagic) ?? 0; - int offensiveSpellId = FindBestShapedSpell(element, rule, out bool isRing); + int offensiveSpellId = FindBestShapedSpell(element, rule, out bool isRing, out int castShape, arcTargetId: activeTargetId); + LogArcChoice(rule, target, castShape); if (offensiveSpellId != 0) { LastCombatSkipReason = "cast"; // D4 record-only: offensive cast issued this tick @@ -3370,7 +4638,7 @@ public class CombatManager : IDisposable // (id + resolved name + element/tier/target). Diagnostic only. _host.Log($"[CombatCast] offensive id={offensiveSpellId} " + $"'{SpellTableStub.GetById(offensiveSpellId)?.Name}' elem={element} " + - $"ring={isRing} warTier={warTier} voidTier={voidTier} target='{target.Name}'"); + $"shape={ShapeName(castShape)} ring={isRing} warTier={warTier} voidTier={voidTier} target='{target.Name}'"); try { _host.CastSpell((uint)activeTargetId, offensiveSpellId); @@ -3391,7 +4659,11 @@ public class CombatManager : IDisposable // Tag this cast's weapon + element + tier so the pushed damage event // can be attributed to it, count it for casts-to-kill learning, then // decide if it's a predicted kill shot. - _lastCastWeaponId = unchecked((uint)FindWandInItems()); + // The wand really in hand (it was the first listed wand, so the Damage tab + // filed every cast under that one whatever was wielded). + int castWand = InHandWeaponId(); + if (castWand == 0 || !IsWandObject(_worldFilter[castWand] ?? new WorldObject(0, ""))) castWand = FindWandInItems(); + _lastCastWeaponId = unchecked((uint)castWand); _lastCastElement = element; // Tier = the LEVEL of the spell actually cast (1-8), not the caster's highest // castable tier (which made every magic kill record tier 8). Fall back to the @@ -3424,10 +4696,17 @@ public class CombatManager : IDisposable else { bool snapWarm = _spellManager?.IsKnownSnapshotWarm == true; - _host.WriteToChat($"[RynthAi] No spell found: elem={element} warTier={warTier} voidTier={voidTier} snapshotWarm={snapWarm} pid={_playerId}", 2); - _host.Log($"[CombatCast] no offensive spell: elem={element} warTier={warTier} voidTier={voidTier} snapshotWarm={snapWarm} rule={rule?.Name ?? "null"} target='{target.Name}'"); + // Chat at most every 30 s (it used to go out every attack cycle; sustained chat is + // the AddTextToScroll crash path). The file log keeps every occurrence. + if ((DateTime.Now - _lastNoSpellChatAt).TotalMilliseconds >= NoSpellChatIntervalMs) + { + _lastNoSpellChatAt = DateTime.Now; + _host.WriteToChat($"[RynthAi] No spell found: elem={element} warTier={warTier} voidTier={voidTier} snapshotWarm={snapWarm} pid={_playerId}", 2); + } + _host.Log($"[CombatCast] no offensive spell: elem={element} warTier={warTier} voidTier={voidTier} snapshotWarm={snapWarm} rule={rule?.Name ?? "null"} target='{target.Name}'" + + (_lastShapeArcGaveWay ? " (arc blocked, and no other shape or bolt known: no arc cast into the obstacle)" : "")); LastCombatSkipReason = "no-offensive-spell"; // D4 record-only (FindBestShapedSpell==0) - _lastSpellCast = DateTime.Now; // suppress repeated spam + _lastSpellCast = DateTime.Now; } } @@ -3439,38 +4718,41 @@ public class CombatManager : IDisposable !rule.DamageType.Equals("Auto", StringComparison.OrdinalIgnoreCase)) return rule.DamageType; - // Learned-resist auto element: CreatureProfileStore has been recording - // per-creature resists all along — use the weakest one when no rule or - // static mapping names an element. Resist 1.0 = no data. Only swap when - // the configured shape actually resolves a castable spell of that - // element for this character (otherwise a learned weakness the char - // has no spells for would leave the mob unattacked — keep Fire then). - if (target != null && rule != null && _creatureStore != null && !string.IsNullOrEmpty(target.Name)) + // Auto: the same plan the weapon choice makes (WeaponPlanner), so the spell and the + // wand agree: the weakest element a listed wand has (ties go to the wand in hand), + // else the weakest the character can cast; weakness unknown: the wand in hand's + // element; nothing known: Slash. It used to ignore the wand, and ties in the weakness + // table went to Slash (listed first), so a fire wand cast Blades (2026-09-30). + if (target == null) return WeaponPlanner.FallbackOrder[0]; + var plan = PlanFor(target, rule); + if (_autoElemDiagCount < 20) { - CreatureProfile? prof = null; - bool got = _fightTargetWcid != 0 && target.Id == _fightTargetId - ? _creatureStore.TryGet(target.Name, _fightTargetWcid, out prof) - : _creatureStore.TryGetByName(target.Name, out prof); - if (got && prof != null) - { - var (weakType, resist) = CreatureProfileStore.GetWeakest(prof); - if (resist < 1.0 && !string.IsNullOrEmpty(weakType)) - { - string elem = char.ToUpperInvariant(weakType[0]) + weakType.Substring(1); - if (FindBestShapedSpell(elem, rule, out _) != 0) - { - if (_autoElemDiagCount < 20) - { - _autoElemDiagCount++; - _host.Log($"[CombatCast] auto-element '{target.Name}': learned weakest={elem} (resist {resist:0.00})"); - } - return elem; - } - } - } + _autoElemDiagCount++; + var weak = WeaknessFor(target); + _host.Log($"[CombatCast] auto-element '{target.Name}': {plan.Element} (weapon 0x{(uint)plan.WeaponId:X8}, {plan.Source}; {weak?.Source ?? "weakness unknown"}: {weak?.Describe() ?? ""})"); } + return plan.Element.Length > 0 ? plan.Element : WeaponPlanner.FallbackOrder[0]; + } - return "Fire"; + /// + /// This character can cast itself (FindBestShapedSpell falls + /// back to Fire for anything it can't, so a non-zero result alone doesn't say that). + /// + private bool CanCastElement(string element, MonsterRule? rule) + { + if (CanCastOverride != null) return CanCastOverride(element); + bool isVoid = element.Equals("Nether", StringComparison.OrdinalIgnoreCase); + if (isVoid) + { + if (_charSkills != null && _charSkills[AcSkillType.VoidMagic].Training < 2) return false; + if (!VoidSpellShapes.ContainsKey("Nether")) return false; + } + else + { + if (_charSkills != null && _charSkills[AcSkillType.WarMagic].Training < 2) return false; + if (!SpellShapes.ContainsKey(element)) return false; + } + return FindBestShapedSpell(element, rule, out _) != 0; } private bool HasPendingDebuffs(MonsterRule rule, string element) @@ -3481,24 +4763,22 @@ public class CombatManager : IDisposable return false; } + /// + /// The wand to cast with: a listed one (the one in hand first). The pack is searched only + /// when the Items list has no wand at all and WieldUnlistedWandWhenNoneListed is on, and + /// then by object class only. It used to take any wand-named item from the pack. + /// private int FindWandInItems() { - // Prefer explicitly configured wand from item rules - foreach (var item in _settings.ItemRules) - { - var wo = _worldFilter[item.Id]; - if (wo != null && IsWandObject(wo)) return item.Id; - } - // Inventory cache scan — ObjectClass first, name fallback for unclassified items - foreach (var wo in _worldFilter.GetInventory()) - { - if (IsWandObject(wo)) return wo.Id; - } - return 0; + int inHand = InHandWeaponId(); + int id = WeaponList.FindWand(_settings.ItemRules, i => _worldFilter[i], wo => wo.Id == inHand, + _worldFilter.GetInventory(), _settings.WieldUnlistedWandWhenNoneListed, out bool unlisted); + if (unlisted && _unlistedNoted.Add(id)) + _host.Log($"[EquipDiag] no wand in the Items list — using 0x{(uint)id:X8} '{_worldFilter[id]?.Name}' from the pack (WieldUnlistedWandWhenNoneListed)"); + return id; } - private static bool IsWandObject(WorldObject wo) => - wo.ObjectClass == AcObjectClass.WandStaffOrb || IsWandName(wo.Name); + private static bool IsWandObject(WorldObject wo) => WeaponList.IsWand(wo); /// War or Void Magic trained — the character can attack with a caster. /// Skills not read yet count as trained, like the other skill gates here. @@ -3507,26 +4787,17 @@ public class CombatManager : IDisposable || _charSkills[AcSkillType.WarMagic].Training >= 2 || _charSkills[AcSkillType.VoidMagic].Training >= 2; - /// A weapon combat may fight with: anything but a caster when the character - /// has no attack magic. An id missing from the world cache stays a candidate — the - /// caller already handles that. Debuff casting picks its wand separately. + /// A weapon combat may fight with: anything the character has (in the world + /// cache) but a caster when the character has no attack magic. Debuff casting picks its + /// wand separately. An id missing from the cache is not a candidate: a weapon that was + /// traded, destroyed or copied in with another character's profile used to win the + /// Items list, shadow every real weapon below it, and send combat in "unarmed" from + /// peace mode, where the server drops the attacks and every target got blacklisted. private bool IsUsableCombatWeapon(int id) { - if (CanAttackWithMagic) return true; var wo = _worldFilter[id]; - return wo == null || !IsWandObject(wo); - } - - private static bool IsWandName(string name) - { - if (string.IsNullOrEmpty(name)) return false; - return name.IndexOf("Orb", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Staff", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Wand", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Scepter", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Sceptre", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Baton", StringComparison.OrdinalIgnoreCase) >= 0 - || name.IndexOf("Crozier", StringComparison.OrdinalIgnoreCase) >= 0; + if (wo == null) return false; + return CanAttackWithMagic || !IsWandObject(wo); } private static List BuildDebuffList(MonsterRule rule, string element) @@ -3540,9 +4811,36 @@ public class CombatManager : IDisposable if (rule.Yield) list.Add("Yield"); if (rule.Broadside) list.Add("Broadside"); if (rule.GravityWell) list.Add("Gravity"); + if (!string.IsNullOrWhiteSpace(rule.CustomDebuffs)) + foreach (string part in rule.CustomDebuffs.Split(new[] { ',', ';', '\n' }, StringSplitOptions.RemoveEmptyEntries)) + { + string nm = part.Trim(); + if (nm.Length > 0) list.Add("Custom:" + nm); + } return list; } + /// + /// A debuff the player typed in: a full spell name casts as is; a base name casts the best + /// tier the character knows ("Incantation of X", then X VII..I), like the built-in ones. + /// + private int FindBestCustomDebuffWithTier(string name, out int tier) + { + tier = 0; + if (_spellManager == null || string.IsNullOrWhiteSpace(name)) return 0; + name = name.Trim(); + int id = TrySpellByName(name); + if (id != 0) return id; + int maxTier = Math.Max(EffectiveMaxTier(AcSkillType.CreatureEnchantment), EffectiveMaxTier(AcSkillType.LifeMagic)); + if (maxTier >= 8) { id = TrySpellByName($"Incantation of {name}"); if (id != 0) { tier = 8; return id; } } + for (int t = Math.Min(maxTier, 7); t >= 1; t--) + { + id = TrySpellByName($"{name} {GetRomanNumeral(t)}"); + if (id != 0) { tier = t; return id; } + } + return 0; + } + private int FindBestDebuffSpellWithTier(string debuffType, out int tier) { tier = 0; @@ -3658,9 +4956,239 @@ public class CombatManager : IDisposable private int FindBestShapedSpell(string element, MonsterRule? rule) => FindBestShapedSpell(element, rule, out _); - private int FindBestShapedSpell(string element, MonsterRule? rule, out bool isRing) + private int FindBestShapedSpell(string element, MonsterRule? rule, out bool isRing) => + FindBestShapedSpell(element, rule, out isRing, out _); + + /// + /// The base shape a rule asks for when no ring is due: Arc, then Streak, then Blast, then + /// Bolt (the first one on wins; Blast beats Bolt so turning Blast on next to the default Bolt + /// does something). A ring-only rule casts Bolt between rings. -1 = no shape on at all. + /// + internal static int PickBaseShape(MonsterRule? rule) + { + if (rule == null) return ShapeBolt; + if (rule.UseArc) return ShapeArc; + if (rule.UseStreak) return ShapeStreak; + if (rule.UseBlast) return ShapeBlast; + if (rule.UseBolt) return ShapeBolt; + return rule.UseRing ? ShapeBolt : -1; + } + + /// + /// The base shape when Blast is conditional (Blast Range on): Blast is then an override like + /// the ring, so the base is the rule's other shape (Arc, Streak, Bolt), else Bolt. + /// + internal static int PickBaseShapeWithoutBlast(MonsterRule? rule) + { + if (rule == null) return ShapeBolt; + if (rule.UseArc) return ShapeArc; + if (rule.UseStreak) return ShapeStreak; + return ShapeBolt; + } + + // A blast is 3 projectiles over a 90 degree fan (spell table: num_Projectiles 3, + // spread_Angle 90), centred on the target we face before casting. Counted with a margin. + internal const double BlastFanHalfAngle = 55.0; + + /// Monsters (the target included) within and inside + /// the blast's fan ahead (we face the target to cast). From the combat scan: LOS-clear and + /// attackable. + private int CountMonstersInBlastFan(double rangeYards) + { + int count = 0; + foreach (var c in _scannedTargets) + if (c.Distance <= rangeYards && c.Angle <= BlastFanHalfAngle && !_recentlyKilled.ContainsKey(c.Id)) + count++; + return count; + } + + internal static string ShapeName(int shape) => shape switch + { + ShapeArc => "Arc", ShapeRing => "Ring", ShapeStreak => "Streak", ShapeBolt => "Bolt", ShapeBlast => "Blast", _ => "?", + }; + + /// + /// The spell base name for in and, for war + /// streaks, bolts and blasts, the lore name of its tier 7. Void looks in the void rows (any + /// element it has no row for casts Nether); war casts Fire for an element it has no row for + /// ( is then true: the caller casts with War Magic). + /// + internal static bool TryGetShapeBase(string element, int shape, bool useVoid, + out string baseName, out string? tier7Lore, out bool forcedWar) + { + baseName = ""; tier7Lore = null; forcedWar = false; + var shapes = useVoid ? VoidSpellShapes : SpellShapes; + if (!shapes.TryGetValue(element, out string[]? elementShapes)) + { + if (useVoid) + { + // Void Magic only damages with Nether — fall back to Nether shapes for + // ANY element not in VoidSpellShapes (Cold/Lightning/Acid/Blade/Pierce/ + // Bludgeon/Slash). Previously this fell through to War Magic Fire, which + // forced War on Void-only casters whose War skill was untrained. + if (!VoidSpellShapes.TryGetValue("Nether", out elementShapes)) return false; + } + else + { + if (!SpellShapes.TryGetValue("Fire", out elementShapes)) return false; + forcedWar = true; + } + } + if (shape < 0) return false; + if (shape >= elementShapes.Length) shape = elementShapes.Length - 1; + baseName = elementShapes[shape]; + + // Streak / Bolt / Blast war lines have a lore-named tier-7 (no "{base} VII"). + // Arc uses Roman "VII" (exists); Void has no lore tier-7 in this table. + if (!useVoid && WarTier7Lore.TryGetValue(forcedWar ? "Fire" : element, out string[]? w7)) + { + if (shape == ShapeStreak) tier7Lore = w7[0]; + else if (shape == ShapeBolt) tier7Lore = w7[1]; + else if (shape == ShapeBlast) tier7Lore = w7[2]; + } + return true; + } + + internal int FindBestShapedSpell(string element, MonsterRule? rule, out bool isRing, out int castShape) + => FindBestShapedSpell(element, rule, out isRing, out castShape, arcTargetId: 0); + + /// + /// Which shape this cast is, before the spell is looked up. In order: + /// 1. the rule's base shape: Arc, Streak, Blast, Bolt (); + /// 2. Blast override (Blast Range on): Blast when its fan count is met, else the rule's + /// other shape (, ); + /// 3. Ring override (Ring Range on): Ring when its count is met (); + /// 4. Arc when clear: an Arc whose flight path to the target is blocked (a wall, or a + /// ceiling the arc rises into) gives way to the rule's other shape: Streak, then Blast + /// (when Blast isn't conditional), then Bolt. An Arc-only rule casts Bolt, as a ring-only + /// rule does between rings. + /// is asked only in step 4, so a ring or a non-arc rule costs + /// no ray test; null (no test, or it can't tell: raycasting off or not ready) casts the Arc + /// as before. says step 4 replaced the Arc. + /// + internal static int ChooseCastShape(MonsterRule? rule, bool blastConditional, bool blastFanMet, bool ringDue, + Func? arcBlocked, out bool arcGaveWay) + { + arcGaveWay = false; + int shape = PickBaseShape(rule); + if (shape < 0) return -1; + if (blastConditional) + shape = blastFanMet ? ShapeBlast : PickBaseShapeWithoutBlast(rule); + if (ringDue) + return ShapeRing; + if (shape == ShapeArc && arcBlocked != null && arcBlocked() == true) + { + arcGaveWay = true; + shape = ArcFallbackShape(rule, blastConditional); + } + return shape; + } + + /// The shape a blocked Arc gives way to: the rule's other shape (Streak, then Blast + /// unless Blast is conditional, then Bolt); Bolt for an Arc-only rule. + internal static int ArcFallbackShape(MonsterRule? rule, bool blastConditional) + { + if (rule == null) return ShapeBolt; + if (rule.UseStreak) return ShapeStreak; + if (rule.UseBlast && !blastConditional) return ShapeBlast; + return ShapeBolt; + } + + // ── Arc when clear ─────────────────────────────────────────────────────────── + // An Arc is cast only when the arc ACE flies (fixed 40 m/s horizontal speed, from the + // caster's head, gravity 9.8; TargetingFSM.IsMagicArcBlocked) reaches the target: target + // selection in magic mode tests only the straight line, so an arc into a low ceiling used to + // be cast anyway. Tested per cast (not per frame), and the verdict is kept 300 ms per target. + internal const double ArcVerdictCacheMs = 300; + private int _arcVerdictTarget; + private DateTime _arcVerdictAt = DateTime.MinValue; + private bool? _arcVerdictBlocked; + private TargetingFSM.LosDetail _arcVerdictDetail; + private bool _lastShapeArcGaveWay; + private int _arcLogTarget; + private string _arcLogState = ""; + private DateTime _arcLogAt = DateTime.MinValue; + private const double ArcLogRepeatMs = 10000; + private readonly HashSet _arcRuleLogged = new(StringComparer.OrdinalIgnoreCase); + + /// Tests: the arc verdict per target instead of the ray test (null = can't tell). + internal Func? ArcBlockedOverride { get; set; } + /// How many arc verdicts were worked out (not served from the 300 ms cache). + internal int ArcVerdictComputeCount { get; private set; } + + /// Is the arc to blocked? null = can't tell (raycasting + /// off or not ready): the arc is cast as before. + internal bool? IsArcBlockedTo(int targetId) + { + if (targetId == 0) return null; + DateTime now = DateTime.UtcNow; + if (targetId == _arcVerdictTarget && (now - _arcVerdictAt).TotalMilliseconds < ArcVerdictCacheMs) + return _arcVerdictBlocked; + + bool? blocked = null; + TargetingFSM.LosDetail det = default; + if (ArcBlockedOverride != null) + blocked = ArcBlockedOverride(targetId); + else if (_settings.EnableRaycasting && RaycastInitialized && _raycastSystem?.TargetingFSM != null) + blocked = _raycastSystem.TargetingFSM.IsMagicArcBlocked(_host, (uint)targetId, out det); + + ArcVerdictComputeCount++; + _arcVerdictTarget = targetId; + _arcVerdictAt = now; + _arcVerdictBlocked = blocked; + _arcVerdictDetail = det; + return blocked; + } + + /// Drops the cached arc verdict: the next cast tests the arc again. + internal void ForgetArcVerdict() => _arcVerdictAt = DateTime.MinValue; + + /// "ceiling 2.1 m out", "wall in the straight line": why an arc verdict is blocked. + internal static string DescribeArcBlock(in TargetingFSM.LosDetail d) + { + if (d.LineBlocked) return "wall in the straight line"; + if (d.Arc.OutOfReach) return "out of reach"; + if (d.Arc.Blocked) + return d.Arc.HitZ > 0.3f + ? $"{(d.Dungeon ? "ceiling" : "overhead")} {d.Arc.HitAlong:0.0} m out" + : $"obstacle {d.Arc.HitAlong:0.0} m out"; + return "blocked"; + } + + /// Logs the Arc-when-clear choice: once per rule how it behaves, then per target + /// when the verdict changes (and at most every 10 s while it stays blocked). + private void LogArcChoice(MonsterRule? rule, WorldObject target, int castShape) + { + if (rule == null || !rule.UseArc) return; + if (_arcRuleLogged.Add(rule.Name ?? "")) + { + string other = ShapeName(ArcFallbackShape(rule, rule.UseBlast && _settings.BlastRange > 0)); + _host.Log($"[CombatCast] rule '{rule.Name}': Arc when its flight path is clear, else {other}" + + (_settings.EnableRaycasting ? "" : " (raycasting off: arcs are always cast)")); + } + if (castShape == ShapeRing) return; // the ring override won: no arc question this cast + string state = _lastShapeArcGaveWay + ? $"arc blocked ({(ArcBlockedOverride != null ? "test" : DescribeArcBlock(in _arcVerdictDetail))}): {(castShape >= 0 ? ShapeName(castShape) : "nothing")} instead" + : "arc clear"; + DateTime now = DateTime.UtcNow; + bool changed = target.Id != _arcLogTarget || state != _arcLogState; + if (!changed && (!_lastShapeArcGaveWay || (now - _arcLogAt).TotalMilliseconds < ArcLogRepeatMs)) return; + bool firstClear = !_lastShapeArcGaveWay && (target.Id != _arcLogTarget || _arcLogState.Length == 0); + _arcLogTarget = target.Id; + _arcLogState = state; + _arcLogAt = now; + if (firstClear) return; // a clear arc at a new target is the normal case: not logged + _host.Log($"[CombatCast] {state} -> '{target.Name}'"); + } + + /// The target this cast goes to. An Arc is then cast only when its + /// flight path there is clear (see ). 0 = no test (element + /// probes, tests of the plain shape choice). + internal int FindBestShapedSpell(string element, MonsterRule? rule, out bool isRing, out int castShape, int arcTargetId) { isRing = false; + castShape = -1; + if (arcTargetId != 0) _lastShapeArcGaveWay = false; if (_spellManager == null) return 0; bool useVoid = element.Equals("Nether", StringComparison.OrdinalIgnoreCase); @@ -3673,67 +5201,63 @@ public class CombatManager : IDisposable AcSkillType skill = useVoid ? AcSkillType.VoidMagic : AcSkillType.WarMagic; - int shapeIdx = 3; // default = Bolt - if (rule != null) - { - if (rule.UseArc) shapeIdx = 0; - else if (rule.UseStreak) shapeIdx = 2; - else if (rule.UseBolt) shapeIdx = 3; - else if (!rule.UseRing) return 0; // no shape enabled at all - } + if (PickBaseShape(rule) < 0) return 0; // no shape enabled at all + + // Blast override (Blast Range on): a blast only when enough monsters are in its fan. + bool blastConditional = rule != null && rule.UseBlast && _settings.BlastRange > 0; + bool blastFanMet = blastConditional + && CountMonstersInBlastFan(_settings.BlastRange) >= Math.Max(1, _settings.MinBlastTargets); // Ring override: when UseRing is enabled, check if enough monsters are within - // ring range. If so, upgrade to ring; otherwise keep the base shape (bolt/arc/streak). - if (rule != null && rule.UseRing && _settings.RingRange > 0) - { - int nearbyCount = CountMonstersInRange(_settings.RingRange); - if (nearbyCount >= Math.Max(1, _settings.MinRingTargets)) - shapeIdx = 1; // ring - } + // ring range. If so, upgrade to ring; otherwise keep the base shape (arc/streak/blast/bolt). + bool ringDue = rule != null && rule.UseRing && _settings.RingRange > 0 + && CountMonstersInRange(_settings.RingRange) >= Math.Max(1, _settings.MinRingTargets); - var shapes = useVoid ? VoidSpellShapes : SpellShapes; - if (!shapes.TryGetValue(element, out string[]? elementShapes)) - { - if (useVoid) - { - // Void Magic only damages with Nether — fall back to Nether shapes for - // ANY element not in VoidSpellShapes (Cold/Lightning/Acid/Blade/Pierce/ - // Bludgeon/Slash). Previously this fell through to War Magic Fire, which - // forced War on Void-only casters whose War skill was untrained. - if (!VoidSpellShapes.TryGetValue("Nether", out elementShapes)) return 0; - } - else - { - if (!SpellShapes.TryGetValue("Fire", out elementShapes)) return 0; - skill = AcSkillType.WarMagic; - } - } + int shapeIdx = ChooseCastShape(rule, blastConditional, blastFanMet, ringDue, + arcTargetId != 0 ? () => IsArcBlockedTo(arcTargetId) : null, out bool arcGaveWay); + if (arcTargetId != 0) _lastShapeArcGaveWay = arcGaveWay; - if (shapeIdx >= elementShapes.Length) shapeIdx = elementShapes.Length - 1; + if (!TryGetShapeBase(element, shapeIdx, useVoid, out string baseName, out string? t7, out bool forcedWar)) return 0; + if (forcedWar) skill = AcSkillType.WarMagic; - if (shapeIdx == 1) + if (shapeIdx == ShapeRing) { int ringId = FindBestRingSpell(element, skill); - if (ringId != 0) { isRing = true; return ringId; } + if (ringId != 0) { isRing = true; castShape = ShapeRing; return ringId; } } // Strict TYPE adherence: cast ONLY the shape configured in the - // Monsters tab (Arc/Bolt/Streak) — plus the ring override handled + // Monsters tab (Arc/Bolt/Streak/Blast) — plus the ring override handled // above. No cross-shape fallthrough; that was casting Streak when // Arc was configured but its tiers weren't resolvable. - // - // Streak (idx 2) / Bolt (idx 3) war lines have a lore-named tier-7 - // (no "{base} VII"); pass it so tier 7 resolves. Arc (idx 0) uses - // Roman "VII" (exists); Void has no lore tier-7 in this table. - string? t7 = null; - if (!useVoid && WarTier7Lore.TryGetValue(element, out string[]? w7)) + // One exception: Blast falls back to Bolt of the same element when the + // character knows no blast at all — retail has no blast I or II, so a low + // character set to Blast would otherwise never attack. + int id = FindBestOffensiveSpellId(baseName, skill, t7); + castShape = id != 0 ? shapeIdx : -1; + // A blocked Arc whose other shape isn't known casts the same element's Bolt (never the arc). + if (id == 0 && arcGaveWay && shapeIdx == ShapeStreak + && TryGetShapeBase(element, ShapeBolt, useVoid, out string arcBoltBase, out string? arcBoltT7, out _)) { - if (shapeIdx == 2) t7 = w7[0]; // Streak VII lore - else if (shapeIdx == 3) t7 = w7[1]; // Bolt VII lore + id = FindBestOffensiveSpellId(arcBoltBase, skill, arcBoltT7); + if (id != 0) castShape = ShapeBolt; } - return FindBestOffensiveSpellId(elementShapes[shapeIdx], skill, t7); + if (id == 0 && shapeIdx == ShapeBlast + && TryGetShapeBase(element, ShapeBolt, useVoid, out string boltBase, out string? boltT7, out _)) + { + id = FindBestOffensiveSpellId(boltBase, skill, boltT7); + if (id != 0) + { + castShape = ShapeBolt; + if (_blastFallbackLogged.Add(element)) + _host.Log($"[CombatCast] no {baseName} known (blasts start at III): casting {boltBase} instead"); + } + } + return id; } + private readonly HashSet _blastFallbackLogged = new(StringComparer.OrdinalIgnoreCase); + private int FindBestRingSpell(string element, AcSkillType skill) { // Void Magic doesn't have lore-named rings (Cassius'/Halo/etc. are all War @@ -3774,7 +5298,17 @@ public class CombatManager : IDisposable } } - _host.WriteToChat($"[RynthAi] Ring spell not found for {element} (tried: {loreNames[1]}, {loreNames[0]})", 2); + // Reached from every element probe (CanCastElement inside GetPreferredElement) as well + // as the cast itself, several times per attack cycle while a pack stands in ring range: + // say it (chat + file log) once per element per NoSpellChatIntervalMs. + DateTime nowRing = DateTime.Now; + if (!_ringMissingChatAt.TryGetValue(element, out DateTime lastRing) + || (nowRing - lastRing).TotalMilliseconds >= NoSpellChatIntervalMs) + { + _ringMissingChatAt[element] = nowRing; + _host.WriteToChat($"[RynthAi] Ring spell not found for {element} (tried: {loreNames[1]}, {loreNames[0]})", 2); + _host.Log($"[CombatCast] ring spell not found for {element} (tried: {loreNames[1]}, {loreNames[0]})"); + } return 0; } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatStallWatchdog.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatStallWatchdog.cs new file mode 100644 index 0000000..ad229c6 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/CombatStallWatchdog.cs @@ -0,0 +1,141 @@ +using System; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// Safety net for the melee/missile "stands there in combat mode, not attacking" stall +/// (2026-09-29, Lucy in the Olthoi swarm). The root cause is fixed in CombatManager +/// (the server's attack loop stayed bound to an old, unreachable target and ACE drops every +/// new attack request while that target lives); this catches anything else that leaves +/// the bot issuing attacks that never become swings. +/// +/// Pure timing/ladder state. CombatManager decides whether the situation is eligible +/// (action Combat, live target locked and in range, Melee or Missile mode), feeds the time +/// of the last swing evidence (a hit, a miss or a kill), and carries out the step returned. +/// Pump thread only; no timers — it only advances when Tick is called. +/// +/// Escalation, one step per call that returns it: +/// 1 Reissue — CancelAttack, the attack goes out again on the next cycle +/// 2 Reselect — CancelAttack, drop the lock so targeting picks again +/// 3 ToggleMode — peace and back (what the wand heal does: the mode change ends the +/// server's attack) +/// 4 Rewield — put the weapon away and wield it again +/// After step 4 with still no swings the ladder rests for . +/// +internal sealed class CombatStallWatchdog +{ + /// No swing evidence for this long while eligible = stalled. Normal melee in + /// the 2026-09-29 log swings every 1-2 s (busy pulses, hits, "evaded your attack"); the + /// real stalls ran 12-49 s. + public const double StallMs = 6000; + + /// Time allowed for each step to show a swing before the next one. + public const double StepMs = 3000; + + /// Rest after a full ladder that didn't help, so the watchdog can't churn. + public const double CooldownMs = 30000; + + /// Tick gap that means combat wasn't running (buffing, looting, nav took the + /// arbiter, or combat went ineligible): start the episode over instead of counting the + /// gap as stalled time. + public const double TickGapResetMs = 1500; + + public enum StallAction { None, Reissue, Reselect, ToggleMode, Rewield, Recovered, GaveUp } + + private DateTime _eligibleSince = DateTime.MinValue; + private DateTime _lastTick = DateTime.MinValue; + private DateTime _lastStepAt = DateTime.MinValue; + private DateTime _cooldownUntil = DateTime.MinValue; + private int _step; // steps fired in the current episode (0 = none) + private DateTime _stallRef = DateTime.MinValue; // last swing (or episode start) before the stall + + /// Episodes where the watchdog acted (diagnostics / status). + public int Episodes { get; private set; } + /// Episodes that ended with swings resuming after a step. + public int Recoveries { get; private set; } + /// The last step fired in the current episode (0 = none). + public int CurrentStep => _step; + public static int StepCount => 4; + + /// + /// Advance the watchdog. is the full precondition set; + /// the last hit, miss or kill. Returns the step to + /// carry out now (or Recovered / GaveUp for logging), with the stalled time. + /// + public StallAction Tick(DateTime now, bool eligible, DateTime lastEvidenceAt, out double stalledMs) + { + stalledMs = 0; + bool gap = _lastTick != DateTime.MinValue + && (now - _lastTick).TotalMilliseconds > TickGapResetMs; + _lastTick = now; + + if (!eligible || gap) + { + ResetEpisode(); + if (!eligible) return StallAction.None; + } + + if (_eligibleSince == DateTime.MinValue) + _eligibleSince = now; + + DateTime refAt = lastEvidenceAt > _eligibleSince ? lastEvidenceAt : _eligibleSince; + stalledMs = (now - refAt).TotalMilliseconds; + + // Swings came back after a step: the episode is over. + if (_step > 0 && lastEvidenceAt > _lastStepAt) + { + stalledMs = (lastEvidenceAt - _stallRef).TotalMilliseconds; + Recoveries++; + ResetEpisode(); + _eligibleSince = now; + return StallAction.Recovered; + } + + if (now < _cooldownUntil) + return StallAction.None; + + if (_step == 0) + { + if (stalledMs < StallMs) return StallAction.None; + Episodes++; + _stallRef = refAt; + return Fire(now); + } + + if ((now - _lastStepAt).TotalMilliseconds < StepMs) + return StallAction.None; + + if (_step >= StepCount) + { + _cooldownUntil = now.AddMilliseconds(CooldownMs); + ResetEpisode(); + _eligibleSince = now; + return StallAction.GaveUp; + } + return Fire(now); + } + + /// Keep the episode alive through ticks where combat holds on purpose for a + /// step still settling (the step-4 re-wield), so the hold isn't read as a tick gap. + public void Hold(DateTime now) => _lastTick = now; + + private StallAction Fire(DateTime now) + { + _step++; + _lastStepAt = now; + return _step switch + { + 1 => StallAction.Reissue, + 2 => StallAction.Reselect, + 3 => StallAction.ToggleMode, + _ => StallAction.Rewield, + }; + } + + private void ResetEpisode() + { + _eligibleSince = DateTime.MinValue; + _lastStepAt = DateTime.MinValue; + _step = 0; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/ComponentDatabase.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/ComponentDatabase.cs index 98e7daa..b2c54cf 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/ComponentDatabase.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/ComponentDatabase.cs @@ -77,6 +77,26 @@ internal static class ComponentDatabase private static readonly Dictionary _spellComps = new(); private static bool _spellCompsLoaded; + // spellId → (MagicSchool, Power) from the same SpellTable pass. The server's own + // values (ACE's Spell.School / Spell.Power read the dat's SpellBase), so learning a + // scroll is judged with the numbers the server uses. Tests set entries directly. + private static readonly Dictionary _spellMeta = new(); + internal static readonly Dictionary SpellMetaOverride = new(); + + /// + /// A spell's magic school (ACE MagicSchool: War 1, Life 2, Item 3, Creature 4, Void 5) + /// and power (difficulty) from the portal.dat SpellTable. False when the dat couldn't be + /// read or the spell isn't in it. + /// + public static bool TryGetSpellSchoolAndPower(int spellId, out int school, out int power) + { + if (SpellMetaOverride.TryGetValue(spellId, out var o)) { school = o.School; power = o.Power; return true; } + if (SpellMetaOverride.Count == 0) EnsureLoaded(); + if (_spellMeta.TryGetValue(spellId, out var m)) { school = m.School; power = m.Power; return true; } + school = 0; power = 0; + return false; + } + private static bool _loaded; private static readonly object _lock = new(); private static Action? _log; @@ -319,26 +339,27 @@ internal static class ComponentDatabase { if (r.BaseStream.Position + 4 > raw.Length) break; uint spellId = r.ReadUInt32(); - uint[] comps = ReadSpellBaseFormula(r); + uint[] comps = ReadSpellBaseFormula(r, out uint school, out uint power); _spellComps[(int)spellId] = comps; + _spellMeta[(int)spellId] = ((int)school, (int)power); n++; } return n; } - private static uint[] ReadSpellBaseFormula(BinaryReader r) + private static uint[] ReadSpellBaseFormula(BinaryReader r, out uint school, out uint power) { byte[] nameB = ReadObf(r); Align(r); byte[] descB = ReadObf(r); Align(r); - r.ReadUInt32(); // School + school = r.ReadUInt32(); // School (MagicSchool: War 1, Life 2, Item 3, Creature 4, Void 5) r.ReadUInt32(); // Icon r.ReadUInt32(); // Category r.ReadUInt32(); // Bitfield r.ReadUInt32(); // BaseMana r.ReadSingle(); // BaseRangeConstant r.ReadSingle(); // BaseRangeMod - r.ReadUInt32(); // Power + power = r.ReadUInt32(); // Power (the spell's difficulty; ACE's scroll rule reads it) r.ReadSingle(); // SpellEconomyMod r.ReadUInt32(); // FormulaVersion r.ReadSingle(); // ComponentLoss diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/FellowshipTracker.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/FellowshipTracker.cs index d4f9209..f4d4681 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/FellowshipTracker.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/FellowshipTracker.cs @@ -102,7 +102,9 @@ public class FellowshipTracker : IDisposable private const int OFF_ENTRY_LEVEL = 0x0C; private const int OFF_ENTRY_NEXT = 0x34; - private Dictionary _memberCache = new(); + // Replaced whole on each refresh, never changed in place: the radar snapshot (engine pump + // thread) reads it while RynthAi's own thread may be refreshing it. + private volatile Dictionary _memberCache = new(); private DateTime _lastRefresh = DateTime.MinValue; private const double REFRESH_INTERVAL_MS = 2000; @@ -278,7 +280,7 @@ public class FellowshipTracker : IDisposable { if ((DateTime.Now - _lastRefresh).TotalMilliseconds < REFRESH_INTERVAL_MS) return; _lastRefresh = DateTime.Now; - _memberCache.Clear(); + var members = new Dictionary(); try { IntPtr fel = GetFellowshipPtr(); @@ -329,12 +331,13 @@ public class FellowshipTracker : IDisposable int memberId = Marshal.ReadInt32(keyAddr); string name = ReadPString(nameFieldAddr); if (memberId != 0 && !string.IsNullOrEmpty(name)) - { _memberCache[memberId] = name; found++; } + { members[memberId] = name; found++; } entryPtr = Marshal.ReadInt32(nextAddr); } } } catch { } + finally { _memberCache = members; } // also on the early returns (no fellowship: empty) } private string ReadPString(IntPtr addr) diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileAmmo.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileAmmo.cs new file mode 100644 index 0000000..e473416 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileAmmo.cs @@ -0,0 +1,141 @@ +using System; +using System.Collections.Generic; + +namespace RynthCore.Plugin.RynthAi; + +/// One stack of arrows, quarrels or darts the character carries. +/// AC AmmoType (int 50): 1 arrow, 2 quarrel, 4 dart; 0 = not known. +/// Normalized element ("" = none known). +/// Takes the launcher's element (DamageType Base, or named Prismatic). +/// AmmoRecipes rank: Deadly beats Greater beats plain; 1 for ammo no recipe makes. +/// Position in the Items list; -1 = not listed. +/// In the ammunition slot now. +internal sealed record AmmoCandidate(int Id, string Name, int AmmoType, string Element, bool Prismatic, + int Quality, int ListIndex, bool Wielded) +{ + public bool Listed => ListIndex >= 0; +} + +/// +/// Which ammo a missile launcher shoots, and which stack to put in the ammunition slot. Pure: no +/// host. The rules are ACE's (Player_Inventory.CheckWeaponCollision, DamageEvent.GetBaseDamage): +/// * A launcher and its ammo carry AmmoType (int 50, in CreateObject): Arrow 1, Bolt 2, Atlatl 4, +/// and crystal / chorizite variants. The server refuses to wield a launcher while ammo of +/// another type is in the ammunition slot (0x00800000), and refuses ammo that doesn't match +/// the launcher in hand. So a bow-to-crossbow swap must take the arrows off first. +/// * Thrown weapons (stackable, in the missile-weapon slot) are their own ammo: no AmmoType rule. +/// * A launcher's missile damage takes the AMMO's element. Prismatic ammo (DamageType Base) +/// takes the launcher's element instead (Pierce when the launcher has none). +/// +internal static class MissileAmmo +{ + public const uint PropValidLocations = 9, PropMaxStackSize = 11, PropStackSize = 12, PropAmmoType = 50; + public const int AmmoSlot = 0x00800000, MissileWeaponSlot = 0x00400000; + public const int Arrow = 0x1, Bolt = 0x2, Atlatl = 0x4; + /// DamageType Base: prismatic ammo, the launcher decides the element. + public const int DamageTypeBase = 0x10000000; + + /// + /// The ammo type a launcher needs: AmmoType when known, else the name (crossbow, atlatl, + /// bow). 0 = needs none (a thrown weapon) or not known: ammo is then left alone, as before. + /// + public static int LauncherAmmoType(int ammoTypeProp, string? name, bool stackable) + { + if (stackable) return 0; // thrown: its own ammo + if (ammoTypeProp > 0) return ammoTypeProp; + string n = name ?? ""; + if (n.IndexOf("crossbow", StringComparison.OrdinalIgnoreCase) >= 0) return Bolt; + if (n.IndexOf("atlatl", StringComparison.OrdinalIgnoreCase) >= 0) return Atlatl; + if (n.IndexOf("bow", StringComparison.OrdinalIgnoreCase) >= 0) return Arrow; + return 0; + } + + /// A stack's ammo type: AmmoType when known, else the name (arrow, quarrel/bolt, dart). 0 = not ammo we know. + public static int AmmoTypeOf(int ammoTypeProp, string? name) + { + if (ammoTypeProp > 0) return ammoTypeProp; + string n = name ?? ""; + if (AmmoRecipes.IsLooseAmmoName(n, WeaponCategory.Crossbow)) return Bolt; // before "arrow": no clash, but quarrels first + if (AmmoRecipes.IsLooseAmmoName(n, WeaponCategory.Atlatl)) return Atlatl; + if (AmmoRecipes.IsLooseAmmoName(n, WeaponCategory.Bow)) return Arrow; + return 0; + } + + /// The fletching category of an ammo type (for the quality rank and labels). + public static WeaponCategory CategoryOf(int ammoType) + { + if ((ammoType & (0x2 | 0x10 | 0x80)) != 0) return WeaponCategory.Crossbow; + if ((ammoType & (0x4 | 0x20 | 0x100)) != 0) return WeaponCategory.Atlatl; + return WeaponCategory.Bow; + } + + /// "arrows", "quarrels", "darts". + public static string Label(int ammoType) => CategoryOf(ammoType) switch + { + WeaponCategory.Crossbow => "quarrels", + WeaponCategory.Atlatl => "darts", + _ => "arrows", + }; + + /// The server's rule: the types must be equal (a crystal arrow is not an arrow). + public static bool Fits(int launcherType, int ammoType) => launcherType != 0 && ammoType == launcherType; + + /// Prismatic: DamageType has the Base bit, or the name says so. + public static bool IsPrismatic(int? damageType, string? name) => + (damageType is int dt && (dt & DamageTypeBase) != 0) + || (name ?? "").IndexOf("Prismatic", StringComparison.OrdinalIgnoreCase) >= 0; + + /// + /// The element the launcher does with this ammo: prismatic takes the launcher's (Pierce + /// when it has none); other ammo its own ("" when not known). + /// + public static string EffectiveElement(AmmoCandidate ammo, string launcherElement) + { + if (ammo.Prismatic) return launcherElement.Length > 0 ? launcherElement : "Pierce"; + return ammo.Element; + } + + /// + /// The stack to wield in 's launcher, null when the pack has + /// none that fits. Order: + /// 1. listed ammo (the Items list) before anything else; + /// 2. the element: (lower = better) of the element the + /// launcher would do with it; ammo of no known element counts as Pierce; + /// 3. quality (Deadly > Greater > plain), then the stack already wielded, then list / pack order. + /// + public static AmmoCandidate? Choose(int launcherType, string launcherElement, IReadOnlyList pack, + Func elementRank) + { + AmmoCandidate? best = null; + (int, int, int, int, int) bestKey = default; + for (int i = 0; i < pack.Count; i++) + { + var a = pack[i]; + if (!Fits(launcherType, a.AmmoType)) continue; + string e = EffectiveElement(a, launcherElement); + var key = (a.Listed ? 0 : 1, + elementRank(e.Length > 0 ? e : "Pierce"), + -a.Quality, + a.Wielded ? 0 : 1, + a.Listed ? a.ListIndex : 100000 + i); + if (best == null || key.CompareTo(bestKey) < 0) { best = a; bestKey = key; } + } + return best; + } + + /// + /// An element ranking for : the Monsters rule's damage type first (when + /// set), then the weakness tie groups from weakest; anything else after. With neither, all equal. + /// + public static Func RankBy(string ruleElement, IReadOnlyList>? weakGroups) + { + return e => + { + if (ruleElement.Length > 0 && e == ruleElement) return 0; + if (weakGroups != null) + for (int g = 0; g < weakGroups.Count; g++) + if (weakGroups[g].Contains(e)) return 1 + g; + return 1000; + }; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileCraftingManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileCraftingManager.cs index a597156..5615fff 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileCraftingManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/MissileCraftingManager.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using RynthCore.PluginSdk; using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -30,6 +31,12 @@ public class MissileCraftingManager _host.HasGetCurrentCombatMode ? _host.GetCurrentCombatMode() : CombatMode.NonCombat; public void SetObjectCache(WorldObjectCache cache) => _objectCache = cache; + /// + /// While this says true, no new ammo check starts: combat is swapping launchers and wields + /// the new launcher's ammo itself (CombatManager.AmmoSwapInProgress). Without it, crafting + /// could equip ammo for the launcher being swapped away from, or start a craft mid-swap. + /// + public Func? HoldWhile { get; set; } public void SetCharacterSkills(CharacterSkills skills) => _charSkills = skills; public enum CraftState { Idle, Evaluating, Combining, EquippingAmmo } @@ -134,6 +141,7 @@ public class MissileCraftingManager private void ProcessIdle() { if ((DateTime.Now - _lastAmmoCheck).TotalMilliseconds < AMMO_CHECK_INTERVAL_MS) return; + if (HoldWhile?.Invoke() == true) return; _lastAmmoCheck = DateTime.Now; var inv = GetInventory(forceRefresh: true); @@ -279,7 +287,7 @@ public class MissileCraftingManager { try { - if (!_host.UseObjectOn((uint)_headBundleId, (uint)_shaftBundleId)) + if (!_host.UseOnFor((uint)_headBundleId, (uint)_shaftBundleId, "Crafting", "missile crafting: heads on shafts")) { ChatLog($"UseObjectOn returned false for 0x{_headBundleId:X8} -> 0x{_shaftBundleId:X8}"); _lastApplyAttempt = DateTime.Now; @@ -318,7 +326,7 @@ public class MissileCraftingManager if (targetId != 0) { - _host.UseObject((uint)targetId); + _host.UseFor((uint)targetId, "Crafting", "missile crafting: wield the new ammo"); ChatLog($"Equipped ammo (id=0x{targetId:X8})"); Reset($"Done: {_currentRecipe?.OutputName ?? "ammo"}"); } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/ObjectDiagLog.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/ObjectDiagLog.cs new file mode 100644 index 0000000..49866cb --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/ObjectDiagLog.cs @@ -0,0 +1,128 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// Bounded per-object diagnostics for ([ClassifyTrace] and +/// [ReclassifyDiag]). Each kind of event keeps a few full detail lines per session; after that +/// it is only counted, and writes one summary line per prefix (counts, the +/// sub-flags the old detail lines carried, a few sample ids) on the cache's 2 s cadence. +/// +/// Why (2026-10-02, Matron Hive South copy): the old lines were one per object per attempt +/// with caps of 200-5000 each, and every engine log line is a synchronous open-append-close of +/// the log file on the plugin thread (~350 us). A flood of 1000 creates and 585 deletes wrote +/// ~950 lines, a third of a second of the plugin tick, exactly when the tick was busiest. +/// +/// Not thread-safe: the cache calls it under its own _gate. +/// +internal sealed class ObjectDiagLog +{ + private const int MaxSamples = 6; + + private sealed class Kind + { + public required string Name; + public required string Prefix; + public required string[] FlagNames; + public int DetailLeft; + public int Count; + public readonly int[] Flags = new int[4]; + public readonly uint[] Samples = new uint[MaxSamples]; + public int SampleCount; + public long Total; + } + + private readonly Action _log; + private readonly Dictionary _kinds = new(StringComparer.Ordinal); + private readonly List _order = new(); + + public ObjectDiagLog(Action log) => _log = log; + + /// Lines written by so far (tests). + public int SummaryLines { get; private set; } + + /// Declares a kind: its log prefix, how many full detail lines a session may write, + /// and up to four sub-flags counted per event (e.g. "seenCreate"). + public void Define(string name, string prefix, int detailLines, params string[] flagNames) + { + var k = new Kind { Name = name, Prefix = prefix, FlagNames = flagNames, DetailLeft = detailLines }; + _kinds[name] = k; + _order.Add(k); + } + + /// + /// Counts one event of for ; bit i of + /// counts the kind's i-th sub-flag. True while the kind still has + /// detail lines left: the caller then writes its full line (the summary counts it too). + /// + public bool Note(string kind, uint id, int flags = 0) + { + if (!_kinds.TryGetValue(kind, out Kind? k)) + return false; + k.Count++; + k.Total++; + for (int i = 0; i < k.FlagNames.Length && i < k.Flags.Length; i++) + if ((flags & (1 << i)) != 0) k.Flags[i]++; + if (k.SampleCount < MaxSamples) + k.Samples[k.SampleCount++] = id; + if (k.DetailLeft > 0) + { + k.DetailLeft--; + return true; + } + return false; + } + + /// Events of since the session started. + public long Total(string kind) => _kinds.TryGetValue(kind, out Kind? k) ? k.Total : 0; + + /// + /// Writes one line per prefix covering every kind counted since the last flush, e.g. + /// "[ReclassifyDiag] last 2 s: DELETE-BEFORE-CLASSIFY 585 (seenCreate 12) e.g. 0x8000CC23 ...". + /// Writes nothing when nothing happened. + /// + public void Flush(string window) + { + StringBuilder? sb = null; + string? prefix = null; + foreach (Kind k in _order) + { + if (k.Count == 0) continue; + if (prefix != k.Prefix) + { + if (sb != null) Emit(sb); + prefix = k.Prefix; + sb = new StringBuilder(160).Append(k.Prefix).Append(" last ").Append(window).Append(':'); + } + else + { + sb!.Append(';'); + } + sb!.Append(' ').Append(k.Name).Append(' ').Append(k.Count); + bool any = false; + for (int i = 0; i < k.FlagNames.Length && i < k.Flags.Length; i++) + { + sb.Append(any ? ", " : " (").Append(k.FlagNames[i]).Append(' ').Append(k.Flags[i]); + any = true; + } + if (any) sb.Append(')'); + sb.Append(" e.g."); + for (int i = 0; i < k.SampleCount; i++) + sb.Append(" 0x").Append(k.Samples[i].ToString("X8")); + if (k.Count > k.SampleCount) sb.Append(" ..."); + + k.Count = 0; + k.SampleCount = 0; + Array.Clear(k.Flags); + } + if (sb != null) Emit(sb); + } + + private void Emit(StringBuilder sb) + { + SummaryLines++; + _log(sb.ToString()); + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/OffhandPlanner.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/OffhandPlanner.cs new file mode 100644 index 0000000..45a412b --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/OffhandPlanner.cs @@ -0,0 +1,210 @@ +using System; +using System.Collections.Generic; + +namespace RynthCore.Plugin.RynthAi; + +/// What combat puts in the off hand (the Shield slot). +internal enum OffhandMode +{ + /// A listed shield with a one-handed melee or thrown weapon; dual wield instead only + /// when "Prefer dual wield" is on and the character has the skill. + Auto, + /// A listed shield, or nothing. + Shield, + /// A second listed one-handed melee weapon (dual wield), else a listed shield. + Weapon, + /// Hands off: never wield, never take off, whatever is there. + None, +} + +/// What the main hand holds, by ACE's wield rules. +internal enum MainHandKind { None, OneHandedMelee, TwoHanded, Launcher, Thrown, Caster } + +/// A listed item that can go in the off hand: a shield, or a one-handed melee weapon. +internal sealed record OffhandCandidate(int Id, string Name, bool IsShield, bool InOffhand); + +/// The off hand to wield (0 = add nothing; what is there stays) and why. +internal readonly record struct OffhandPlan(int Id, string Source); + +/// +/// ACE's off-hand rules (ACE.Server WorldObjects/Player_Inventory.cs: CheckWeaponCollision and +/// DoHandleActionGetAndWieldItem; Creature_Equipment.cs), pure: +/// * The off hand is the Shield slot, 0x00200000. A shield (CombatUse 4) goes there; so does +/// an off-hand weapon (dual wield) whose ValidLocations is exactly MeleeWeapon (0x00100000). +/// * The Shield slot is refused while it is occupied, and while the main hand holds a +/// two-handed weapon (WeaponSkill TwoHandedCombat), a caster or an ammo launcher. +/// * A weapon in the Shield slot (dual wield) also needs a one-handed melee main weapon: a +/// thrown weapon, a launcher, a wand or a two-hander there is refused (ConflictingInventoryLocation). +/// * Two-handed weapons (TwoHanded slot), launchers and casters (Held slot) are refused while +/// anything is in the off hand. A thrown weapon is refused with an off-hand weapon, but a +/// shield may stay ("Thrown weapons (ie. phials) can have a shield"). +/// * The server does not ask for the Dual Wield skill; off-hand swings use the lower of Dual +/// Wield and the weapon skill (Player_Combat.GetCurrentWeaponSkill), so RynthAi only dual +/// wields with the skill trained. +/// +internal static class OffhandRules +{ + public const int ShieldSlot = 0x00200000, MeleeSlot = 0x00100000, MissileSlot = 0x00400000, + HeldSlot = 0x01000000, TwoHandedSlot = 0x02000000; + public const uint PropValidLocations = 9, PropCurrentWieldedLocation = 10, PropWeaponSkill = 48, PropCombatUse = 51; + public const int CombatUseShield = 4, CombatUseTwoHanded = 5; + public const int SkillTwoHandedCombat = 41; + + // MonsterRule.OffhandId: 0 = the Default row's choice (on the Default row: the global setting), 1-4 a mode, anything else an item id (no AC + // object has an id of 1-4). The engine and the external editor carry the int as it is. + public const int RuleDefault = 0, RuleAuto = 1, RuleShield = 2, RuleWeapon = 3, RuleNone = 4; + + /// A shield: CombatUse Shield, or a non-weapon whose ValidLocations has the Shield slot. + public static bool IsShield(int combatUse, int validLocations, bool weaponClass) => + combatUse == CombatUseShield || (!weaponClass && (validLocations & ShieldSlot) != 0); + + /// Two-handed: CombatUse TwoHanded, the TwoHanded slot, or WeaponSkill Two Handed Combat. + public static bool IsTwoHanded(int combatUse, int validLocations, int weaponSkill) => + combatUse == CombatUseTwoHanded || (validLocations & TwoHandedSlot) != 0 || weaponSkill == SkillTwoHandedCombat; + + /// A melee weapon the server lets into the Shield slot: ValidLocations exactly MeleeWeapon, not two-handed. + public static bool CanBeOffhandWeapon(int validLocations, bool twoHanded) => + validLocations == MeleeSlot && !twoHanded; + + /// May the off hand (a shield, else a weapon) stay with this main hand? + public static bool OffhandAllowed(MainHandKind main, bool offIsShield) => main switch + { + MainHandKind.None => true, + MainHandKind.OneHandedMelee => true, + MainHandKind.Thrown => offIsShield, + _ => false, + }; + + /// The mode a MonsterRule.OffhandId encodes; null for 0 (the global setting) or an item id. + public static OffhandMode? RuleMode(int offhandId) => offhandId switch + { + RuleAuto => OffhandMode.Auto, + RuleShield => OffhandMode.Shield, + RuleWeapon => OffhandMode.Weapon, + RuleNone => OffhandMode.None, + _ => null, + }; + + /// MonsterRule.OffhandId names an item (the old per-rule picker). + public static bool IsRuleItem(int offhandId) => offhandId != RuleDefault && RuleMode(offhandId) == null; + + public static int RuleValue(OffhandMode m) => m switch + { + OffhandMode.Shield => RuleShield, + OffhandMode.Weapon => RuleWeapon, + OffhandMode.None => RuleNone, + _ => RuleAuto, + }; + + /// "Auto", "Shield", "Weapon" ("Offhand weapon", "Dual", "DualWield"), "None"; or 0-3. Else . + public static OffhandMode Parse(string? s, OffhandMode fallback) + { + if (string.IsNullOrWhiteSpace(s)) return fallback; + string t = s.Trim().Replace(" ", "").Replace("-", ""); + if (t.Equals("auto", StringComparison.OrdinalIgnoreCase) || t == "0") return OffhandMode.Auto; + if (t.Equals("shield", StringComparison.OrdinalIgnoreCase) || t == "1") return OffhandMode.Shield; + if (t.Equals("weapon", StringComparison.OrdinalIgnoreCase) || t.Equals("offhandweapon", StringComparison.OrdinalIgnoreCase) + || t.Equals("offhand", StringComparison.OrdinalIgnoreCase) || t.Equals("dual", StringComparison.OrdinalIgnoreCase) + || t.Equals("dualwield", StringComparison.OrdinalIgnoreCase) || t == "2") return OffhandMode.Weapon; + if (t.Equals("none", StringComparison.OrdinalIgnoreCase) || t.Equals("off", StringComparison.OrdinalIgnoreCase) || t == "3") return OffhandMode.None; + return fallback; + } + + public static bool TryParse(string? s, out OffhandMode mode) + { + mode = Parse(s, (OffhandMode)(-1)); + return (int)mode >= 0; + } + + /// The spelling saved in LegacyUiSettings.OffhandDefault. + public static string SettingValue(OffhandMode m) => m switch + { + OffhandMode.Shield => "Shield", + OffhandMode.Weapon => "Weapon", + OffhandMode.None => "None", + _ => "Auto", + }; + + public static string Label(OffhandMode m) => m switch + { + OffhandMode.Shield => "Shield", + OffhandMode.Weapon => "Offhand weapon", + OffhandMode.None => "None", + _ => "Auto", + }; + + public static string KindLabel(MainHandKind k) => k switch + { + MainHandKind.OneHandedMelee => "one-handed", + MainHandKind.TwoHanded => "two-handed", + MainHandKind.Launcher => "launcher", + MainHandKind.Thrown => "thrown weapon", + MainHandKind.Caster => "caster", + _ => "empty hand", + }; +} + +/// +/// The off hand for a main weapon, pure. After the main weapon is chosen: +/// * None: nothing (what is in the off hand stays). +/// * Anything but a one-handed melee weapon in the main hand: nothing to add (a two-hander, +/// launcher or caster can't have one; for a thrown weapon ACE allows a shield, but RynthAi +/// adds none). +/// * An explicit item (the Damage tab's per-monster offhand, else the rule's old item pick): +/// used when it is listed and allowed (a weapon needs the Dual Wield skill and the +/// slot-wield call), else the mode decides. +/// * Shield: the best listed shield. Weapon: a second listed one-handed melee weapon when +/// the Dual Wield skill is trained, else the best shield. Auto: the best shield; a second +/// listed one-handed weapon instead only when is on and +/// dual wield is possible. A thrown weapon gets a shield too (never a second weapon). +/// "Best": the listed one already in the off hand, else list order. Only listed items count. +/// +internal static class OffhandPlanner +{ + public static OffhandPlan Choose(OffhandMode mode, MainHandKind main, int mainId, + IReadOnlyList listed, bool dualWieldTrained, bool preferDualWield, bool canWieldOffhandWeapon, + int explicitId = 0, string explicitSource = "") + { + if (mode == OffhandMode.None) return new OffhandPlan(0, "Offhand None"); + // A shield goes with a one-handed melee weapon, and with a thrown weapon too (ACE + // allows it; owner, 2026-10-01). Dual wield only with a one-handed melee weapon. + if (main != MainHandKind.OneHandedMelee && main != MainHandKind.Thrown) + return new OffhandPlan(0, $"nothing with a {OffhandRules.KindLabel(main)}"); + + bool dualOk = dualWieldTrained && canWieldOffhandWeapon && main == MainHandKind.OneHandedMelee; + OffhandCandidate? shield = null, weapon = null; + foreach (var c in listed) + { + if (c.Id == 0 || c.Id == mainId) continue; + if (c.IsShield) { if (shield == null || (c.InOffhand && !shield.InOffhand)) shield = c; } + else if (weapon == null || (c.InOffhand && !weapon.InOffhand)) weapon = c; + } + + if (explicitId != 0 && explicitId != mainId) + { + foreach (var c in listed) + { + if (c.Id != explicitId) continue; + if (c.IsShield || dualOk) return new OffhandPlan(c.Id, explicitSource); + break; + } + } + + string why = dualWieldTrained ? "can't wield into the off hand on this engine" : "Dual Wield not trained"; + switch (mode) + { + case OffhandMode.Shield: + return shield != null ? new OffhandPlan(shield.Id, "Shield") : new OffhandPlan(0, "Shield: none listed"); + case OffhandMode.Weapon: + if (dualOk && weapon != null) return new OffhandPlan(weapon.Id, "Offhand weapon"); + if (shield != null) return new OffhandPlan(shield.Id, weapon == null ? "Offhand weapon: no second one-handed weapon listed; shield" : $"Offhand weapon: {why}; shield"); + return new OffhandPlan(0, weapon == null ? "Offhand weapon: no second one-handed weapon listed" : $"Offhand weapon: {why}"); + default: + // Auto is the shield; dual wield only with "Prefer dual wield" on (owner, + // 2026-10-01), so two swords listed for element switching don't start dual wielding. + if (dualOk && weapon != null && preferDualWield) + return new OffhandPlan(weapon.Id, "Auto (dual wield preferred)"); + return shield != null ? new OffhandPlan(shield.Id, "Auto") : new OffhandPlan(0, "Auto: no shield listed"); + } + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/PetChoice.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/PetChoice.cs new file mode 100644 index 0000000..99a1f24 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/PetChoice.cs @@ -0,0 +1,136 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using RynthCore.Plugin.RynthAi.CreatureData; +using RynthCore.PluginSdk; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// Which combat pet to summon for a monster. The Damage panel stores a choice per +/// monster (wcid): Auto (""), an element ("E:Cold"), or a specific essence +/// ("I:<id>"). Auto picks an element from, in order: the Monsters-tab rule +/// (Pet damage, else damage type), the monster's learned resists, then the +/// element that has done best on it in the Damage tab; with none of those the +/// Items-panel order is kept. Combat pets can't be swapped while one is out +/// (ACE: "already active"), so the choice is made at each summon. +/// +internal static class PetChoice +{ + /// Elements a pet can deal, in the order the Damage panel lists them. + public static readonly string[] Elements = + { "Fire", "Cold", "Lightning", "Acid", "Nether", "Slash", "Pierce", "Bludgeon" }; + + /// + /// A summoning essence's element. From UiEffects (int 18), which essences carry + /// in their public data (Fire K'nath 32, Frost 128, Acid 256 ...), else from + /// words in the name. "" if unknown. + /// + public static string ElementOf(RynthCoreHost host, uint deviceId, string name) + { + if (host.HasGetObjectIntProperty && host.TryGetObjectIntProperty(deviceId, 18, out int fx) && fx != 0) + { + if ((fx & 0x0020) != 0) return "Fire"; + if ((fx & 0x0040) != 0) return "Lightning"; + if ((fx & 0x0080) != 0) return "Cold"; + if ((fx & 0x0100) != 0) return "Acid"; + if ((fx & 0x1000) != 0) return "Nether"; + if ((fx & 0x0200) != 0) return "Bludgeon"; + if ((fx & 0x0400) != 0) return "Slash"; + if ((fx & 0x0800) != 0) return "Pierce"; + } + return ElementFromName(name); + } + + public static string ElementFromName(string name) + { + if (string.IsNullOrEmpty(name)) return ""; + static bool Has(string n, params string[] words) + => words.Any(w => n.IndexOf(w, StringComparison.OrdinalIgnoreCase) >= 0); + if (Has(name, "Fire", "Flame", "Blaz", "Burn", "Scorch", "Charred", "Inferno", "Magma", "Incendiary")) return "Fire"; + if (Has(name, "Frost", "Blizzard", "Arctic", "Ice", "Frozen", "Glacial", "Cold")) return "Cold"; + if (Has(name, "Lightning", "Electric", "Storm", "Spark", "Shock", "Thunder", "Voltaic")) return "Lightning"; + if (Has(name, "Acid", "Caustic", "Corros", "Blister", "Toxic")) return "Acid"; + if (Has(name, "Nether", "Void", "Shadow")) return "Nether"; + if (Has(name, "Golem")) return "Bludgeon"; // golem essences carry no UiEffects; all bludgeon + return ""; + } + + /// Normalises element names from rules and the Damage tab ("Electric" → "Lightning"). + public static string NormalizeElement(string? e) + { + if (string.IsNullOrWhiteSpace(e)) return ""; + string t = e.Trim(); + if (t.StartsWith("P", StringComparison.Ordinal) && t.Equals("PAuto", StringComparison.OrdinalIgnoreCase)) return ""; + if (t.Equals("Auto", StringComparison.OrdinalIgnoreCase)) return ""; + if (t.Equals("Electric", StringComparison.OrdinalIgnoreCase)) return "Lightning"; + foreach (string x in Elements) + if (x.Equals(t, StringComparison.OrdinalIgnoreCase)) return x; + return ""; + } + + /// + /// Orders (id, name) for summoning against a monster: + /// the chosen essence first, or the chosen element's essences first, or (Auto) the + /// element the monster takes most damage from. Stable, so ties keep the Items-panel order. + /// + public static List<(int Id, string Name, string Element)> Order( + RynthCoreHost host, IEnumerable<(int Id, string Name)> devices, string choice, + CreatureData.CreatureWeakness.Ranking? weakness, out string reason, string ruleElement = "") + { + var list = devices.Select(d => (d.Id, d.Name, Element: ElementOf(host, unchecked((uint)d.Id), d.Name))).ToList(); + choice ??= ""; + + if (choice.StartsWith("I:", StringComparison.Ordinal) + && int.TryParse(choice.AsSpan(2), out int wantId)) + { + // Same essence by id, or (after it was replaced) by the name it had. + int idx = list.FindIndex(d => d.Id == wantId); + reason = idx >= 0 ? $"picked {list[idx].Name}" : "picked essence not in pack, using Auto"; + if (idx >= 0) + { + var pick = list[idx]; + list.RemoveAt(idx); + list.Insert(0, pick); + return list; + } + choice = ""; + } + + if (choice.StartsWith("E:", StringComparison.Ordinal)) + { + string want = choice.Substring(2); + var ordered = list.OrderBy(d => d.Element.Equals(want, StringComparison.OrdinalIgnoreCase) ? 0 : 1).ToList(); + reason = ordered.Count > 0 && ordered[0].Element.Equals(want, StringComparison.OrdinalIgnoreCase) + ? $"{want} chosen" : $"{want} chosen, but no {want} essence; using the first"; + return ordered; + } + + // Auto. 1) the Monsters-tab rule's pet damage / damage type for this monster; + // 2) the owned element the monster takes most damage from: server data, else + // what the Damage tab learned, else its creature type (CreatureWeakness). The + // old step read resists ACE never sends and took the lowest, the element the + // monster resists most (2026-09-29). Without any of these the Items order stands. + var have = new HashSet(list.Where(d => d.Element.Length > 0).Select(d => d.Element), StringComparer.OrdinalIgnoreCase); + string autoElem = ""; + string why = ""; + string re = NormalizeElement(ruleElement); + if (re.Length > 0 && have.Contains(re)) { autoElem = re; why = "Monsters rule"; } + if (autoElem.Length == 0 && weakness != null) + foreach (var (elem, mult) in weakness.Order) + { + if (!have.Contains(elem)) continue; + autoElem = elem; + why = double.IsNaN(mult) ? weakness.Source : $"{weakness.Source}, takes {mult:0.0#}x"; + break; + } + + if (autoElem.Length == 0) + { + reason = "Auto: no element data for this monster, using Items order"; + return list; + } + reason = $"Auto: {autoElem} ({why})"; + return list.OrderBy(d => d.Element.Equals(autoElem, StringComparison.OrdinalIgnoreCase) ? 0 : 1).ToList(); + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/PetManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/PetManager.cs index 70d36eb..b0fdbbe 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/PetManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/PetManager.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using RynthCore.Loot; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.PluginSdk; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -42,6 +43,9 @@ internal sealed class PetManager private PetState _state = PetState.Idle; private int _activeDeviceId; + private string _summonElement = ""; // element of the essence last summoned from + private long _petOutCheckedAt; // CurrentSummon's landscape scan, at most once a second + private bool _petOutCached; private int _activeSpiritId; private int _preActionCharges = -1; // device charges read just before issuing a summon (-1 = unreadable) private long _actionIssuedAt; @@ -98,6 +102,8 @@ internal sealed class PetManager // or the summoned creature is now visible in the cache. if (SummonLanded() || IsPetActive()) { + _summonElement = PetChoice.ElementOf(_host, unchecked((uint)_activeDeviceId), + _objectCache[_activeDeviceId]?.Name ?? ""); _assumePetActiveUntil = now + AssumeActiveAfterSummonMs; GoIdle(); } @@ -187,8 +193,10 @@ internal sealed class PetManager if (!_host.HasUseObject) return; - // Use the first usable configured essence (panel order). - foreach (int deviceId in EnumeratePetDevices()) + // Best essence for the monster being fought first (Damage panel pet choice: + // a specific essence, an element, or Auto = lowest learned resist), then the + // rest in Items-panel order as fallbacks. + foreach (int deviceId in OrderDevicesForTarget(EnumeratePetDevices())) { if (_deviceCooldownUntil.TryGetValue(deviceId, out long until) && now < until) continue; @@ -232,7 +240,7 @@ internal sealed class PetManager _preActionCharges = charges; _actionIssuedAt = NowMs; _host.Log($"[RynthAi] Pet: summoning from essence 0x{(uint)deviceId:X8} (charges={charges})."); - _host.UseObject(unchecked((uint)deviceId)); + _host.UseFor(unchecked((uint)deviceId), "Pet", "summon a pet from the essence"); } private void IssueRefill(int deviceId, int spiritId) @@ -244,7 +252,7 @@ internal sealed class PetManager _activeSpiritId = spiritId; _actionIssuedAt = NowMs; _host.Log($"[RynthAi] Pet: refilling essence 0x{(uint)deviceId:X8} with spirit 0x{(uint)spiritId:X8}."); - _host.UseObjectOn(unchecked((uint)spiritId), unchecked((uint)deviceId)); + _host.UseOnFor(unchecked((uint)spiritId), unchecked((uint)deviceId), "Pet", "refill the essence with a spirit"); } private void GoIdle() @@ -310,6 +318,21 @@ internal sealed class PetManager /// A combat pet is up if a live creature named "<PlayerName>'s …" exists in /// the cache — the server names summoned pets exactly that (Pet.Init). /// + /// + /// The summon out now, for the Damage tab's summon stats: null = none, else the element of + /// the essence it came from ("" when that isn't known, e.g. summoned by hand). + /// + internal string? CurrentSummon() + { + long now = NowMs; + if (now - _petOutCheckedAt > 1000) + { + _petOutCheckedAt = now; + _petOutCached = IsPetActive(); + } + return _petOutCached ? _summonElement : null; + } + private bool IsPetActive() { string me = PlayerName(); @@ -369,6 +392,53 @@ internal sealed class PetManager } } + private int _lastChoiceTarget; + private string _lastChoiceReason = ""; + + private List OrderDevicesForTarget(IEnumerable ids) + { + var raw = new List<(int Id, string Name)>(); + var seen = new HashSet(); + foreach (int id in ids) + if (seen.Add(id)) raw.Add((id, _objectCache[id]?.Name ?? "")); + if (raw.Count <= 1 || _combat == null) return raw.ConvertAll(r => r.Id); + + int target = _combat.activeTargetId; + if (target == 0) + { + double best = double.MaxValue; + foreach (var t in _combat.ScannedTargets) + if (t.Distance < best) { best = t.Distance; target = t.Id; } + } + if (target == 0) return raw.ConvertAll(r => r.Id); + + uint wcid = 0; + if (_host.HasGetObjectWcid) _host.TryGetObjectWcid(unchecked((uint)target), out wcid); + string tname = _objectCache[target]?.Name ?? ""; + string choice = wcid != 0 ? _combat.DamageStore?.GetManualPet(wcid) ?? "" : ""; + + // Monsters-tab rule for this monster: its pet damage (PetDamage) wins over its + // weapon damage type. Same name match combat uses. + var rule = _settings.MonsterRules.Find(r => r.Name.Length > 0 && !r.Name.Equals("Default", StringComparison.OrdinalIgnoreCase) + && tname.IndexOf(r.Name, StringComparison.OrdinalIgnoreCase) >= 0); + // No rule of its own, or one left on Auto: the Default row's pet damage, when it names one. + var defaultRow = _settings.MonsterRules.Find(r => r.Name.Equals("Default", StringComparison.OrdinalIgnoreCase)); + if ((rule == null || (PetChoice.NormalizeElement(rule.PetDamage).Length == 0 && PetChoice.NormalizeElement(rule.DamageType).Length == 0)) + && defaultRow != null && PetChoice.NormalizeElement(defaultRow.PetDamage).Length > 0) + rule = defaultRow; + string ruleElem = rule == null ? "" : + (PetChoice.NormalizeElement(rule.PetDamage).Length > 0 ? rule.PetDamage : rule.DamageType); + var weak = _combat.WeaknessFor(wcid, tname, target); + var ordered = PetChoice.Order(_host, raw, choice, weak, out string why, ruleElem); + if (target != _lastChoiceTarget || why != _lastChoiceReason) + { + _lastChoiceTarget = target; + _lastChoiceReason = why; + _host.Log($"[RynthAi] Pet: for {tname}: {why} -> {(ordered.Count > 0 ? ordered[0].Name : "none")}"); + } + return ordered.ConvertAll(d => d.Id); + } + private int FindEncapsulatedSpirit() { int playerId = unchecked((int)_host.GetPlayerId()); diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellDatabase.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellDatabase.cs index 5e927b1..e0dc966 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellDatabase.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellDatabase.cs @@ -104,6 +104,22 @@ public static class SpellDatabase return map; } + /// + /// Every id per name. Some names have several ids (Missile Weapon Mastery Self VI is + /// 472/496/544, Light Weapon Mastery has five per tier), and BuildNameToIdMap keeps + /// only the last, which a character may not know. + /// + public static Dictionary> BuildNameToIdsMap() + { + var map = new Dictionary>(StringComparer.OrdinalIgnoreCase); + foreach (var kvp in _spellNames) + { + if (!map.TryGetValue(kvp.Value, out var ids)) map[kvp.Value] = ids = new List(); + ids.Add(kvp.Key); + } + return map; + } + /// Looks up a spell ID by exact name (case-insensitive). public static int GetIdByName(string name) { diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellManager.cs index 455355b..f3452a9 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/SpellManager.cs @@ -33,6 +33,10 @@ public class SpellManager public Dictionary SpellDictionary { get; private set; } = new Dictionary(StringComparer.OrdinalIgnoreCase); + // All ids per name (SpellDictionary keeps one). Lets TryGetId find the id this + // character actually knows when a name has several (weapon masteries, Item Tinkering). + private Dictionary> _nameToIds = new(StringComparer.OrdinalIgnoreCase); + // Map base spell names to their exact Level 7 Lore counterparts private readonly Dictionary LoreNames = new(StringComparer.OrdinalIgnoreCase) { @@ -66,7 +70,9 @@ public class SpellManager { "Armor Tinkering Expertise", new[] { "Jibril's Blessing" } }, { "Item Tinkering Expertise", new[] { "Yoshi's Blessing" } }, { "Weapon Tinkering Expertise", new[] { "Koga's Blessing" } }, - { "Mana Conversion Mastery", new[] { "Nuhmidura's Blessing" } }, + { "Mana Conversion Mastery", new[] { "Nuhmudira's Blessing" } }, + { "Two Handed Combat Mastery", new[] { "Blessing of T'ing" } }, + { "Magic Item Tinkering Expertise", new[] { "Celdiseth's Blessing" } }, { "Sprint", new[] { "Saladur's Blessing" } }, { "Jumping Mastery", new[] { "Jahannan's Blessing" } }, { "Fealty", new[] { "Odif's Blessing", "Odif's Boon" } }, @@ -113,6 +119,7 @@ public class SpellManager if (!SpellDatabase.IsLoaded) SpellDatabase.Load(msg => _host.WriteToChat(msg, 2)); SpellDictionary = SpellDatabase.BuildNameToIdMap(); + _nameToIds = SpellDatabase.BuildNameToIdsMap(); _host.WriteToChat($"[RynthAi] Magic System Online: {SpellDictionary.Count} spells loaded.", 1); } catch (Exception ex) @@ -176,38 +183,56 @@ public class SpellManager int maxTier = GetHighestBuffSpellTier(magicSkill); string cleanBase = baseSpellName.Replace(" Self", "").Trim(); + BaseNameAliases.TryGetValue(cleanBase, out string? alias); + for (int tier = maxTier; tier >= 1; tier--) { - if (tier == 8) - { - if (TryGetId($"Incantation of {cleanBase} Self", out int id1)) return id1; - if (TryGetId($"Incantation of {cleanBase}", out int id2)) return id2; - if (TryGetId($"Aura of Incantation of {cleanBase} Self", out int id3)) return id3; - if (TryGetId($"Aura of Incantation of {cleanBase}", out int id4)) return id4; - } - else if (tier == 7) - { - if (LoreNames.TryGetValue(cleanBase, out string[]? lores)) - foreach (string lore in lores) - if (TryGetId(lore, out int idL)) return idL; - - if (TryGetId($"{cleanBase} Self VII", out int id7a)) return id7a; - if (TryGetId($"{cleanBase} VII", out int id7b)) return id7b; - if (TryGetId($"Aura of {cleanBase} Self VII", out int id7c)) return id7c; - if (TryGetId($"Aura of {cleanBase} VII", out int id7d)) return id7d; - } - else - { - string numeral = GetRomanNumeral(tier); - if (TryGetId($"{cleanBase} Self {numeral}", out int idNum1)) return idNum1; - if (TryGetId($"{cleanBase} {numeral}", out int idNum2)) return idNum2; - if (TryGetId($"Aura of {cleanBase} Self {numeral}", out int idNum3)) return idNum3; - if (TryGetId($"Aura of {cleanBase} {numeral}", out int idNum4)) return idNum4; - } + if (TryGetTierId(cleanBase, tier, out int id)) return id; + if (alias != null && TryGetTierId(alias, tier, out int idAlias)) return idAlias; } return 0; } + // The spell data spells some families differently from the buff list: the + // bludgeon bane is "Bludgeon Bane I-VI" / "Incantation of Bludgeon Bane", so + // "Bludgeoning Bane" only resolved at tier 7 (Tusker's Bane). + private static readonly Dictionary BaseNameAliases = new(StringComparer.OrdinalIgnoreCase) + { + { "Bludgeoning Bane", "Bludgeon Bane" }, + }; + + private bool TryGetTierId(string cleanBase, int tier, out int id) + { + if (tier == 8) + { + if (TryGetId($"Incantation of {cleanBase} Self", out id)) return true; + if (TryGetId($"Incantation of {cleanBase}", out id)) return true; + if (TryGetId($"Aura of Incantation of {cleanBase} Self", out id)) return true; + if (TryGetId($"Aura of Incantation of {cleanBase}", out id)) return true; + } + else if (tier == 7) + { + if (LoreNames.TryGetValue(cleanBase, out string[]? lores)) + foreach (string lore in lores) + if (TryGetId(lore, out id)) return true; + + if (TryGetId($"{cleanBase} Self VII", out id)) return true; + if (TryGetId($"{cleanBase} VII", out id)) return true; + if (TryGetId($"Aura of {cleanBase} Self VII", out id)) return true; + if (TryGetId($"Aura of {cleanBase} VII", out id)) return true; + } + else + { + string numeral = GetRomanNumeral(tier); + if (TryGetId($"{cleanBase} Self {numeral}", out id)) return true; + if (TryGetId($"{cleanBase} {numeral}", out id)) return true; + if (TryGetId($"Aura of {cleanBase} Self {numeral}", out id)) return true; + if (TryGetId($"Aura of {cleanBase} {numeral}", out id)) return true; + } + id = 0; + return false; + } + /// /// Record that a spell id is not actually castable by this character /// (empirically: a cast of it got zero chat back). Resolution will skip @@ -249,7 +274,17 @@ public class SpellManager spellId = 0; if (!SpellDictionary.TryGetValue(exactName, out int id)) return false; if (_knownSpellIds.Count == 0) return false; // cold — don't guess - if (!_knownSpellIds.Contains(id)) return false; // char doesn't know it + if (!_knownSpellIds.Contains(id)) + { + // Same name, another id (as TryGetId): the map keeps the LAST id of a name, and + // war names have duplicates, e.g. "Acid Blast III" is 99 (the one players learn) + // and 3653, "Flame Bolt I" is 27 and four others. A char who knew 99 never cast it. + if (!_nameToIds.TryGetValue(exactName, out List? ids)) return false; + id = 0; + foreach (int alt in ids) + if (_knownSpellIds.Contains(alt)) { id = alt; break; } + if (id == 0) return false; // char doesn't know it + } spellId = id; return true; } @@ -335,6 +370,12 @@ public class SpellManager if (_knownSpellIds.Count > 0) { if (_knownSpellIds.Contains(spellId)) return true; + // Same name, another id: an archer who knows the bow line of Missile + // Weapon Mastery (472) failed every tier because the map held the + // thrown line (544). + if (_nameToIds.TryGetValue(exactName, out List? ids)) + foreach (int alt in ids) + if (_knownSpellIds.Contains(alt)) { spellId = alt; return true; } spellId = 0; return false; } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponElementTracker.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponElementTracker.cs new file mode 100644 index 0000000..8328df7 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponElementTracker.cs @@ -0,0 +1,100 @@ +using System; +using System.Collections.Generic; +using RynthCore.PluginSdk; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// Reads each listed weapon's element from its properties () and +/// identifies the ones whose DamageType isn't known yet: one identify at a time, at most one +/// every , at most per weapon. The +/// engine (2026.9.30.5+) keeps every identified property, so a weapon is identified once. +/// Before the identify, CreateObject gives the icon's element glow (UiEffects) and the name. +/// +internal sealed class WeaponElementTracker +{ + private readonly RynthCoreHost _host; + private readonly Func _now; + private readonly Dictionary _requests = new(); + private int _inFlightId; + private DateTime _inFlightAt = DateTime.MinValue; + private DateTime _lastRequestAt = DateTime.MinValue; + + public double RequestGapMs { get; set; } = 2000; + public double RequestTimeoutMs { get; set; } = 5000; + public int MaxRequestsPerItem { get; set; } = 2; + /// Identify requests sent (diagnostics and tests). + public int RequestsSent { get; private set; } + + public WeaponElementTracker(RynthCoreHost host, Func? now = null) + { + _host = host; + _now = now ?? (() => DateTime.Now); + } + + /// What is known about 's element right now. + public WeaponElements.Info Read(int id, string? name) => ReadFrom(_host, id, name); + + /// The same, for callers without a tracker (the Items panel's Add buttons). + public static WeaponElements.Info ReadFrom(RynthCoreHost host, int id, string? name) + { + uint uid = unchecked((uint)id); + int? ReadInt(uint stype) => host.HasGetObjectIntProperty && host.TryGetObjectIntProperty(uid, stype, out int v) ? v : null; + double? mod = null; + if (host.HasGetObjectDoubleProperty && host.TryGetObjectDoubleProperty(uid, WeaponElements.PropElementalDamageMod, out double m)) + mod = m; + return WeaponElements.Detect(ReadInt(WeaponElements.PropDamageType), ReadInt(WeaponElements.PropImbuedEffect), + ReadInt(WeaponElements.PropUiEffects), name, mod); + } + + /// True once the weapon has been identified (its DamageType, if it has one, is in). + public bool IsIdentified(int id) + { + uint uid = unchecked((uint)id); + if (_host.HasHasAppraisalData) return _host.HasAppraisalData(uid); + return ReadInt(uid, WeaponElements.PropDamageType) is int dt && dt != 0; + } + + /// + /// Sends at most one identify, for the first of that isn't identified + /// yet. Call it every few hundred milliseconds; it paces itself. Returns the id asked for (0 = none). + /// + public int Pump(IEnumerable ids) + { + if (!_host.HasRequestId) return 0; + DateTime now = _now(); + if (_inFlightId != 0) + { + if (!IsIdentified(_inFlightId) && (now - _inFlightAt).TotalMilliseconds < RequestTimeoutMs) return 0; + _inFlightId = 0; + } + if ((now - _lastRequestAt).TotalMilliseconds < RequestGapMs) return 0; + foreach (int id in ids) + { + if (id == 0 || IsIdentified(id)) continue; + int n = _requests.TryGetValue(id, out int c) ? c : 0; + if (n >= MaxRequestsPerItem) continue; + _requests[id] = n + 1; + _inFlightId = id; + _inFlightAt = now; + _lastRequestAt = now; + RequestsSent++; + try { _host.RequestId(unchecked((uint)id)); } catch { } + return id; + } + return 0; + } + + /// Forget the request counts (a relog: the ids are new). + public void Reset() + { + _requests.Clear(); + _inFlightId = 0; + } + + private int? ReadInt(uint id, uint stype) + { + if (!_host.HasGetObjectIntProperty) return null; + return _host.TryGetObjectIntProperty(id, stype, out int v) ? v : (int?)null; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponElements.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponElements.cs new file mode 100644 index 0000000..15ab33c --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponElements.cs @@ -0,0 +1,149 @@ +using System; +using System.Collections.Generic; +using RynthCore.Plugin.RynthAi.CreatureData; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// A weapon's damage element, from its properties. Pure: no host, no cache. +/// +/// Sources, best first: +/// 1. DamageType (int 45): the caster's element, or the melee/missile weapon profile's +/// damage type. Only arrives with an identify. +/// 2. The icon's element glow (UiEffects, int 18). In CreateObject, so known before +/// any identify; the engine serves it from the object's PublicWeenieDesc. +/// 3. A rending imbue (ImbuedEffect, int 179): "Fire Rending" etc. Identify-only. Used +/// when the weapon has no other element; it also marks the weapon as the best pick +/// against that element, since rending ignores the target's resistance to it. +/// 4. The name: Fire/Flame/Flaming, Frost/Ice, Acid, Lightning/Electric, Blade, ... +/// Element names are CreatureWeakness's: Slash, Pierce, Bludgeon, Fire, Cold, Acid, +/// Lightning, Nether. "" = no element known. +/// +internal static class WeaponElements +{ + public const uint PropUiEffects = 18, PropDamageType = 45, PropImbuedEffect = 179; + /// Float 152: the caster's bonus to war spells of its own element (1.0 = none). + public const uint PropElementalDamageMod = 152; + + /// + /// AC DAMAGE_TYPE flags → element. A single elemental bit wins; several physical bits + /// (a Slash/Pierce sword, 0x3) give the first of Slash, Pierce, Bludgeon. 0 → "". + /// + public static string FromDamageType(int dt) + { + if (dt == 0) return ""; + if ((dt & 0x400) != 0) return "Nether"; + if ((dt & 0x10) != 0) return "Fire"; + if ((dt & 0x08) != 0) return "Cold"; + if ((dt & 0x40) != 0) return "Lightning"; + if ((dt & 0x20) != 0) return "Acid"; + if ((dt & 0x01) != 0) return "Slash"; + if ((dt & 0x02) != 0) return "Pierce"; + if ((dt & 0x04) != 0) return "Bludgeon"; + return ""; + } + + /// ACE UiEffects (the icon's glow) → element; "" when it has none. + public static string FromUiEffects(int fx) + { + if (fx == 0) return ""; + if ((fx & 0x1000) != 0) return "Nether"; + if ((fx & 0x0020) != 0) return "Fire"; + if ((fx & 0x0080) != 0) return "Cold"; + if ((fx & 0x0040) != 0) return "Lightning"; + if ((fx & 0x0100) != 0) return "Acid"; + if ((fx & 0x0400) != 0) return "Slash"; + if ((fx & 0x0800) != 0) return "Pierce"; + if ((fx & 0x0200) != 0) return "Bludgeon"; + return ""; + } + + /// ACE ImbuedEffectType rending flags → element; "" when there is none. + public static string FromImbuedEffect(int imbue) + { + if (imbue == 0) return ""; + if ((imbue & 0x4000) != 0) return "Nether"; + if ((imbue & 0x0200) != 0) return "Fire"; + if ((imbue & 0x0080) != 0) return "Cold"; + if ((imbue & 0x0100) != 0) return "Lightning"; + if ((imbue & 0x0040) != 0) return "Acid"; + if ((imbue & 0x0008) != 0) return "Slash"; + if ((imbue & 0x0010) != 0) return "Pierce"; + if ((imbue & 0x0020) != 0) return "Bludgeon"; + return ""; + } + + // Whole words in a weapon's name, first match wins. "Staff of the Blade" is Slash; + // "Iceberg" isn't "Ice" (whole words only). + private static readonly (string Word, string Element)[] NameWords = + { + ("Fire", "Fire"), ("Flame", "Fire"), ("Flaming", "Fire"), ("Fiery", "Fire"), ("Burning", "Fire"), ("Inferno", "Fire"), + ("Frost", "Cold"), ("Ice", "Cold"), ("Icy", "Cold"), ("Cold", "Cold"), ("Freezing", "Cold"), ("Frozen", "Cold"), ("Glacial", "Cold"), + ("Acid", "Acid"), ("Acidic", "Acid"), ("Corrosive", "Acid"), ("Caustic", "Acid"), + ("Lightning", "Lightning"), ("Electric", "Lightning"), ("Electrical", "Lightning"), ("Shock", "Lightning"), ("Thunder", "Lightning"), + ("Nether", "Nether"), ("Void", "Nether"), + ("Blade", "Slash"), ("Blades", "Slash"), ("Slashing", "Slash"), ("Slash", "Slash"), + ("Pierce", "Pierce"), ("Piercing", "Pierce"), ("Force", "Pierce"), + ("Bludgeon", "Bludgeon"), ("Bludgeoning", "Bludgeon"), + }; + + /// The element a weapon's name says, "" when it names none. + public static string FromName(string? name) + { + if (string.IsNullOrWhiteSpace(name)) return ""; + foreach (var (word, element) in NameWords) + if (ContainsWord(name, word)) return element; + return ""; + } + + /// What worked out for one weapon. + public readonly record struct Info(string Element, string Source, string Rending, double Bonus) + { + /// No element known from anything. + public bool Unknown => Element.Length == 0; + } + + /// + /// A weapon's element from what is known about it. Pass null for a property that isn't + /// known (not sent yet); 0 for one that is known to be empty. + /// is the caster's float 152 (null = unknown; it only counts for the caster's own element). + /// Source: "properties", "icon", "rending", "name" or "". + /// + public static Info Detect(int? damageType, int? imbuedEffect, int? uiEffects, string? name, double? elementalMod = null) + { + string rending = imbuedEffect is int ie ? FromImbuedEffect(ie) : ""; + double bonus = elementalMod is double m && m > 1.0 && m < 5.0 ? m : 1.0; + + string e = damageType is int dt ? FromDamageType(dt) : ""; + if (e.Length > 0) return new Info(e, "properties", rending, bonus); + e = uiEffects is int fx ? FromUiEffects(fx) : ""; + if (e.Length > 0) return new Info(e, "icon", rending, bonus); + if (rending.Length > 0) return new Info(rending, "rending", rending, bonus); + e = FromName(name); + if (e.Length > 0) return new Info(e, "name", rending, bonus); + return new Info("", "", rending, bonus); + } + + /// Element spelling as the rest of RynthAi uses it (Blade → Slash, Electric → Lightning, Frost → Cold). + public static string Normalize(string? element) + { + if (string.IsNullOrWhiteSpace(element)) return ""; + string t = element.Trim(); + if (t.Equals("Frost", StringComparison.OrdinalIgnoreCase) || t.Equals("Ice", StringComparison.OrdinalIgnoreCase)) return "Cold"; + return CreatureWeakness.Normalize(t); + } + + private static bool ContainsWord(string text, string word) + { + int i = 0; + while ((i = text.IndexOf(word, i, StringComparison.OrdinalIgnoreCase)) >= 0) + { + bool startOk = i == 0 || !char.IsLetter(text[i - 1]); + int end = i + word.Length; + bool endOk = end >= text.Length || !char.IsLetter(text[end]); + if (startOk && endOk) return true; + i = end; + } + return false; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponList.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponList.cs new file mode 100644 index 0000000..1fc85c7 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponList.cs @@ -0,0 +1,240 @@ +using System; +using System.Collections.Generic; +using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.PluginSdk; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// A weapon's full retail name: the material (MaterialType, int 131, in CreateObject) in +/// front of the base name the client reports ("Wand" -> "Silver Wand"), and optionally the +/// element after it ("Silver Wand (Fire)"). Display only: rules are matched and saved by id. +/// Spellings are ACE's MaterialType names split into words ("Black Garnet", "Imperial Topaz"). +/// +internal static class WeaponNames +{ + public const uint PropMaterialType = 131; + + private static readonly Dictionary Materials = new() + { + [1] = "Ceramic", [2] = "Porcelain", [3] = "Cloth", [4] = "Linen", [5] = "Satin", [6] = "Silk", + [7] = "Velvet", [8] = "Wool", [9] = "Gem", [10] = "Agate", [11] = "Amber", [12] = "Amethyst", + [13] = "Aquamarine", [14] = "Azurite", [15] = "Black Garnet", [16] = "Black Opal", [17] = "Bloodstone", + [18] = "Carnelian", [19] = "Citrine", [20] = "Diamond", [21] = "Emerald", [22] = "Fire Opal", + [23] = "Green Garnet", [24] = "Green Jade", [25] = "Hematite", [26] = "Imperial Topaz", [27] = "Jet", + [28] = "Lapis Lazuli", [29] = "Lavender Jade", [30] = "Malachite", [31] = "Moonstone", [32] = "Onyx", + [33] = "Opal", [34] = "Peridot", [35] = "Red Garnet", [36] = "Red Jade", [37] = "Rose Quartz", + [38] = "Ruby", [39] = "Sapphire", [40] = "Smokey Quartz", [41] = "Sunstone", [42] = "Tiger Eye", + [43] = "Tourmaline", [44] = "Turquoise", [45] = "White Jade", [46] = "White Quartz", + [47] = "White Sapphire", [48] = "Yellow Garnet", [49] = "Yellow Topaz", [50] = "Zircon", + [51] = "Ivory", [52] = "Leather", [53] = "Armoredillo Hide", [54] = "Gromnie Hide", + [55] = "Reed Shark Hide", [56] = "Metal", [57] = "Brass", [58] = "Bronze", [59] = "Copper", + [60] = "Gold", [61] = "Iron", [62] = "Pyreal", [63] = "Silver", [64] = "Steel", [65] = "Stone", + [66] = "Alabaster", [67] = "Granite", [68] = "Marble", [69] = "Obsidian", [70] = "Sandstone", + [71] = "Serpentine", [72] = "Wood", [73] = "Ebony", [74] = "Mahogany", [75] = "Oak", [76] = "Pine", + [77] = "Teak", + }; + + /// The material's display name, "" when unknown. + public static string Material(int materialType) => Materials.TryGetValue(materialType, out string? n) ? n : ""; + + /// "Silver Wand": the material in front, unless the name already starts with it. + public static string Full(string? baseName, int materialType) + { + string name = (baseName ?? "").Trim(); + string mat = Material(materialType); + if (mat.Length == 0 || name.Length == 0) return name; + if (name.StartsWith(mat + " ", StringComparison.OrdinalIgnoreCase) || name.Equals(mat, StringComparison.OrdinalIgnoreCase)) + return name; + return mat + " " + name; + } + + /// "Silver Wand (Fire)"; the bare name when the element is unknown. + public static string WithElement(string name, string? element) + => string.IsNullOrWhiteSpace(element) ? name : $"{name} ({element})"; + + /// + /// An object's full name from the client (name and material read live through the host, + /// which is safe from the panels' threads; the object cache is not), else . + /// + public static string For(RynthCoreHost host, WorldObjectCache? cache, int id, string? fallback) + { + _ = cache; // kept for callers; the cache's lazy lookup isn't thread-safe + string baseName = ""; + if (host.HasGetObjectName) + { + try { host.TryGetObjectName(unchecked((uint)id), out baseName); } catch { baseName = ""; } + } + if (string.IsNullOrEmpty(baseName)) baseName = fallback ?? ""; + int mat = 0; + if (host.HasGetObjectIntProperty && host.TryGetObjectIntProperty(unchecked((uint)id), PropMaterialType, out int m)) mat = m; + return Full(baseName, mat); + } +} + +/// The Items list's weapons: their elements and the wand lookups shared by combat and buffing. +internal static class WeaponList +{ + /// ItemRule.ElementSource when the user picked the element in the Items panel. + public const string SourceSet = "set"; + /// ItemRule.Action of a listed shield (the off hand); weapons are "Weapon". + public const string ShieldAction = "Shield"; + + public static bool IsShieldRule(ItemRule r) => string.Equals(r.Action, ShieldAction, StringComparison.OrdinalIgnoreCase); + + private static int Rank(string source) => source switch + { + SourceSet => 9, + "properties" => 4, + "icon" => 3, + "rending" => 2, + "name" => 1, + _ => 0, + }; + + /// + /// Brings each listed weapon's element up to date from what's known about it. An element + /// the user set is kept. A better source replaces a worse one (properties beat the icon, + /// the icon beats a rending, a rending beats the name). An entry from before this (no + /// source) keeps a non-Slash element as the user's; its old "Slash" default is replaced as + /// soon as anything is known. Returns the entries that changed. + /// + public static int RefreshElements(List rules, Func read, Func? nameOf = null) + { + int changed = 0; + foreach (var r in rules) + { + if (r.ElementSource == SourceSet || IsShieldRule(r)) continue; // a shield has no element + if (r.ElementSource.Length == 0 && r.Element.Length > 0 + && !r.Element.Equals("Slash", StringComparison.OrdinalIgnoreCase)) + { + r.ElementSource = SourceSet; + changed++; + continue; + } + var info = read(r.Id, nameOf?.Invoke(r.Id) ?? r.Name); + if (info.Unknown) continue; + bool better = Rank(info.Source) > Rank(r.ElementSource); + bool same = Rank(info.Source) == Rank(r.ElementSource); + if (better || (same && !info.Element.Equals(r.Element, StringComparison.OrdinalIgnoreCase))) + { + r.Element = info.Element; + r.ElementSource = info.Source; + changed++; + } + } + return changed; + } + + /// What the Items panel shows for an element nobody knows yet. + public const string UnknownLabel = "Unknown"; + + /// + /// Copies of the weapons for the Items panel: the full name (material in front) and + /// "Unknown" for an element not known yet. The panel sends the copies back on an edit; + /// maps them onto the saved entries by id. + /// + public static List ForDisplay(IEnumerable rules, Func fullName) + { + var list = new List(); + foreach (var r in rules) + list.Add(new ItemRule + { + Id = r.Id, Name = fullName(r), Action = r.Action, KeepBuffed = r.KeepBuffed, + // A shield shows "Shield" in the element column (it has no element). + Element = IsShieldRule(r) ? ShieldAction : r.Element.Length > 0 ? r.Element : UnknownLabel, + ElementSource = r.ElementSource, + }); + return list; + } + + /// + /// The Items panel's edited list, mapped onto the saved one by id: the saved name stays + /// (the panel shows the full name; entries are matched and saved by id), an element the + /// user changed becomes theirs ("set"), and "Unknown" stays unknown. Order and deletions + /// follow the panel. + /// + public static List MergeEdited(IReadOnlyList saved, IEnumerable edited) + { + var byId = new Dictionary(); + foreach (var r in saved) byId.TryAdd(r.Id, r); + var list = new List(); + foreach (var e in edited) + { + string elem = e.Element.Equals(UnknownLabel, StringComparison.OrdinalIgnoreCase) ? "" : e.Element; + if (byId.TryGetValue(e.Id, out var old)) + { + if (IsShieldRule(old)) elem = old.Element; // a shield keeps no element; the column only says "Shield" + bool changed = !elem.Equals(old.Element, StringComparison.OrdinalIgnoreCase); + list.Add(new ItemRule + { + // The panel carries only id, name and element: the rest stays as saved. + Id = old.Id, Name = old.Name, Action = old.Action, KeepBuffed = old.KeepBuffed, + Element = changed ? elem : old.Element, + ElementSource = changed ? (elem.Length > 0 ? SourceSet : "") : old.ElementSource, + }); + } + else + { + e.Element = elem; + list.Add(e); + } + } + return list; + } + + /// + /// The wand to wield for buffing or casting: a listed wand (the one already in hand first, + /// then list order). When the list has no wand at all and is + /// on (LegacyUiSettings.WieldUnlistedWandWhenNoneListed), a caster from the pack (by object + /// class; never by name). 0 = none. + /// + public static int FindWand(IEnumerable rules, Func lookup, Func isWielded, + IEnumerable inventory, bool allowUnlisted, out bool unlisted) + { + unlisted = false; + int first = 0; + bool anyListedWand = false; + foreach (var r in rules) + { + var wo = lookup(r.Id); + if (wo == null) continue; + if (!IsWand(wo)) continue; + anyListedWand = true; + if (isWielded(wo)) return r.Id; + if (first == 0) first = r.Id; + } + if (first != 0) return first; + if (anyListedWand || !allowUnlisted) return 0; + foreach (var wo in inventory) + if (wo.ObjectClass == AcObjectClass.WandStaffOrb) + { + unlisted = true; + return wo.Id; + } + return 0; + } + + /// + /// A caster: object class WandStaffOrb, or an unclassified item named like one. A melee + /// weapon named "Quarter Staff" is not a wand (it used to be, and put the character in Magic mode). + /// + public static bool IsWand(WorldObject wo) + { + if (wo.ObjectClass == AcObjectClass.WandStaffOrb) return true; + if (wo.ObjectClass == AcObjectClass.MeleeWeapon || wo.ObjectClass == AcObjectClass.MissileWeapon) return false; + return IsWandName(wo.Name); + } + + public static bool IsWandName(string? name) + { + if (string.IsNullOrEmpty(name)) return false; + return name.IndexOf("Orb", StringComparison.OrdinalIgnoreCase) >= 0 + || name.IndexOf("Staff", StringComparison.OrdinalIgnoreCase) >= 0 + || name.IndexOf("Wand", StringComparison.OrdinalIgnoreCase) >= 0 + || name.IndexOf("Scepter", StringComparison.OrdinalIgnoreCase) >= 0 + || name.IndexOf("Sceptre", StringComparison.OrdinalIgnoreCase) >= 0 + || name.IndexOf("Baton", StringComparison.OrdinalIgnoreCase) >= 0 + || name.IndexOf("Crozier", StringComparison.OrdinalIgnoreCase) >= 0; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponPlanner.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponPlanner.cs new file mode 100644 index 0000000..87b299a --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponPlanner.cs @@ -0,0 +1,315 @@ +using System; +using System.Collections.Generic; +using RynthCore.Plugin.RynthAi.CreatureData; + +namespace RynthCore.Plugin.RynthAi; + +/// One weapon from the user's Items list that combat may wield. +/// CombatMode.Melee / Missile / Magic. +/// Normalized element ("" = unknown). +/// Element of a rending imbue ("" = none). +/// The creature type it slays (PropertyInt 166 SlayerCreatureType, 0 = none). +/// Its damage multiplier against that type (PropertyFloat 138 SlayerDamageBonus, 0 = none). +internal sealed record WeaponCandidate(int Id, string Name, int Kind, string Element, string Rending, bool InHand, + int SlayerType = 0, double SlayerBonus = 0); + +/// What to fight a monster with: the weapon (0 = none), the element to cast or +/// debuff with, and why. +internal readonly record struct WeaponPlan(int WeaponId, string Element, string Source); + +/// +/// The element-and-weapon rule, pure (no host). The weakness decides the weapon, never the +/// other way round, except for a slayer: +/// 1. A Damage tab weapon (this monster's, else the DEFAULT row's) is used as set; it must be in the Items list. +/// Its element is the rule's, else its own, else the weakest the character can cast. +/// 2. A slayer: a listed weapon of the character's main kind whose SlayerCreatureType is +/// the monster's CreatureType and whose SlayerDamageBonus is above 1 (ACE multiplies the +/// whole hit by it, so it beats any element choice). Several: the biggest bonus, then +/// the element order (the rule's element, else the weakest group), then a matching +/// rending, then the one in hand, then list order. Its element is the wand's own, else a +/// melee/missile weapon's own, else the rule's, else the weakest the character can cast. +/// Creature type unknown (not appraised yet): no slayer step. +/// 3. (The Damage tab DEFAULT row's weapon is a player pick too: it is step 1.) +/// 4. A Monsters rule damage type (not Auto) is the element; wield the listed weapon of that +/// element (a matching rending first, then the one in hand, then list order). +/// Whatever is chosen, a wand casts its own element when it has one (owner's rule, +/// 2026-09-30: "the wand should always cast its element, especially when rended"). +/// 5. Auto with a known weakness: walk the monster's elements from weakest (highest +/// multiplier) down; the first element a listed weapon of the character's main kind has +/// wins, and that weapon is wielded. Elements tied on the multiplier count as one step, +/// and within a step the weapon in hand wins, then a rending, then the weakness order. +/// A caster only counts for elements the character can cast. +/// No listed weapon has any of them: keep the one in hand (else the learned best, else +/// the first), and cast the weakest element the character can. +/// 6. Weakness unknown: keep the weapon in hand (else the learned best, else the first) and +/// use its element; nothing known at all: Slash (or the first element the character can cast). +/// "Main kind" = the kind of the first usable weapon in the list, so a bow character with a +/// buff wand listed isn't switched to magic, and a melee character isn't swapped to a wand. +/// +internal static class WeaponPlanner +{ + /// Two multipliers this close are a tie. + public const double TieEpsilon = 0.005; + + /// Fallback element order when nothing is known ("Slash" first). + public static readonly string[] FallbackOrder = { "Slash", "Fire", "Cold", "Lightning", "Acid", "Pierce", "Bludgeon", "Nether" }; + + public static WeaponPlan Choose( + IReadOnlyList listed, + string? ruleElement, + CreatureWeakness.Ranking? weak, + Func canCast, + int fixedWeaponId = 0, + string fixedSource = "Damage tab", + int learnedBestId = 0, + int creatureType = 0, + bool fixedIsDefault = false) + { + string rule = WeaponElements.Normalize(ruleElement); + bool ruleSet = rule.Length > 0; + WeaponCandidate? fixedPick = fixedWeaponId != 0 ? Find(listed, fixedWeaponId) : null; + + // 1. A weapon the player picked on the Damage tab: for this monster, or the DEFAULT row's + // (listed only). A player's pick is honoured, slayer or not (owner, 2026-10-04: "if + // it's set to auto slayer wins, if the player picks a weapon we honour that"). + // fixedIsDefault only changes the source label. + if (fixedPick != null) + return FixedPlan(fixedPick, fixedSource, rule, weak, canCast); + + if (listed.Count == 0) + { + // Nothing listed: no weapon; the element still follows the rule / weakness. + string elem = ruleSet ? rule : WeakestCastable(weak, canCast, null) ?? Fallback(canCast); + return new WeaponPlan(0, elem, "none"); + } + + int mainKind = listed[0].Kind; + var pool = new List(); + foreach (var c in listed) if (c.Kind == mainKind) pool.Add(c); + + // 2. A slayer of this monster's creature type. + if (creatureType > 0) + { + var s = BestSlayer(pool, creatureType, rule, weak, canCast); + if (s != null) + { + string elem = WandElement(s, canCast) + ?? (s.Kind != CombatMode.Magic && s.Element.Length > 0 ? s.Element + : ruleSet ? rule + : WeakestCastable(weak, canCast, s) ?? ElementOrFallback(s, canCast)); + return new WeaponPlan(s.Id, elem, SlayerSource(creatureType, s.SlayerBonus)); + } + } + + // 3. The Damage tab default weapon (listed only). + if (fixedPick != null) + return FixedPlan(fixedPick, fixedSource, rule, weak, canCast); + + // 4. An explicit damage type: the listed weapon of that element (main kind first). + if (ruleSet) + { + var w = BestOf(pool, rule, null) ?? BestOf(listed, rule, null); + if (w != null) return new WeaponPlan(w.Id, rule, "Monsters rule " + rule); + var keep = InHand(pool) ?? pool[0]; + // A wand casts its own element: the rule's element only when the weapon has none. + string keepElem = WandElement(keep, canCast) ?? rule; + return new WeaponPlan(keep.Id, keepElem, keep.InHand ? "Monsters rule " + rule + " (none listed; in hand)" : "Monsters rule " + rule + " (none listed)"); + } + + // 5. Auto, weakness known: weakest element a listed weapon has. + if (weak != null && weak.Order.Count > 0) + { + string handElem = InHand(pool)?.Element ?? ""; + foreach (var group in TieGroups(weak)) + { + // Within a tie: the element of the weapon in hand (no needless swap), else + // the weakness order; for one element: a matching rending, then the weapon + // in hand, then list order. + bool handInGroup = handElem.Length > 0 && group.Contains(handElem); + WeaponCandidate? best = null; + int bestRank = int.MaxValue; + for (int i = 0; i < pool.Count; i++) + { + var c = pool[i]; + int idx = group.IndexOf(c.Element); + if (idx < 0) continue; + if (c.Kind == CombatMode.Magic && !canCast(c.Element)) continue; + int elemRank = handInGroup && c.Element == handElem ? 0 : 1 + idx; + int rank = elemRank * 100000 + + (c.Rending.Length > 0 && c.Rending == c.Element ? 0 : 10000) + + (c.InHand ? 0 : 1000) + + i; + if (rank < bestRank) { bestRank = rank; best = c; } + } + if (best != null) + return new WeaponPlan(best.Id, best.Element, $"weak to {best.Element} ({weak.Source})"); + } + + // No listed weapon has any element of the ranking: keep what we have. + var keep = InHand(pool) ?? Find(pool, learnedBestId) ?? pool[0]; + // A wand whose element the character can't cast (no Void Magic for a Nether + // wand, no spells of it) casts the weakest element the character can, like a + // wand with no element; only a melee/missile weapon keeps its own element here. + string elem = WandElement(keep, canCast) + ?? (keep.Element.Length == 0 || keep.Kind == CombatMode.Magic + ? WeakestCastable(weak, canCast, keep) ?? Fallback(canCast) + : keep.Element); + return new WeaponPlan(keep.Id, elem, $"weak to {elem} ({weak.Source}); no listed weapon of it"); + } + + // 6. Weakness unknown: the weapon in hand and its element. + var hand = InHand(pool); + if (hand != null) + return new WeaponPlan(hand.Id, ElementOrFallback(hand, canCast), "in hand (weakness unknown)"); + var learned = Find(pool, learnedBestId); + if (learned != null) + return new WeaponPlan(learned.Id, ElementOrFallback(learned, canCast), "Damage tab learned"); + return new WeaponPlan(pool[0].Id, ElementOrFallback(pool[0], canCast), "ItemRules"); + } + + /// + /// The ranking's elements grouped by equal multiplier, weakest group first. A learned + /// ranking (NaN multipliers) is one element per group. + /// + public static List> TieGroups(CreatureWeakness.Ranking weak) + { + var groups = new List>(); + double last = double.NaN; + foreach (var (e, m) in weak.Order) + { + if (groups.Count > 0 && !double.IsNaN(m) && !double.IsNaN(last) && Math.Abs(m - last) <= TieEpsilon) + groups[^1].Add(e); + else + groups.Add(new List { e }); + last = m; + } + return groups; + } + + /// The weakest element the character can cast; ties go to 's element. + public static string? WeakestCastable(CreatureWeakness.Ranking? weak, Func canCast, WeaponCandidate? wand) + { + if (weak == null) return null; + foreach (var group in TieGroups(weak)) + { + if (wand != null && wand.Element.Length > 0 && group.Contains(wand.Element) && canCast(wand.Element)) + return wand.Element; + foreach (string e in group) + if (canCast(e)) return e; + } + return null; + } + + /// True when slays (ACE: SlayerCreatureType == CreatureType, with a bonus). + public static bool Slays(WeaponCandidate c, int creatureType) => + creatureType > 0 && c.SlayerType == creatureType && c.SlayerBonus > 1.0 + TieEpsilon; + + /// The plan's source for a slayer: "slayer (Olthoi x2)". + public static string SlayerSource(int creatureType, double bonus) => + $"slayer ({CreatureTypeNames.Name(creatureType)} x{bonus.ToString("0.##", System.Globalization.CultureInfo.InvariantCulture)})"; + + /// + /// The matching slayer to wield: the biggest bonus (ties within ), + /// then the element order (the rule's element, else the weakest group), then a matching + /// rending, then the one in hand, then list order. Null when none matches. + /// + private static WeaponCandidate? BestSlayer(List pool, int creatureType, string rule, + CreatureWeakness.Ranking? weak, Func canCast) + { + double top = 0; + foreach (var c in pool) if (Slays(c, creatureType) && c.SlayerBonus > top) top = c.SlayerBonus; + if (top <= 0) return null; + + List>? groups = rule.Length == 0 && weak != null && weak.Order.Count > 0 ? TieGroups(weak) : null; + WeaponCandidate? best = null; + int bestRank = int.MaxValue; + for (int i = 0; i < pool.Count; i++) + { + var c = pool[i]; + if (!Slays(c, creatureType) || c.SlayerBonus < top - TieEpsilon) continue; + int elemRank = 0; + if (rule.Length > 0) elemRank = c.Element == rule ? 0 : 1; + else if (groups != null) + { + elemRank = groups.Count; + if (c.Element.Length > 0 && (c.Kind != CombatMode.Magic || canCast(c.Element))) + for (int g = 0; g < groups.Count; g++) + if (groups[g].Contains(c.Element)) { elemRank = g; break; } + } + int rank = elemRank * 100000 + + (c.Rending.Length > 0 && c.Rending == c.Element ? 0 : 10000) + + (c.InHand ? 0 : 1000) + + i; + if (rank < bestRank) { bestRank = rank; best = c; } + } + return best; + } + + /// A Damage tab weapon: the wand's own element, else the rule's, else its own / the weakest castable. + private static WeaponPlan FixedPlan(WeaponCandidate f, string source, string rule, CreatureWeakness.Ranking? weak, Func canCast) + { + string elem = WandElement(f, canCast) ?? (rule.Length > 0 ? rule : ElementFor(f, weak, canCast)); + return new WeaponPlan(f.Id, elem, source); + } + + /// + /// The element for a weapon the user fixed (the Damage tab): its own element when known + /// (the walk down the weakness list stops at the only candidate's element), else the + /// weakest element the character can cast. + /// + private static string ElementFor(WeaponCandidate w, CreatureWeakness.Ranking? weak, Func canCast) + { + if (w.Element.Length > 0 && (w.Kind != CombatMode.Magic || canCast(w.Element))) return w.Element; + return WeakestCastable(weak, canCast, w) ?? ElementOrFallback(w, canCast); + } + + /// + /// A wand (caster) always casts its own element when it has one (damage type, icon element + /// or rending) and the character can cast it: its elemental bonus (and a rending) only + /// works for spells of its element. Null for other weapons or an element not known. + /// + private static string? WandElement(WeaponCandidate w, Func canCast) => + w.Kind == CombatMode.Magic && w.Element.Length > 0 && canCast(w.Element) ? w.Element : null; + + private static string ElementOrFallback(WeaponCandidate w, Func canCast) + { + if (w.Element.Length > 0 && (w.Kind != CombatMode.Magic || canCast(w.Element))) return w.Element; + return Fallback(canCast); + } + + private static string Fallback(Func canCast) + { + foreach (string e in FallbackOrder) + if (canCast(e)) return e; + return "Slash"; + } + + /// The weapon of to wield: matching rending first, then in hand, then list order. + private static WeaponCandidate? BestOf(IReadOnlyList list, string element, Func? canCast) + { + WeaponCandidate? best = null; + int bestRank = int.MaxValue; + for (int i = 0; i < list.Count; i++) + { + var c = list[i]; + if (c.Element != element) continue; + if (canCast != null && c.Kind == CombatMode.Magic && !canCast(element)) continue; + int rank = (c.Rending == element ? 0 : 10000) + (c.InHand ? 0 : 1000) + i; + if (rank < bestRank) { bestRank = rank; best = c; } + } + return best; + } + + private static WeaponCandidate? InHand(IReadOnlyList list) + { + foreach (var c in list) if (c.InHand) return c; + return null; + } + + private static WeaponCandidate? Find(IReadOnlyList list, int id) + { + if (id == 0) return null; + foreach (var c in list) if (c.Id == id) return c; + return null; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponSwapTracker.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponSwapTracker.cs new file mode 100644 index 0000000..0f0c4b5 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/WeaponSwapTracker.cs @@ -0,0 +1,158 @@ +using System; +using System.Collections.Generic; + +namespace RynthCore.Plugin.RynthAi; + +/// +/// Combat's weapon swaps, one at a time, confirmed, bounded, and never back and forth. Pure: +/// the caller reads what's in hand and the server's replies and passes them in with the time. +/// +/// * One swap in flight: after nothing else is sent until the weapon is +/// seen in hand (confirmed), the server refuses (UseDone with an error, or a WeenieError: +/// ), or passes. +/// * Retry cap: a weapon that doesn't reach the hand after sends is +/// rested for ; combat carries on with what's in hand (logged once). +/// * No flip-flop: having swapped A → B, swapping back to A within +/// is held, and so is any swap once landed inside +/// . Combat keeps fighting with B. +/// +internal sealed class WeaponSwapTracker +{ + public enum Step + { + /// The chosen weapon is in hand (or none is wanted): fight. + InHand, + /// A swap is in flight: hold the attack. + Wait, + /// Send the wield now (then call ). + Swap, + /// Don't swap: fight with what's in hand. + Hold, + } + + public int MaxTries { get; set; } = 3; + public double ResolveMs { get; set; } = 2500; + public double GiveUpMs { get; set; } = 120_000; + public double MinDwellMs { get; set; } = 20_000; + public int MaxSwapsPerWindow { get; set; } = 4; + public double SwapWindowMs { get; set; } = 60_000; + + private int _pendingId, _pendingFrom; + private DateTime _pendingAt; + private readonly Dictionary _tries = new(); + private readonly Dictionary _restUntil = new(); + private readonly List _landed = new(); + private int _lastFrom, _lastTo; + private DateTime _lastLandedAt = DateTime.MinValue; + + /// The weapon a swap is in flight for (0 = none). + public int PendingId => _pendingId; + /// Wields sent for since it was last in hand. + public int TriesFor(int id) => _tries.TryGetValue(id, out int t) ? t : 0; + /// Why the last Hold happened, for the log ("" = none). + public string HoldReason { get; private set; } = ""; + /// A line to log once (a give-up), then cleared by the caller reading it. + public string? Notice { get; set; } + + /// + /// What to do about with in hand + /// (0 = nothing readable in hand). + /// + public Step Next(int chosenId, int inHandId, DateTime now, Func? nameOf = null) + { + HoldReason = ""; + if (chosenId == 0) return Step.InHand; + + if (inHandId == chosenId) + { + if (_pendingId == chosenId) Land(now); + _tries.Remove(chosenId); + return Step.InHand; + } + + if (_pendingId != 0) + { + if ((now - _pendingAt).TotalMilliseconds < ResolveMs) return Step.Wait; + Fail(now, "not seen in hand", nameOf); + } + + if (_restUntil.TryGetValue(chosenId, out DateTime rest) && now < rest) + { + HoldReason = "resting after failed tries"; + return Step.Hold; + } + + if (inHandId != 0) + { + if (chosenId == _lastFrom && inHandId == _lastTo && (now - _lastLandedAt).TotalMilliseconds < MinDwellMs) + { + HoldReason = "just swapped away from it"; + return Step.Hold; + } + _landed.RemoveAll(t => (now - t).TotalMilliseconds > SwapWindowMs); + if (_landed.Count >= MaxSwapsPerWindow) + { + HoldReason = $"{_landed.Count} swaps in {SwapWindowMs / 1000:0}s"; + return Step.Hold; + } + } + return Step.Swap; + } + + /// A wield of was sent with in hand. + public void Sent(int id, int fromId, DateTime now) + { + _pendingId = id; + _pendingFrom = fromId; + _pendingAt = now; + _tries[id] = (_tries.TryGetValue(id, out int t) ? t : 0) + 1; + } + + /// The server refused the action in flight (UseDone error / WeenieError). + public void Refused(DateTime now, Func? nameOf = null) + { + if (_pendingId != 0) Fail(now, "refused by the server", nameOf); + } + + /// The chosen weapon was seen in hand some other way (the wield-location read). + public void Confirmed(int id, DateTime now) + { + if (_pendingId == id) Land(now); + _tries.Remove(id); + } + + public void Reset() + { + _pendingId = _pendingFrom = 0; + _tries.Clear(); + _restUntil.Clear(); + _landed.Clear(); + _lastFrom = _lastTo = 0; + _lastLandedAt = DateTime.MinValue; + HoldReason = ""; + Notice = null; + } + + private void Land(DateTime now) + { + if (_pendingFrom != 0 && _pendingFrom != _pendingId) + { + _lastFrom = _pendingFrom; + _lastTo = _pendingId; + _lastLandedAt = now; + _landed.Add(now); + } + _pendingId = _pendingFrom = 0; + } + + private void Fail(DateTime now, string why, Func? nameOf) + { + int id = _pendingId; + _pendingId = _pendingFrom = 0; + if (!_tries.TryGetValue(id, out int tries) || tries < MaxTries) return; + _tries.Remove(id); + _restUntil[id] = now.AddMilliseconds(GiveUpMs); + string name = nameOf?.Invoke(id) ?? ""; + Notice = $"0x{(uint)id:X8} '{name}' didn't wield after {MaxTries} tries ({why}) — fighting with what's in hand for {GiveUpMs / 60000:0.#} min"; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Combat/WorldObjectCache.cs b/Plugins/RynthCore.Plugin.RynthAi/Combat/WorldObjectCache.cs index 4faf1f2..2d9a54a 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Combat/WorldObjectCache.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Combat/WorldObjectCache.cs @@ -46,14 +46,23 @@ public class WorldObjectCache // OnCreateObject IDs pending classification private readonly Queue _pending = new(); - private const int MaxClassifyPerTick = 30; + // Classification work per tick: up to MaxClassifyPerTick ids, and no more than + // ClassifyBudgetMs of the plugin tick once at least MinClassifyPerTick are done. Was a flat + // 30, so a 1000-create flood (2026-10-02) took 34+ ticks, longer when the tick slowed. + private const int MaxClassifyPerTick = 250; + private const int MinClassifyPerTick = 30; + private const double ClassifyBudgetMs = 3.0; + // Fast retries wait for the next tick: the engine's name/position snapshots only change + // between ticks, so the old same-tick re-queue spent all 8 retries in ~10 ms on the same + // answer (and logged each one) before parking the id in the 2 s slow-retry. + private readonly Queue _retryNext = new(); // Retry tracking for 0x8000xxxx objects that have no weenie yet (e.g. spawning corpses) private readonly Dictionary _classifyRetry = new(); private const int MaxClassifyRetries = 8; - // Slow-retry rescue. When the 8-tick fast-retry burst exhausts (all attempts - // within ~10 ms because Tick processes 30 pending entries per pass), the uid + // Slow-retry rescue. When the 8-tick fast-retry burst exhausts (one attempt per + // tick since 2026-10-02, ~250 ms; before that all 8 ran within ~10 ms), the uid // moves here instead of being abandoned. Every ReclassifyIntervalSec the // entries are flushed back into _pending so the engine has fresh chances to // populate name+position. Successful classification evicts the uid at the @@ -76,7 +85,7 @@ public class WorldObjectCache private readonly Dictionary _reclassifySkipState = new(); private int _reclassifyDiagCount; private int _reclassifyDiagSummaryCount; - private const int MaxReclassifyDiagLines = 500; + private const int MaxReclassifyDiagLines = 40; private const int MaxReclassifyDiagSummaries = 60; // Diagnostic — track every uid OnCreateObject ever saw. Lets HEALTHADD-RESCUE @@ -85,16 +94,21 @@ public class WorldObjectCache // hook never fired for this respawn — the suspected bug). No eviction: a delete + // recreate of the same id MUST keep showing seenCreate=1 to be diagnostic-correct. private readonly HashSet _seenCreateObject = new(); - private int _healthAddLogCount; - private int _indexerRescueLogCount; - private int _classifyGiveupLogCount; - private int _deleteWhilePendingSkipLogCount; - private int _deleteBeforeClassifyLogCount; - private const int MaxHealthAddDiagLines = 200; - private const int MaxIndexerRescueDiagLines = 200; - private const int MaxClassifyGiveupLogLines = 200; - private const int MaxDeleteWhilePendingSkipLogLines = 200; - private const int MaxDeleteBeforeClassifyLogLines = 200; + + // [ClassifyTrace] / [ReclassifyDiag]: a few full lines per kind per session, then counts + // and sample ids in one summary line every ReclassifyIntervalSec (see ObjectDiagLog). Was + // one line per object per attempt (caps 200-5000), ~950 lines for the 2026-10-02 flood. + private readonly ObjectDiagLog _diag; + private const string DeleteBeforeClassify = "DELETE-BEFORE-CLASSIFY"; + private const string HealthAddRescue = "HEALTHADD-RESCUE"; + private const string DeleteWhilePendingSkip = "DELETE-WHILE-PENDING-SKIP"; + private const string ClassifyGiveup = "CLASSIFY-GIVEUP"; + private const string IndexerRescue = "INDEXER-RESCUE"; + private static readonly string[] TraceNotes = + { + "noNamePos", "nopos-creature", "nopos-item", "nopos-retry", "nopos-giveup", + "pos", "attackable->creature", "healthAdd->creature", + }; // ItemType flag constants (AC ITEM_TYPE bitmask) private const uint ItemTypeMeleeWeapon = 0x00000001; @@ -131,8 +145,19 @@ public class WorldObjectCache public WorldObjectCache(RynthCoreHost host) { _host = host; + _diag = new ObjectDiagLog(line => _host.Log(line)); + _diag.Define(DeleteBeforeClassify, "[ReclassifyDiag]", 10, "seenCreate"); + _diag.Define(HealthAddRescue, "[ReclassifyDiag]", 10, "seenCreate", "inLandscape", "inById", "wasSkipped"); + _diag.Define(DeleteWhilePendingSkip, "[ReclassifyDiag]", 10); + _diag.Define(ClassifyGiveup, "[ReclassifyDiag]", 10); + _diag.Define(IndexerRescue, "[ReclassifyDiag]", 20, "seenCreate"); + foreach (string note in TraceNotes) + _diag.Define(note, "[ClassifyTrace]", 0); // detail lines: TraceClassify's own per-uid rule } + /// Summary lines the bounded diagnostics wrote (tests). + internal int DiagSummaryLines => _diag.SummaryLines; + public void SetPlayerId(uint playerId) { lock (_gate) @@ -190,11 +215,11 @@ public class WorldObjectCache // the object. If a respawn never re-fires OnCreateObject (which would // clear this mark), the plugin loses awareness of the uid until the // indexer's lazy lookup is forced (typically by a user click). - if (id >= 0x80000000u && _deleteBeforeClassifyLogCount < MaxDeleteBeforeClassifyLogLines) + if (id >= 0x80000000u) { - _deleteBeforeClassifyLogCount++; bool seenCreate = _seenCreateObject.Contains(id); - _host.Log($"[ReclassifyDiag] 0x{id:X8} DELETE-BEFORE-CLASSIFY seenCreate={(seenCreate ? 1 : 0)}"); + if (_diag.Note(DeleteBeforeClassify, id, seenCreate ? 1 : 0)) + _host.Log($"[ReclassifyDiag] 0x{id:X8} DELETE-BEFORE-CLASSIFY seenCreate={(seenCreate ? 1 : 0)}"); } } if (wasInventory) @@ -227,26 +252,22 @@ public class WorldObjectCache // engine's CreateObject hook never fired for this respawn, yet the server is // sending vitals for it, meaning the mob exists for AC but was invisible to the // plugin until something poked it (typically a user click → QueryHealth response). - if (id >= 0x80000000u && _healthAddLogCount < MaxHealthAddDiagLines) + bool wasSkipped = _reclassifySkipState.Remove(id); // skip state cleared either way + if (id >= 0x80000000u) { - _healthAddLogCount++; - bool wasSkipped = _reclassifySkipState.Remove(id); bool seenCreate = _seenCreateObject.Contains(id); bool inLandscape = _landscape.Contains(sid); bool inById = _byId.ContainsKey(sid); - _host.Log($"[ReclassifyDiag] 0x{id:X8} HEALTHADD-RESCUE ratio={healthRatio:0.00} seenCreate={(seenCreate ? 1 : 0)} inLandscape={(inLandscape ? 1 : 0)} inById={(inById ? 1 : 0)} wasSkipped={(wasSkipped ? 1 : 0)}"); - } - else if (_reclassifySkipState.ContainsKey(id)) - { - // Past the log cap — still clean up skip state so the dict doesn't grow unbounded. - _reclassifySkipState.Remove(id); + int flags = (seenCreate ? 1 : 0) | (inLandscape ? 2 : 0) | (inById ? 4 : 0) | (wasSkipped ? 8 : 0); + if (_diag.Note(HealthAddRescue, id, flags)) + _host.Log($"[ReclassifyDiag] 0x{id:X8} HEALTHADD-RESCUE ratio={healthRatio:0.00} seenCreate={(seenCreate ? 1 : 0)} inLandscape={(inLandscape ? 1 : 0)} inById={(inById ? 1 : 0)} wasSkipped={(wasSkipped ? 1 : 0)}"); } // DIAG: a creature first learned via server health update (the // "aggressive mob self-rescues" path) — NOT via TryClassify. Lets us // correlate a manually-selected mob's id to how/when it entered // _creatures vs. why classification missed it earlier. - TraceClassify(id, true, true, false, 0u, $"healthAdd->creature hr={healthRatio:0.00}"); + TraceClassify(id, true, true, false, 0u, "healthAdd->creature", healthRatio: healthRatio); // If the object was already classified as a Corpse, don't promote it back to Monster. // AC fires health=0 events during the creature→corpse transition; if TryClassify already @@ -295,11 +316,22 @@ public class WorldObjectCache public void Tick() { int pending0; - lock (_gate) pending0 = _pending.Count; + lock (_gate) + { + // Last tick's fast retries get their next attempt now. + while (_retryNext.Count > 0) + _pending.Enqueue(_retryNext.Dequeue()); + pending0 = _pending.Count; + } int processed = 0; + long start = System.Diagnostics.Stopwatch.GetTimestamp(); + long budget = (long)(System.Diagnostics.Stopwatch.Frequency * ClassifyBudgetMs / 1000.0); while (processed < MaxClassifyPerTick) { + if (processed >= MinClassifyPerTick + && System.Diagnostics.Stopwatch.GetTimestamp() - start > budget) + break; uint uid; lock (_gate) { @@ -327,6 +359,7 @@ public class WorldObjectCache _lastReclassifyTime = DateTime.Now; FlushSlowRetry(); ReclassifyUnknownDynamics(); + lock (_gate) _diag.Flush("2 s"); } // Full container scan disabled — causes delayed crash when 160+ items in cache @@ -362,18 +395,33 @@ public class WorldObjectCache // already-computed hasName/hasPos/TryGetItemType). Bounded so one login is // conclusive without flooding. Dynamic (0x8000+) only — that's the // creature/NPC/equipped range the login-mob bug lives in. - private int _classifyTrace; - // Bumped from 500 while the missing-respawn investigation needs coverage of late - // OnCreateObject events (login-burst alone blows the 500 cap in <2s, leaving the - // session blind to anything that spawned later). - private void TraceClassify(uint uid, bool hasName, bool hasPos, bool gotType, uint flags, string note) + // Full trace lines for the first TraceDetailUids dynamic ids of the session, at most + // TraceLinesPerUid each (their first attempt and the next distinct step), so a login still + // shows how individual objects classified. Every attempt is counted by note in the 2 s + // [ClassifyTrace] summary. Was every attempt of every object up to 5000 lines: a create + // flood logged each object up to 10 times (8 same-tick retries), 600 lines in seconds. + private const int TraceDetailUids = 25; + private const int TraceLinesPerUid = 2; + private readonly Dictionary _traceDetail = new(); + + private void TraceClassify(uint uid, bool hasName, bool hasPos, bool gotType, uint flags, string note, + int retry = -1, float healthRatio = -1f) { - if (_classifyTrace >= 5000 || uid < 0x80000000u) return; - _classifyTrace++; + if (uid < 0x80000000u) return; + _diag.Note(note, uid); + if (_traceDetail.TryGetValue(uid, out var seen)) + { + if (seen.Lines >= TraceLinesPerUid || seen.LastNote == note) return; + } + else if (_traceDetail.Count >= TraceDetailUids) + return; + _traceDetail[uid] = (seen.Lines + 1, note); + int atk = -1; try { if (_host.HasObjectIsAttackable) atk = _host.ObjectIsAttackable(uid) ? 1 : 0; } catch { atk = -2; } - _host.Log($"[ClassifyTrace] 0x{uid:X8} name={(hasName ? 1 : 0)} pos={(hasPos ? 1 : 0)} gotType={(gotType ? 1 : 0)} flags=0x{flags:X8} creature={((flags & ItemTypeCreature) != 0 ? 1 : 0)} atk={atk} {note}"); + string extra = retry >= 0 ? $" r={retry}" : healthRatio >= 0f ? $" hr={healthRatio:0.00}" : ""; + _host.Log($"[ClassifyTrace] 0x{uid:X8} name={(hasName ? 1 : 0)} pos={(hasPos ? 1 : 0)} gotType={(gotType ? 1 : 0)} flags=0x{flags:X8} creature={((flags & ItemTypeCreature) != 0 ? 1 : 0)} atk={atk} {note}{extra}"); } private void TryClassify(uint uid) @@ -396,11 +444,8 @@ public class WorldObjectCache // the entity, the delete fired spuriously, or the create-delete-recreate // sequence dropped one create), it sits invisible to the plugin until // an indexer access rescues it. Pairs with DELETE-BEFORE-CLASSIFY. - if (uid >= 0x80000000u && _deleteWhilePendingSkipLogCount < MaxDeleteWhilePendingSkipLogLines) - { - _deleteWhilePendingSkipLogCount++; + if (uid >= 0x80000000u && _diag.Note(DeleteWhilePendingSkip, uid)) _host.Log($"[ReclassifyDiag] 0x{uid:X8} DELETE-WHILE-PENDING-SKIP"); - } return; } @@ -421,35 +466,50 @@ public class WorldObjectCache bool hasName = _host.TryGetObjectName(uid, out string name); bool hasPos = _host.TryGetObjectPosition(uid, out _, out _, out _, out _); - bool looksLikeCorpse = hasPos && IsCorpseName(name); - // Object not accessible yet — retry for any dynamic object (weenie may not be ready) + // A corpse is a corpse whether or not its position is readable yet. This used to + // need hasPos, and a fresh corpse whose name and type (Container) were in the + // engine's identity snapshot before its position was fell to the "nopos-item" + // branch below: filed as an inventory Container, off the landscape, and never + // looked at again (ReclassifyUnknownDynamics only walks the landscape). Your own + // fresh kills hit that most (created next to you, classified at once), so looting + // never saw them while older corpses of other players' kills were found + // (2026-10-03, Dargoth Hera: "Loot All" didn't loot either). Nothing carried + // in a pack is named "Corpse of X", and the weenie's corpse flag says so too. + bool looksLikeCorpse = IsCorpseName(name) || HasCorpseFlag(uid); + if (looksLikeCorpse) + { + FileAsCorpse(id, uid, name); + return; + } + + // Object not accessible yet — retry (weenie may not be ready). Names and + // positions come from the engine's snapshots, so an object created between two + // snapshots reads as neither. That includes static world objects: a portal + // (0x7xxxxxxx) used to be dropped here for good, so it was missing from the + // radar and "/ub usel " until a click looked it up (2026-09-29). if (!hasName && !hasPos) { TraceClassify(uid, hasName, hasPos, false, 0u, "noNamePos"); - if (uid >= 0x80000000u) { int retries = _classifyRetry.TryGetValue(uid, out int r) ? r : 0; if (retries < MaxClassifyRetries) { _classifyRetry[uid] = retries + 1; - _pending.Enqueue(uid); + _retryNext.Enqueue(uid); // retry next tick } else { - // Fast-retry burst exhausted (8 ticks ≈ 10 ms because Tick drains - // 30 pending per pass). Hand off to slow-retry: reset the fast + // Fast-retry burst exhausted (8 ticks, one attempt each). Hand off + // to slow-retry: reset the fast // counter so the next attempt gets a fresh 8 ticks, and park the // uid in _slowRetry. FlushSlowRetry re-enqueues it every // ReclassifyIntervalSec until the engine populates name/position. _classifyRetry.Remove(uid); _slowRetry.Add(uid); - if (_classifyGiveupLogCount < MaxClassifyGiveupLogLines) - { - _classifyGiveupLogCount++; + if (_diag.Note(ClassifyGiveup, uid)) _host.Log($"[ReclassifyDiag] 0x{uid:X8} CLASSIFY-GIVEUP retries={retries} (name+pos unreadable across {MaxClassifyRetries} ticks; parked in slow-retry)"); - } } } return; @@ -465,13 +525,9 @@ public class WorldObjectCache AcObjectClass cls; if (isPackItemGuid || !hasPos) { - if (looksLikeCorpse) - { - cls = AcObjectClass.Corpse; - } // Could be pack item, equipped item on 0x8000 range, or spawning dynamic object // Check item type flags first - else if (_host.TryGetItemType(uid, out uint typeFlags)) + if (_host.TryGetItemType(uid, out uint typeFlags)) { if ((typeFlags & ItemTypeCreature) != 0) { @@ -485,17 +541,17 @@ public class WorldObjectCache } TraceClassify(uid, hasName, hasPos, true, typeFlags, "nopos-item"); - cls = ClassifyByItemType(typeFlags); + cls = ClassifyItem(uid, typeFlags); } else { // No weenie/item-type accessible yet — retry for a few ticks int retries = _classifyRetry.TryGetValue(uid, out int r) ? r : 0; - TraceClassify(uid, hasName, hasPos, false, 0u, retries < MaxClassifyRetries ? $"nopos-retry r={retries}" : "nopos-giveup"); + TraceClassify(uid, hasName, hasPos, false, 0u, retries < MaxClassifyRetries ? "nopos-retry" : "nopos-giveup", retry: retries); if (retries < MaxClassifyRetries) { _classifyRetry[uid] = retries + 1; - _pending.Enqueue(uid); // re-queue + _retryNext.Enqueue(uid); // retry next tick return; } // Gave up retrying — fall through to name heuristics @@ -503,7 +559,10 @@ public class WorldObjectCache cls = ClassifyInventoryItem(name); } - if (cls == AcObjectClass.Corpse) + // Portals are world objects: one created before its position is known + // was filed as inventory here, so nothing searching the landscape (e.g. + // /ub closestportal) could find it (2026-09-28). + if (cls == AcObjectClass.Corpse || cls == AcObjectClass.Portal) { _creatures.Remove(id); _inventory.Remove(id); @@ -517,16 +576,6 @@ public class WorldObjectCache } else { - if (looksLikeCorpse) - { - _classifyRetry.Remove(uid); - _creatures.Remove(id); - _inventory.Remove(id); - _landscape.Add(id); - _byId[id] = Make(id, name, AcObjectClass.Corpse); - return; - } - // Has a position — check if it's actually a creature type (equipped items have 0x8000 GUIDs with positions) bool gotType = _host.TryGetItemType(uid, out uint typeFlags); TraceClassify(uid, hasName, hasPos, gotType, gotType ? typeFlags : 0u, "pos"); @@ -540,12 +589,24 @@ public class WorldObjectCache return; } + // Portals were left as Unknown landscape below, so nothing looking + // for ObjectClass.Portal (/ub closestportal, Lua UsePortal) ever + // found one standing in front of it (2026-09-28). + if ((typeFlags & ItemTypePortal) != 0) + { + _classifyRetry.Remove(uid); + _inventory.Remove(id); + _landscape.Add(id); + _byId[id] = Make(id, name, AcObjectClass.Portal); + return; + } + // Non-creature with a position — could be equipped item on 0x8000 range // or static world object; classify by type flags if ((typeFlags & (ItemTypeMeleeWeapon | ItemTypeMissileWeapon | ItemTypeCaster | ItemTypeArmor | ItemTypeContainer)) != 0) { // Item with a world position = equipped or ground-dropped - cls = ClassifyByItemType(typeFlags); + cls = ClassifyItem(uid, typeFlags); _inventory.Add(id); _landscape.Remove(id); _byId[id] = Make(id, name, cls); @@ -560,7 +621,7 @@ public class WorldObjectCache if (retries < MaxClassifyRetries) { _classifyRetry[uid] = retries + 1; - _pending.Enqueue(uid); + _retryNext.Enqueue(uid); // retry next tick return; } _classifyRetry.Remove(uid); @@ -599,6 +660,38 @@ public class WorldObjectCache } } + // PublicWeenieDesc._bitfield BF_CORPSE (ObjectDescriptionFlag.Corpse). + private const uint BfCorpse = 0x2000; + + /// The weenie's corpse flag (dynamic objects only; false when the engine can't say). + private bool HasCorpseFlag(uint uid) + => uid >= 0x80000000u + && _host.HasGetObjectBitfield + && _host.TryGetObjectBitfield(uid, out uint bf) + && (bf & BfCorpse) != 0; + + /// Files as a landscape Corpse (caller holds _gate). + private void FileAsCorpse(int id, uint uid, string? name) + { + _classifyRetry.Remove(uid); + _creatures.Remove(id); + if (_inventory.Remove(id)) _inventoryDirty = true; + _landscape.Add(id); + _byId[id] = Make(id, name ?? string.Empty, AcObjectClass.Corpse); + } + + // Bounded log for corpses found filed as something else and moved to Corpse. + private int _corpseRescueLogLines; + private const int MaxCorpseRescueLogLines = 20; + + private void LogCorpseRescue(uint uid, string name, AcObjectClass was, string where) + { + if (_corpseRescueLogLines >= MaxCorpseRescueLogLines) return; + _corpseRescueLogLines++; + _host.Log($"[RynthAi] Corpse 0x{uid:X8} '{name}' was filed as {was} ({where}); now a Corpse" + + (_corpseRescueLogLines == MaxCorpseRescueLogLines ? " (further rescues counted only)" : "")); + } + /// /// Re-enqueue every uid that's currently parked in . Pairs /// with the give-up branch of : when an OnCreateObject-then- @@ -622,16 +715,33 @@ public class WorldObjectCache /// any that are now recognised as TYPE_CREATURE. Runs every ~2 seconds from Tick(). /// This rescues creatures whose weenie data wasn't available when they were first classified. /// + // PublicWeenieDesc._bitfield flags (as ExpressionEngine's BF_PLAYER / BF_ATTACKABLE). + private const uint BfPlayer = 0x8, BfAttackable = 0x10; + private void ReclassifyUnknownDynamics() { lock (_gate) { List? toPromote = null; List? toCorpse = null; + List<(int id, string name, AcObjectClass cls)>? statics = null; foreach (int id in _landscape) { uint uid = unchecked((uint)id); - if (uid < 0x80000000u) continue; // static objects never become creatures/corpses + if (uid < 0x80000000u) + { + // Static objects never become creatures/corpses, but one classified before + // its name or type was readable is fixed up here: the name filled in, and + // a portal that read as Unknown becomes a Portal (radar, /ub closestportal). + if (!_byId.TryGetValue(id, out var so) || so.ObjectClass != AcObjectClass.Unknown) continue; + string sName = so.Name; + if (sName.Length == 0 && _host.TryGetObjectName(uid, out string n2) && n2.Length > 0) sName = n2; + AcObjectClass sCls = _host.TryGetItemType(uid, out uint sType) && (sType & ItemTypePortal) != 0 + ? AcObjectClass.Portal : AcObjectClass.Unknown; + if (sName != so.Name || sCls != so.ObjectClass) + (statics ??= new()).Add((id, sName, sCls)); + continue; + } if (!_byId.TryGetValue(id, out var wo)) continue; if (wo.ObjectClass == AcObjectClass.Corpse) continue; // already correct @@ -645,8 +755,8 @@ public class WorldObjectCache // item each pass; IsCorpseName is specific ("X corpse"/"Corpse of X") // so a live mob cannot be misread as a corpse. if ((wo.ObjectClass == AcObjectClass.Monster || wo.ObjectClass == AcObjectClass.Unknown) - && _host.TryGetObjectName(uid, out string maybeCorpse) - && IsCorpseName(maybeCorpse)) + && ((_host.TryGetObjectName(uid, out string maybeCorpse) && IsCorpseName(maybeCorpse)) + || HasCorpseFlag(uid))) { toCorpse ??= new List(); toCorpse.Add(id); @@ -677,6 +787,38 @@ public class WorldObjectCache toPromote.Add(id); } + // Corpses filed as inventory. Before 2026-10-03 a corpse classified while its + // position wasn't readable went to the inventory as a Container (its ItemType) and + // stayed there: invisible to looting for good. TryClassify no longer does that, but + // an object filed before its name or flag was readable still can, so the bags in the + // inventory list (a handful) are re-checked here. Packs we carry aren't corpses. + List<(int id, AcObjectClass was)>? invCorpses = null; + foreach (int id in _inventory) + { + uint uid = unchecked((uint)id); + if (uid < 0x80000000u) continue; + if (!_byId.TryGetValue(id, out var wo)) continue; + if (wo.ObjectClass != AcObjectClass.Container && wo.ObjectClass != AcObjectClass.Unknown) continue; + if (IsCorpseName(wo.Name) + || (_host.TryGetObjectName(uid, out string invName) && IsCorpseName(invName)) + || HasCorpseFlag(uid)) + (invCorpses ??= new()).Add((id, wo.ObjectClass)); + } + if (invCorpses != null) + { + foreach (var (id, was) in invCorpses) + { + uint uid = unchecked((uint)id); + string n = _host.TryGetObjectName(uid, out string nn) && nn.Length > 0 ? nn : _byId[id].Name; + FileAsCorpse(id, uid, n); + LogCorpseRescue(uid, n, was, "inventory, no position when classified"); + } + } + + if (statics != null) + foreach (var (id, name, cls) in statics) + _byId[id] = Make(id, name, cls); + if (toCorpse != null) { foreach (int id in toCorpse) @@ -703,12 +845,25 @@ public class WorldObjectCache if (toPromote == null) return; + uint selfId = _host.GetPlayerId(); foreach (int id in toPromote) { uint uid = unchecked((uint)id); _host.TryGetObjectName(uid, out string name); - _creatures.Add(id); - _byId[id] = Make(id, name ?? string.Empty, AcObjectClass.Monster); + // Players are creatures too: under the Decal bridge more objects arrive before their + // type is readable and come through here, and the character and other players were + // promoted to Monster (Lucy listed herself in the Monsters tab, 2026-10-01). The + // weenie bitfield says player (0x8) or not attackable (0x10 clear = NPC). + AcObjectClass cls = AcObjectClass.Monster; + if (uid == selfId) + cls = AcObjectClass.Player; + else if (_host.HasGetObjectBitfield && _host.TryGetObjectBitfield(uid, out uint bf)) + { + if ((bf & BfPlayer) != 0) cls = AcObjectClass.Player; + else if ((bf & BfAttackable) == 0) cls = AcObjectClass.Npc; + } + if (cls == AcObjectClass.Monster) _creatures.Add(id); + _byId[id] = Make(id, name ?? string.Empty, cls); _reclassifySkipState.Remove(uid); // diagnostic state cleared on success } @@ -754,6 +909,14 @@ public class WorldObjectCache // Patch empty name on access if (wo.Name.Length == 0 && _host.TryGetObjectName(unchecked((uint)id), out string n) && n.Length > 0) { + // A corpse stored before its name was readable becomes a Corpse here. + if (wo.ObjectClass != AcObjectClass.Corpse && IsCorpseName(n)) + { + AcObjectClass was = wo.ObjectClass; + FileAsCorpse(id, unchecked((uint)id), n); + LogCorpseRescue(unchecked((uint)id), n, was, "named late"); + return _byId[id]; + } wo = Make(id, n, wo.ObjectClass); _byId[id] = wo; } @@ -768,7 +931,7 @@ public class WorldObjectCache return null; bool isPackItemGuid = uid >= 0xC0000000u; - bool looksLikeCorpse = hasPos && IsCorpseName(name); + bool looksLikeCorpse = IsCorpseName(name) || HasCorpseFlag(uid); // position not needed (see TryClassify) AcObjectClass cls; if (looksLikeCorpse) { @@ -788,15 +951,15 @@ public class WorldObjectCache // queries qualities → TYPE_CREATURE finally readable → bot sees the // mob" path. seenCreate=0 here is the strongest signal that the // engine's CreateObject hook missed this respawn entirely. - if (uid >= 0x80000000u && _indexerRescueLogCount < MaxIndexerRescueDiagLines) + if (uid >= 0x80000000u) { - _indexerRescueLogCount++; bool seenCreate = _seenCreateObject.Contains(uid); - _host.Log($"[ReclassifyDiag] 0x{uid:X8} INDEXER-RESCUE name='{name}' flags=0x{typeFlags:X8} seenCreate={(seenCreate ? 1 : 0)}"); + if (_diag.Note(IndexerRescue, uid, seenCreate ? 1 : 0)) + _host.Log($"[ReclassifyDiag] 0x{uid:X8} INDEXER-RESCUE name='{name}' flags=0x{typeFlags:X8} seenCreate={(seenCreate ? 1 : 0)}"); } } else - cls = ClassifyByItemType(typeFlags); + cls = ClassifyItem(uid, typeFlags); } else if (isPackItemGuid || !hasPos) cls = ClassifyInventoryItem(name); @@ -832,6 +995,16 @@ public class WorldObjectCache return _host.TryGetObjectIntProperty(uid, stype, out int v) ? v : defaultValue; } + /// + /// Read an STypeDID property (e.g. a scroll's Spell 28 from its CreateObject header). + /// 0 if the API is unavailable or the property is not set. + /// + public uint GetDataIdProperty(int id, uint stype) + { + try { return _host.TryGetObjectDataIdProperty(unchecked((uint)id), stype, out uint v) ? v : 0; } + catch { return 0; } + } + /// /// Read an STypeFloat property from an object via CBaseQualities::InqFloat. /// Returns defaultValue if the API is unavailable or the property is not set. @@ -910,6 +1083,31 @@ public class WorldObjectCache return double.IsFinite(d) ? d : double.MaxValue; } + /// + /// from a position the caller already read (cell + landblock-local + /// x/y/z, e.g. the player's, once per scan) to object , with the same + /// math and the same MaxValue for an unreadable or non-finite position. + /// // return the object's + /// position as read (landblock-local) so the caller needn't read it again. + /// + public double DistanceFrom(uint cell1, float x1, float y1, float z1, int id2, out bool hasPos, out float x2, out float y2) + { + hasPos = _host.TryGetObjectPosition(unchecked((uint)id2), out uint cell2, out x2, out y2, out float z2); + if (!hasPos) + return double.MaxValue; + + float gx1 = ((cell1 >> 24) & 0xFF) * 192f + x1; + float gy1 = ((cell1 >> 16) & 0xFF) * 192f + y1; + float gx2 = ((cell2 >> 24) & 0xFF) * 192f + x2; + float gy2 = ((cell2 >> 16) & 0xFF) * 192f + y2; + + float dx = gx1 - gx2; + float dy = gy1 - gy2; + float dz = z1 - z2; + double d = Math.Sqrt(dx * dx + dy * dy + dz * dz); + return double.IsFinite(d) ? d : double.MaxValue; + } + /// Enumerate objects in player's inventory (no physics position). public IEnumerable GetInventory() { @@ -1060,13 +1258,100 @@ public class WorldObjectCache // forceRefresh — the dequip paths gate an AV-risky move, so must not read a // stale cache before the move. var inv = cache.GetDirectInventory(forceRefresh: true); - return FindPackFor(inv, playerId, includeMainPack, requireFree); + return FindPackFor(inv, playerId, includeMainPack, requireFree, host); } + /// + /// The player is wielding . The cached CurrentWieldedLocation / + /// EquippedSlots can read 0 for a wielded weapon (2026-09-28: a Longbow in hand read + /// 0, so the wand swap never stowed it and retried forever with a full pack), so a + /// 0 falls back to the live wielder info. + /// + public static bool IsWieldedByPlayer(RynthCoreHost host, WorldObject wo) + { + if (wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0) return true; + if (wo.Values(LongValueKey.EquippedSlots, 0) != 0) return true; + if (!host.HasGetObjectWielderInfo) return false; + uint pid = host.GetPlayerId(); + return pid != 0 + && host.TryGetObjectWielderInfo(unchecked((uint)wo.Id), out uint wielder, out _) + && wielder == pid; + } + + /// + /// Arrows, quarrels and darts. AC files ammo as a missile weapon, so the "put the bow + /// away before the wand" lookups picked the wielded arrows when they came first and + /// took them off instead of the bow (2026-09-29). Slot bits when known, else the name. + /// + public static bool IsAmmo(WorldObject wo) + { + const int MissileAmmoSlot = 0x00800000; + if ((wo.Values(LongValueKey.Locations, 0) & MissileAmmoSlot) != 0) return true; + if ((wo.Values(LongValueKey.CurrentWieldedLocation, 0) & MissileAmmoSlot) != 0) return true; + // Never a launcher: a weapon whose name happens to say "bolt" must still be put away. + string n = wo.Name ?? ""; + if (n.IndexOf("crossbow", StringComparison.OrdinalIgnoreCase) >= 0 + || n.TrimEnd().EndsWith("bow", StringComparison.OrdinalIgnoreCase)) return false; + return AmmoRecipes.IsLooseAmmoName(n, WeaponCategory.Bow) + || AmmoRecipes.IsLooseAmmoName(n, WeaponCategory.Crossbow) + || AmmoRecipes.IsLooseAmmoName(n, WeaponCategory.Atlatl); + } + + private static bool IsWieldable(WorldObject wo) => + wo.ObjectClass == AcObjectClass.MeleeWeapon + || wo.ObjectClass == AcObjectClass.MissileWeapon + || wo.ObjectClass == AcObjectClass.WandStaffOrb; + + /// + /// Free item slots the player has: the main pack (102) plus every side pack. -1 when a + /// side pack's capacity isn't known yet (callers then don't act on a guess). + /// + public static int CountFreeItemSlots(RynthCoreHost host, WorldObjectCache? cache) + { + if (cache == null) return -1; + int playerId = unchecked((int)host.GetPlayerId()); + if (playerId == 0) return -1; + var inv = cache.GetDirectInventory(forceRefresh: false); + int mainUsed = 0, sideFree = 0; + foreach (var p in inv) + { + if (p.Container != playerId) continue; + if (p.ObjectClass == AcObjectClass.Foci) continue; + if (p.ObjectClass != AcObjectClass.Container) + { + if (p.Values(LongValueKey.EquippedSlots, 0) != 0) continue; + if (IsWieldable(p) && IsWieldedByPlayer(host, p)) continue; + mainUsed++; + continue; + } + if (!string.IsNullOrEmpty(p.Name) && p.Name.IndexOf("Foci", StringComparison.OrdinalIgnoreCase) >= 0) continue; + int capacity = p.Values(LongValueKey.ItemsCapacity, 0); + if (capacity <= 0) return -1; + int used = 0; + foreach (var it in inv) + if (it.Container == p.Id && it.ObjectClass != AcObjectClass.Container) used++; + sideFree += Math.Max(0, capacity - used); + } + return Math.Max(0, 102 - mainUsed) + sideFree; + } + + private static DateTime _packFullWarnedAt = DateTime.MinValue; + + /// A chat warning that a full pack blocks something, at most once every 5 minutes. + public static void WarnPackFull(RynthCoreHost host, string what) + { + if ((DateTime.Now - _packFullWarnedAt).TotalMinutes < 5) return; + _packFullWarnedAt = DateTime.Now; + host.WriteToChat($"[RynthAi] Pack full: {what}. Free a slot (salvage, sell or drop); looting keeps {LootReserveFreeSlots} slots free.", 2); + } + + /// The looter stops picking items up below this many free slots, so weapon swaps always have room. + public const int LootReserveFreeSlots = 2; + // Snapshot overload — caller supplies an already-built inventory list (AutoCram // reuses its single per-tick GetDirectInventory snapshot here; do NOT re-refresh). public static int FindPackFor(IReadOnlyList inv, int playerId, - bool includeMainPack, int requireFree) + bool includeMainPack, int requireFree, RynthCoreHost? host = null) { if (inv == null || playerId == 0) return 0; if (requireFree < 1) requireFree = 1; @@ -1080,7 +1365,8 @@ public class WorldObjectCache // NOT the 102 item slots, so they're excluded from this count. if (p.ObjectClass != AcObjectClass.Container && p.ObjectClass != AcObjectClass.Foci - && p.Values(LongValueKey.EquippedSlots, 0) == 0) + && p.Values(LongValueKey.EquippedSlots, 0) == 0 + && !(host.HasValue && IsWieldable(p) && IsWieldedByPlayer(host.Value, p))) mainUsed++; if (p.ObjectClass != AcObjectClass.Container) continue; // Skip foci — technically containers but reserved for spell components. @@ -1108,6 +1394,30 @@ public class WorldObjectCache return mainFree > 0 ? playerId : 0; } + /// + /// Where a looted item goes: the main pack while it has a free slot, else the side pack + /// with the most room, 0 when nothing has room. The pickup used to be a UseObject, which + /// let the client pick the spot, but a use on a wearable item lying in a corpse is a + /// get-and-wield: jewellery for an empty slot went straight onto the character + /// (2026-10-02). A move needs an explicit target, and the engine refuses a move into a + /// full pack of ours, so this finds one with room. + /// + public static int FindLootDestination(IReadOnlyList inv, int playerId, RynthCoreHost? host = null) + { + if (inv == null || playerId == 0) return 0; + int mainUsed = 0; // same tally as FindPackFor + foreach (var p in inv) + { + if (p.Container != playerId) continue; + if (p.ObjectClass == AcObjectClass.Container || p.ObjectClass == AcObjectClass.Foci) continue; + if (p.Values(LongValueKey.EquippedSlots, 0) != 0) continue; + if (host.HasValue && IsWieldable(p) && IsWieldedByPlayer(host.Value, p)) continue; + mainUsed++; + } + if (102 - mainUsed > 0) return playerId; + return FindPackFor(inv, playerId, includeMainPack: false, requireFree: 1, host); + } + /// /// Re-reads the name and item type of an object stored with a blank name or an Unknown /// class, and replaces its entry when either improved. Corpse items are usually created @@ -1131,7 +1441,7 @@ public class WorldObjectCache if (needClass) { if (_host.TryGetItemType(uid, out uint flags) && (flags & ItemTypeCreature) == 0) - cls = ClassifyByItemType(flags); + cls = ClassifyItem(uid, flags); if (cls == AcObjectClass.Unknown && name.Length > 0) cls = ClassifyInventoryItem(name); } @@ -1150,6 +1460,93 @@ public class WorldObjectCache } } + /// + /// Re-reads the item type of and replaces its entry when the type + /// gives a different class. An object first seen before its type was known is classed by + /// its name, and RefreshIdentity only revisits Unknown ones, so a guess stuck: a quest + /// axe without "Axe" in its name (Silifi, Tungi, Ono...) was "not a weapon" when added to + /// the Items list (2026-10-03). Returns the entry to use (null when not cached). + /// + public WorldObject? ReclassifyFromItemType(int id) + { + WorldObject? wo; + lock (_gate) _byId.TryGetValue(id, out wo); + if (wo == null) return null; + bool typed = _host.TryGetItemType(unchecked((uint)id), out uint flags); + if (typed && (flags & ItemTypeCreature) != 0) + return wo; + AcObjectClass cls = typed ? ClassifyByItemType(flags) : AcObjectClass.Unknown; + // Custom content can carry a non-weapon item type on something wielded as a weapon + // (a Driftwarden Greataxe, 2026-10-03): its weapon slot or weapon skill decides. + if (cls != AcObjectClass.MeleeWeapon && cls != AcObjectClass.MissileWeapon && cls != AcObjectClass.WandStaffOrb) + { + AcObjectClass bySlot = WeaponClassFromSlot(unchecked((uint)id)); + if (bySlot != AcObjectClass.Unknown) cls = bySlot; + } + if (cls == AcObjectClass.Unknown || cls == wo.ObjectClass) + return wo; + + lock (_gate) + { + if (!_byId.TryGetValue(id, out var current) || !ReferenceEquals(current, wo)) + return current ?? wo; + var fresh = Make(id, wo.Name, cls); + fresh._wieldedLocationDirect = wo._wieldedLocationDirect; + fresh._directContainerId = wo._directContainerId; + fresh._directSlot = wo._directSlot; + fresh.Overlay = wo.Overlay; + _byId[id] = fresh; + return fresh; + } + } + + // ValidLocations (STypeInt 9) weapon slots and WeaponSkill (STypeInt 48). + private const int ValidLocationsInt = 9, WeaponSkillInt = 48; + private const uint SlotMeleeWeapon = 0x00100000, SlotMissileWeapon = 0x00400000, SlotTwoHanded = 0x02000000; + + /// ClassifyByItemType, except that an item typed Misc (or nothing) which fits a + /// weapon slot is a weapon: custom content does this (see ReclassifyFromItemType). + private AcObjectClass ClassifyItem(uint uid, uint flags) + { + AcObjectClass cls = ClassifyByItemType(flags); + // A writable that carries a spell (data id 28) or is named "Scroll ..." is a Scroll, as in + // Decal/VTank, so metas, AutoVendor and loot rules all see "Scroll" (owner, 2026-10-04). + // Other writables (books, notes, journals) stay Book. + if (cls == AcObjectClass.Book && IsSpellScroll(uid)) return AcObjectClass.Scroll; + if (cls == AcObjectClass.Misc || cls == AcObjectClass.Unknown) + { + AcObjectClass bySlot = WeaponClassFromSlot(uid); + if (bySlot != AcObjectClass.Unknown) return bySlot; + } + return cls; + } + + private const uint DataIdSpell = 28; + + private bool IsSpellScroll(uint uid) + { + if (_host.TryGetObjectDataIdProperty(uid, DataIdSpell, out uint spell) && spell != 0) return true; + return _host.TryGetObjectName(uid, out string name) + && name.StartsWith("Scroll", StringComparison.OrdinalIgnoreCase); + } + + /// The weapon class an item's equip slot implies (Unknown when it has no weapon slot). + /// A weapon skill with no slot known reads as melee. + private AcObjectClass WeaponClassFromSlot(uint id) + { + if (!_host.HasGetObjectIntProperty) return AcObjectClass.Unknown; + if (_host.TryGetObjectIntProperty(id, ValidLocationsInt, out int slots) && slots != 0) + { + uint s = unchecked((uint)slots); + if ((s & SlotMissileWeapon) != 0) return AcObjectClass.MissileWeapon; + if ((s & (SlotMeleeWeapon | SlotTwoHanded)) != 0) return AcObjectClass.MeleeWeapon; + return AcObjectClass.Unknown; + } + if (_host.TryGetObjectIntProperty(id, WeaponSkillInt, out int skill) && skill > 0) + return AcObjectClass.MeleeWeapon; + return AcObjectClass.Unknown; + } + public IEnumerable GetContainedItems(int containerId) { if (containerId == 0) @@ -1523,7 +1920,7 @@ public class WorldObjectCache if (_host.TryGetItemType(uid, out uint flags)) { isContainer = (flags & ItemTypeContainer) != 0; - cls = ClassifyByItemType(flags); + cls = ClassifyItem(uid, flags); } if (cls == AcObjectClass.Unknown) @@ -1579,7 +1976,7 @@ public class WorldObjectCache public (int Total, int Creatures, int Inventory, int Landscape, int Pending) GetStats() { lock (_gate) - return (_byId.Count, _creatures.Count, _inventory.Count, _landscape.Count, _pending.Count); + return (_byId.Count, _creatures.Count, _inventory.Count, _landscape.Count, _pending.Count + _retryNext.Count); } // ── Factory ─────────────────────────────────────────────────────────── @@ -1654,7 +2051,13 @@ public class WorldObjectCache ContainsAny(name, "Sword", "Falchion", "Axe", "Mace", "Spear", "Dagger", "Katar", "Claw", "Club", "Hammer", "Blade", "Knife", "Lance", "Rapier", "Scimitar", "Estoc", "Cleaver", - "Flail", "Maul", "Glaive", "Halberd", "Pike", "Trident"); + "Flail", "Maul", "Glaive", "Halberd", "Pike", "Trident", + // retail names without one of the words above (quest weapons often use these) + "Hatchet", "Silifi", "Tungi", "Shou-ono", "Dolabra", "Lugian Hammer", "Kasrullah", + "Nabut", "Jitte", "Yaoji", "Tachi", "Takuba", "Shamshir", "Kaskara", + "Flamberge", "Jambiya", "Khanjar", "Kukri", "Poniard", "Stiletto", "Cestus", + "Nekode", "Bastone", "Tofun", "Morning Star", "Partizan", "Spadone", "Yari", + "Budiaq", "Naginata", "Quarterstaff", "Bardiche", "Assagai"); private static bool IsClothing(string name) => ContainsAny(name, "Coat", "Shirt", "Smock", "Pants", "Pantaloons", "Trousers", diff --git a/Plugins/RynthCore.Plugin.RynthAi/CorpseOpenController.cs b/Plugins/RynthCore.Plugin.RynthAi/CorpseOpenController.cs index 727046b..3a38212 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/CorpseOpenController.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/CorpseOpenController.cs @@ -5,6 +5,7 @@ using System.Linq; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.Plugin.RynthAi.Loot; using RynthCore.Loot.VTank; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -42,6 +43,8 @@ public sealed partial class RynthAiPlugin private long _busyCountBecamePositiveAt; // when count first went 0→positive private const long BUSY_TIMEOUT_MS = 10_000; // safety: force-clear if stuck >10s private const long NameWaitMs = 3_000; // extra wait past the assess window for a corpse item's name + private const long AppraisalWaitMs = 3_000; // extra wait past the assess window for an item's appraisal + private const long AppraisalHoldTimeoutMarginMs = 1_000; // stop holding this long before the corpse timeout // Wedge detection: when AC's item-action state locks up (server-side, e.g. // after a corpse pile is opened too fast), EVERY corpse open times out. @@ -66,9 +69,17 @@ public sealed partial class RynthAiPlugin // re-evaluation pass. private readonly HashSet _pendingManaStoneIds = new(); + // Keep # (KeepUpTo) rules: items approved on this corpse per rule, with their + // stack size, not yet counted in the pack. Same idea as _pendingManaStoneIds. + private readonly Dictionary> _pendingKeepUpTo = new(); + // Same idea for ManaTap candidates: tracks items approved this corpse // session so we don't approve more than the available empty-stone slots. private readonly HashSet _pendingManaTapIds = new(); + + // Action label of an item looted only so ManaStoneManager can drain it. A pickup + // with this label is recorded in ManaStoneManager, whose drain touches nothing else. + private const string ManaTapActionLabel = "ManaTap"; private int _targetCorpseId; private int _currentLootItemId; private long _corpseTargetSince; @@ -246,6 +257,15 @@ public sealed partial class RynthAiPlugin } if (_corpseIdRequested.Count > 200) _corpseIdRequested.Clear(); + if (_corpseSkipLogged.Count > 200) + _corpseSkipLogged.Clear(); + if (_corpseWaitingSince.Count > 200) + { + var old = new List(); + foreach (var kvp in _corpseWaitingSince) + if (now - kvp.Value > 10 * 60_000 || _completedCorpses.ContainsKey(kvp.Key)) old.Add(kvp.Key); + foreach (int id in old) _corpseWaitingSince.Remove(id); + } // _corpseCooldownUntil — remove expired entries var expiredCooldowns = new List(); @@ -294,7 +314,7 @@ public sealed partial class RynthAiPlugin { _processedCorpseItems.Clear(); _corpseItemAttempts.Clear(); - _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); + _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); _pendingKeepUpTo.Clear(); } LootDiag($"[RynthAi] Corpse loot: opened container 0x{objectId:X8}."); _consecutiveLootTimeouts = 0; // a successful open proves AC is responsive again @@ -437,11 +457,15 @@ public sealed partial class RynthAiPlugin // ── Combat takes priority over claiming NEW corpses ─────────────── // But if we already have an opened container, finish looting it // (no movement, no conflict with combat). + // Exception: loot starvation (see LootStarveMs) - the arbiter gave this tick to + // Looting because a corpse waited too long and no monster is close. if (settings.EnableCombat && _combatManager?.HasTargets == true && !settings.BoostLootPriority + && !_lootStarveTurn && _openedContainerId == 0) { + LogCorpsesHeldByCombat(); FreezeCorpseTimeout(CorpseNowMs); return; // Keep our target, just wait — don't ResetCorpseTarget } @@ -468,6 +492,11 @@ public sealed partial class RynthAiPlugin long now = CorpseNowMs; if (_targetCorpseId == 0) { + // Same gate as HasLootWork: this claim runs every tick whatever the arbiter + // decided, so without it a full pack still claimed the next corpse. + if (IsLootingBlockedByPack(settings)) + return; + if (!TryFindNearestCorpse(maxMeters, out WorldObject? corpse, out _)) { // No corpses in range. STEP 4: nothing to release. The "Looting" @@ -484,10 +513,27 @@ public sealed partial class RynthAiPlugin _targetCorpseId = corpse.Id; _corpseTargetSince = now; _lastCorpseOpenAttemptAt = 0; + _lastOpenAttemptCorpseId = 0; // a new claim: no open sent for it yet LootDiag($"[RynthAi] Corpse loot: claimed corpse target 0x{(uint)corpse.Id:X8}."); PauseNavigationForCorpse(); } + // A claim can be tentative: the killer is unknown until the corpse's ID lands. + // Once it says the corpse isn't ours to loot, drop the claim instead of walking + // over and firing opens the server refuses until the 12 s timeout (which also + // fed the loot-wedge counter). TryFindNearestCorpse then skips it as usual. + WorldObject? claimedCorpse = _objectCache[_targetCorpseId]; + if (claimedCorpse != null && claimedCorpse.ObjectClass == AcObjectClass.Corpse) + { + CorpseLootDecision claimDecision = EvaluateCorpseLootDecision(claimedCorpse); + if (!claimDecision.ShouldLoot) + { + LootDiag($"[RynthAi] Corpse loot: dropping claim on 0x{(uint)_targetCorpseId:X8} — killer='{claimDecision.KillerName}' mode='{claimDecision.ModeName}' reason='{claimDecision.Reason}'"); + ResetCorpseTarget(); + return; + } + } + if (HasCorpseTimedOut(settings, now)) { AbandonCurrentCorpse(now, "timeout"); @@ -518,9 +564,21 @@ public sealed partial class RynthAiPlugin return; } + // Farther than reach: just use the corpse. The server walks the character to it and turns + // it (as a player's double-click does); steering there ourselves looked awkward and + // turned slowly (owner, 2026-10-04). Our own movement stays off so it can't cancel that + // walk, and the use is re-sent only after about the walk's time, not every 500 ms + // (each re-send restarts the server's walk). if (distanceMeters > minMeters) { - ApproachCorpse(_targetCorpseId); + StopCorpseMovement(); + long walkMs = (long)(distanceMeters / FarOpenWalkMetersPerSec * 1000.0) + FarOpenSlackMs; + if (_lastCorpseOpenAttemptAt == 0 || now - _lastCorpseOpenAttemptAt >= walkMs) + { + if (_busyCount > 0 && now - _lastCorpseOpenAttemptAt < OpenBusyWaitMaxMs) return; + AttemptOpenCorpse(_targetCorpseId); + _lastCorpseOpenAttemptAt = now; + } return; } @@ -557,6 +615,9 @@ public sealed partial class RynthAiPlugin // already zeroed the phantom count and the open proceeds cleanly. Was 8000ms, which // cost ~8s of dead time per corpse whenever a cast had leaked the busy count. private const long OpenBusyWaitMaxMs = 2500; + // Far corpse: the server walks us there (running ~4 m/s; slack for the turn and the open). + private const double FarOpenWalkMetersPerSec = 3.0; + private const long FarOpenSlackMs = 1500; private bool ShouldDriveCorpseOpening(LegacyUiSettings settings) { @@ -573,7 +634,8 @@ public sealed partial class RynthAiPlugin // since that involves no movement and doesn't conflict with combat. if (settings.EnableCombat && _combatManager?.HasTargets == true - && !settings.BoostLootPriority) + && !settings.BoostLootPriority + && !_lootStarveTurn) { if (_openedContainerId == 0) return false; @@ -1035,7 +1097,17 @@ public sealed partial class RynthAiPlugin pendingDataCount++; continue; } - // Timed out but we have a name — fall through and classify best-effort. + // The ID often lands after the assess window (about 350 ms in the live + // logs against a 200 ms window). Judged before it, every stat reads 0, a + // stat rule fails and the item was marked processed and left for good. + // Keep holding it for AppraisalWaitMs, but never into the corpse timeout. + if (now - _corpseIdsRequestedAt < Math.Max(100, settings.LootAssessWindowMs) + AppraisalWaitMs + && now - _corpseTargetSince < GetCorpseTimeoutMs(settings) - AppraisalHoldTimeoutMarginMs) + { + pendingDataCount++; + continue; + } + // Still no appraisal — fall through and classify best-effort. } // Evaluate against loot profile — pure classification, no UseObject. @@ -1100,31 +1172,41 @@ public sealed partial class RynthAiPlugin if (_busyCount > 0 && !assessTimedOut) return; + // Keep room for weapon swaps: with a full pack the bow can't be put away to + // switch to the wand, so buffs and spell heals stop (2026-09-28 death). Leave + // the corpse rather than filling the last slots; -1 = side-pack capacity unknown. + int freeSlots = WorldObjectCache.CountFreeItemSlots(Host, _objectCache); + if (freeSlots >= 0 && freeSlots < WorldObjectCache.LootReserveFreeSlots) + { + LootDiag($"[RynthAi] Corpse loot: skipping '{matchItemName}' on 0x{(uint)corpseId:X8} — {freeSlots} free slot(s), keeping {WorldObjectCache.LootReserveFreeSlots} for weapon swaps."); + WorldObjectCache.WarnPackFull(Host, $"looting paused with {freeSlots} free slot(s) so weapon swaps still work"); + MarkCorpseCompleted(corpseId); + return; + } + ChatLine($"[RynthAi] Loot rule: {matchItemName} -> [{matchActionLabel}] {matchRuleLabel}"); _currentLootItemId = firstMatchId; Host.SelectItem(unchecked((uint)firstMatchId)); - LootDiag($"[RynthAi] Corpse loot: using 0x{(uint)firstMatchId:X8} '{matchItemName}' from corpse 0x{(uint)corpseId:X8}."); + LootDiag($"[RynthAi] Corpse loot: picking up 0x{(uint)firstMatchId:X8} '{matchItemName}' from corpse 0x{(uint)corpseId:X8}."); - // Jump-loot: jump before MoveItemExternal to cancel the pickup animation. + // Jump-loot: jump before the move to cancel the pickup animation. // Only jump when multiple items remain (single-item: no animation worth cancelling). // Guards: needs both hooks, stamina > 5 to cover the cost. - bool moved; int remainingItems = visibleItemCount - _processedCorpseItems.Count; bool useJumpLoot = settings.LootJumpEnabled && Host.HasJumpNonAutonomous && Host.HasMoveItemExternal && _vitals.CurrentStamina > 5; - if (useJumpLoot) - { - if (remainingItems > 1) - Host.JumpNonAutonomous(Math.Clamp(settings.LootJumpHeight / 100f, 0.01f, 1f)); - moved = Host.MoveItemExternal(unchecked((uint)firstMatchId), _playerId, 0); - } - else - { - moved = Host.UseObject(unchecked((uint)firstMatchId)); - } + if (useJumpLoot && remainingItems > 1) + Host.JumpNonAutonomous(Math.Clamp(settings.LootJumpHeight / 100f, 0.01f, 1f)); + + // Always a move into a pack, never a use: a use on a wearable corpse item is + // get-and-wield, which put salvage jewellery on the character (2026-10-02). + LootPickupResult pickup = SendLootPickup(firstMatchId, matchItemName, corpseId); + if (pickup == LootPickupResult.NoRoom || pickup == LootPickupResult.Refused) + return; + bool moved = pickup == LootPickupResult.Moved || pickup == LootPickupResult.Used; if (!moved) { @@ -1140,6 +1222,21 @@ public sealed partial class RynthAiPlugin _lastLootActionAt = now; return; } + // Record a loot-for-tap pickup as soon as it is sent: several resets (busy + // force-clear, corpse closed or reopened) drop the pending pickup without + // confirming it, and the item may still land in the pack. If it never + // does, ManaStoneManager prunes the id. + if (matchActionLabel == ManaTapActionLabel) + _manaStoneManager?.MarkLootedForTap(firstMatchId); + // Same for salvage: the confirm below can be lost the same ways, and an + // unconfirmed salvage item used to sit in the pack for good. The salvage + // manager's sweep queues it once it shows up in the pack. + if (matchIsSalvage) + _salvageManager?.NoteLootedForSalvage(unchecked((uint)firstMatchId), matchItemName); + // Read (the built-in learn rule, or a loot profile's Read action): read it once it + // is in the pack. Noted on send for the same reason as salvage above. + if (matchActionLabel == ScrollLearner.ReadAction) + _scrollLearner?.NoteLooted(firstMatchId, matchItemName, fromProfile: matchRuleLabel != ScrollLearner.RuleLabel); _currentLootItemMovePending = true; _currentLootItemMoveRequestedAt = now; _currentLootItemMoveAttempts = 1; @@ -1203,7 +1300,10 @@ public sealed partial class RynthAiPlugin return; // Client is busy — don't queue retry Host.SelectItem(unchecked((uint)_currentLootItemId)); - bool retried = Host.UseObject(unchecked((uint)_currentLootItemId)); + LootPickupResult retry = SendLootPickup(_currentLootItemId, _currentLootItemName, _openedContainerId); + if (retry == LootPickupResult.NoRoom || retry == LootPickupResult.Refused) + return; // SendLootPickup finished the item / corpse + bool retried = retry == LootPickupResult.Moved || retry == LootPickupResult.Used; _currentLootItemMoveAttempts++; _currentLootItemMoveRequestedAt = now; _lastLootActionAt = now; @@ -1248,6 +1348,34 @@ public sealed partial class RynthAiPlugin return false; } + /// + /// Sends the pickup for a corpse item (: a move into a pack, + /// never a use). NoRoom finishes the corpse like the free-slot check does; Refused + /// leaves the item. Both reset the current item, so the caller just returns. + /// + private LootPickupResult SendLootPickup(int itemId, string itemName, int corpseId) + { + LootPickupResult r = LootPickup.Send(Host, _objectCache, unchecked((uint)itemId), _playerId, out uint dest); + switch (r) + { + case LootPickupResult.Moved: + LootDiag($"[RynthAi] Corpse loot: moving 0x{(uint)itemId:X8} '{itemName}' into {(dest == _playerId ? "the main pack" : $"pack 0x{dest:X8}")}."); + break; + case LootPickupResult.NoRoom: + LootDiag($"[RynthAi] Corpse loot: no pack has a free slot for '{itemName}' on 0x{(uint)corpseId:X8}; leaving the corpse."); + WorldObjectCache.WarnPackFull(Host, "looting stopped, no pack has a free slot"); + ResetCurrentLootItem(); + MarkCorpseCompleted(corpseId); + break; + case LootPickupResult.Refused: + LootDiag($"[RynthAi] Corpse loot: leaving '{itemName}' 0x{(uint)itemId:X8} — the engine has no move call and a use would put it on."); + _processedCorpseItems.Add(itemId); + ResetCurrentLootItem(); + break; + } + return r; + } + private void ConfirmCurrentLootItemMoved(long now, string reason) { if (_currentLootItemId == 0) @@ -1261,6 +1389,10 @@ public sealed partial class RynthAiPlugin if (_currentLootItemIsSalvage) _salvageManager?.EnqueueItem(unchecked((uint)_currentLootItemId)); + // Refresh the loot-for-tap record so its arrival grace counts from now. + if (_currentLootItemActionLabel == ManaTapActionLabel) + _manaStoneManager?.MarkLootedForTap(_currentLootItemId); + ResetCurrentLootItem(); _lastLootActionAt = now; } @@ -1286,12 +1418,23 @@ public sealed partial class RynthAiPlugin /// private bool HasLootWork(LegacyUiSettings settings, long nowMs) { + _lootStarved = false; if (!settings.IsMacroRunning || !settings.EnableLooting) return false; // Already committed to a body, or mid-loot with the container open. if (_openedContainerId != 0 || _targetCorpseId != 0 || _corpseAutorunActive) + { + int current = _targetCorpseId != 0 ? _targetCorpseId : _openedContainerId; + _lootStarved = current != 0 + && _corpseWaitingSince.TryGetValue(current, out long since) + && CorpseNowMs - since >= LootStarveMs; return true; + } + + // No room anywhere: don't start on another corpse (IsPackFull says so once in chat). + if (IsLootingBlockedByPack(settings)) + return false; // Loot grace: combat just ended and the corpse CreateObject has not // arrived yet. Hold Looting across that gap so nav doesn't walk away @@ -1306,6 +1449,14 @@ public sealed partial class RynthAiPlugin return HasUnlootedCorpsesInRange(maxMeters); } + /// + /// Stop Looting When Pack Full: no free slot anywhere, or fewer than the weapon-swap + /// reserve. Below the reserve the pickup gate refuses every item, so a new corpse was + /// only walked to, opened and given up on (its loot skipped for good). + /// + private bool IsLootingBlockedByPack(LegacyUiSettings settings) + => settings.StopLootingWhenPackFull && (IsPackFull() || IsBelowLootReserve()); + // STEP 4/5: IsCorpseNavigationClaimActive is gone. It answered "should loot // block nav?", which was only ever a question because nav and loot each // decided for themselves whether to run. The arbiter answers it once now, @@ -1315,9 +1466,27 @@ public sealed partial class RynthAiPlugin // BotAction=="Looting" gap check became unnecessary once the string stopped // being a lock that someone had to remember to release. - /// Returns true if at least one lootable, non-completed corpse is within range. + // -- Loot starvation (2026-10-03) --------------------------------------- + // Combat outranks looting, and on a busy spawn there is always a monster inside + // MonsterRange, so a corpse could wait behind combat until the area emptied (by which + // time nav had often moved on). A lootable corpse in range that has waited + // LootStarveMs gets a turn as soon as no monster is within LootStarveCloseYards. + internal const long LootStarveMs = 8000; + internal const double LootStarveCloseYards = 5.0; + private readonly Dictionary _corpseWaitingSince = new(); // lootable corpse first seen in range + private readonly List _lootableInRange = new(); // last scan's lootable corpses in range + private readonly HashSet _corpseSkipLogged = new(); // once-per-corpse "why not looted" lines + private bool _lootStarved; // HasLootWork: the current/in-range corpse has waited LootStarveMs + private bool _lootStarveTurn; // the arbiter gave Looting this tick because of starvation + + /// + /// Returns true if at least one lootable, non-completed corpse is within range. Also + /// records when each lootable corpse was first seen in range (loot starvation), and + /// logs once per corpse when one of your own kills is lootable but out of range. + /// private bool HasUnlootedCorpsesInRange(double maxMeters) { + _lootableInRange.Clear(); if (_objectCache == null || _playerId == 0) return false; @@ -1331,15 +1500,53 @@ public sealed partial class RynthAiPlugin continue; if (_corpseCooldownUntil.TryGetValue(candidate.Id, out long blockedUntil) && blockedUntil > now) continue; - if (!ShouldLootCorpse(candidate)) + CorpseLootDecision decision = EvaluateCorpseLootDecision(candidate); + if (!decision.ShouldLoot) continue; double dist = _objectCache.Distance(playerId, candidate.Id); if (dist <= maxMeters) - return true; + { + _lootableInRange.Add(candidate.Id); + if (!_corpseWaitingSince.ContainsKey(candidate.Id)) + _corpseWaitingSince[candidate.Id] = now; + if (now - _corpseWaitingSince[candidate.Id] >= LootStarveMs) + _lootStarved = true; + } + else if (dist != double.MaxValue && IsOwnKill(decision) && _corpseSkipLogged.Add(candidate.Id)) + { + LootDiag($"[RynthAi] Corpse loot: own corpse 0x{(uint)candidate.Id:X8} '{candidate.Name}' is out of loot range (d={dist:0.0}m > {maxMeters:0.0}m); not walking back for it."); + } } - return false; + return _lootableInRange.Count > 0; + } + + /// + /// The arbiter's LootStarved input: looting wants the tick, combat wants it too, a corpse + /// has waited LootStarveMs (HasLootWork set _lootStarved this tick), and no monster is + /// within LootStarveCloseYards. Melee fights keep combat in charge (the mob is on you). + /// + private bool IsLootStarvedTurn(bool wantLoot, bool wantCombat) + => wantLoot && wantCombat && _lootStarved + && _combatManager?.HasCloseThreat(LootStarveCloseYards) != true; + + private static bool IsOwnKill(CorpseLootDecision d) + => !string.IsNullOrWhiteSpace(d.KillerName) && !string.IsNullOrWhiteSpace(d.PlayerName) + && NormalizeCharName(d.KillerName).Equals(NormalizeCharName(d.PlayerName), StringComparison.OrdinalIgnoreCase); + + /// Once per corpse: a lootable corpse in range is waiting because combat holds the tick. + private void LogCorpsesHeldByCombat() + { + if (_lootableInRange.Count == 0) return; + long now = CorpseNowMs; + foreach (int id in _lootableInRange) + { + if (!_corpseSkipLogged.Add(id)) continue; + long waited = _corpseWaitingSince.TryGetValue(id, out long since) ? now - since : 0; + LootDiag($"[RynthAi] Corpse loot: corpse 0x{(uint)id:X8} waits for combat (targets in range, waited {waited / 1000.0:0.0}s); " + + $"it gets a turn after {LootStarveMs / 1000}s with no monster within {LootStarveCloseYards:0} yd, or when the fight ends."); + } } private void PauseNavigationForCorpse() @@ -1350,6 +1557,14 @@ public sealed partial class RynthAiPlugin // the corpse claim through them. if (_navStopIssued && _navStoppedFor == BotActivity.Looting) return; + // Only while Looting owns the tick (then OnTick's StopNavFor(_activity) already did + // this). While Combat owned the tick and an opened corpse was being finished, OnTick + // stopped nav "for Combat" and this stopped it "for Looting": the owner flipped every + // tick, so Stop + StopCompletely went out twice a tick, 60 times a second, flooding + // AC's main-thread queue (thousands of dropped actions, mid-attack stops, and a + // launcher killed the client for it, 2026-10-01). + if (_activity != BotActivity.Looting) + return; StopNavFor(BotActivity.Looting); @@ -1369,6 +1584,15 @@ public sealed partial class RynthAiPlugin isSalvage = false; ruleLabel = string.Empty; + // Learn unknown spells (VTank ReadUnknownScrolls): a built-in rule ahead of the loot + // profile, as in VTank. A scroll of a spell we don't know and can learn is looted to read. + if (_scrollLearner != null && _scrollLearner.ShouldLootFromCorpse(item, out string learnRule)) + { + actionLabel = ScrollLearner.ReadAction; + ruleLabel = learnRule; + return true; + } + // Consumable override — checked before loot profile. Stone detection is // centralized in ManaStoneManager.IsManaStone so this loot gate and the // KeepCount tally below use one predicate: named-rule match if the user @@ -1448,10 +1672,19 @@ public sealed partial class RynthAiPlugin } return false; } + ruleLabel = string.IsNullOrWhiteSpace(nativeRule.Name) ? "rule" : nativeRule.Name.Trim(); + if (nativeAction == LootAction.Read && IsReadOfNonScroll(item, ruleLabel)) + return false; + if (nativeAction == LootAction.KeepUpTo) + { + var rule = nativeRule; + if (!UnderKeepCap("n:" + ruleLabel, ruleLabel, item, rule.KeepCount, + inv => LootEvaluator.Matches(rule, inv, _charSkills))) + return false; + } _corpseItemsMatched++; actionLabel = nativeAction.ToString(); isSalvage = nativeAction == LootAction.Salvage; - ruleLabel = string.IsNullOrWhiteSpace(nativeRule.Name) ? "rule" : nativeRule.Name.Trim(); return true; } @@ -1461,17 +1694,7 @@ public sealed partial class RynthAiPlugin _corpseItemsEvaluated++; VTankLootContext lootCtx = new(Host, _playerId) { Cache = _objectCache }; - VTankLootRule? matchedRule = null; - int matchedRuleIndex = -1; - for (int ri = 0; ri < vtankProfile.Rules.Count; ri++) - { - if (VTankLootEvaluator.Match(vtankProfile.Rules[ri], item, lootCtx)) - { - matchedRule = vtankProfile.Rules[ri]; - matchedRuleIndex = ri; - break; - } - } + VTankLootRule? matchedRule = VTankLootEvaluator.FirstMatch(vtankProfile, item, lootCtx, out int matchedRuleIndex); if (matchedRule == null) { @@ -1483,20 +1706,129 @@ public sealed partial class RynthAiPlugin return false; } - _corpseItemsMatched++; ruleLabel = string.IsNullOrWhiteSpace(matchedRule.Name) ? $"#{matchedRuleIndex}" : matchedRule.Name.Trim(); + if (matchedRule.Action == VTankLootAction.Read && IsReadOfNonScroll(item, ruleLabel)) + return false; + if (matchedRule.Action == VTankLootAction.KeepUpTo) + { + var rule = matchedRule; + if (!UnderKeepCap("v:" + matchedRuleIndex + ":" + ruleLabel, ruleLabel, item, rule.KeepCount ?? 0, + inv => VTankLootEvaluator.Match(rule, inv, lootCtx))) + return false; + } + _corpseItemsMatched++; actionLabel = matchedRule.Action.ToString(); isSalvage = matchedRule.Action == VTankLootAction.Salvage; return true; } + private readonly HashSet _readNonScrollLogged = new(); + + /// + /// A loot profile's Read action on something that isn't a scroll. VTank: "Lootplugin + /// attempted to classify item ... for reading, but that item does not appear to be a + /// scroll. Ignoring it." The item is left, with one log line. + /// + private bool IsReadOfNonScroll(WorldObject item, string ruleLabel) + { + if (ScrollLearner.LooksLikeScroll(item)) return false; + if (_readNonScrollLogged.Count > 1000) _readNonScrollLogged.Clear(); + if (_readNonScrollLogged.Add(item.Id)) + Host.Log($"[Learn] loot rule '{ruleLabel}' says Read, but '{item.Name}' isn't a scroll - leaving it"); + return true; + } + + /// + /// Keep # (KeepUpTo): loot only while the pack holds fewer than + /// of what the rule matches, counting whole stacks, plus + /// items already approved on this corpse that haven't reached the pack yet. + /// A matching Keep # rule used to loot everything, like a plain Keep. + /// + private bool UnderKeepCap(string key, string ruleLabel, WorldObject item, int cap, Func matches) + { + if (!_pendingKeepUpTo.TryGetValue(key, out var pending)) + _pendingKeepUpTo[key] = pending = new Dictionary(); + if (pending.ContainsKey(item.Id)) return true; // approved on an earlier pass + + // Whole stacks in the pack that the rule matches, plus approved-but-not-in-the-pack-yet + // items. Approved ones that no longer exist are skipped: a looted stack merges into a + // pack stack and is deleted, and is already counted. (LootKeepCap holds the arithmetic.) + int have = LootKeepCap.CountHave( + _objectCache?.GetDirectInventory(forceRefresh: true), + matches, + pending, + id => _objectCache?[id] != null); + + int stack = LootKeepCap.StackOf(item); + if (!LootKeepCap.UnderCap(have, cap)) + { + ChatLine($"[RynthAi] Keep # '{ruleLabel}': have {have}/{cap} — leaving {item.Name}."); + return false; + } + pending[item.Id] = stack; + ChatLine($"[RynthAi] Keep # '{ruleLabel}': have {have}/{cap} — looting {item.Name}{(stack > 1 ? " x" + stack : "")}."); + return true; + } + + // ManaStoneManager asks before draining an inventory item (the drain destroys it). + // Cached per item: a big VTank profile is costly to run on every think tick. + private readonly Dictionary _lootKeptCache = new(); + private const long LootKeptCacheMs = 60_000; + + /// + /// True when a Keep or Keep # rule in the active loot profile matches the item. + /// Pure: no pending sets, counters or chat (unlike ClassifyItemAgainstProfile). + /// + private bool IsKeptByLootProfile(WorldObject item) + { + long now = CorpseNowMs; + if (_lootKeptCache.TryGetValue(item.Id, out var c) && now - c.At < LootKeptCacheMs) + return c.Kept; + + bool kept; + string path = (_dashboard?.Settings?.CurrentLootPath ?? string.Empty).Trim().Trim('"'); + if (string.IsNullOrWhiteSpace(path) || !File.Exists(path)) + kept = false; // no profile: the loaders would print a chat line on every call + else + { + try + { + if (TryLoadNativeLootProfile(out LootProfile nativeProfile, out _)) + { + var (action, rule) = LootEvaluator.Classify(nativeProfile, item, _charSkills); + kept = rule != null && (action == LootAction.Keep || action == LootAction.KeepUpTo); + } + else if (TryLoadLootProfile(string.Empty, out VTankLootProfile vtankProfile, out _)) + { + kept = false; + VTankLootContext ctx = new(Host, _playerId) { Cache = _objectCache }; + foreach (var rule in vtankProfile.Rules) + { + if (!VTankLootEvaluator.Match(rule, item, ctx)) continue; + kept = rule.Action == VTankLootAction.Keep || rule.Action == VTankLootAction.KeepUpTo; + break; + } + } + else + kept = false; + } + catch { kept = true; } // can't tell: don't destroy it + } + + if (_lootKeptCache.Count > 1000) _lootKeptCache.Clear(); + _lootKeptCache[item.Id] = (kept, now); + return kept; + } + /// /// Loot-for-tap fallback: when an item doesn't match any loot rule but it /// holds at least the configured mana threshold AND the player has an /// uncharged mana stone in inventory, loot the item so ManaStoneManager - /// can drain it (which destroys the item and charges the stone). + /// can drain it (which destroys the item and charges the stone). This is the + /// only way an item becomes a tap target: the pickup (label ManaTap) is + /// recorded via ManaStoneManager.MarkLootedForTap. /// private bool TryClassifyAsManaTap(WorldObject item, LegacyUiSettings settings, out string actionLabel, out string ruleLabel) @@ -1519,7 +1851,7 @@ public sealed partial class RynthAiPlugin // or re-counting against the quota. if (_pendingManaTapIds.Contains(item.Id)) { - actionLabel = "ManaTap"; + actionLabel = ManaTapActionLabel; ruleLabel = $"ManaTap (mana={curMana} ≥ {threshold})"; return true; } @@ -1530,7 +1862,7 @@ public sealed partial class RynthAiPlugin int freeSlots = _manaStoneManager.FreeEmptyStoneSlots() - _pendingManaTapIds.Count; if (freeSlots <= 0) return false; - actionLabel = "ManaTap"; + actionLabel = ManaTapActionLabel; ruleLabel = $"ManaTap (mana={curMana} ≥ {threshold})"; ChatLine($"[RynthAi] Mana tap candidate: '{item.Name}' (mana {curMana}, slot {_pendingManaTapIds.Count + 1}) — looting to drain."); _pendingManaTapIds.Add(item.Id); @@ -1547,11 +1879,17 @@ public sealed partial class RynthAiPlugin /// private bool ItemNeedsAppraisalForLoot(WorldObject item) { + // The ManaTap fallback (run when no rule matches) reads CurrentMana, which only + // the appraisal carries, so with tapping on every item waits for its ID. + var tapSettings = _dashboard?.Settings; + bool manaTapNeedsId = tapSettings != null && tapSettings.EnableManaTapping + && tapSettings.ManaTapMinMana > 0 && _manaStoneManager != null; + if (TryLoadNativeLootProfile(out LootProfile nativeProfile, out _)) - return NativeProfileNeedsAppraisalForClass(nativeProfile, item.ObjectClass); + return manaTapNeedsId || NativeProfileNeedsAppraisalForClass(nativeProfile, item.ObjectClass); if (TryLoadLootProfile(string.Empty, out VTankLootProfile vtankProfile, out _)) - return VTankProfileNeedsAppraisalForClass(vtankProfile, item.ObjectClass); + return manaTapNeedsId || VTankProfileNeedsAppraisalForClass(vtankProfile, item.ObjectClass); return false; // No active profile — no ID request needed } @@ -1570,7 +1908,9 @@ public sealed partial class RynthAiPlugin if (cond is ObjectClassCondition occ) { hasClassFilter = true; - if ((AcObjectClass)(int)occ.ObjectClass == cls) + if ((AcObjectClass)(int)occ.ObjectClass == cls + || ((AcObjectClass)(int)occ.ObjectClass == AcObjectClass.Scroll && cls == AcObjectClass.Book) // a scroll not yet known as one + || ((AcObjectClass)(int)occ.ObjectClass == AcObjectClass.Book && cls == AcObjectClass.Scroll)) // Book rules from when scrolls filed as Book classMatches = true; } } @@ -1598,8 +1938,10 @@ public sealed partial class RynthAiPlugin private static bool VTankProfileNeedsAppraisalForClass(VTankLootProfile profile, AcObjectClass cls) { // Requirement types that need appraisal data from the server. + // 0 = SpellNameMatch: the item's spell list comes from the appraisal, so a + // cantrip rule ("Legendary") never matched a pre-classified item. static bool TypeNeedsAppraisal(int t) => t is - 2 or 3 or 4 or 5 or 6 or 8 or 9 or 10 or 11 or 12 or 13 or + 0 or 2 or 3 or 4 or 5 or 6 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 2000 or 2001 or 2003 or 2005 or 2006 or 2007 or 2008; int targetClass = (int)cls; @@ -1621,7 +1963,8 @@ public sealed partial class RynthAiPlugin && int.TryParse(cond.DataLines[0].Trim(), System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out int cls2) - && cls2 == targetClass) + && (cls2 == targetClass || (cls2 == (int)AcObjectClass.Scroll && cls == AcObjectClass.Book) + || (cls2 == (int)AcObjectClass.Book && cls == AcObjectClass.Scroll))) // scrolls once filed as Book classMatches = true; } else if (TypeNeedsAppraisal(cond.NodeType)) @@ -1647,7 +1990,7 @@ public sealed partial class RynthAiPlugin _processedCorpseItems.Clear(); _corpseItemAttempts.Clear(); _corpseIdsRequested = false; - _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); + _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); _pendingKeepUpTo.Clear(); ResetCurrentLootItem(); // Clear container state immediately. Do NOT send UseObject(corpse) to close it — @@ -1709,6 +2052,26 @@ public sealed partial class RynthAiPlugin if (!TryGetHeadingToObject(corpseId, out double desiredDeg, out double absError, out double signedError)) return; + // Turn the way nav does (fast servo, turn in place on a big turn, steer while running). + if (_navigationEngine != null && Host.HasTurnToHeading) + { + ClearCorpseTurnMotions(); + if (!_navigationEngine.ServoToward(desiredDeg)) + { + if (_corpseAutorunActive) { Host.SetAutoRun(false); _corpseAutorunActive = false; } + return; + } + long nowMs = CorpseNowMs; + if (!_corpseAutorunActive || nowMs - _lastCorpseApproachHeartbeatAt >= 500) + { + Host.SetAutoRun(true); + _corpseAutorunActive = true; + _lastCorpseApproachHeartbeatAt = nowMs; + } + return; + } + + // Fallback (no TurnToHeading on this host): the old motion-key turn. if (absError > 18.0) { StopCorpseMovement(); @@ -1761,11 +2124,16 @@ public sealed partial class RynthAiPlugin _corpseAutorunActive = false; } + // Last corpse an open was sent for (AbandonCurrentCorpse: was this a failed open, + // or a corpse the bot never reached?). + private int _lastOpenAttemptCorpseId; + private void AttemptOpenCorpse(int corpseId) { + _lastOpenAttemptCorpseId = corpseId; StopCorpseMovement(); Host.SelectItem(unchecked((uint)corpseId)); - Host.UseObject(unchecked((uint)corpseId)); + Host.UseFor(unchecked((uint)corpseId), "Loot", "open the claimed corpse"); LootDiag($"[RynthAi] Corpse loot: attempting open for 0x{(uint)corpseId:X8}."); } @@ -1820,7 +2188,7 @@ public sealed partial class RynthAiPlugin { _processedCorpseItems.Clear(); _corpseItemAttempts.Clear(); - _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); + _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); _pendingKeepUpTo.Clear(); } _targetCorpseId = rawOpen; @@ -1853,7 +2221,7 @@ public sealed partial class RynthAiPlugin ResetCurrentLootItem(); _processedCorpseItems.Clear(); _corpseItemAttempts.Clear(); - _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); + _pendingManaStoneIds.Clear(); _pendingManaTapIds.Clear(); _pendingKeepUpTo.Clear(); } private void HandleCorpseObjectDeleted(uint objectId) @@ -1868,6 +2236,8 @@ public sealed partial class RynthAiPlugin _corpseCooldownUntil.Remove(sid); _ownershipSkipLogged.Remove(sid); _corpseIdRequested.Remove(sid); + _corpseSkipLogged.Remove(sid); + _corpseWaitingSince.Remove(sid); // If this is the corpse we were actively looting (container was open and we received // at least one inventory update), mark it completed before resetting. Without this, @@ -2009,7 +2379,8 @@ public sealed partial class RynthAiPlugin // instead; after a few never-opened abandons, give up for real so an // unreachable corpse can't cycle forever. bool wasOpened = _openedContainerId == corpseId; - int abandons = _corpseAbandonCounts.TryGetValue(corpseId, out int n) ? n + 1 : 1; + bool openWasSent = wasOpened || _lastOpenAttemptCorpseId == corpseId; + int abandons =_corpseAbandonCounts.TryGetValue(corpseId, out int n) ? n + 1 : 1; _corpseAbandonCounts[corpseId] = abandons; if (wasOpened || abandons >= 3) { @@ -2037,7 +2408,10 @@ public sealed partial class RynthAiPlugin // Track open timeouts to detect a wedged item-action state. A successful // open resets this counter; a run of timeouts means AC stopped accepting // item actions (the "you can only move or use one item at a time" lock). - if (reason.IndexOf("timeout", StringComparison.OrdinalIgnoreCase) >= 0) + // Only when an open was actually sent: a corpse the bot never reached (autorun + // into a wall, a body on a ledge) says nothing about AC's item-action state, + // and three of those in a row fired the full wedge reset. + if (openWasSent && reason.IndexOf("timeout", StringComparison.OrdinalIgnoreCase) >= 0) { _consecutiveLootTimeouts++; if (_consecutiveLootTimeouts >= LootWedgeThreshold) @@ -2060,13 +2434,16 @@ public sealed partial class RynthAiPlugin if (Host.HasChangeCombatMode) Host.ChangeCombatMode(CombatMode.NonCombat); if (Host.HasStopCompletely) Host.StopCompletely(); if (Host.HasForceResetBusyCount) Host.ForceResetBusyCount(); + // The lock is client-side: AC's pending-item-request slot or attacking + // flag (see the engine's ClientActionGates). Open both now. + if (Host.HasInvokeChatParser) Host.InvokeChatParser("/rc unlockactions"); _busyCount = 0; _busyCountLastIncrementAt = 0; _busyCountBecamePositiveAt = 0; if (_combatManager != null) _combatManager.BusyCount = 0; if (_buffManager != null) _buffManager.BusyCount = 0; - ChatLine($"[RynthAi] WEDGE: {LootWedgeThreshold} corpse opens timed out — AC item-actions are locked. Halting looting {LootWedgeHaltMs / 1000}s and resetting. If equip/loot stays stuck, RELOG (server-side lock — /ra panic can't clear it)."); + ChatLine($"[RynthAi] WEDGE: {LootWedgeThreshold} corpse opens timed out — AC item-actions are locked. Halting looting {LootWedgeHaltMs / 1000}s and unlocking. If equip/loot stays stuck, /rc actionstate shows what the client is waiting on."); Log($"[RynthAi] LOOT WEDGE detected ({LootWedgeThreshold} consecutive open timeouts) — halt {LootWedgeHaltMs}ms + reset fired."); } diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/AwakenedTier.cs b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/AwakenedTier.cs new file mode 100644 index 0000000..cd94d52 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/AwakenedTier.cs @@ -0,0 +1,120 @@ +using System; +using RynthCore.PluginSdk; + +namespace RynthCore.Plugin.RynthAi.CreatureData; + +/// +/// Aelrynth's difficulty tier where the player stands, and which server this is (2026-10-03). +/// +/// Aelrynth's awakened worlds and scaled dungeon copies hold the same monsters as real Dereth - +/// same names, same wcids - with health, skills and damage scaled 5% a tier (resistances and +/// weaknesses are not). Every monster in one copy or world shares one tier. The server tells +/// the player's own client that tier as PropertyInt 9051 on the player (Aeshnidae.AwakenedRewards +/// TierFeed.cs): a private update on login, teleport and every change; 0 = real Dereth. +/// +/// The rule: on any server other than Aelrynth this is inert - is 0 and +/// false - so every store keyed by tier behaves exactly as before. On +/// Aelrynth it also stays inert until the property has been seen this login (an older server +/// build that does not send it changes nothing either). +/// +/// Server detection matches RynthOracle's (Data/ServerIdentity.cs) older-engine path: the world +/// name the server announced (Aelrynth's live world is still named "Aeshnidae"; both names, and +/// the staging world, count), else the Bank mod's player properties 9101-9103, which only +/// Aelrynth sends. Engine API v75 adds GetServerInfo (the engine's own verdict); when the SDK +/// this builds against has it, it should be asked first, as RynthOracle does. +/// +internal sealed class AwakenedTier +{ + /// PropertyInt 9051 on the player: the difficulty tier where they stand. + public const uint TierProperty = 9051; + + /// The server's scaling per tier (InstancesNoDat DifficultyPercentPerEnlightenment, 5.0). + public const double PercentPerTier = 5.0; + + private const uint QuadRadianceEarned = 9101, QuadLuminanceBanked = 9102, QuadLuminanceDrawn = 9103; + + private volatile bool _aelrynth; + private volatile bool _seen; + private volatile int _tier; + private string _serverKey = ""; + private long _nextRefreshMs; + + /// On Aelrynth (live or staging), by the world name or the Bank properties. + public bool OnAelrynth => _aelrynth; + + /// The tier property has been seen this login. + public bool Seen => _seen; + + /// The tier feature is in force: on Aelrynth and the property seen. Off everywhere else. + public bool Active => _aelrynth && _seen; + + /// The tier where the player stands; 0 whenever is false. + public int Current => Active ? _tier : 0; + + /// + /// The server's key for per-server data (creatures.json): "Aelrynth" for every Aelrynth + /// world name (live "Aeshnidae", "Aelrynth", "Aeshnidae Staging"), else the world name made + /// safe for a folder name; "" while unknown. + /// + public string ServerKey => _serverKey; + + /// The multiplier a tier puts on a monster's health: 1 + 5% per tier. + public static double HealthScale(int tier) => tier <= 0 ? 1.0 : 1.0 + PercentPerTier / 100.0 * tier; + + /// Logout: nothing carries to the next login (it may be another server). + public void Reset() + { + _aelrynth = false; + _seen = false; + _tier = 0; + _serverKey = ""; + _nextRefreshMs = 0; + } + + /// Re-reads the server and the tier, at most once a second. Pump thread. + public void Refresh(RynthCoreHost host, uint playerId, bool force = false) + { + long now = Environment.TickCount64; + if (!force && now < _nextRefreshMs) return; + _nextRefreshMs = now + 1000; + + try + { + string world = host.HasGetWorldName && host.TryGetWorldName(out string w) ? (w ?? "").Trim() : ""; + bool aelrynth = IsAelrynthWorld(world) + || (playerId != 0 && host.HasGetObjectQuadProperty + && (host.TryGetObjectQuadProperty(playerId, QuadRadianceEarned, out _) + || host.TryGetObjectQuadProperty(playerId, QuadLuminanceBanked, out _) + || host.TryGetObjectQuadProperty(playerId, QuadLuminanceDrawn, out _))); + _aelrynth = aelrynth; + _serverKey = aelrynth ? "Aelrynth" : SafeKey(world); + + if (aelrynth && playerId != 0 && host.HasGetObjectIntProperty + && host.TryGetObjectIntProperty(playerId, TierProperty, out int tier)) + { + _tier = Math.Max(0, tier); + _seen = true; + } + } + catch { } + } + + /// Aelrynth's world names: "Aelrynth...", or "Aeshnidae..." (its earlier name, still the live config's). + public static bool IsAelrynthWorld(string? world) + { + if (string.IsNullOrWhiteSpace(world)) return false; + string w = world.Trim(); + return w.StartsWith("Aelrynth", StringComparison.OrdinalIgnoreCase) + || w.StartsWith("Aeshnidae", StringComparison.OrdinalIgnoreCase); + } + + /// A world name as a folder name (the SettingsProfiles rule); "" for none. + public static string SafeKey(string? world) + { + if (string.IsNullOrWhiteSpace(world)) return ""; + var sb = new System.Text.StringBuilder(world.Length); + foreach (char c in world.Trim()) + sb.Append(char.IsLetterOrDigit(c) || c == '\'' || c == '-' ? c : '_'); + return sb.ToString(); + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfile.cs b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfile.cs index 5112318..9ecc344 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfile.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfile.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Text.Json.Serialization; namespace RynthCore.Plugin.RynthAi.CreatureData; @@ -16,7 +17,16 @@ public sealed class CreatureProfile public int CreatureType { get; set; } + /// Max health at Aelrynth difficulty tier 0 (real Dereth; every tier on other servers). public uint MaxHealth { get; set; } + + /// + /// Max health at Aelrynth difficulty tiers above 0 (awakened worlds, scaled copies: +5% a + /// tier), tier -> highest seen. Null until one is seen, and then left out of the file + /// on every other server. Resists, armour, spells and type are the same at every tier. + /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public Dictionary? TierMaxHealth { get; set; } public uint MaxStamina { get; set; } public uint MaxMana { get; set; } diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfileStore.cs b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfileStore.cs index d3ceb98..3426a0f 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfileStore.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureProfileStore.cs @@ -7,13 +7,28 @@ namespace RynthCore.Plugin.RynthAi.CreatureData; /// /// Thread-safe disk-backed store of CreatureProfile records. -/// File: C:\Games\RynthSuite\RynthAi\CreatureData\creatures.json /// Shared across all characters; engine writes, optional external editor reads. /// Keyed by composite "name|wcid" so tier variants don't collide. +/// +/// Per server (2026-10-03): wcids are only unique within one server's world database, and +/// custom content (Aelrynth's 3000001+, ConquestAC's own) reuses numbers, so each server keeps +/// its own file: +/// C:\Games\RynthSuite\RynthAi\CreatureData\<server>\creatures.json +/// <server> is : "Aelrynth" for every Aelrynth world name, +/// else the world name the server announced, made safe for a folder (the SettingsProfiles rule). +/// The shared file from before, CreatureData\creatures.json, is the legacy store: COPIED (not +/// moved) into a server's folder the first time that server is played, so every server starts +/// from exactly what it had - the same precedent as the per-server SettingsProfiles +/// (MigrateToServerFolder). It is only read and written while no server is known (before the +/// first tick of a login, or a server that announces no name), as before. +/// +/// Aelrynth difficulty tiers: appraised max health above tier 0 goes to +/// ; MaxHealth stays the tier-0 value. Everything +/// else in a profile is the same at every tier. /// internal sealed class CreatureProfileStore { - private const string Folder = @"C:\Games\RynthSuite\RynthAi\CreatureData"; + internal const string Folder = @"C:\Games\RynthSuite\RynthAi\CreatureData"; private const string FileName = "creatures.json"; private readonly object _lock = new(); @@ -21,14 +36,58 @@ internal sealed class CreatureProfileStore = new(StringComparer.OrdinalIgnoreCase); private string _lastSavedJson = string.Empty; private bool _dirty; + private string _serverKey = string.Empty; // "" = the legacy shared file - private string FilePath => Path.Combine(Folder, FileName); + private string FilePath => FileFor(_serverKey); + + private static string FileFor(string serverKey) => + string.IsNullOrEmpty(serverKey) ? Path.Combine(Folder, FileName) : Path.Combine(Folder, serverKey, FileName); + + /// The server whose file is loaded ("" = the legacy shared file). + public string ServerKey { get { lock (_lock) return _serverKey; } } + + /// + /// Switch to 's file (saving the current one first). The first + /// time a server is seen its file is a copy of the legacy shared file. "" or the same server + /// is a no-op. Returns a line for the log when a copy was made, else null. + /// + public string? SetServer(string serverKey) + { + serverKey = serverKey?.Trim() ?? string.Empty; + string? note = null; + lock (_lock) + { + if (serverKey.Length == 0 || string.Equals(serverKey, _serverKey, StringComparison.OrdinalIgnoreCase)) + return null; + } + SaveIfDirty(); + try + { + string legacy = FileFor(""); + string target = FileFor(serverKey); + if (!File.Exists(target) && File.Exists(legacy)) + { + Directory.CreateDirectory(Path.GetDirectoryName(target)!); + File.Copy(legacy, target); + note = $"creature data is now kept per server: copied the shared creatures.json into {serverKey}"; + } + } + catch (Exception ex) + { + note = $"copying creatures.json into {serverKey} failed ({ex.Message}); starting {serverKey} empty"; + } + lock (_lock) _serverKey = serverKey; + Load(); + return note; + } public void Load() { lock (_lock) { _byKey.Clear(); + _lastSavedJson = string.Empty; + _dirty = false; string path = FilePath; if (!File.Exists(path)) return; @@ -64,15 +123,16 @@ internal sealed class CreatureProfileStore try { - Directory.CreateDirectory(Folder); + string path = FilePath; + Directory.CreateDirectory(Path.GetDirectoryName(path)!); string json = JsonSerializer.Serialize( _byKey, RynthAiJsonContext.Default.CreatureProfileDict); if (json == _lastSavedJson) return; - string tmp = FilePath + ".tmp"; + string tmp = path + ".tmp"; File.WriteAllText(tmp, json); - File.Copy(tmp, FilePath, overwrite: true); + File.Copy(tmp, path, overwrite: true); try { File.Delete(tmp); } catch { } _lastSavedJson = json; } @@ -132,10 +192,24 @@ internal sealed class CreatureProfileStore } /// - /// Merge a new observation into the store. Fields with value 0 / empty are - /// ignored so partial samples don't clobber better data. + /// A profile's appraised max health at an Aelrynth difficulty tier (0 = real Dereth, and + /// every tier on other servers); 0 when that tier hasn't been seen. /// - public void Upsert(CreatureProfile sample) + public uint MaxHealthAt(CreatureProfile? profile, int difficulty) + { + if (profile == null) return 0; + if (difficulty <= 0) return profile.MaxHealth; + lock (_lock) + return profile.TierMaxHealth != null && profile.TierMaxHealth.TryGetValue(difficulty, out uint hp) ? hp : 0; + } + + /// + /// Merge a new observation into the store. Fields with value 0 / empty are + /// ignored so partial samples don't clobber better data. + /// above 0 (an Aelrynth awakened world or scaled copy) files the max health under that tier + /// and leaves the tier-0 vitals alone; the rest merges as always. + /// + public void Upsert(CreatureProfile sample, int difficulty = 0) { if (string.IsNullOrEmpty(sample.Name)) return; @@ -154,10 +228,23 @@ internal sealed class CreatureProfileStore if (sample.CreatureType != 0) existing.CreatureType = sample.CreatureType; - // Vitals: take the max observed (handles partial samples + minor variation). - if (sample.MaxHealth > existing.MaxHealth) existing.MaxHealth = sample.MaxHealth; - if (sample.MaxStamina > existing.MaxStamina) existing.MaxStamina = sample.MaxStamina; - if (sample.MaxMana > existing.MaxMana) existing.MaxMana = sample.MaxMana; + if (difficulty > 0) + { + // Health, skills and damage scale with the tier; only health is kept (kill prediction). + if (sample.MaxHealth > 0) + { + existing.TierMaxHealth ??= new Dictionary(); + if (!existing.TierMaxHealth.TryGetValue(difficulty, out uint had) || sample.MaxHealth > had) + existing.TierMaxHealth[difficulty] = sample.MaxHealth; + } + } + else + { + // Vitals: take the max observed (handles partial samples + minor variation). + if (sample.MaxHealth > existing.MaxHealth) existing.MaxHealth = sample.MaxHealth; + if (sample.MaxStamina > existing.MaxStamina) existing.MaxStamina = sample.MaxStamina; + if (sample.MaxMana > existing.MaxMana) existing.MaxMana = sample.MaxMana; + } if (sample.ArmorLevel > 0) existing.ArmorLevel = sample.ArmorLevel; @@ -187,7 +274,8 @@ internal sealed class CreatureProfileStore } /// - /// Returns the lowest resist (the creature's weakest damage type). 1.0 means "no data". + /// The damage type the creature takes the most damage from: resists are damage multipliers + /// (1.0 full, 0.5 half), so that's the HIGHEST value (this took the lowest until 2026-09-29). /// public static (string Type, double Resist) GetWeakest(CreatureProfile p) { @@ -202,10 +290,10 @@ internal sealed class CreatureProfileStore ("electric", p.ResistElectric), }; string bestType = "slash"; - double best = double.MaxValue; + double best = double.MinValue; foreach (var pair in pairs) { - if (pair.Item2 < best) + if (pair.Item2 > best) { best = pair.Item2; bestType = pair.Item1; diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureTypeNames.cs b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureTypeNames.cs new file mode 100644 index 0000000..79ae4aa --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureTypeNames.cs @@ -0,0 +1,30 @@ +namespace RynthCore.Plugin.RynthAi.CreatureData; + +/// +/// Names of the creature types (PropertyInt 2 CreatureType on a monster, PropertyInt 166 +/// SlayerCreatureType on a weapon), in ACE's ACE.Entity.Enum.CreatureType order. +/// +internal static class CreatureTypeNames +{ + private static readonly string[] Names = + { + "Invalid", "Olthoi", "Banderling", "Drudge", "Mosswart", "Lugian", "Tumerok", "Mite", "Tusker", + "Phyntos Wasp", "Rat", "Auroch", "Cow", "Golem", "Undead", "Gromnie", "Reedshark", "Armoredillo", + "Fae", "Virindi", "Wisp", "Knathtead", "Shadow", "Mattekar", "Mumiyah", "Rabbit", "Sclavus", + "Shallows Shark", "Monouga", "Zefir", "Skeleton", "Human", "Shreth", "Chittick", "Moarsman", + "Olthoi Larvae", "Slithis", "Deru", "Fire Elemental", "Snowman", "Unknown", "Bunny", + "Lightning Elemental", "Rockslide", "Grievver", "Niffis", "Ursuin", "Crystal", "Hollow Minion", + "Scarecrow", "Idol", "Empyrean", "Hopeslayer", "Doll", "Marionette", "Carenzi", "Siraluun", + "Aun Tumerok", "Hea Tumerok", "Simulacrum", "Acid Elemental", "Frost Elemental", "Elemental", + "Statue", "Wall", "Altered Human", "Device", "Harbinger", "Dark Sarcophagus", "Chicken", + "Gotrok Lugian", "Margul", "Bleached Rabbit", "Nasty Rabbit", "Grimacing Rabbit", "Burun", + "Target", "Ghost", "Fiun", "Eater", "Penguin", "Ruschk", "Thrungus", "Viamontian Knight", + "Remoran", "Swarm", "Moar", "Enchanted Arms", "Sleech", "Mukkir", "Merwart", "Food", + "Paradox Olthoi", "Harvest", "Energy", "Apparition", "Aerbax", "Touched", "Blighted Moarsman", + "Gear Knight", "Gurog", "Anekshay", + }; + + /// The type's name ("type N" for one this table doesn't know). + public static string Name(int type) => + type > 0 && type < Names.Length ? Names[type] : "type " + type; +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureWeakness.cs b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureWeakness.cs new file mode 100644 index 0000000..c2e97df --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/CreatureWeakness.cs @@ -0,0 +1,325 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Reflection; + +namespace RynthCore.Plugin.RynthAi.CreatureData; + +/// +/// Which damage elements hurt a monster most. ACE never sends a creature's resists on +/// appraisal (ResistSlash 64 … ResistNether 166 aren't assessment properties), so RynthAi +/// ships them from the Aelrynth world database, keyed on the wcid (in CreateObject): +/// Data\creature_weakness.json — ops/overnight/creature-weakness.json; loaded once, lazily. +/// A copy in C:\Games\RynthSuite\RynthAi\Data wins over the built-in one. +/// creature_resists.tsv — the same rows from ops/rynth-creature-resists.py; every creature with resist data, by wcid (name must match, so a +/// custom monster that reuses a wcid on another server isn't mistaken) +/// creature_types.txt — per creature type, elements ranked by the type's average resists, +/// plus name keywords: the fallback for custom monsters. +/// A copy of creature_types.txt in C:\Games\RynthSuite\RynthAi\CreatureData overrides lines +/// by type id. Multipliers are damage taken: 1.0 = full, 0.5 = half, so higher = weaker. +/// +internal static class CreatureWeakness +{ + public static readonly string[] Elements = { "Slash", "Pierce", "Bludgeon", "Fire", "Cold", "Acid", "Lightning", "Nether" }; + + public sealed class Ranking + { + /// Most damage first. Mult is NaN when only the order is known (learned). + public List<(string Element, double Mult)> Order = new(); + /// "server data", "learned", "Olthoi type", … + public string Source = ""; + + /// "Bludgeon 1.0, Pierce 1.0, Fire 0.75" (first ). + public string Describe(int n = 3) + { + var parts = new List(); + for (int i = 0; i < Order.Count && parts.Count < n; i++) + parts.Add(double.IsNaN(Order[i].Mult) ? Order[i].Element + : Order[i].Element + " " + Order[i].Mult.ToString("0.0#", CultureInfo.InvariantCulture)); + return string.Join(", ", parts); + } + } + + private sealed class TypeInfo + { + public int Id; + public string Name = ""; + public List<(string Element, double Mult)> Order = new(); + } + + private static readonly object Sync = new(); + private static bool _loaded; + private static readonly Dictionary ByWcid = new(); + private static readonly Dictionary ByName = new(StringComparer.OrdinalIgnoreCase); // first wcid per name + private static readonly Dictionary Types = new(); + private static readonly List<(string Keyword, int Type)> Keywords = new(); // longest first + + /// + /// The elements that hurt this monster most, or null when nothing is known. Order of + /// sources: the server table (wcid + name), then what the Damage tab learned + /// () ahead of the creature-type ranking, then the type + /// ranking alone. 0 = unknown (the name keywords decide). + /// + public static Ranking? Rank(uint wcid, string? name, int creatureType, string? learnedBest) + { + EnsureLoaded(); + name ??= ""; + // No wcid (a meta asking by name): the first creature of that name in the table. + if (wcid == 0 && name.Length > 0 && ByName.TryGetValue(name, out uint byName)) wcid = byName; + if (wcid != 0 && ByWcid.TryGetValue(wcid, out var row) + && (name.Length == 0 || row.Name.Equals(name, StringComparison.OrdinalIgnoreCase))) + { + var r = new Ranking { Source = "server data" }; + r.Order = Ordered(row.Mult); + return r; + } + + TypeInfo? type = FindType(creatureType, name); + string learned = Normalize(learnedBest); + if (learned.Length > 0) + { + var r = new Ranking { Source = type != null ? $"learned, then {Pretty(type.Name)} type" : "learned" }; + r.Order.Add((learned, double.NaN)); + if (type != null) + foreach (var e in type.Order) + if (!e.Element.Equals(learned, StringComparison.OrdinalIgnoreCase)) r.Order.Add(e); + return r; + } + if (type != null) + return new Ranking { Source = Pretty(type.Name) + " type", Order = new(type.Order) }; + return null; + } + + /// Damage multiplier for one element from the server table or the type average; false when unknown. + public static bool TryGetMultiplier(uint wcid, string? name, int creatureType, string element, out double mult) + { + mult = 1.0; + Ranking? r = Rank(wcid, name, creatureType, null); + if (r == null) return false; + string e = Normalize(element); + foreach (var x in r.Order) + if (x.Element.Equals(e, StringComparison.OrdinalIgnoreCase) && !double.IsNaN(x.Mult)) + { + mult = x.Mult; + return true; + } + return false; + } + + /// Element names as the rest of RynthAi spells them ("Electric" → "Lightning"); "" when not an element. + public static string Normalize(string? element) + { + if (string.IsNullOrWhiteSpace(element)) return ""; + string t = element.Trim(); + if (t.Equals("Electric", StringComparison.OrdinalIgnoreCase)) return "Lightning"; + if (t.Equals("Blade", StringComparison.OrdinalIgnoreCase)) return "Slash"; + foreach (string e in Elements) + if (e.Equals(t, StringComparison.OrdinalIgnoreCase)) return e; + return ""; + } + + private static string Pretty(string typeName) + { + var sb = new System.Text.StringBuilder(); + foreach (char c in typeName) + { + if (char.IsUpper(c) && sb.Length > 0) sb.Append(' '); + sb.Append(c); + } + return sb.ToString(); + } + + private static List<(string, double)> Ordered(double[] mult) + { + var idx = new List { 0, 1, 2, 3, 4, 5, 6, 7 }; + idx.Sort((a, b) => + { + int c = Math.Round(mult[b], 3).CompareTo(Math.Round(mult[a], 3)); + return c != 0 ? c : a.CompareTo(b); + }); + var list = new List<(string, double)>(8); + foreach (int i in idx) list.Add((Elements[i], mult[i])); + return list; + } + + private static TypeInfo? FindType(int creatureType, string name) + { + if (creatureType > 0 && Types.TryGetValue(creatureType, out var t)) return t; + if (name.Length == 0) return null; + foreach (var (kw, type) in Keywords) + if (ContainsWord(name, kw) && Types.TryGetValue(type, out var k)) return k; + return null; + } + + private static bool ContainsWord(string text, string word) + { + int i = 0; + while ((i = text.IndexOf(word, i, StringComparison.OrdinalIgnoreCase)) >= 0) + { + bool startOk = i == 0 || !char.IsLetter(text[i - 1]); + int end = i + word.Length; + bool endOk = end >= text.Length || !char.IsLetter(text[end]); + if (startOk && endOk) return true; + i = end; + } + return false; + } + + private static void EnsureLoaded() + { + if (_loaded) return; + lock (Sync) + { + if (_loaded) return; + try + { + foreach (string line in ReadResource("creature_resists.tsv")) + { + if (line.Length == 0 || line[0] == '#') continue; + string[] f = line.Split('\t'); + if (f.Length < 11 || !uint.TryParse(f[0], out uint wcid)) continue; + var m = new double[8]; + for (int i = 0; i < 8; i++) + m[i] = double.TryParse(f[3 + i], NumberStyles.Float, CultureInfo.InvariantCulture, out double v) ? v : 1.0; + int.TryParse(f[2], out int ct); + ByWcid[wcid] = (f[1], ct, m); + ByName.TryAdd(f[1], wcid); + } + + // The weakness table (wcid -> multipliers), generated from the world database + // (ops/overnight/creature-weakness.json). A copy in the RynthAi folder wins over + // the one built into the DLL, so the table can be refreshed without a rebuild. + // Its rows replace the TSV's by wcid. + string? json = null; + try { if (File.Exists(WeaknessFile)) json = File.ReadAllText(WeaknessFile); } catch { json = null; } + json ??= ReadResourceText("Data.creature_weakness.json", rooted: true); + if (!string.IsNullOrEmpty(json)) LoadWeaknessJson(json); + + foreach (string line in ReadResource("creature_types.txt")) ParseTypeLine(line); + string user = Path.Combine(CreatureProfileStore.Folder, "creature_types.txt"); + if (File.Exists(user)) + foreach (string line in File.ReadAllLines(user)) ParseTypeLine(line); + } + catch { } + + Keywords.Sort((a, b) => b.Keyword.Length.CompareTo(a.Keyword.Length)); + _loaded = true; + } + } + + // id|Type|keywords|Element mult,Element mult,... + private static void ParseTypeLine(string line) + { + line = line.Trim(); + if (line.Length == 0 || line[0] == '#') return; + string[] f = line.Split('|'); + if (f.Length < 4 || !int.TryParse(f[0], out int id)) return; + var info = new TypeInfo { Id = id, Name = f[1].Trim() }; + foreach (string part in f[3].Split(',')) + { + string[] p = part.Trim().Split(' ', StringSplitOptions.RemoveEmptyEntries); + if (p.Length == 0) continue; + string e = Normalize(p[0]); + if (e.Length == 0) continue; + double m = p.Length > 1 && double.TryParse(p[1], NumberStyles.Float, CultureInfo.InvariantCulture, out double v) ? v : double.NaN; + info.Order.Add((e, m)); + } + if (info.Order.Count == 0) return; + Types[id] = info; // a later line (the user's file) replaces the shipped one + Keywords.RemoveAll(k => k.Type == id); + foreach (string kw in f[2].Split(' ', StringSplitOptions.RemoveEmptyEntries)) + Keywords.Add((kw, id)); + } + + /// The on-disk copy of the weakness table next to RynthAi (optional; the DLL has one built in). + internal const string WeaknessFile = @"C:\Games\RynthSuite\RynthAi\Data\creature_weakness.json"; + + // JSON keys → Elements index (the table spells Lightning "electric"). + private static readonly (string Key, int Index)[] JsonKeys = + { + ("slash", 0), ("pierce", 1), ("bludgeon", 2), ("fire", 3), ("cold", 4), ("acid", 5), + ("electric", 6), ("lightning", 6), ("nether", 7), + }; + + /// + /// {"creatures": {"<wcid>": {"slash": 0.75, ..., "electric": 0.25, "nether": 1.0, "name": "..."}}}. + /// A missing element is 1.0 (normal damage). Returns the rows read. + /// + internal static int LoadWeaknessJson(string json) + { + int n = 0; + try + { + using var doc = System.Text.Json.JsonDocument.Parse(json); + if (!doc.RootElement.TryGetProperty("creatures", out var creatures) + || creatures.ValueKind != System.Text.Json.JsonValueKind.Object) return 0; + foreach (var c in creatures.EnumerateObject()) + { + if (!uint.TryParse(c.Name, NumberStyles.Integer, CultureInfo.InvariantCulture, out uint wcid) || wcid == 0) continue; + if (c.Value.ValueKind != System.Text.Json.JsonValueKind.Object) continue; + var m = new double[8]; + for (int i = 0; i < 8; i++) m[i] = 1.0; + string name = ""; + int type = 0; + foreach (var p in c.Value.EnumerateObject()) + { + if (p.NameEquals("name")) { name = p.Value.GetString() ?? ""; continue; } + if (p.NameEquals("type") && p.Value.TryGetInt32(out int t)) { type = t; continue; } + if (p.Value.ValueKind != System.Text.Json.JsonValueKind.Number) continue; + foreach (var (key, idx) in JsonKeys) + if (p.Name.Equals(key, StringComparison.OrdinalIgnoreCase)) { m[idx] = p.Value.GetDouble(); break; } + } + if (type == 0 && ByWcid.TryGetValue(wcid, out var old)) type = old.Type; + if (name.Length == 0 && ByWcid.TryGetValue(wcid, out var old2)) name = old2.Name; + ByWcid[wcid] = (name, type, m); + if (name.Length > 0) ByName.TryAdd(name, wcid); + n++; + } + } + catch { } + return n; + } + + /// + /// A ranking from a creature's own appraisal resist floats (ResistSlash 64 … ResistElectric + /// 70, ResistNether 166), when the server sent any. Stock ACE doesn't mark them as assessment + /// properties, so this is usually null and the table decides. Missing elements count 1.0. + /// + public static Ranking? FromAppraisal(double?[] mult) + { + if (mult == null || mult.Length < 8) return null; + bool any = false; + var m = new double[8]; + for (int i = 0; i < 8; i++) + { + if (mult[i] is double v && v >= 0 && v < 10) { m[i] = v; any = true; } + else m[i] = 1.0; + } + return any ? new Ranking { Source = "appraisal", Order = Ordered(m) } : null; + } + + private static string? ReadResourceText(string file, bool rooted) + { + try + { + var asm = Assembly.GetExecutingAssembly(); + string res = "RynthCore.Plugin.RynthAi." + (rooted ? file : "CreatureData." + file); + using Stream? s = asm.GetManifestResourceStream(res); + if (s == null) return null; + using var reader = new StreamReader(s); + return reader.ReadToEnd(); + } + catch { return null; } + } + + private static IEnumerable ReadResource(string file) + { + var asm = Assembly.GetExecutingAssembly(); + using Stream? s = asm.GetManifestResourceStream("RynthCore.Plugin.RynthAi.CreatureData." + file); + if (s == null) yield break; + using var reader = new StreamReader(s); + string? line; + while ((line = reader.ReadLine()) != null) yield return line; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/MonsterDamageStore.cs b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/MonsterDamageStore.cs index a7d1967..33265d1 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/MonsterDamageStore.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/MonsterDamageStore.cs @@ -11,7 +11,7 @@ namespace RynthCore.Plugin.RynthAi.CreatureData; /// skill/buffs AND the weapon used AND the spell, so unlike CreatureProfileStore /// (shared HP/resists — monster intrinsics) this is per character, stored next to /// that character's settings: -/// ...\SettingsProfiles\ACEmulator\<charName>\monster_damage.txt +/// ...\SettingsProfiles\<server>\<charName>\monster_damage.txt /// /// Learned, all as running averages: /// • HpPool[wcid] — total damage to kill (≈ HP), weapon-independent @@ -31,6 +31,22 @@ namespace RynthCore.Plugin.RynthAi.CreatureData; /// M|<wcid>|<name>|<hp> (manual HP override) /// D|<wcid>|<name>|<weaponId>|<element>|<tier>|<avgDamage>|<dmgSamples>|<avgCastsToKill>|<killSamples>|<critAvg>|<critSamples>|<nonCritAvg>|<nonCritSamples> /// (The loader also accepts the older 9/10-field name-less / crit-less D rows so existing data carries over.) +/// +/// Aelrynth difficulty tiers (2026-10-03, ): Aelrynth's awakened worlds +/// and scaled copies hold the same monsters (same wcids) with health, skills and damage scaled 5% +/// a tier. What a tier changes is kept per (wcid, tier): the HP pool, casts-to-kill, hits and +/// misses, seconds per kill (per weapon and per summon) and the damage the monster does to us. +/// What it does not change stays shared: per-cast damage (resistances and armour don't scale) +/// and every rule (weapon, offhand, pet, manual HP). Tier 0 - real Dereth, and every other +/// server, where the tier is always 0 - is today's data in today's rows, untouched. Tiers above 0 +/// are extra rows an older loader skips: +/// AH|<tier>|<wcid>|<name>|<hpToKill>|<samples> +/// AD|<tier>|<wcid>|<name>|<weaponId>|<element>|<spellTier>|<avgCastsToKill>|<killSamples> +/// AU|<tier>|<wcid>|<name>|<weaponId>|<hits>|<misses>|<secAvg>|<secSamples> +/// APK|<tier>|<wcid>|<name>|<element>|<kills>|<secAvg> +/// AT|<tier>|<wcid>|<name>|<element>|<hits>|<avg>|<max> +/// Records go to (the tier where the player stands, set each tick); +/// readers without a tier argument read it too, and the Damage panel passes the tier it shows. /// internal sealed class MonsterDamageStore { @@ -48,6 +64,30 @@ internal sealed class MonsterDamageStore public int NonCritSamples; // non-crit observations } + /// One weapon (or wand) against one monster: accuracy and fight length. + private sealed class WeaponUse + { + public int Hits; // landed attacks / damaging casts + public int Misses; // "X evaded your attack", "X resists your spell" + public double SecAvg; // avg seconds from engaging to the kill (fights we timed) + public int SecSamples; + } + + /// Kills with a summon of one element out ("" key = no summon). + private sealed class PetUse + { + public int Kills; + public double SecAvg; + } + + /// Damage the monster did to us, per element. + private sealed class TakenStat + { + public int Hits; + public double Avg; + public double Max; + } + private sealed class WcidProfile { public string Name = ""; // last-seen monster name (for the readable file + UI) @@ -56,16 +96,53 @@ internal sealed class MonsterDamageStore public double HpManual; // 0 = unset; user-entered HP override (UI), authoritative when > 0 public uint WeaponManual; // 0 = unset; user-picked weapon override for this wcid (Damage panel) public uint OffhandManual; // 0 = unset; user-picked offhand override for this wcid (Damage panel; stored only) + public string PetManual = ""; // "" = Auto; "E:" or "I:" (Damage panel) public int LastTier = NoTier; // most-recent cast tier (negative = ring); NoTier = unset this session // key = "weaponId|element|tier" public readonly Dictionary Casts = new(StringComparer.OrdinalIgnoreCase); + public readonly Dictionary Weapons = new(); + public readonly Dictionary Pets = new(StringComparer.OrdinalIgnoreCase); + public readonly Dictionary Taken = new(StringComparer.OrdinalIgnoreCase); } private const int NoTier = int.MinValue; // sentinel: no cast observed for this wcid yet + /// Casts-to-kill for one (weapon, element, spell tier) at one difficulty tier. + private sealed class KillStat + { + public double AvgCastsToKill; + public int KillSamples; + } + + /// What one Aelrynth difficulty tier above 0 changes about one monster (see the class comment). + private sealed class TierProfile + { + public double HpPool; + public int HpSamples; + // key = "weaponId|element|tier" (the spell tier), as WcidProfile.Casts + public readonly Dictionary Kills = new(StringComparer.OrdinalIgnoreCase); + public readonly Dictionary Weapons = new(); + public readonly Dictionary Pets = new(StringComparer.OrdinalIgnoreCase); + public readonly Dictionary Taken = new(StringComparer.OrdinalIgnoreCase); + } + private readonly object _lock = new(); private readonly Dictionary _byWcid = new(); + /// Difficulty tiers above 0 only; tier 0 is . + private readonly Dictionary<(uint Wcid, int Difficulty), TierProfile> _byTier = new(); + private volatile int _difficulty; + + /// + /// The Aelrynth difficulty tier new observations are recorded under, and the one the + /// tier-less readers answer for: the tier where the player stands (AwakenedTier.Current, + /// set every tick). Always 0 off Aelrynth. + /// + public int Difficulty + { + get => _difficulty; + set => _difficulty = value < 0 ? 0 : value; + } private string _filePath = string.Empty; private bool _dirty; // Per-character DEFAULT weapon: the fallback every monster without its own weapon override uses, @@ -88,6 +165,7 @@ internal sealed class MonsterDamageStore lock (_lock) { _byWcid.Clear(); + _byTier.Clear(); _defaultWeapon = 0; _dirty = false; _filePath = string.IsNullOrWhiteSpace(charFolder) @@ -102,6 +180,7 @@ internal sealed class MonsterDamageStore lock (_lock) { _byWcid.Clear(); + _byTier.Clear(); _defaultWeapon = 0; if (string.IsNullOrEmpty(_filePath) || !File.Exists(_filePath)) return; @@ -113,7 +192,11 @@ internal sealed class MonsterDamageStore if (line.Length == 0 || line[0] == '#') continue; string[] f = line.Split('|'); - if (f.Length >= 2 && f[0] == "DEF") + if (f.Length >= 2 && f[0].Length >= 2 && f[0][0] == 'A' && f[0] != "A") + { + LoadTierRow(f); + } + else if (f.Length >= 2 && f[0] == "DEF") { // DEF|weaponId — per-character default weapon (sweeping fallback) if (uint.TryParse(f[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out uint dw)) @@ -156,6 +239,16 @@ internal sealed class MonsterDamageStore if (f[2].Length > 0) p.Name = f[2]; } } + else if (f.Length >= 4 && f[0] == "P") + { + // P|wcid|name|choice — per-monster pet choice (Damage panel) + if (uint.TryParse(f[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out uint pw)) + { + var p = Get(pw); + p.PetManual = f[3]; + if (f[2].Length > 0) p.Name = f[2]; + } + } else if (f.Length >= 4 && f[0] == "O") { // O|wcid|name|offhandId — per-monster offhand override (Damage panel; stored only) @@ -167,6 +260,49 @@ internal sealed class MonsterDamageStore if (f[2].Length > 0) p.Name = f[2]; } } + else if (f.Length >= 8 && f[0] == "U") + { + // U|wcid|name|weaponId|hits|misses|secAvg|secSamples + if (uint.TryParse(f[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out uint uw) + && uint.TryParse(f[3], NumberStyles.Integer, CultureInfo.InvariantCulture, out uint wid)) + { + var p = Get(uw); + if (f[2].Length > 0) p.Name = f[2]; + var u = new WeaponUse(); + int.TryParse(f[4], NumberStyles.Integer, CultureInfo.InvariantCulture, out u.Hits); + int.TryParse(f[5], NumberStyles.Integer, CultureInfo.InvariantCulture, out u.Misses); + double.TryParse(f[6], NumberStyles.Float, CultureInfo.InvariantCulture, out u.SecAvg); + int.TryParse(f[7], NumberStyles.Integer, CultureInfo.InvariantCulture, out u.SecSamples); + p.Weapons[wid] = u; + } + } + else if (f.Length >= 6 && f[0] == "PK") + { + // PK|wcid|name|element (none = no summon)|kills|secAvg + if (uint.TryParse(f[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out uint kw)) + { + var p = Get(kw); + if (f[2].Length > 0) p.Name = f[2]; + var k = new PetUse(); + int.TryParse(f[4], NumberStyles.Integer, CultureInfo.InvariantCulture, out k.Kills); + double.TryParse(f[5], NumberStyles.Float, CultureInfo.InvariantCulture, out k.SecAvg); + p.Pets[f[3] == "none" ? "" : f[3]] = k; + } + } + else if (f.Length >= 7 && f[0] == "T") + { + // T|wcid|name|element|hits|avg|max + if (uint.TryParse(f[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out uint tw)) + { + var p = Get(tw); + if (f[2].Length > 0) p.Name = f[2]; + var t = new TakenStat(); + int.TryParse(f[4], NumberStyles.Integer, CultureInfo.InvariantCulture, out t.Hits); + double.TryParse(f[5], NumberStyles.Float, CultureInfo.InvariantCulture, out t.Avg); + double.TryParse(f[6], NumberStyles.Float, CultureInfo.InvariantCulture, out t.Max); + p.Taken[f[3]] = t; + } + } else if (f.Length >= 9 && f[0] == "D") { // New: D|wcid|name|weaponId|element|tier|avg|dmgS|avgCasts|killS|critAvg|critS|nonCritAvg|nonCritS (14 fields) @@ -208,6 +344,103 @@ internal sealed class MonsterDamageStore } } + /// One AH/AD/AU/APK/AT row (a difficulty tier above 0). Caller holds _lock. + private void LoadTierRow(string[] f) + { + var inv = CultureInfo.InvariantCulture; + // f[1] = tier, f[2] = wcid, f[3] = name, then the row's own fields. + if (f.Length < 5 + || !int.TryParse(f[1], NumberStyles.Integer, inv, out int d) || d <= 0 + || !uint.TryParse(f[2], NumberStyles.Integer, inv, out uint wcid) || wcid == 0) + return; + if (f[3].Length > 0) Get(wcid).Name = f[3]; // the name lives on the tier-0 profile + var tp = Tier(wcid, d); + switch (f[0]) + { + case "AH" when f.Length >= 6: + double.TryParse(f[4], NumberStyles.Float, inv, out tp.HpPool); + int.TryParse(f[5], NumberStyles.Integer, inv, out tp.HpSamples); + break; + case "AD" when f.Length >= 9: + if (uint.TryParse(f[4], NumberStyles.Integer, inv, out uint wid) + && int.TryParse(f[6], NumberStyles.Integer, inv, out int spellTier)) + { + var k = new KillStat(); + double.TryParse(f[7], NumberStyles.Float, inv, out k.AvgCastsToKill); + int.TryParse(f[8], NumberStyles.Integer, inv, out k.KillSamples); + tp.Kills[CastKey(wid, f[5], spellTier)] = k; + } + break; + case "AU" when f.Length >= 9: + if (uint.TryParse(f[4], NumberStyles.Integer, inv, out uint uw)) + { + var u = new WeaponUse(); + int.TryParse(f[5], NumberStyles.Integer, inv, out u.Hits); + int.TryParse(f[6], NumberStyles.Integer, inv, out u.Misses); + double.TryParse(f[7], NumberStyles.Float, inv, out u.SecAvg); + int.TryParse(f[8], NumberStyles.Integer, inv, out u.SecSamples); + tp.Weapons[uw] = u; + } + break; + case "APK" when f.Length >= 7: + { + var k = new PetUse(); + int.TryParse(f[5], NumberStyles.Integer, inv, out k.Kills); + double.TryParse(f[6], NumberStyles.Float, inv, out k.SecAvg); + tp.Pets[f[4] == "none" ? "" : f[4]] = k; + break; + } + case "AT" when f.Length >= 8: + { + var t = new TakenStat(); + int.TryParse(f[5], NumberStyles.Integer, inv, out t.Hits); + double.TryParse(f[6], NumberStyles.Float, inv, out t.Avg); + double.TryParse(f[7], NumberStyles.Float, inv, out t.Max); + tp.Taken[f[4]] = t; + break; + } + } + } + + /// The tier rows of the file (empty when there are none). Caller holds _lock. + private void AppendTierRows(StringBuilder sb) + { + if (_byTier.Count == 0) return; + sb.Append("# Aelrynth difficulty tiers above 0 (awakened worlds, scaled copies); tier 0 is the rows above:\n"); + sb.Append("# AH|tier|wcid|name|hpToKill|samples\n"); + sb.Append("# AD|tier|wcid|name|weaponId|element|spellTier|avgCastsToKill|killSamples\n"); + sb.Append("# AU|tier|wcid|name|weaponId|hits|misses|secToKillAvg|secSamples\n"); + sb.Append("# APK|tier|wcid|name|summonElement|kills|secToKillAvg\n"); + sb.Append("# AT|tier|wcid|name|element|hitsTaken|avgDamageTaken|maxDamageTaken\n"); + var keys = new List<(uint Wcid, int Difficulty)>(_byTier.Keys); + keys.Sort((a, b) => a.Difficulty != b.Difficulty ? a.Difficulty.CompareTo(b.Difficulty) : a.Wcid.CompareTo(b.Wcid)); + foreach (var key in keys) + { + var tp = _byTier[key]; + string head = key.Difficulty.ToString(CultureInfo.InvariantCulture) + "|" + key.Wcid.ToString(CultureInfo.InvariantCulture) + + "|" + (_byWcid.TryGetValue(key.Wcid, out var p) ? p.Name : ""); + if (tp.HpSamples > 0) + sb.Append("AH|").Append(head).Append('|').Append(Num(tp.HpPool)).Append('|').Append(tp.HpSamples).Append('\n'); + foreach (var k in tp.Kills) + { + string[] kp = k.Key.Split('|'); // weaponId|element|tier + if (kp.Length < 3 || k.Value.KillSamples <= 0) continue; + sb.Append("AD|").Append(head).Append('|').Append(kp[0]).Append('|').Append(kp[1]).Append('|').Append(kp[2]).Append('|') + .Append(Num(k.Value.AvgCastsToKill)).Append('|').Append(k.Value.KillSamples).Append('\n'); + } + foreach (var u in tp.Weapons) + sb.Append("AU|").Append(head).Append('|').Append(u.Key).Append('|') + .Append(u.Value.Hits).Append('|').Append(u.Value.Misses).Append('|') + .Append(Num(u.Value.SecAvg)).Append('|').Append(u.Value.SecSamples).Append('\n'); + foreach (var k in tp.Pets) + sb.Append("APK|").Append(head).Append('|').Append(k.Key.Length == 0 ? "none" : k.Key).Append('|') + .Append(k.Value.Kills).Append('|').Append(Num(k.Value.SecAvg)).Append('\n'); + foreach (var t in tp.Taken) + sb.Append("AT|").Append(head).Append('|').Append(t.Key).Append('|') + .Append(t.Value.Hits).Append('|').Append(Num(t.Value.Avg)).Append('|').Append(Num(t.Value.Max)).Append('\n'); + } + } + /// Persist if anything changed. Cheap to call from a tick. public void SaveIfDirty() { @@ -225,8 +458,12 @@ internal sealed class MonsterDamageStore sb.Append("# M|wcid|name|hp (manual HP override, set in the Damage panel)\n"); sb.Append("# W|wcid|name|weaponId (per-monster weapon override, set in the Damage panel)\n"); sb.Append("# O|wcid|name|offhandId (per-monster offhand override, set in the Damage panel)\n"); + sb.Append("# P|wcid|name|E:element or I:essenceId (per-monster pet choice; none = Auto)\n"); sb.Append("# D|wcid|name|weaponId|element|tier|avgDamage|dmgSamples|avgCastsToKill|killSamples|critAvg|critSamples|nonCritAvg|nonCritSamples\n"); sb.Append("# DEF|weaponId (per-character default weapon — fallback for every monster without its own override)\n"); + sb.Append("# U|wcid|name|weaponId|hits|misses|secToKillAvg|secSamples (accuracy and fight length per weapon)\n"); + sb.Append("# PK|wcid|name|summonElement (none = no summon)|kills|secToKillAvg\n"); + sb.Append("# T|wcid|name|element|hitsTaken|avgDamageTaken|maxDamageTaken\n"); if (_defaultWeapon != 0) sb.Append("DEF|").Append(_defaultWeapon).Append('\n'); foreach (var kv in _byWcid) @@ -245,6 +482,20 @@ internal sealed class MonsterDamageStore if (p.OffhandManual != 0) sb.Append("O|").Append(kv.Key).Append('|').Append(name).Append('|') .Append(p.OffhandManual).Append('\n'); + if (p.PetManual.Length > 0) + sb.Append("P|").Append(kv.Key).Append('|').Append(name).Append('|') + .Append(p.PetManual).Append('\n'); + foreach (var u in p.Weapons) + sb.Append("U|").Append(kv.Key).Append('|').Append(name).Append('|').Append(u.Key).Append('|') + .Append(u.Value.Hits).Append('|').Append(u.Value.Misses).Append('|') + .Append(Num(u.Value.SecAvg)).Append('|').Append(u.Value.SecSamples).Append('\n'); + foreach (var k in p.Pets) + sb.Append("PK|").Append(kv.Key).Append('|').Append(name).Append('|') + .Append(k.Key.Length == 0 ? "none" : k.Key).Append('|') + .Append(k.Value.Kills).Append('|').Append(Num(k.Value.SecAvg)).Append('\n'); + foreach (var t in p.Taken) + sb.Append("T|").Append(kv.Key).Append('|').Append(name).Append('|').Append(t.Key).Append('|') + .Append(t.Value.Hits).Append('|').Append(Num(t.Value.Avg)).Append('|').Append(Num(t.Value.Max)).Append('\n'); foreach (var c in p.Casts) { string[] kp = c.Key.Split('|'); // weaponId|element|tier @@ -258,6 +509,7 @@ internal sealed class MonsterDamageStore .Append(Num(v.NonCritAvg)).Append('|').Append(v.NonCritSamples).Append('\n'); } } + AppendTierRows(sb); string tmp = _filePath + ".tmp"; File.WriteAllText(tmp, sb.ToString()); @@ -278,11 +530,13 @@ internal sealed class MonsterDamageStore public void RecordHit(uint weaponId, uint wcid, string name, string element, int tier, double damage, bool crit) { if (wcid == 0 || damage <= 0) return; + int d = Difficulty; lock (_lock) { SetNameLocked(wcid, name); Get(wcid).LastTier = tier; - var s = GetCast(wcid, weaponId, element, tier); + if (weaponId != 0) Use(wcid, weaponId, d).Hits++; // hit rate: the monster's defence scales + var s = GetCast(wcid, weaponId, element, tier); // damage per cast: shared by every tier s.Avg = s.Samples == 0 ? damage : s.Avg + Alpha * (damage - s.Avg); s.Samples++; if (crit) @@ -308,11 +562,33 @@ internal sealed class MonsterDamageStore public void RecordKill(uint weaponId, uint wcid, string name, string element, int tier, int castCount, double totalDamage) { if (wcid == 0) return; + int d = Difficulty; lock (_lock) { var p = Get(wcid); SetNameLocked(wcid, name); p.LastTier = tier; + if (d > 0) + { + // A scaled tier: its own HP pool and casts-to-kill. The shared cast row is made + // (empty) when missing so the Damage panel lists this weapon/spell. + var tp = Tier(wcid, d); + if (totalDamage > 0) + { + tp.HpPool = tp.HpSamples == 0 ? totalDamage : tp.HpPool + Alpha * (totalDamage - tp.HpPool); + tp.HpSamples++; + } + if (castCount > 0) + { + GetCast(wcid, weaponId, element, tier); + string key = CastKey(weaponId, element, tier); + if (!tp.Kills.TryGetValue(key, out var k)) tp.Kills[key] = k = new KillStat(); + k.AvgCastsToKill = k.KillSamples == 0 ? castCount : k.AvgCastsToKill + Alpha * (castCount - k.AvgCastsToKill); + k.KillSamples++; + } + _dirty = true; + return; + } if (totalDamage > 0) { p.HpPool = p.HpSamples == 0 ? totalDamage : p.HpPool + Alpha * (totalDamage - p.HpPool); @@ -328,6 +604,156 @@ internal sealed class MonsterDamageStore } } + /// An attack or cast that did nothing: evaded, or the spell was resisted. + public void RecordMiss(uint weaponId, uint wcid, string name) + { + if (wcid == 0 || weaponId == 0) return; + int d = Difficulty; + lock (_lock) + { + SetNameLocked(wcid, name); + Use(wcid, weaponId, d).Misses++; + _dirty = true; + } + } + + /// + /// A timed fight ended in our kill: from engaging it, with + /// : "none" = no summon out, "" = a summon of unknown element, else its element. + /// + public void RecordFightTime(uint weaponId, uint wcid, string name, double seconds, string? summonElement) + { + if (wcid == 0 || seconds <= 0 || seconds > 600) return; + int d = Difficulty; + lock (_lock) + { + SetNameLocked(wcid, name); + if (weaponId != 0) + { + var u = Use(wcid, weaponId, d); + u.SecAvg = u.SecSamples == 0 ? seconds : u.SecAvg + Alpha * (seconds - u.SecAvg); + u.SecSamples++; + } + // "none" = no summon out (kept, to compare against); "" = a summon of unknown element (skipped). + if (summonElement != null && summonElement.Length > 0) + { + string key = summonElement == "none" ? "" : summonElement; + var pets = d > 0 ? Tier(wcid, d).Pets : Get(wcid).Pets; + if (!pets.TryGetValue(key, out var k)) pets[key] = k = new PetUse(); + k.SecAvg = k.Kills == 0 ? seconds : k.SecAvg + Alpha * (seconds - k.SecAvg); + k.Kills++; + } + _dirty = true; + } + } + + /// The monster hit us for of . + public void RecordTaken(uint wcid, string name, string element, double damage) + { + if (wcid == 0 || damage <= 0) return; + int d = Difficulty; + lock (_lock) + { + SetNameLocked(wcid, name); + var taken = d > 0 ? Tier(wcid, d).Taken : Get(wcid).Taken; // monster damage scales + string key = string.IsNullOrEmpty(element) ? "Physical" : element; + if (!taken.TryGetValue(key, out var t)) taken[key] = t = new TakenStat(); + t.Avg = t.Hits == 0 ? damage : t.Avg + Alpha * (damage - t.Avg); + t.Hits++; + if (damage > t.Max) t.Max = damage; + _dirty = true; + } + } + + /// Seconds per kill over every timed fight with this monster (kills-weighted), and hit rate + /// over every weapon (-1 when unknown). For the Damage tab's main row. + public (double SecPerKill, double HitRate) GetSummary(uint wcid) => GetSummary(wcid, Difficulty); + + /// for one difficulty tier (0 = real Dereth). + public (double SecPerKill, double HitRate) GetSummary(uint wcid, int difficulty) + { + lock (_lock) + { + var weapons = WeaponsAt(wcid, difficulty); + if (weapons == null) return (-1, -1); + double secW = 0; int secN = 0, hits = 0, misses = 0; + foreach (var u in weapons.Values) + { + secW += u.SecAvg * u.SecSamples; secN += u.SecSamples; + hits += u.Hits; misses += u.Misses; + } + return (secN > 0 ? secW / secN : -1, hits + misses > 0 ? (double)hits / (hits + misses) : -1); + } + } + + public readonly record struct WeaponUseRow(uint WeaponId, int Hits, int Misses, double SecAvg, int SecSamples); + public readonly record struct PetUseRow(string Element, int Kills, double SecAvg); + public readonly record struct TakenRow(string Element, int Hits, double Avg, double Max); + + /// The detail panel's extra tables for one monster. + public (List Weapons, List Pets, List Taken) GetDetail(uint wcid) => GetDetail(wcid, Difficulty); + + /// The detail tables at one difficulty tier (0 = real Dereth). + public (List Weapons, List Pets, List Taken) GetDetail(uint wcid, int difficulty) + { + var w = new List(); var pl = new List(); var tl = new List(); + lock (_lock) + { + Dictionary? weapons = null; + Dictionary? pets = null; + Dictionary? taken = null; + if (difficulty > 0) + { + if (_byTier.TryGetValue((wcid, difficulty), out var tp)) { weapons = tp.Weapons; pets = tp.Pets; taken = tp.Taken; } + } + else if (_byWcid.TryGetValue(wcid, out var p)) { weapons = p.Weapons; pets = p.Pets; taken = p.Taken; } + if (weapons != null) + foreach (var u in weapons) w.Add(new(u.Key, u.Value.Hits, u.Value.Misses, u.Value.SecAvg, u.Value.SecSamples)); + if (pets != null) + foreach (var k in pets) pl.Add(new(k.Key, k.Value.Kills, k.Value.SecAvg)); + if (taken != null) + foreach (var t in taken) tl.Add(new(t.Key, t.Value.Hits, t.Value.Avg, t.Value.Max)); + } + return (w, pl, tl); + } + + /// One weapon's accuracy/fight-length record at a difficulty tier (made when missing). Caller holds _lock. + private WeaponUse Use(uint wcid, uint weaponId, int difficulty) + { + var d = difficulty > 0 ? Tier(wcid, difficulty).Weapons : Get(wcid).Weapons; + if (!d.TryGetValue(weaponId, out var u)) d[weaponId] = u = new WeaponUse(); + return u; + } + + /// The per-weapon records at a difficulty tier, or null when there are none. Caller holds _lock. + private Dictionary? WeaponsAt(uint wcid, int difficulty) + { + if (difficulty > 0) + return _byTier.TryGetValue((wcid, difficulty), out var tp) ? tp.Weapons : null; + return _byWcid.TryGetValue(wcid, out var p) ? p.Weapons : null; + } + + /// A monster's record at a difficulty tier above 0 (made when missing). Caller holds _lock. + private TierProfile Tier(uint wcid, int difficulty) + { + if (!_byTier.TryGetValue((wcid, difficulty), out var tp)) + { + tp = new TierProfile(); + _byTier[(wcid, difficulty)] = tp; + Get(wcid); // the monster's name and rules live on its tier-0 profile + } + return tp; + } + + /// The difficulty tiers above 0 with anything learned, ascending (empty off Aelrynth). + public List KnownDifficulties() + { + var set = new SortedSet(); + lock (_lock) + foreach (var k in _byTier.Keys) set.Add(k.Difficulty); + return new List(set); + } + /// Note the tier of the most-recent cast at a wcid (negative = ring) so the Damage tab's /// collapsed row shows the LATEST tier used. In-memory only (not persisted) — resets per session. public void NoteCast(uint wcid, int tier, string? name = null) @@ -385,8 +811,19 @@ internal sealed class MonsterDamageStore { killSamples = 0; if (wcid == 0) return 0; + int d = Difficulty; lock (_lock) { + if (d > 0) + { + // Only this tier's own kills: a tier-0 one-shot can take two casts at tier 10. + if (_byTier.TryGetValue((wcid, d), out var tp) && tp.Kills.TryGetValue(CastKey(weaponId, element, tier), out var k)) + { + killSamples = k.KillSamples; + return k.AvgCastsToKill; + } + return 0; + } if (_byWcid.TryGetValue(wcid, out var p) && p.Casts.TryGetValue(CastKey(weaponId, element, tier), out var s)) { killSamples = s.KillSamples; @@ -397,11 +834,18 @@ internal sealed class MonsterDamageStore } /// Learned total-damage-to-kill for this wcid, or 0 if not yet learned. - public double GetLearnedHp(uint wcid) + public double GetLearnedHp(uint wcid) => GetLearnedHp(wcid, Difficulty); + + /// Learned total-damage-to-kill at one difficulty tier (0 = real Dereth), or 0. + public double GetLearnedHp(uint wcid, int difficulty) { if (wcid == 0) return 0; lock (_lock) + { + if (difficulty > 0) + return _byTier.TryGetValue((wcid, difficulty), out var tp) ? tp.HpPool : 0; return _byWcid.TryGetValue(wcid, out var p) ? p.HpPool : 0; + } } /// User-entered HP override for this wcid (0 = none). Authoritative when > 0. @@ -446,6 +890,27 @@ internal sealed class MonsterDamageStore } } + /// Per-monster pet choice: "" = Auto, "E:<element>", or "I:<essence id>". + public string GetManualPet(uint wcid) + { + if (wcid == 0) return ""; + lock (_lock) + return _byWcid.TryGetValue(wcid, out var p) ? p.PetManual : ""; + } + + /// Set ("" = Auto) the per-monster pet choice. Persists on next save. + public void SetManualPet(uint wcid, string choice, string? name = null) + { + if (wcid == 0) return; + lock (_lock) + { + var p = Get(wcid); + p.PetManual = (choice ?? "").Replace('|', ' ').Trim(); + if (!string.IsNullOrEmpty(name)) SetNameLocked(wcid, name); + _dirty = true; + } + } + /// User-picked offhand override for this wcid (0 = none). Stored only — combat does not equip it. public uint GetManualOffhand(uint wcid) { @@ -475,6 +940,50 @@ internal sealed class MonsterDamageStore /// Fewest-casts naturally captures element effectiveness empirically (the wand /// that kills a fire-weak mob fastest tends to be the fire wand). /// + /// + /// The damage element that has worked best on this monster (fewest casts to + /// kill, else highest average damage), from the Damage tab's learned rows. + /// "" when nothing is learned yet. + /// + public string GetBestElement(uint wcid) + { + if (wcid == 0) return ""; + lock (_lock) + { + if (!_byWcid.TryGetValue(wcid, out var p) || p.Casts.Count == 0) return ""; + var byElem = new Dictionary(StringComparer.OrdinalIgnoreCase); + foreach (var c in p.Casts) + { + string[] kp = c.Key.Split('|'); // weaponId|element|tier + if (kp.Length < 2 || string.IsNullOrWhiteSpace(kp[1])) continue; + var v = c.Value; + byElem.TryGetValue(kp[1], out var a); + a.castsW += v.AvgCastsToKill * v.KillSamples; + a.kills += v.KillSamples; + a.dmgW += v.Avg * v.Samples; + a.dmg += v.Samples; + byElem[kp[1]] = a; + } + string bestByCasts = ""; double bestCasts = double.MaxValue; + string bestByDmg = ""; double bestDmg = 0; + foreach (var kv in byElem) + { + var a = kv.Value; + if (a.kills >= 2) + { + double avgCasts = a.castsW / a.kills; + if (avgCasts > 0 && avgCasts < bestCasts) { bestCasts = avgCasts; bestByCasts = kv.Key; } + } + if (a.dmg >= 3) + { + double avgDmg = a.dmgW / a.dmg; + if (avgDmg > bestDmg) { bestDmg = avgDmg; bestByDmg = kv.Key; } + } + } + return bestByCasts.Length > 0 ? bestByCasts : bestByDmg; + } + } + public uint GetBestWeapon(uint wcid) { if (wcid == 0) return 0; @@ -547,11 +1056,21 @@ internal sealed class MonsterDamageStore lock (_lock) { if (!_byWcid.TryGetValue(wcid, out var p)) return false; - bool removed = p.Casts.Remove(CastKey(weaponId, element, tier)); + string key = CastKey(weaponId, element, tier); + bool removed = p.Casts.Remove(key); + // The row's casts-to-kill at every difficulty tier goes with it. + bool anyTier = false; + foreach (var kv in _byTier) + { + if (kv.Key.Wcid != wcid) continue; + if (kv.Value.Kills.Remove(key)) removed = true; + anyTier = true; + } if (removed) { - if (p.Casts.Count == 0 && p.HpSamples == 0 && p.HpManual <= 0 && p.HpPool <= 0 - && p.WeaponManual == 0 && p.OffhandManual == 0) + if (!anyTier && p.Casts.Count == 0 && p.HpSamples == 0 && p.HpManual <= 0 && p.HpPool <= 0 + && p.WeaponManual == 0 && p.OffhandManual == 0 && p.PetManual.Length == 0 + && p.Weapons.Count == 0 && p.Pets.Count == 0 && p.Taken.Count == 0) _byWcid.Remove(wcid); _dirty = true; } @@ -565,6 +1084,10 @@ internal sealed class MonsterDamageStore lock (_lock) { bool removed = _byWcid.Remove(wcid); + var tierKeys = new List<(uint, int)>(); + foreach (var k in _byTier.Keys) if (k.Wcid == wcid) tierKeys.Add(k); + foreach (var k in tierKeys) _byTier.Remove(k); + removed |= tierKeys.Count > 0; if (removed) _dirty = true; return removed; } @@ -584,6 +1107,9 @@ internal sealed class MonsterDamageStore { p.HpPool = 0; p.HpSamples = 0; + p.Weapons.Clear(); + p.Pets.Clear(); + p.Taken.Clear(); foreach (var c in p.Casts.Values) { c.Avg = 0; c.Samples = 0; @@ -592,6 +1118,7 @@ internal sealed class MonsterDamageStore c.NonCritAvg = 0; c.NonCritSamples = 0; } } + _byTier.Clear(); // every difficulty tier's numbers are learned statistics too _dirty = true; } } @@ -606,7 +1133,13 @@ internal sealed class MonsterDamageStore double AvgCastsToKill, int KillSamples); /// Snapshot all learned rows for live display. Cheap; copies under lock. - public List Snapshot() + public List Snapshot() => Snapshot(0); + + /// + /// The rows as seen at one difficulty tier: damage per cast is shared, while the HP pool and + /// casts-to-kill are that tier's own (0 / no kills where it has none). Tier 0 = today's rows. + /// + public List Snapshot(int difficulty) { var list = new List(); lock (_lock) @@ -614,6 +1147,9 @@ internal sealed class MonsterDamageStore foreach (var kv in _byWcid) { var p = kv.Value; + TierProfile? tp = null; + if (difficulty > 0) _byTier.TryGetValue((kv.Key, difficulty), out tp); + double hpPool = difficulty > 0 ? tp?.HpPool ?? 0 : p.HpPool; foreach (var c in p.Casts) { string[] kp = c.Key.Split('|'); // weaponId|element|tier @@ -621,9 +1157,15 @@ internal sealed class MonsterDamageStore string element = kp.Length >= 2 ? kp[1] : ""; int tier = kp.Length >= 3 && int.TryParse(kp[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out int t) ? t : 0; var v = c.Value; - list.Add(new DamageRow(kv.Key, p.Name, p.HpPool, p.HpManual, weaponId, element, tier, + double casts = v.AvgCastsToKill; int kills = v.KillSamples; + if (difficulty > 0) + { + if (tp != null && tp.Kills.TryGetValue(c.Key, out var k)) { casts = k.AvgCastsToKill; kills = k.KillSamples; } + else { casts = 0; kills = 0; } + } + list.Add(new DamageRow(kv.Key, p.Name, hpPool, p.HpManual, weaponId, element, tier, v.Avg, v.Samples, v.CritAvg, v.CritSamples, v.NonCritAvg, v.NonCritSamples, - v.AvgCastsToKill, v.KillSamples)); + casts, kills)); } } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/creature_resists.tsv b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/creature_resists.tsv new file mode 100644 index 0000000..3bb6872 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/creature_resists.tsv @@ -0,0 +1,4313 @@ +# RynthAi creature resists from the Aelrynth world database (generated by ops/rynth-creature-resists.py). +# wcidnamecreatureTypeSlashPierceBludgeonFireColdAcidLightningNether +# Values are damage taken: 1.0 = full damage, 0.5 = half, 0 = immune. Creatures with no resist data are left out. +3 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +5 Laigus Lugian 5 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +6 Banderling Scout 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +7 Drudge Skulker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +8 Creeper Mosswart 4 0.8 0.8 0.8 1 0.8 0.8 1 1 +10 Mite Scamp 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +11 Male Tusker 8 0.5 1 0.75 1 0.75 0.75 0.4 1 +12 Red Phyntos Wasp 9 1 1 1 0.9 0.8 0.9 0.9 1 +13 White Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +16 Undead 14 1 0.7 0.75 1 0.4 0.75 0.86 1 +18 Reedshark Elder 16 0.6 0.75 1 1 0.66 1 0.75 1 +19 Bronze Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +23 Virindi Servant 19 1 1 1 1 0.5 1 0.5 1 +177 Spiny Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +178 Brown Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +179 Spikey Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +180 Sandy Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +183 Banderling Raver 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +184 Banderling Captain 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +187 Bandit Lord 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +188 Bandit Mage 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +189 Cultist High Priest 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +190 Cultist Cohort 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +192 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +193 Drudge Slinker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +194 Copper Golem 13 0.33 0.5 0.83 0.2 0.2 1 1 1 +195 Granite Golem 13 0.53 0.9 1 0.4 0.1 0.33 0.4 1 +196 Ice Golem 13 0.83 0.83 0.8 1 0 0.83 0.8 1 +197 Iron Golem 13 0.33 0.5 0.83 0.1 0.2 1 1 1 +198 Limestone Golem 13 0.63 0.63 1 0.3 0.2 1 0.63 1 +199 Magma Golem 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +200 Mud Golem 13 0.83 0.83 0.83 1 1 0.33 0.83 1 +201 Obsidian Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +202 Sandstone Golem 13 0.33 0.5 1 0.2 0.2 1 0.83 1 +203 Gromnie Hatchling 15 1 1 1 0.83 0.7 1 1 1 +204 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +205 Obeloth Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +206 Lithos Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +208 Mite Matron 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +209 Mite Squib 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +210 Mosswart Chief 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +211 Mudlurk Mosswart 4 0.7 0.8 0.8 1 0.8 0.5 1 1 +212 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +213 Olthoi Nymph 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +214 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +215 Blue Phyntos Wasp 9 1 1 1 0.7 0.8 0.8 0.9 1 +216 Green Phyntos Wasp 9 1 1 1 0.9 0.9 0.75 0.9 1 +217 Gold Phyntos Wasp 9 1 1 1 0.75 0.75 0.75 0.25 1 +218 Black Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +219 Grey Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +220 Brown Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +221 Adult Reedshark 16 0.6 0.75 1 1 0.66 1 0.75 1 +222 Veteran Reedshark 16 0.6 0.75 1 1 0.66 1 0.75 1 +223 Reedshark Pup 16 0.6 0.75 1 1 0.66 1 0.75 1 +224 Rogue 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +225 Rogue Mage 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +235 Goldenback Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +236 Female Tusker 8 0.5 1 0.75 1 0.75 0.75 0.4 1 +237 Virindi Master 19 1 1 1 1 0.5 1 0.5 1 +238 Virindi Puppet 19 1 1 1 1 0.5 1 0.5 1 +619 Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +937 Banderling Guard 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +938 Banderling Raider 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +939 Young Banderling 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +940 Drudge Sneaker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +941 Water Golem 13 0.33 0.5 0.33 1 1 0.83 1 1 +942 Wood Golem 13 0.83 0.8 0.8 1 0.77 0.8 0.67 1 +943 Mite Scion 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +944 Mite Digger 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +945 Mite Sentry 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +946 Mite Squire 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +947 Barker Mosswart 4 0.55 0.8 0.8 1 0.8 0.5 1 1 +948 Mosswart Feeder 4 0.8 0.8 0.8 1 0.8 0.8 1 1 +949 Red Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +950 Zombie 14 1 0.7 0.75 1 0.4 0.75 0.86 1 +1210 Mercenary 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +1218 Thief 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +1240 Oversized Banderling Ogre 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +1241 Banderling Bloodblade 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +1242 Drudge Hoarder 3 0.86 0.85 0.8 1 1 0.85 1 1 +1243 Large Silver Rat 10 0.75 0.75 1 1 0.58 0.58 1 1 +1255 Drudge Slave Keyholder 3 0.86 0.85 0.8 1 1 0.85 1 1 +1256 Braggart Mosswart 4 0.55 0.8 0.8 1 0.8 0.5 1 1 +1257 Mosswart Overchief 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +1258 Ravenous Mosswart 4 0.7 0.8 0.8 1 0.8 0.5 1 1 +1259 Mosswart Keeper 4 0.7 0.8 0.8 1 0.8 0.5 1 1 +1273 Giant White Rat 10 0.75 0.75 1 0.25 0.58 0.58 1 1 +1321 Matted Drudge Ravener 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +1322 Drudge Stalker Pack Rat 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +1356 Banderling Captain 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +1362 Trusted Tusker 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +1404 Guardian of the Lost Light 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +1405 Swamp Rat 10 0.85 0.85 1 1 0.85 0.9 0.8 1 +1406 Desert Rat 10 0.85 0.85 1 0.85 0.85 1 1 1 +1407 Drudge Slave 3 0.86 0.85 0.8 1 1 0.85 1 1 +1408 Drudge Slave 3 0.86 0.85 0.8 1 1 0.85 1 1 +1409 Drudge Slave 3 0.86 0.85 0.8 1 1 0.85 1 1 +1410 Drudge Slave 3 0.86 0.85 0.8 1 1 0.85 1 1 +1461 Mosswart Mucker 4 0.55 0.8 0.8 1 0.8 0.5 1 1 +1462 Banderling Rogue 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +1463 Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +1464 Drudge Robber 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +1465 Guardian of the Helm 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +1466 Wari al Sha'im 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +1467 Mite Scamp 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +1468 Drudge Slinker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +1469 Banderling Scout 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +1470 Mosswart Feeder 4 0.8 0.8 0.8 1 0.8 0.8 1 1 +1484 Banderling Bandit 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +1486 Mosswart Mucker 4 0.55 0.8 0.8 1 0.8 0.5 1 1 +1497 Banderling Sentry 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +1520 Banderling Raider Guardian 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +1521 Heavy Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +1522 Baron of Colier 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +1523 Undead Curator 14 1 0.65 0.75 1 0.4 0.75 0.86 1 +1524 Undead Miner 14 1 0.65 0.75 1 0.4 0.75 0.86 1 +1535 Ethereal Wisp 20 1 1 1 0.55 0 0.4 0.8 1 +1536 K'nath Z'bog 21 0.75 0.86 0.58 1 0.75 1 1 1 +1608 Drudge Lurker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +1609 Drudge Stalker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +1610 Drudge Ravener 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +1611 Rust Gromnie 15 1 1 1 0.83 0.7 1 1 1 +1612 Azure Gromnie 15 1 1 1 1 1 0.7 1 1 +1613 Ivory Gromnie 15 1 1 1 0.7 0.83 1 1 1 +1614 Jade Gromnie 15 1 1 1 0.83 1 1 0.7 1 +1615 Ash Gromnie 15 1 1 1 0.5 0.5 0.5 0.5 1 +1616 Swamp Gromnie 15 0.5 1.11 1 1 1 0.91 1 1 +1617 Amploth Lugian 5 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +1618 Gigas Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +1619 Mosswart Shaman 4 0.7 0.8 0.8 1 0.8 0.6 1 1 +1620 Injured Olthoi 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +1621 Olthoi Queen 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +1622 Mire Phyntos Wasp 9 1 1 1 0.7 0.8 0.8 0.8 1 +1623 Desert Rat 10 0.85 0.85 1 0.85 0.85 1 1 1 +1624 Swamp Rat 10 0.85 0.85 1 1 0.85 0.9 0.8 1 +1625 Mountain Rat 10 0.8 0.85 1 0.85 0.85 1 1 1 +1626 Silver Rat 10 0.75 0.75 1 1 0.58 0.58 1 1 +1627 Tusker Crimsonback 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +1628 Tusker Slave 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +1629 Tusker Guard 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +1630 Lich Lord 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +1631 Drudge Servant 3 0.86 0.85 0.8 1 1 0.85 1 1 +1632 Drudge Slave 3 0.86 0.85 0.8 1 1 0.85 1 1 +1668 Banderling Breeder 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +1669 Banderling Chief 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +1756 Shadow Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +1757 Shadow Lieutenant 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +1758 Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +1759 Skeleton 30 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +1760 Skeleton Warrior 30 0.58 0.4 1 0.9 0.5 0.6 0.5 1 +1761 Skeleton Captain 30 0.58 0.3 1 0.9 0.4 0.42 0.4 1 +1762 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +1763 Lesser Mu-miyah 14 0.75 0.58 0.75 1 0.4 1 0.5 1 +1764 Greater Mu-miyah 14 0.75 0.58 0.75 1 0.4 1 0.46 1 +1765 Horrible Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +1766 Stony Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +1986 Water Wisp 20 1 1 1 0.55 0 0.4 0.8 1 +1987 Ghost Wisp 20 1 1 1 0.4 0 0.4 0.8 1 +1988 Dark Wisp 20 1 1 1 0.3 0 0.3 0.8 1 +1989 Shadow Wisp 20 1 1 1 0.3 0 0.3 0.8 1 +2186 Mosswart Shaman 4 0.7 0.8 0.8 1 0.8 0.6 1 1 +2564 Freshwater Armoredillo 17 0.53 1 0.5 0.7 0.5 0.5 0.7 1 +2565 Shore Armoredillo 17 0.53 1 0.5 0.7 0.5 0.4 0.7 1 +2568 White Rabbit 25 1 1 1 1.5 1 1 1 1 +2569 K'nath N'gell 21 0.75 0.86 0.58 1 0.75 1 1 1 +2570 K'nath S'tath 21 0.75 0.86 0.58 1 0.75 1 1 1 +2571 K'nath N'osaj 21 0.75 0.86 0.58 1 0.75 1 1 1 +2572 K'nath D'Nob 21 0.75 0.86 0.58 1 0.75 1 1 1 +2573 K'nath T'aed 21 0.75 0.86 0.58 1 0.75 1 1 1 +2574 Rough Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +2575 Crude Monouga 28 0.52 0.9 0.45 0.45 1 0.75 0.46 1 +2576 Wild Monouga 28 0.52 0.9 0.45 0.45 1 0.75 0.46 1 +2577 Shallows Shark 27 0.85 1 0.85 1 0.52 0.45 0.85 1 +2578 Shallows Lurker 27 0.85 1 0.85 1 0.52 0.45 0.85 1 +2579 Shallows Slayer 27 0.85 1 0.85 1 0.52 0.45 0.85 1 +2580 White Mattekar 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +2581 Snowy Mattekar 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +2582 Great Mattekar 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +2583 Se Sclavus 26 1 0.75 0.46 0.75 1 0.4 0.4 1 +2584 Aste Sclavus 26 1 0.75 0.46 0.75 1 0.4 0.4 1 +2585 Essa Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +2586 Sata Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +2608 Jibrit Zefir 29 1 0.8 1 0.6 0.8 0.85 0.65 1 +2610 Kilif Zefir 29 1 0.8 1 0.6 0.8 0.85 0.65 1 +2611 Zofrit Zefir 29 1 0.8 1 0.6 0.8 0.85 0.65 1 +2612 Outcast Monouga 28 0.8 0.9 0.7 0.7 1 0.8 0.8 1 +3663 Skeleton 14 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +4108 Gnawer Shreth 32 0.9 0.9 1 0.8 1.42 1 0.85 1 +4109 Carrion Shreth 32 0.8 0.8 1 0.8 1.42 1 0.85 1 +4110 Blood Shreth 32 0.58 0.75 1 0.5 1 1 0.6 1 +4111 Hunter Shreth 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +4112 Vorous Shreth 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +4123 Tortured Soul 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +4124 Lich Overseer 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +4125 Pile O' Bones 30 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +4126 Accursed Miner 30 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +4127 Cursed Foreman 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +4131 Tan Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +4132 Russet Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +4212 Tremendous Monouga 28 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +4216 Diamond Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +4217 Dark Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +4243 Horned Chittick 33 0.53 1 0.5 0.7 0.5 0.4 0.7 1 +4244 Stinging Chittick 33 0.6 1 0.5 0.65 0.7 1 0.65 1 +4245 Mite Snippet 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +4246 Rank Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +4247 Foul Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +4248 Putrid Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +4249 Young Mosswart 4 0.8 0.8 0.8 1 0.8 0.8 1 1 +4250 Olthoi Worm 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +4251 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +4252 Olthoi Crawler 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +4253 Panumbris Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +4254 Umbris Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +4255 Malus Shreth 32 0.58 0.75 1 0.25 1.42 0.42 0.42 1 +4256 Slithis Tendril 36 0.86 0.42 0.42 0.86 0.25 0.42 0.25 1 +4257 Slithis Tentacle 36 0.86 0.42 0.42 0.86 0.25 0.42 0.25 1 +4258 Slithis Eye Stalk 36 0.86 0.58 0.25 0.86 0.25 0.58 0.13 1 +4259 Slithayr Tendril 36 0.86 0.42 0.42 0.86 0.25 0.42 0.25 1 +4260 Slithayr Tentacle 36 0.86 0.42 0.42 0.86 0.25 0.42 0.25 1 +4261 Slithayr Eye Stalk 36 0.86 0.58 0.25 0.86 0.25 0.58 0.13 1 +4266 Old Bones 30 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +4897 Guardian of the Crypt 30 0.58 0.3 1 0.9 0.4 0.42 0.4 1 +4984 Gelidite Acolyte 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +4985 Frost Mattekar 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +4986 Gelidite Initiate 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +4987 Undead 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +4991 Fenngar 14 1 0.52 0.75 1 0 0.75 0.86 1 +4992 Ferundi 14 1 0.52 0.75 1 0 0.75 0.86 1 +4993 Frisander 14 1 0.52 0.75 1 0 0.75 0.86 1 +5025 Aste Sclavus 26 1 0.75 0.46 0.75 1 0.4 0.4 1 +5165 Drudge Slinker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +5369 Undead 14 1 0.7 0.75 1 0.4 0.75 0.86 1 +5430 Shadowy Warrior 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +5497 Virindi Director 19 1 1 1 1 0.5 1 0.5 1 +5595 Drudge Skulker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +5596 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +5597 Banderling Scout 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +5598 Banderling Raver 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +5599 Female Tusker 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +5600 Goldenback Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +5656 Lord Kelannik 30 0.6 0.3 0.9 1 0.3 0.4 0.4 1 +5658 Banderling Captain 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +5669 Kilif Zefir 29 1 0.8 1 0.6 0.8 0.85 0.65 1 +5682 Charred Skeleton 30 0.58 0.4 1 0.75 0.5 0.6 0.5 1 +5683 Seared Skeleton 30 0.58 0.25 1 0.75 0.3 0.42 0.4 1 +5684 Foreman Brelax 30 0.58 0.25 1 0.75 0.3 0.42 0.4 1 +5685 Lord Cambarth 14 0.58 0.25 1 0.75 0.3 0.42 0.4 1 +5686 Virindi Master 19 1 1 1 1 0.5 1 0.5 1 +5687 Alfrega the Reedshark 16 0.6 0.75 1 1 0.66 1 0.75 1 +5705 Flicker 38 0.65 0.65 0.65 0 1.1 0.65 0.65 1 +5710 Flare 38 0.65 0.65 0.65 0 1.1 0.65 0.65 1 +5711 Flamma 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +5712 Inferno 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +5748 Fire Wisp 20 1 1 0.18 0 0.18 0.75 0.18 1 +5750 Skeleton 30 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +5751 Ice Golem (NEW) 13 0.83 0.83 0.8 1 0 0.83 0.8 1 +5752 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +5760 Chilly the Snowman 39 1 1 1 1 0 1 1 1 +5761 Snowman 39 1 1 1 1 0 1 1 1 +5766 Snowman 39 0.8 0.51 0.8 1 0 0.8 0.8 1 +5771 Lag Beast 40 1 1 1 0.3 0 0.3 0.8 1 +5867 Frisirth 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +5868 Gelidite Lord 14 0.9 0.52 0.75 0.9 0.1 0.75 0.86 1 +5869 Sir Joffre Tremblant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +5890 Hoary Mattekar 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +5891 The Great Work 47 1 1 1 0 0.65 0.3 1 1 +5921 Impious Lichen High Priest 14 1 0.5 0.7 1 0.2 0.7 0.6 1 +5922 Impious Lichen Priest 14 1 0.5 0.7 1 0.2 0.7 0.6 1 +5931 Impious Occasus Guardian 30 0.5 0.4 0.9 1 0.5 0.6 0.7 1 +5932 Impious Superna Guardian 30 0.5 0.4 0.9 0.7 0.5 0.6 1 1 +5933 Impious Inferus Guardian 30 0.5 0.4 0.9 0.5 1 0.6 0.7 1 +5934 Impious Mortuus Guardian 30 0.5 0.4 0.9 0.7 0.5 1 0.6 1 +6039 Broken Fragment 47 1 1 1 0 0.65 0.3 1 1 +6040 Fragment 47 1 1 1 0 0.65 0.3 1 1 +6041 Dual Fragment 47 1 1 1 0 0.65 0.3 1 1 +6080 White Bunny 41 1 1 1 1.5 1 1 1 1 +6356 Silencia's Magma Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +6379 Astyrrian 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +6380 Scintilla 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +6381 Spark 42 0.4 0.4 0.4 0.1 0.5 1 0 1 +6382 Static 42 0.65 0.65 0.65 0.65 0.65 1.1 0 1 +6384 Emote Test Drudge 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +6402 Panumbris Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6403 Umbris Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6442 Test Start Cow Event Drudge 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +6443 Test Stop Cow Event Drudge 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +6452 Ler Rhan 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6453 Ler Rhan 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6534 Shadow Sprite 22 1 0.85 0.9 1 0.5 0.65 0.85 1 +6535 Small Shadow Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6536 Small Shadow Spire Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6537 Shadow Spire 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6538 Shadow Spire Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6539 Shadow Spire Lieutenant 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6540 Panumbris Shadow Spire 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6554 Shadow Captain 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6555 Shadow Captain 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6556 Black Ferah 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6557 Black Ferah 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6558 Ler Rhan 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6559 Black Ferah 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6560 Isin Dule 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6561 Isin Dule 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6635 Olthoi Crawler 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +6636 Injured Olthoi 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +6637 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +6638 Olthoi Nymph 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +6639 Olthoi Queen 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +6640 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +6641 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +6642 Olthoi Worm 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +6644 Emote Test Drudge 2 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +6645 Magma Golem 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +6771 Leikotha 14 0.75 0.58 0.75 1 0.4 1 0.46 1 +6772 Greater Mu-miyah 14 0.75 0.58 0.75 1 0.4 1 0.46 1 +6773 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +6774 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +6775 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +6784 Shadow Captain 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6785 Black Ferah 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6788 Nexus Crystal 47 1 1 1 0.9 0.65 0.3 1 1 +6806 Nexus Fragment 47 1 1 1 0.9 0.65 0.3 1 1 +6810 Nexus Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6811 Nexus Shadow Captain 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6823 Baby Wood Golem 13 0.83 0.8 0.8 1 0.77 0.8 0.67 1 +6824 Mosswart Baby 4 0.7 0.8 0.8 1 0.8 0.5 1 1 +6825 Baby Olthoi 1 0.75 1 1.5 0.75 0.75 0.42 0.25 1 +6829 Eastham Spire Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6830 Cragstone Spire Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6831 Tou-Tou Spire Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6832 Sawato Spire Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6833 Khayyaban Spire Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +6834 Tufa Spire Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +7081 Plate Armoredillo 17 0.5 1 0.5 0.5 0.95 0.7 0.95 1 +7082 Island Armoredillo 17 0.53 1 0.5 0.5 0.5 0.4 0.7 1 +7083 Titanium Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +7084 Hoary Armoredillo 17 0.5 1 0.5 0.5 0.95 0.7 0.95 1 +7085 Banderling Berserker 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7086 Banderling Thrasher 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7087 Banderling Ogre 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7088 Banderling Mauler 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +7089 Altered Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +7090 Augmented Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +7091 Ascendant Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +7092 Firestorm 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +7093 Hellfire 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +7094 Synnast 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +7095 Scathisa 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +7096 Gold Golem 13 0.33 0.33 1 1 1 1 1 1 +7097 Platinum Golem 13 0.33 0.33 0.8 0.75 0.75 0.8 0.75 1 +7098 Plasma Golem 13 0.1 0.1 0.1 0 0.85 0.8 1 1 +7099 Vapor Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +7100 Extas Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +7101 Tiatus Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +7102 Mosswart Mire-Witch 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +7103 Mosswart Clinger 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +7104 Mosswart Swamp Lord 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +7105 White Phyntos Wasp 9 1 1 1 0.75 0.75 0.75 0.25 1 +7106 Sewer Rat 10 0.75 0.75 1 1 0.58 0.15 1 1 +7107 Wasteland Rat 10 0.75 0.75 1 0.25 0.58 0.58 1 1 +7108 Shallows Destroyer 27 0.85 1 0.85 1 0.52 0.45 0.85 1 +7109 Shallows Devourer 27 0.85 1 0.85 1 0.52 0.45 0.85 1 +7110 Ulu Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +7111 Faisi Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +7112 Chomu Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +7113 Gauloth Shreth 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +7114 Rendeath Shreth 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +7115 Albino Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +7116 High Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +7117 Guardian Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +7118 Royal Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +7119 Imperial Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +7120 Emperor Geraine I 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +7121 Skeleton Bone Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +7122 Great Skeleton 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +7123 Dark Leech 14 0.52 1 0.46 1 0.1 0.75 0.86 1 +7124 Dark Magus 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +7125 Affliction Wisp 20 1 0.9 0.9 0.3 0 0.3 0.9 1 +7126 Cursed Wisp 20 1 0.9 0.9 0.3 0 0.3 0.9 1 +7127 Nightmare Wisp 20 1 1 0.18 0 0.18 0.75 0.18 1 +7128 Sufut Zefir 29 1 0.75 0.86 0.08 0.75 0.75 0.25 1 +7129 Nalif Zefir 29 1 0.75 0.86 0.08 0.75 0.75 0.25 1 +7178 Cursed Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +7179 Relic Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +7183 Jungle Phyntos Wasp 9 1 1 1 0.75 0.75 0.75 0.25 1 +7184 Silver Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +7330 Banderling Striker 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7331 Banderling Enforcer 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7332 Banderling Blade 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7333 Banderling Mangler 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +7334 Skeleton Bone Knight 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +7335 Altered Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +7336 Augmented Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +7337 Ascendant Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +7340 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +7345 Banderling Striker 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7346 Banderling Enforcer 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +7348 Lesser Acolyte 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7349 Lesser Acolyte 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7350 High Acolyte 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7369 Aerfalle's Weakened Apprentice 14 0.5 0.5 0.7 0.9 0.1 0.6 0.7 1 +7370 Mount Esper Firestorm 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +7371 Mount Lethe Hellfire 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +7372 Relic Watchman 30 0.5 0.2 1 0.7 0.3 0.4 0.4 1 +7373 Tenkarrdun Hellfire 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +7392 Behemoth of Tenkarrdun 13 0.5 0.5 0.7 0 0.9 0.2 0.3 1 +7393 Obsidian Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +7397 Revenant Antiquary 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +7401 Smith Ejan 30 0.5 0.3 0.9 0.9 0.4 0.4 0.4 1 +7402 Garaena the Emissary 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +7403 Faladha the Emissary 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +7404 Repair Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +7405 Smithing Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +7421 Diamond Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +7422 Dark Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +7423 Lich Lord 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7424 Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +7431 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7432 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7433 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7487 Inferno 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +7490 Skeleton Captain 30 0.58 0.3 1 0.9 0.4 0.42 0.4 1 +7491 Skeleton Warrior 30 0.58 0.4 1 0.9 0.5 0.6 0.5 1 +7507 Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +7550 Amploth Raider 70 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +7551 Extas Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +7552 Gigas Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +7553 Laigus Raider 70 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +7554 Lithos Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +7555 Obeloth Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +7607 Ember 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +7618 Cave-in 43 0.53 0.9 1 0.4 0.1 0.33 0.4 1 +7619 Granite Golem 13 0.53 0.9 1 0.4 0.1 0.33 0.4 1 +7626 Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +7780 Ashen Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +7818 an evil presence 40 1 1 1 0.3 0 0.3 0.8 1 +7819 Zombie 14 1 0.7 0.75 1 0.4 0.75 0.86 1 +7820 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +7821 Skeleton Captain 30 0.58 0.3 1 0.9 0.4 0.42 0.4 1 +7822 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +7978 Scrawed Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +7979 Virulent Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +7980 Venomous Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +7981 Harrower Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +7982 Destroyer Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +7983 Bane Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +7984 Parfal Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +7985 Listris Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +7986 Glissnal Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +7987 Opor Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +7988 Sephal Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +7989 Scavenger Ursuin 46 0.75 1 0.75 0.86 0.75 0.75 0.75 1 +7990 Field Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +7991 Tiofor Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +7992 Esper Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +7993 Linvak Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +7994 Dire Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +8010 Broken Fragment 47 1 1 1 0 0.65 0.3 1 1 +8011 Caulnalain Crystal 47 0.5 0.8 0.9 0.2 0.6 0.3 0.9 1 +8012 Dual Fragment 47 1 1 1 0 0.65 0.3 1 1 +8013 Fenmalain Crystal 47 0.5 0.8 0.9 0.2 0.6 0.3 0.9 1 +8014 Fragment 47 1 1 1 0 0.65 0.3 1 1 +8015 Shendolain Crystal 47 0.5 0.8 0.9 0.2 0.6 0.3 0.9 1 +8034 Caulnalain Soul Crystal 47 1 1 1 0.9 0.65 0.3 1 1 +8035 Fenmalain Soul Crystal 47 1 1 1 0.9 0.65 0.3 1 1 +8036 Shendolain Soul Crystal 47 1 1 1 0.9 0.65 0.3 1 1 +8052 Scrawed Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +8053 Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8054 Shadow Sprite 22 1 0.85 0.9 1 0.5 0.65 0.85 1 +8055 Shadow Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8105 Shadow Cyst 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8108 Caulnalain Satellite Fragment 47 1 0.9 1 0 0.6 0.3 1 1 +8109 Fenmalain Satellite Fragment 47 1 0.9 1 0 0.6 0.3 1 1 +8110 Shendolain Satellite Fragment 47 1 0.9 1 0 0.6 0.3 1 1 +8120 Caulnalain Shadow Leader 22 0.9 0.5 0.6 0.9 0.1 0.2 0.5 1 +8121 Fenmalain Shadow Leader 22 0.9 0.5 0.6 0.9 0.1 0.2 0.5 1 +8122 Sahoni Arsanc 14 0.9 0.5 0.7 0.9 0.2 0.7 0.6 1 +8123 Elleina of Berkesh 14 0.5 0.5 0.9 0.9 0.1 0.6 0.7 1 +8137 Tiatus Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +8138 Extas Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +8139 Gigas Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +8140 Laigus Raider 70 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +8141 Lithos Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +8142 Obeloth Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +8143 Amploth Raider 70 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +8215 Mite Warrior Princess 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +8216 Mite Squire 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +8222 Swamp Rat 10 0.85 0.85 1 1 0.85 0.9 0.8 1 +8258 Banderling Captain 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +8264 Sotiris Virindi Director 19 1 1 1 1 0.5 1 0.5 1 +8265 Tumideon Virindi Director 19 1 1 1 1 0.5 1 0.5 1 +8267 Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8268 Shadow Lieutenant 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8269 Tumideon Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +8270 Sotiris Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +8271 Rickety Scarecrow 49 1 0.72 1 1 0.72 0.72 1 1 +8272 Suspicious Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +8273 Shifty Scarecrow 49 0.86 0.42 0.42 1 0.42 0.42 0.86 1 +8274 Shady Scarecrow 49 0.86 0.42 0.42 1 0.42 0.42 0.86 1 +8405 Flamma 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +8406 Flare 38 0.65 0.65 0.65 0 1.1 0.65 0.65 1 +8407 Zofrit Zefir 29 1 0.8 1 0.6 0.8 0.85 0.65 1 +8423 Small Shadow Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8427 Mosswart Fanatic 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +8428 Mosswart Idolator 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +8429 Mosswart Zealot 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +8430 Mosswart Soul Trapper 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +8431 Nomad Mu-miyah 14 0.75 0.58 0.75 1 0.25 0.75 0.46 1 +8466 Idol 50 1 0.5 0.67 1 0.1 0.2 0.5 1 +8467 Dread Idol 50 1 0.5 0.67 1 0.1 0.2 0.5 1 +8468 Sulthis Tendril 36 0.86 0.42 0.42 0.86 0.25 0.42 0.25 1 +8469 Sulthis Tentacle 36 0.86 0.42 0.42 0.86 0.25 0.42 0.25 1 +8470 Sulthis Eye Stalk 36 0.86 0.58 0.25 0.86 0.25 0.58 0.13 1 +8518 Lady Aerfalle 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8537 Asmolum the Worm 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8538 Bane Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +8539 Anadil of Shakrassekor 14 0.75 0.58 0.75 1 0.25 0.75 0.46 1 +8540 Dark Revenant 14 1 0.5 0.67 1 0.1 0.2 0.5 1 +8541 Shadow Governess 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8542 Shard of the Herald 47 1 1 1 0.9 0.65 0.3 1 1 +8543 Chalicmere Legion Commander 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +8544 Silver Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +8545 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +8562 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +8563 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +8583 The Black Breath 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8591 Dark Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8592 Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8593 Relic Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +8594 Ashen Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +8595 Cursed Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +8596 Lady Aerfalle 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8672 Risen Soldier 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8673 Risen Knight 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +8815 Mausoleum Warden 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +8816 Mausoleum Guardian 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +8817 Lower Shadow Heart Leader 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +8818 Upper Shadow Heart Leader 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +8819 Chakron Flux Virindi Master 19 1 1 1 1 0.5 1 0.5 1 +8820 Chakron Flux Virindi Servant 19 1 1 1 1 0.5 1 0.5 1 +8821 Bael'Zharon 52 1 1 1 1.5 1 1 1 1 +8822 A Shadow of Black Ferah 22 0.45 0.4 0.3 0.45 0.1 0.2 0.25 1 +8823 Ler Rahn 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +8866 Putrid Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +8869 Virindi Master 19 1 1 1 1 0.5 1 0.5 1 +8872 White Rabbit 25 1 1 1 1.5 1 1 1 1 +8873 Mosswart Baby 4 0.7 0.8 0.8 1 0.8 0.5 1 1 +8967 Decaying Warrior 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +8968 Fleshless Warrior 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +9048 Guardian Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +9049 Iron Golem 13 0.33 0.5 0.83 0.1 0.2 1 1 1 +9050 Turbid Nephol Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +9051 Turbid Nephol Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +9052 Tenuous Nephol Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +9053 Tenuous Nephol Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +9054 Diaphanous Nephol Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +9055 Diaphanous Nephol Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +9056 Eaushi the Trainer 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +9057 Zirconium Golem 13 0.83 0.83 0.83 1 1 0.33 0.83 1 +9099 Summoned Pulsar Wisp 20 1 1 0.18 0 0.18 0.75 0.18 1 +9100 The Guardian Spirit 40 1 1 1 0.3 0 0.3 0.8 1 +9163 Mosswart Mire-Witch 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +9165 Gragghk 4 0.5 0.8 0.6 1 0.4 0.8 1 1 +9198 Aerbax's Apprentice 19 1 1 1 1 0.5 1 0.5 1 +9242 Innocent Doll 53 1 1 1 1 0.5 1 0.5 1 +9243 Innocuous Doll 53 1 1 1 1 0.5 1 0.5 1 +9244 Pristine Doll 53 1 1 1 1 0.5 1 0.5 1 +9249 Marionette 54 1 0.5 0.5 1 0.1 0.91 0.1 1 +9250 Dark Marionette 54 1 0.5 0.5 1 0.1 0.91 0.1 1 +9251 Brutish Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +9252 Ferocious Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +9253 Wily Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +9254 Ancient Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +9255 Dread Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +9256 Dune Reaver 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +9257 Silt Lurker 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +9264 Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +9325 Adirred the Theoretician 19 1 1 1 1 0.5 1 0.5 1 +9326 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +9380 Cazamal the Envoy 19 1 1 1 1 0.5 1 0.5 1 +9381 Esard the Legate 19 1 1 1 1 0.5 1 0.5 1 +9382 Geraux the Legate 19 1 1 1 1 0.5 1 0.5 1 +9383 Nelamar the Legate 19 1 1 1 1 0.5 1 0.5 1 +9396 Master of the Hunt 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +9397 Gotrok Montok Commander 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +9398 Master of the Gotrok 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +9399 Lugian Commander 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +9400 Dire Mattekar 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +9401 Dread Mattekar 23 0.58 0.9 0.86 0.25 1 0.75 0.25 1 +9408 Balor 23 0.86 0.8 0.8 1 0.86 0.8 1 1 +9463 Lieutenant Master of the Hunt 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +9464 Gotrok Montok Lieutenant 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +9465 Lieutenant of the Gotrok 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +10708 Northern Black Claw Leader 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +10709 Southern Black Claw Leader 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +10710 Northern Black Claw Raider 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +10711 Southern Black Claw Raider 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +10717 Lacandrillar the Inculcator 19 1 1 1 1 0.5 1 0.5 1 +10718 Staging Ground Director 19 1 1 1 1 0.5 1 0.5 1 +10738 Servant Berkholt the Burly 19 1 1 1 1 0.5 1 0.5 1 +10739 Servant Daryam ibn Zubed 19 1 1 1 1 0.5 1 0.5 1 +10740 Servant Ellimar Jorning 19 1 1 1 1 0.5 1 0.5 1 +10741 Servant Muhiza bint Murqidh 19 1 1 1 1 0.5 1 0.5 1 +10742 Servant Nihara bint Umar 19 1 1 1 1 0.5 1 0.5 1 +10743 Servant Sang Nen-Kai 19 1 1 1 1 0.5 1 0.5 1 +10744 Servant Sung Wenxio 19 1 1 1 1 0.5 1 0.5 1 +10745 Servant Thiuda the Sharp-Eyed 19 1 1 1 1 0.5 1 0.5 1 +10767 Battered Doll 53 1 1 1 1 0.5 1 0.5 1 +10769 Battered Doll 53 1 1 1 1 0.5 1 0.5 1 +10770 Beaten Doll 53 1 1 1 1 0.5 1 0.5 1 +10772 Beaten Doll 53 1 1 1 1 0.5 1 0.5 1 +10773 Broken Doll 53 1 1 1 1 0.5 1 0.5 1 +10774 Broken Doll 53 1 1 1 1 0.5 1 0.5 1 +10775 Augmented Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +10776 Unconquered Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +10778 Unconquered Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +10787 Terebrous Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +10789 Terebrous Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +10790 Tumideon Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +10798 Ethereal Rift 19 1 1 1 0.2 0 0.3 0 1 +10799 Narrow Rift 19 1 1 1 0 0.65 0.3 1 1 +10800 Quiddity Rift 19 1 1 1 0.2 0 0.3 0 1 +10801 Shallow Rift 19 1 1 1 0 0.65 0.3 1 1 +10802 Unstable Rift 19 1 1 1 0.2 0 0.3 0 1 +10810 Rampager 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +10811 Rampager 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +10814 Virindi Inquisitor 19 1 1 1 1 0.5 1 0.5 1 +10815 Virindi Inquisitor 19 1 1 1 1 0.5 1 0.5 1 +10817 Althoucault, Speaker of the New Directive 19 1 1 1 1 0.5 1 0.5 1 +10818 Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +10819 Ephor of Unity 19 1 1 1 1 0.5 1 0.5 1 +10822 Dirrich, the Warden 19 1 1 1 1 0.5 1 0.5 1 +10823 Lythusser the Diplomat 19 1 1 1 1 0.5 1 0.5 1 +10824 Guardian of the Singularity 19 1 1 1 1 0.5 1 0.5 1 +10825 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +10901 Glowing Pustule 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10902 Glowing Pustule 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10903 Glowing Pustule 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10904 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10905 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10906 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10907 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10908 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10909 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10910 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10911 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +10912 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10913 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10914 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10915 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +10936 Small Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +10938 Li Fanli 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +10940 Itala the Knife 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +10941 Torgrym the Magnificent 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +10942 Adroth Salson 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +10943 Den-Ru Chang 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +10944 Manuaka 16 1 0.7 0.6 0.4 1 0.7 0.7 1 +10945 Reshalra 16 1 0.7 0.6 0.4 1 0.7 0.7 1 +10946 Utelari 16 1 0.7 0.6 0.4 1 0.7 0.7 1 +10947 Sahkurea 16 1 0.7 0.6 0.4 1 0.7 0.7 1 +10953 Virindi Collector 19 1 1 1 1 0.5 1 0.5 1 +10954 Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +10955 Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +10956 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +10957 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +11020 Olthoi Brood Noble 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11021 Olthoi Brood Noble 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11022 Olthoi Brood Noble 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11023 Olthoi Brood Noble 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11024 Olthoi Brood Noble 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11025 Olthoi Brood Noble 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11026 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11027 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11028 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11029 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11030 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11031 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11032 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11033 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11034 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11035 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11036 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11037 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11038 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11039 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11040 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11041 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11042 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11043 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11044 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11045 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11046 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11047 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11048 Olthoi Queen 1 0.5 0.7 0.7 0.5 0.7 0.3 0.45 1 +11049 Olthoi Queen 1 0.5 0.7 0.7 0.5 0.7 0.3 0.45 1 +11050 Olthoi Royal Guard 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11051 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11052 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11053 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11054 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11055 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11056 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11057 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11058 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11059 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11060 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11061 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11062 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11063 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11478 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11479 Olthoi Gardener 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11480 Olthoi Harvester 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11481 Olthoi Legionary 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11482 Olthoi Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11483 Olthoi Queen 1 0.3 0.5 0.5 0.3 0.5 0.1 0.25 1 +11484 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11485 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11486 Kithless Siraluun 56 0.7 0.5 0.9 0.4 1 1 0.4 1 +11487 Littoral Siraluun 56 0.9 0.7 1 0.8 1 1 0.6 1 +11488 Marsh Siraluun 56 0.9 0.7 1 0.8 1 1 0.6 1 +11489 Strand Siraluun 56 0.7 0.5 0.9 0.4 1 1 0.4 1 +11490 Tidal Siraluun 56 0.9 0.7 1 0.8 1 1 0.6 1 +11491 Timber Siraluun 56 0.9 0.7 1 0.8 1 1 0.6 1 +11493 Feral Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +11495 Rabid Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +11498 Assassin 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +11502 Cutthroat 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +11503 Highwayman 31 0.87 0.87 0.87 0.87 0.87 0.87 0.87 1 +11506 Zharalim 31 0.75 0.75 0.75 0.75 0.75 1 0.9 1 +11517 Hea Elder Shaman 58 0.65 1 0.65 1 0.65 0.65 0.65 1 +11519 Hea Itealuan 58 0.85 0.85 0.85 0.85 1 1 0.85 1 +11520 Hea Nualuan 58 1 0.85 1 0.85 0.85 0.85 0.85 1 +11522 Hea Shaman 58 0.75 0.75 0.75 0.75 1 0.75 1 1 +11524 Hea Windreave 58 0.85 0.85 0.85 0.85 0.85 1 0.85 1 +11526 Ebon Gromnie 15 1 1 1 0.5 0.5 0.5 0.5 1 +11527 Sable Gromnie 15 1 1 1 0.5 0.5 0.5 0.5 1 +11528 Elaniwood Golem 13 0.83 0.8 0.8 1 0.77 1 0.8 1 +11529 Gold Golem 13 0.75 0.75 0.3 1 0.5 0.8 0.1 1 +11530 Platinum Golem 13 0.65 0.65 0.2 0.8 0.4 0.7 0.1 1 +11531 Sand Golem 13 0.55 0.55 0.8 0.9 1 1 0.8 1 +11532 Sable Gromnie 15 1 1 1 0.5 0.5 0.5 0.5 1 +11533 Azael Zefir 29 1 0.75 0.86 0.01 0.75 0.75 0.25 1 +11534 Enku Zefir 29 1 0.75 0.86 0.01 0.75 0.75 0.25 1 +11535 Chaos Wisp 20 1 1 0.7 0.1 0.7 0.75 0.7 1 +11536 Entropy Wisp 20 1 1 0.7 0.1 0.7 0.75 0.7 1 +11537 Virtuous Doll 53 1 1 1 1 0.5 1 0.5 1 +11538 Marae Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +11539 Canescent Mattekar 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +11540 Armored Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +11541 Plated Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +11542 Martinate Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +11543 Mutated Olthoi 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11616 Tumideon Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +11617 Pristine Doll 53 1 1 1 1 0.5 1 0.5 1 +11618 Innocuous Doll 53 1 1 1 1 0.5 1 0.5 1 +11619 Innocent Doll 53 1 1 1 1 0.5 1 0.5 1 +11620 Marionette 54 1 0.5 0.5 1 0.1 0.91 0.1 1 +11621 Virindi Observer 19 1 1 1 1 0.5 1 0.5 1 +11622 Virindi Master 19 1 1 1 1 0.5 1 0.5 1 +11623 Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +11624 Tusker Slave 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +11625 Dark Marionette 54 1 0.5 0.5 1 0.1 0.91 0.1 1 +11693 Olthoi Brood Noble 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11694 Olthoi Eviscerator 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11695 Olthoi Legionary 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11725 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11726 Olthoi Gardener 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11727 Olthoi Harvester 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +11728 Olthoi Legionary 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11729 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +11818 Cragstone Tower Controller Doll 53 1 1 1 1 0.5 1 0.5 1 +11819 Hebian-To Tower Controller Doll 53 1 1 1 1 0.5 1 0.5 1 +11820 Zaikhal Tower Controller Doll 53 1 1 1 1 0.5 1 0.5 1 +11923 Cragstone Tower Controller Master 19 1 1 1 1 0.5 1 0.5 1 +11924 Hebian-To Tower Controller Master 19 1 1 1 1 0.5 1 0.5 1 +11925 Zaikhal Tower Controller Master 19 1 1 1 1 0.5 1 0.5 1 +11926 Cragstone Tower Controller Puppet 19 1 1 1 1 0.5 1 0.5 1 +11927 Hebian-To Tower Controller Puppet 19 1 1 1 1 0.5 1 0.5 1 +11928 Zaikhal Tower Controller Puppet 19 1 1 1 1 0.5 1 0.5 1 +11968 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +11983 Banderling Leader 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +11987 Sentient Fragment 47 1 1 1 0 0.65 0.3 1 1 +11988 Pure One 53 1 1 1 1 0.5 1 0.5 1 +11989 Drudge Vagabond 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +11991 Diamond Lord 13 0.13 0.37 0.5 0.25 0.25 0.25 0.25 1 +11992 Forest Lord 13 0.83 0.8 0.8 1 0.77 0.8 0.67 1 +11994 Basalt Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +11996 Lugian Warlord 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +12000 Tundra Mattekar 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +12004 Outcast Lord 28 0.8 0.9 0.7 0.7 1 0.8 0.8 1 +12006 Swamp King 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +12007 Master of the Swamp 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +12017 Red Phyntos Drone 9 1 1 1 0.9 0.8 0.9 0.9 1 +12018 Master of the Pack 16 0.6 0.75 1 1 0.66 1 0.75 1 +12020 Cold One 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +12023 Dark Inferno 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +12026 Dark Myrmidon 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +12027 Lord of Decay 30 0.58 0.3 1 0.9 0.4 0.42 0.4 1 +12037 Dark Sorcerer 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +12038 Dread Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +12046 Mud Golem 13 500 500 500 500 500 500 50 1 +12186 Zharalim 31 0.75 0.75 0.75 0.75 0.75 1 0.9 1 +12228 Void Knight 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +12230 Falatacot Missionary 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +12231 Virindi Grand Inquisitor 19 1 1 1 1 0.5 1 0.5 1 +12237 Singular Doll 53 1 1 1 1 0.5 1 0.5 1 +12249 Singular Lugian Warlord 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +12263 Levistras, Speaker of the New Directive 19 1 1 1 1 0.5 1 0.5 1 +12264 Singular Virindi Director 19 1 1 1 1 0.5 1 0.5 1 +12272 Singular Extas Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +12273 Singular Gigas Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +12274 Singular Tiatus Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +12298 New Singularity Director 19 1 1 1 1 0.5 1 0.5 1 +12299 Singular Virindi Master 19 1 1 1 1 0.5 1 0.5 1 +12300 Singular Virindi Servant 19 1 1 1 1 0.5 1 0.5 1 +12680 Dranith Menacet 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +12681 Minion Leader 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +12698 Sparring Golem 13 0.9 0.9 0.9 0.9 0.9 0.9 0.9 1 +12699 Sparring Golem 13 0.9 0.9 0.9 0.9 0.9 0.9 0.9 1 +12704 Carpenter Wasp 9 1 1 1 0.9 0.8 0.9 0.9 1 +13221 Candy Stick 40 1 1 1 0.3 0 0.3 0.8 1 +14427 Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14428 Dranith Menacet 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14429 Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14430 Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14431 Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14464 Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14465 Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +14466 Two Headed Snowman 39 0.8 0.51 0.8 1 0 0.8 0.8 1 +14512 Frost 61 0.4 0.4 0.4 0.6 0.1 0.4 0.4 1 +14513 Caustic 60 0.2 0.2 0.2 0.2 0.2 0 0.35 1 +14514 Miasma 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +14515 Miasma 60 0.2 0.2 0.2 0.2 0.2 0 0.3 1 +14516 Caustic 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +14517 Frost 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +14518 Shivver 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +14519 Shivver 61 0.25 0.25 0.25 0.4 0.1 0.25 0.25 1 +14520 Pyreal Golem 13 0.1 0.1 0.6 0.25 0.25 0.55 0.1 1 +14521 Glacial Golem 13 0.45 0.1 0.5 0.7 0.05 1 1 1 +14522 Unstable Glacial Golem 13 0.25 0.25 0.5 0.75 0.05 0.2 0.2 1 +14555 Blinding Virindi Energy Cluster 53 0.5 0.5 0.5 0.5 0.25 0.5 0.25 1 +14556 Dim Virindi Energy Cluster 53 0.5 0.5 0.5 0.5 0.25 0.5 0.25 1 +14557 Faint Virindi Energy Cluster 53 0.5 0.5 0.5 0.5 0.25 0.5 0.25 1 +14558 Vibrant Virindi Energy Cluster 53 0.5 0.5 0.5 0.5 0.25 0.5 0.25 1 +14559 Oak Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +14560 Quiddity Rift 19 1 1 1 0.2 0 0.3 0 1 +14561 Quiddity Rift 19 1 1 1 0.2 0 0.3 0 1 +14562 Quiddity Rift 19 1 1 1 0.2 0 0.3 0 1 +14563 Quiddity Rift 19 1 1 1 0 0.65 0.3 1 1 +14799 Vibrant Virindi Energy Cluster 53 1 1 1 1 0.5 1 0.5 1 +14800 Crystal Golem 13 0.05 0.05 0.05 0.05 0.05 0.05 0.05 1 +14801 Crystal Lord 13 0.1 0.1 0.1 0.1 0.1 0.1 0.1 1 +14802 Crystal Minion 13 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +14872 Altered Olthoi 1 0.7 0.75 1 0.55 0.75 0.55 0.2 1 +14873 Altered Olthoi 1 0.7 0.75 1 0.55 0.75 0.55 0.2 1 +14874 Augmented Olthoi 1 0.7 0.75 1 0.55 0.75 0.55 0.4 1 +14875 Hyem 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +14876 Maelstrom 62 0.45 0.45 0.45 0.65 0.65 0 0 1 +14877 Tsuric 62 0.45 0.45 0.45 0.65 0.65 0 0 1 +14878 Sirrocco 62 0.45 0.45 0.45 0 0 0.65 0.65 1 +14879 Sirrocco 62 0.2 0.2 0.2 0 0 0.4 0.4 1 +14880 Theral 62 0.45 0.45 0.45 0 0 0.65 0.65 1 +14907 Anger 21 0.75 0.86 0.58 1 1 1 1 1 +14908 Greed 21 0.75 0.86 0.58 1 1 1 1 1 +14909 Jealousy 21 0.75 0.86 0.58 1 1 1 1 1 +15266 Acidic Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +15267 Acidic Diamond Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +15272 Dranith Menacet 48 0.01 0.01 0.01 0.01 0.01 0.01 0.01 1 +15299 Martinate Simulacrum 59 0.66 0.66 0.66 0.25 0.66 0.66 0.25 1 +15300 Martinate Simulacrum Magician 59 0.66 0.66 0.66 0.25 0.66 0.66 0.25 1 +16909 Granite Golem 13 0.53 0.9 1 0.4 0.1 0.33 0.4 1 +16910 Obsidian Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +16911 Lich 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +16912 Oubliette Gatekeeper 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +16913 Spinning Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +16914 Terebrous Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +16915 Tumideon Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +16916 Rampager 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +16917 New Singularity Director 19 1 1 1 1 0.5 1 0.5 1 +16918 Virindi Director 19 1 1 1 1 0.5 1 0.5 1 +19256 Young Banderling 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +19257 Drudge Skulker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +19258 Drudge Slinker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +19259 Mite Scion 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +19260 Mite Snippet 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +19261 Creeper Mosswart 4 0.8 0.8 0.8 1 0.8 0.8 1 1 +19262 Young Mosswart 4 0.8 0.8 0.8 1 0.8 0.8 1 1 +19263 Gnawer Shreth 32 0.9 0.9 1 0.8 1.42 1 0.85 1 +19264 Relic Bones 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +19267 Bronze Statue of a Grievver 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19270 Bronze Statue of a Shadow 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19273 Bronze Statue of a Virindi 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19276 Bronze Statue of a Golem 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19279 Bronze Statue of a Sclavus 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19282 Bronze Statue of a Skeleton 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19285 Bronze Statue of a Tumerok 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +19288 Bronze Statue of a Drudge 3 0.1 0.1 0.25 0.5 0.5 1 0.5 1 +19291 Bronze Statue of a Gromnie 15 0.1 0.1 0.25 0.5 0.5 1 0.5 1 +19294 Bronze Statue of a Mosswart 4 0.1 0.1 0.25 0.5 0.5 1 0.5 1 +19297 Bronze Statue of a Reedshark 16 0.1 0.1 0.25 0.5 0.5 1 0.5 1 +19300 Bronze Statue of a Banderling 63 0.1 0.1 0.2 0.5 0.5 1 0.8 1 +19303 Bronze Statue of Ben Ten 63 0.1 0.1 0.2 0.5 0.5 1 0.8 1 +19306 Bronze Statue of a Sclavus 63 0.1 0.1 0.2 0.5 0.5 1 0.8 1 +19309 Bronze Statue of a Skeleton 63 0.1 0.1 0.2 0.5 0.5 1 0.8 1 +19312 Bronze Statue of Thorsten Cragstone 63 0.1 0.1 0.2 0.5 0.5 1 0.8 1 +19315 Bronze Statue of a Zharalim 63 0.1 0.1 0.2 0.5 0.5 1 0.8 1 +19425 Bound Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +19426 Bound Crystal Golem 13 0.05 0.05 0.05 0.05 0.05 0.05 0.05 1 +19435 Red Phyntos Wasp 9 1 1 1 0.9 0.8 0.9 0.9 1 +19436 Old Bones 30 0.75 0.6 1 0.9 0.65 0.75 0.75 1 +19439 Ursuin Slasher 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +19440 Wall of Webbing 64 1 1 1 0.3 0.3 0.3 0.8 1 +19537 Avalanche 62 0.45 0.45 0.45 0.65 0 0.65 0 1 +19538 Blizzard 62 0.45 0.45 0.45 0.65 0 0.65 0 1 +19539 Conflagration 62 0.45 0.45 0.45 0 0.65 0 0.65 1 +19540 Scoriscant 62 0.45 0.45 0.45 0 0.65 0 0.65 1 +19541 Coral Golem Viceroy 13 0.5 0.5 0.5 0.5 0.5 0.5 1 1 +19542 Crystal Golem Imperator 13 0.05 0.05 0.05 0.05 0.05 0.05 0.05 1 +19543 Diamond Golem Suzerain 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +19544 Glacial Golem Margrave 13 0.45 0.1 0.5 0.7 0.05 1 1 1 +19545 Magma Golem Exarch 13 0.5 0.5 0.5 0 1 0.5 0.5 1 +20024 Controlled Flamma 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +20025 Controlled Frost 61 0.4 0.4 0.4 0.6 0.1 0.4 0.4 1 +20026 Harnessed Scintilla 42 0.4 0.4 0.4 0.1 0.5 1 0 1 +20027 Obedient Obsidian Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +20028 Martine 65 0.1 0.1 0.1 0.1 0.1 0.1 0.1 1 +20186 Apozim 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +20187 Buillic 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +20188 Mox 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +20189 Brumal 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +20190 Gelid 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +20191 Horripal 61 0.65 0.65 0.65 1.1 0 0.65 0.65 1 +20192 Crystal Lord Sovereign 13 0.25 0.25 0.25 0.25 0.25 0.25 0.25 1 +20632 Champion of the Blood 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +20633 Warlock of the Blood 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +20634 Warrior of the Blood 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +20864 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20865 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20866 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20867 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20868 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20869 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20870 Corrosion 60 0.2 0.2 0.2 0 0.4 0 0.4 1 +20871 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20872 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20873 Stasis 62 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20874 Stasis 61 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20875 Stasis 61 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20876 Conflagration 62 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20877 Conflagration 62 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20878 Conflagration 62 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20879 Conflagration 62 0.3 0.3 0.3 0.4 0 0.3 0.3 1 +20880 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20881 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20882 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20883 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20884 Strife 38 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +20885 Tempest 62 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +20886 Tempest 42 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +20887 Tempest 42 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +20888 Tempest 62 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +20889 Tempest 62 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +20890 Tempest 62 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +20891 Tempest 62 0.3 0.3 0.3 0.3 0.3 0.4 0 1 +21160 Scourge 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +21161 Singe 60 0.65 0.65 0.65 0.65 0.65 0 1.1 1 +21162 Stringent 60 0.6 0.65 0.65 0.75 0.5 0 1 1 +21163 Flamma 38 0.4 0.4 0.4 0 1 0.5 0.1 1 +21164 Gout 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +21165 Chill 61 0.65 0.65 0.65 1.1 0 0.65 0.65 1 +21166 Flake 61 0.65 0.65 0.65 1.1 0 0.65 0.65 1 +21167 Gelid 61 0.25 0.25 0.25 0.4 0 0.25 0.25 1 +21168 Charge 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +21169 Scintilla 42 0.4 0.4 0.4 0.1 0.5 1 0 1 +21170 Voltarc 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +21210 Elemental Cloud 62 1 1 1 0.3 0.3 0.3 0.8 1 +21371 Brumal 61 0.25 0.25 0.25 0.4 0 0.25 0.25 1 +21383 Gaerlan 51 0.6 0.6 0.6 0 0 0 0 1 +21386 Gaerlan 51 0.6 0.6 0.6 0 0 0 0 1 +21388 Gaerlan 51 0.6 0.6 0.6 0 0 0 0 1 +21390 Gaerlan 51 0.6 0.6 0.6 0 0 0 0 1 +21454 Construction Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +21455 Construction Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +21456 Construction Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +21525 Tusker Guard 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +21526 Rampager 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +21545 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +21546 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +21547 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +21548 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +21549 Corrosion Wisp 20 1 0.9 0.9 0.9 0.9 0.3 0.9 1 +21550 Stasis Wisp 20 1 0.9 0.9 0.3 0 0.3 0.9 1 +21551 Strife Wisp 20 1 0.9 0.9 0.3 0.9 0.9 0.9 1 +21552 Tempest Wisp 20 1 0.9 0.9 0.9 0.9 0.9 0.3 1 +21771 Acidic Tentacle 62 0.6 0.6 0.6 0.2 0.2 0 0.9 1 +21779 Fiery Tentacle 62 0.6 0.6 0.6 0 0.9 0.2 0.2 1 +21787 Icy Tentacle 62 0.6 0.6 0.6 0.9 0 0.2 0.2 1 +21795 Electric Tentacle 62 0.6 0.6 0.6 0.2 0.2 0.9 0 1 +22001 Coral Golem Viceroy 13 0.5 0.5 0.5 0.5 0.5 0.5 1 1 +22002 Diamond Golem Suzerain 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +22003 Glacial Golem Margrave 13 0.5 0.5 0.75 0.85 0 0.6 0.6 1 +22004 Magma Golem Exarch 13 0.5 0.5 0.5 0 1 0.5 0.5 1 +22009 Olthoi Drone 1 0.75 1 1 0.75 0.75 0.25 0.3 1 +22010 Olthoi Servant 1 0.75 1 1 0.75 0.75 0.25 0.3 1 +22049 Foreman Brelax 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +22050 Lord Cambarth 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +22051 Charred Miner 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +22052 Seared Guard 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +22053 Assailer 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22054 Virindi Profatrix 19 1 1 1 1 0.65 1 0.65 1 +22077 Virindi Overseer 19 1 1 1 1 0.5 1 0.5 1 +22113 Apparition 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +22114 Zombie 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +22115 Ursuin Rug Alive 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +22116 Dark Sarcophagus 68 0 0 0 0.5 0 0 0 1 +22133 Zombie 14 1 0.52 0.75 1 0.2 0.75 0.86 1 +22208 Skeleton Wraith 30 0.58 0.25 1 0.75 0.3 0.42 0.4 1 +22220 Ursuin Rug Alive 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +22505 Savage Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +22506 Iron Spined Chittick 33 0.6 1 0.5 0.65 0.7 1 0.65 1 +22507 Obsidian Chittick 33 0.6 1 0.5 0.65 0.7 1 0.65 1 +22508 Spiny Chittick 33 0.53 1 0.8 0.5 0.95 0.7 0.7 1 +22517 Annihilator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22518 Devastator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22519 Tusker Liberator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22520 Tusker Redeemer 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22521 Tuskie Gunner 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22522 Tuskie Launcher 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22523 Tuskie Thrower 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22524 Tuskie Tosser 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22580 Albino Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22581 Annihilator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22582 Assailer 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22583 Assailer 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22584 Tusker Crimsonback 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22585 Tusker Crimsonback 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22586 Devastator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22587 Devastator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22588 Female Tusker 8 0.5 1 0.75 1 0.75 0.75 0.4 1 +22589 Female Tusker 8 0.5 1 0.75 1 0.75 0.75 0.4 1 +22590 Goldenback Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22591 Goldenback Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22592 Tusker Guard 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22593 Tusker Guard 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22594 Tusker Liberator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22595 Tusker Liberator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22596 Male Tusker 8 0.5 1 0.75 1 0.75 0.75 0.4 1 +22597 Male Tusker 8 0.5 1 0.75 1 0.75 0.75 0.4 1 +22598 Mowen Udaun 8 0.4 0.9 0.7 0.95 0.7 0.7 0.2 1 +22599 Rampager 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22600 Tusker Redeemer 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22601 Tusker Redeemer 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22602 Silver Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22603 Silver Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22604 Tusker Slave 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22605 Tusker Slave 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22606 Tuskie Gunner 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22607 Tuskie Launcher 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22608 Tuskie Thrower 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22609 Tuskie Tosser 8 0.42 1 0.75 1 0.75 0.75 0.4 1 +22610 Armored Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +22611 Armored Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +22612 Plated Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +22613 Plated Tusker 8 0.42 1 0.75 1 0.75 0.75 0.25 1 +22745 Jungle Reaver 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +22746 Reedshark Ravager 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +22747 Reaper 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +22748 Reedshark Stripling 16 0.6 0.75 1 1 0.66 1 0.75 1 +22809 Banderling Bandit 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +22810 Banderling Rogue 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +22829 Blind Snowman 39 1 1 1 1 0 1 1 1 +22897 Banderling Hierophant 2 0.75 0.55 0.5 1.05 0.75 0.35 1.25 1 +22898 Banderling Paragon 2 0.55 0.55 0.55 0.85 0.55 0.35 1.05 1 +22899 Drudge Seraph 3 0.85 0.55 0.9 0.95 0.85 0.85 0.15 1 +22900 Bile Grievver 44 1 0.5 0.7 1 0.1 0.2 0.5 1 +22901 Swarthy Mattekar 23 0.55 0.9 0.85 0.95 0.25 0.75 0.25 1 +22902 Olthoi Primordial 1 0.65 0.75 0.75 0.75 0.75 0.25 0.4 1 +22903 Obliterator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +22904 Dark Guardian 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +22905 Lich Oppressor 14 0.9 0.5 0.7 0.9 0.15 0.7 0.85 1 +22908 The Gatekeeper 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +22909 Maelstrom Shadow 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +22910 Pandemonium Shadow 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +22911 Paroxysm Shadow 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +22912 Paroxysm Shadow 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +22913 The Auditor 19 1 1 1 1 0.65 1 0.65 1 +22914 Virindi Profane 19 1 1 1 1 0.65 1 0.65 1 +22915 The Sage 19 1 1 1 1 0.65 1 0.65 1 +22933 Mist Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +23035 Obsidian Excavation Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +23082 Nubilous Golem 13 0.1 0.1 0.1 0 0.85 0.8 1 1 +23087 Raider Justicar 70 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +23088 Raider Prefect 70 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +23089 Shadow Phantom 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +23090 Shadow Spectre 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +23091 Shadow Wraith 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +23205 Tremendous Monouga 28 1.2 1.2 1.2 1.2 1.2 1.2 1.2 1 +23331 Rank Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +23332 Parfal Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +23345 Iron Golem Guardian 13 0.33 0.5 0.83 0.1 0.2 1 1 1 +23478 Banderling Predator 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +23479 Banderling Scalper 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +23480 Drudge Bloodletter 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +23481 Olthoi Mutilator 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +23482 Olthoi Warrior 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +23483 Aste Sclavus Lord 26 1 0.75 0.46 0.75 1 0.4 0.4 1 +23484 Chomu Sclavus Lord 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +23485 Essa Sclavus Lord 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +23486 Faisi Sclavus Lord 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +23487 Sata Sclavus Lord 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +23488 Ulu Sclavus Lord 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +23489 Virindi Consul 19 1 1 1 1 0.5 1 0.5 1 +23490 Virindi Councillor 19 1 1 1 1 0.5 1 0.5 1 +23548 Sentient Crystal Shard 47 1 1 1 0.9 0.65 0.3 1 1 +23549 Crystal Shard Sentinel 47 1 1 1 0 0.65 0.3 1 1 +23550 Platinum Golem Mountain King 13 0.33 0.33 0.8 0.75 0.75 0.8 0.75 1 +23551 Adolescent Ash Gromnie 15 1 1 1 0.5 0.5 0.5 0.5 1 +23552 Adolescent Azure Gromnie 15 1 1 1 1 1 0.7 1 1 +23553 Adolescent Ivory Gromnie 15 1 1 1 0.7 0.83 1 1 1 +23554 Adolescent Rust Gromnie 15 1 1 1 0.7 0.83 1 1 1 +23555 Telumiat Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +23556 K'nath An'dras 21 0.75 0.86 0.58 1 0.75 1 1 1 +23557 K'nath G'erg 21 0.75 0.86 0.58 1 0.75 1 1 1 +23558 K'nath La'nal 21 0.75 0.86 0.58 1 0.75 1 1 1 +23559 K'nath N'aes 21 0.75 0.86 0.58 1 0.75 1 1 1 +23560 K'nath S'el 21 0.75 0.86 0.58 1 0.75 1 1 1 +23561 K'nath S'hirc 21 0.75 0.86 0.58 1 0.75 1 1 1 +23562 Abyssal Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +23563 Sinister Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +23564 Tenebrous Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +23568 Dreadful Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +23569 Virindi Adjudicator 19 1 1 1 1 0.5 1 0.5 1 +23570 Virindi Paradox 19 1 1 1 1 0.65 1 0.65 1 +23571 Virindi Quidiox 19 1 1 1 1 0.5 1 0.5 1 +23616 Crystal Shard 47 1 1 1 0.9 0.65 0.3 1 1 +23624 Brown Mouse 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +23625 White Mouse 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +23769 Virindi Preceptor 19 1 1 1 1 0.5 1 0.5 1 +23987 Olthoi Swarm Guardian 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +23988 Olthoi Swarm Noble 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +23989 Olthoi Swarm Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +23990 Olthoi Swarm Eviscerator 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +24029 Mite Warrior Queen 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +24030 Royal Mite Matron 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +24031 Royal Mite Sentry 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +24032 Royal Mite Squire 7 0.7 0.8 0.8 1 0.75 1 0.8 1 +24036 Virindi Interrogator 19 1 1 1 1 0.5 1 0.5 1 +24133 Crystal Moiety 47 1 1 1 0 0.65 0.3 0.65 1 +24134 Reedshark Slasher 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +24270 Olthoi Drone 1 0.75 1 1 0.75 0.75 0.25 0.3 1 +24271 Olthoi Gardener 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +24272 Olthoi Harvester 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +24273 Olthoi Nymph 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24274 Banderling Aggressor 2 0.76 0.65 0.5 0.65 1.32 0.88 0.76 1 +24275 Banderling Antagonist 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +24276 Banderling Savage 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +24277 Banderling Slayer 2 0.76 0.65 0.5 0.75 1.01 0.95 0.75 1 +24278 Drudge Cabalist 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +24279 Gloom Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +24280 Murk Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +24281 Drudge Mystic 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +24282 Peerless Drudge 3 0.6 0.6 0.6 0.6 0.6 0.6 0.6 1 +24283 Drudge Sage 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +24284 Lugian Juggernaut 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24285 Raider Juggernaut 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24286 Lugian Titan 5 0.66 0.66 0.66 0.25 0.45 0.85 0.85 1 +24287 Bloodthirsty Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +24288 Cruel Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +24289 Cunning Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +24290 Insidious Monouga 28 0.55 0.8 0.45 0.85 0.65 0.85 0.65 1 +24291 Merciless Monouga 28 0.6 0.9 0.45 0.85 0.85 0.75 0.55 1 +24292 Pugnacious Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +24293 Terrible Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +24294 Unruly Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +24295 Olthoi Advance Guard 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24296 Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24297 Olthoi Guard 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24298 Olthoi Mutilator 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24299 Olthoi Swarm Drone 1 0.75 1 1 0.75 0.75 0.25 0.3 1 +24300 Olthoi Swarm Gardener 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +24301 Olthoi Swarm Harvester 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +24302 Olthoi Swarm Legionary 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +24303 Olthoi Swarm Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24304 Olthoi Swarm Nymph 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24305 Olthoi Swarm Warrior 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24306 Olthoi Swarm Worker 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24307 Olthoi Vanquisher 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24308 Olthoi Warrior 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24309 Olthoi Swarm Eviscerator 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +24310 Direland Rat 10 0.75 0.75 1 0.25 0.58 0.58 1 1 +24311 Reedshark Skinner 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +24312 Reedshark Stalker 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +24313 Armored Skeleton 30 0.58 0.25 0.85 0.75 0.3 0.55 0.4 1 +24314 Skeletal Champion 30 0.58 0.25 0.85 0.9 0.3 0.42 0.4 1 +24315 Skeletal Hero 30 0.58 0.25 0.75 0.25 0.3 0.62 0.4 1 +24316 Skeletal Mate 30 0.58 0.25 0.75 0.65 0.3 0.42 0.4 1 +24317 Primeval Skeleton 30 0.58 0.25 0.65 0.6 0.3 0.62 0.4 1 +24318 Skeletal Swashbuckler 30 0.58 0.25 0.9 0.9 0.3 0.42 0.4 1 +24319 Dark Master 14 0.9 0.52 0.75 0.9 0.1 0.75 0.86 1 +24320 Great Revenant 14 0.85 0.52 0.75 0.85 0.1 0.75 0.86 1 +24321 Undead Captain 14 0.55 0.52 0.75 0.75 0.1 0.75 0.55 1 +24322 Undead Lieutenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +24323 Undead Sailor 14 0.85 0.52 0.75 0.85 0.1 0.75 0.86 1 +24324 Undead Sailor 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +24325 Phantasm 14 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +24326 Risen Lord 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +24347 Glowing Pustule 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +24449 Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24450 Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24451 Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24452 Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24453 Olthoi Swarm Mutilator 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +24475 Harker 59 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +24478 Small Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +24479 Small Granite Golem 13 0.53 0.9 1 0.4 0.1 0.33 0.4 1 +24480 Small Iron Golem 13 0.33 0.5 0.83 0.1 0.2 1 1 1 +24481 Small Magma Golem 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +24482 Small Mud Golem 13 0.83 0.83 0.83 1 1 0.33 0.83 1 +24483 Small Obsidian Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +24484 Small Sandstone Golem 13 0.33 0.5 1 0.2 0.2 1 0.83 1 +24485 Small Water Golem 13 0.33 0.5 0.33 1 1 0.83 1 1 +24486 Small Wood Golem 13 0.83 0.8 0.8 1 0.77 0.8 0.67 1 +24494 Gotrok Extas 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24495 Gotrok Juggernaut 70 0.66 0.85 0.5 0.25 0.45 0.65 0.95 1 +24496 General Garsh 70 0.5 0.5 0.5 0.25 0.35 0.8 0.85 1 +24497 Gotrok Tiatus 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24498 Tumerok Champion Renegade 6 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +24499 Renegade War Monger 6 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +24500 Renegade Commander Kianar 6 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +24501 Renegade Commander Walanawa 6 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +24502 Renegade Trooper 6 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +24517 Small Sand Golem 13 0.55 0.55 0.8 0.9 1 1 0.8 1 +24637 Adolescent Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24638 Young Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24639 Adolescent Olthoi Brood Queen 1 0.45 0.8 0.8 0.45 0.5 0.25 0.4 1 +24640 Young Olthoi Brood Queen 1 0.45 0.8 0.8 0.45 0.5 0.25 0.4 1 +24641 Olthoi Egg 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +24660 Renegade Gotrok 5 0.5 0.5 0.5 0.25 0.35 0.8 1 1 +24856 Harbinger 62 0.45 0.45 0.45 0 0 0 0 1 +24857 Harbinger 62 0.45 0.45 0.45 0 0 0 0 1 +24864 Iorik Eye Stalk 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +24865 Iorik Tendril 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +24866 Iorik Tentacle 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +24867 Sishalti Eye Stalk 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +24868 Sishalti Tendril 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +24869 Sishalti Tentacle 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +24878 Umbris Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +24907 Olthoi Elder Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24908 Olthoi Brood Matron Nymph 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +24909 Olthoi Brood Queen Elder 1 0.6 0.8 0.8 0.5 0.6 0.25 0.45 1 +24910 Olthoi Brood Queen Nymph 1 0.45 0.8 0.8 0.45 0.5 0.25 0.4 1 +24937 Chicken 69 0.86 0.8 0.8 1 0.86 0.8 1 1 +24938 Olthoi Nettler 1 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +24939 Gotrok Amploth 70 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +24940 Gotrok Gigas 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24941 Gotrok Laigus 70 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +24942 Gotrok Lithos 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24943 Gotrok Obeloth 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24951 Gotrok Titan 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +24954 Montok Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24955 Gotrok Montok 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +24957 Lacerator 1 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +24958 Olthoi Lancer 1 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +24959 Olthoi Needler 1 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +24960 Olthoi Piercer 1 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +24961 Olthoi Eviscerator Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +24962 Olthoi Noble Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +24963 Olthoi Nymph Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +24964 Olthoi Soldier Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +25283 Rooster 69 0.86 0.8 1 1 0.86 0.8 1 1 +25285 Gotrok Extas 70 0.5 0.5 0.5 0.25 0.35 0.8 0.85 1 +25291 K'nath T'amt 21 0.75 0.86 0.58 1 0.75 1 1 1 +25292 K'nath Thea'reh 21 0.75 0.86 0.58 1 0.75 1 1 1 +25293 K'nath X'ela 21 0.75 0.86 0.58 1 0.75 1 1 1 +25341 Olthoi Sentinel 1 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +25345 Falatacot Abbess 14 0.4 0.45 0.65 0.7 0.55 0.65 0.6 1 +25346 Falatacot Consort 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +25347 Falatacot Matriarch 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +25348 Falatacot Patrician 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +25349 Virindi Profane 19 1 1 1 1 0.65 1 0.65 1 +25452 Olthoi Keeper 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +25453 Young Olthoi Queen 1 0.55 0.6 0.65 0.45 0.5 0.25 0.35 1 +25455 Royal Olthoi Guardian 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +25456 Reinforced Door 35 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +25552 Olthoi Sentinel 1 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +25562 Banderling Champion 2 0.55 0.55 0.55 0.85 0.55 0.35 1.05 1 +25563 Drudge Seraph Mystic 3 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +25568 Harraag, Banderling Champion 2 0.55 0.55 0.55 0.85 0.55 0.35 1.05 1 +25569 Scrum, Drudge Seraph Mystic 3 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +25578 The Chicken 69 0.86 0.8 0.8 1 0.86 0.8 1 1 +25579 Sister Vitriaka 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +25580 Sarcophagus 26 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +25586 Strange Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +25596 Amethyst Gromnie 15 0.5 0.5 0.5 0.4 0.4 1 0 1 +25597 Emerald Gromnie 15 0.5 0.5 0.5 0.4 0.4 0 1 1 +25598 Ruby Gromnie 15 0.5 0.5 0.5 0 1 0.4 0.4 1 +25599 Sapphire Gromnie 15 0.5 0.5 0.5 1 0 0.4 0.4 1 +25659 K'nath I'km 21 0.75 0.86 0.58 1 0.75 1 1 1 +25662 Lesser Void Knight 22 1 1 0.7 1 0.7 0.62 0.76 1 +25663 Void Knight 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +25664 Lesser Shadow Wretch 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +25665 Wretched 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +25666 Reinforced Door 35 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +25667 Dark Vapor 20 1 1 0.7 0.1 0.7 0.75 0.7 1 +25745 Olthoi Eviscerator 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +25746 Olthoi Gardener 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +25747 Olthoi Larvae 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +25748 Olthoi Larvae 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +25749 Olthoi Harvester 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +25750 Olthoi Legionary 1 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +25751 Olthoi Legionary 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +25753 Scold 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +25754 Scold Chunk 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +25755 Scold Lump 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +25756 Sam 39 0.8 0.51 0.8 1 0 0.8 0.8 1 +25788 Chef Pleist 39 1 1 1 1 0 1 1 1 +25789 Robert 39 1 1 1 1 0 1 1 1 +25790 Nip 39 1 1 1 1 0 1 1 1 +25791 Numb 39 1 1 1 1 0 1 1 1 +25792 The Mayor 39 1 1 1 1 0 1 1 1 +25793 Elijah 39 1 1 1 1 0 1 1 1 +25794 Emma 39 1 1 1 1 0 1 1 1 +25802 Olthoi Eviscerator 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +25803 Archfiend 30 0.55 0.25 0.65 0.65 0.3 0.55 0.4 1 +25804 Armored Skeleton Lord 30 0.6 0.25 0.75 0.65 0.3 0.4 0.4 1 +25805 Skeletal Fiend 30 0.6 0.25 0.75 0.65 0.3 0.4 0.4 1 +25806 Tormenter 30 0.6 0.25 0.65 0.65 0.3 0.45 0.4 1 +25807 Chimera 14 0.65 0.6 0.35 0.5 0.05 0.4 0.85 1 +25808 Demilich 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +25809 Elite Revenant 14 0.55 0.45 0.7 0.7 0.1 0.7 0.55 1 +25844 Snarl 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +25845 Gikar 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25846 Puppeteer 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +25847 Scourge 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +25848 Plaguefang 16 0.8 1 0.75 0.65 1 0.75 0.9 1 +25849 Atakir, the Dark Prince 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +25850 Mangy Carenzi 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +25851 Mottled Carenzi 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +25852 Ravager 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +25853 Tainted Carenzi 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +25854 Befouled Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +25855 Cosseted Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +25856 Defiled Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +25857 Desecrated Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +25858 Soiled Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +25859 Biaka 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25860 Creeping Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25861 Graal Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25862 Helcan Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25863 Hellion 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25864 Stalking Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +25865 Cursed Marionette 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +25866 Damned Marionette 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +25867 Malignant Marionette 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +25868 Colossal Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +25869 Giant Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +25870 Misshapen Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +25871 Monstrous Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +25872 Mutated Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +25873 Glissnal Nefane 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +25874 Listris Nefane 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +25875 Parfal Nefane 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +25876 Sephal Nefane 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +25877 Contagion Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +25878 Infested Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +25879 Pestilence Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +25880 Doomshark 16 0.8 1 0.75 0.65 1 0.75 0.9 1 +25881 Ebon Rift 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +25882 Schism 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +25883 Tenebrous Rift 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +25884 Umbral Rift 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +25885 Dark Zefir 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +25886 Dusk Zefir 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +25887 Infernal Zefir 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +25888 Malevolent Zefir 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +26005 Baron Nuvillus 30 0.58 0.25 1 0.25 0.3 0.42 0.4 1 +26008 Gelidite Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +26011 Skeleton Lord 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +26012 Burun Ruuk Adept 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +26013 Burun Ruuk Adherent 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +26014 Burun Ruuk Fiend 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +26015 Burun Ruuk Lout 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +26016 Burun Ruuk Ruffian 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +26017 Burun Ruuk Savage 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +26018 Burun Ruuk Scamp 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +26019 Burun Ruuk Seer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +26020 Burun Ruuk Shaman 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +26021 Burun Ruuk Soothsayer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +26468 Mighty Oak Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +26469 Ebon Mattekar 23 0.55 0.9 0.85 0.95 0.25 0.75 0.25 1 +26470 Fire Shreth 32 0.58 0.75 1 0.25 1.42 0.42 0.42 1 +26516 Ancient Soul 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +26517 Consort Ibrexi Jikti 14 0.55 0.55 0.55 0.65 0.9 0.65 0.9 1 +26518 Apprentice Jexki Ki 14 0.5 0.45 0.45 0.25 0.75 0.25 0.8 1 +26519 Matriarch Kixkti Xri 14 0.35 0.35 0.35 0.1 0.45 0.1 0.45 1 +26520 Crypt Spirit 14 0.55 0.45 0.7 0.7 0.1 0.7 0.55 1 +26521 Grave Spirit 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +26536 Grearrk, Mosswart Emissary 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +26670 Bronze Armoredillo Pup 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +26671 Brown Armoredillo Pup 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +26672 Sandy Armoredillo Pup 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +26673 Spikey Armoredillo Pup 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +26674 Spiny Armoredillo Pup 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +26675 Stony Armoredillo Pup 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +26676 Chick 69 0.86 0.8 0.8 1 0.86 0.8 1 1 +26677 Dire Mattie 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +26678 Great Mattie 23 0.58 0.9 0.86 1 0.25 0.75 0.25 1 +26679 Snowy Mattie 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +26680 White Mattie 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +26681 Glissnal Niffling 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +26682 Listris Niffling 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +26683 Parfal Niffling 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +26684 Blood Shrethlet 32 0.58 0.75 1 0.5 1 1 0.6 1 +26685 Carrion Shrethlet 32 0.8 0.8 1 0.8 1.42 1 0.85 1 +26686 Gnawer Shrethlet 32 0.9 0.9 1 0.8 1.42 1 0.85 1 +26687 Hunter Shrethlet 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +26688 Vorous Shrethlet 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +26689 Field Ursuin Cub 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +26690 Linvak Ursuin Cub 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +26691 Scavenger Ursuin Cub 46 0.75 1 0.75 0.86 0.75 0.75 0.75 1 +26692 Ursuin Slasher Cub 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +26693 Tiofor Ursuin Cub 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +27097 Burun Ruuk Adept 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27098 Burun Ruuk Adherent 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27099 Burun Ruuk Ruffian 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +27100 Burun Ruuk Scamp 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +27131 Burun Ruuk Adherent Overseer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27132 Burun Ruuk Seer Watcher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27133 Burun Ruuk Shaman Keeper 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27134 Burun Ruuk Soothsayer Leader 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27135 Irkith Stalk 36 0.1 0.1 0.1 0.1 0.1 0.1 0.1 1 +27136 Ithik Stalk 36 0.1 0.1 0.1 0.1 0.1 0.1 0.1 1 +27137 Slithits Spthis 36 0.1 0.1 0.1 0.1 0.1 0.1 0.1 1 +27138 Ancient Soul 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +27139 Crypt Spirit 14 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +27140 Grave Spirit 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +27141 Restless Soul 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +27254 Copper Golem Kingpin 13 0.33 0.5 0.83 0.1 0.2 1 1 1 +27255 Mud Golem Sludge Lord 13 0.83 0.83 0.83 1 1 0.33 0.83 1 +27282 Ya'ruldi 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +27283 Yaja the Shepherd 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +27284 Abyssal Child 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +27285 Depraved Child 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +27286 Forsaken Child 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +27287 Pandemic Child 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +27288 Wretched Child 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +27309 Deranged Sycophant 31 0.75 0.75 0.75 0.75 0.75 1 0.75 1 +27310 Enraged Female Tusker 8 0.5 1 0.2 1.1 0.7 0.5 0.25 1 +27311 Enraged Male Tusker 8 0.5 1.1 0.2 1 0.7 0.45 0.25 1 +27312 Assault Guard 8 0.5 1.1 0.2 1 0.7 0.45 0.25 1 +27313 The Painbringer 8 0.5 0.9 0.2 0.8 0.4 0.4 0.4 1 +27408 Core of the Acid Cistern 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +27409 Burning Pillar 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +27410 Core of the Ice Cistern 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +27411 Charged Pillar 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +27412 Manipulated Doll 53 1 1 1 1 0.5 1 0.5 1 +27413 Tinkered Doll 53 1 1 1 1 0.5 1 0.5 1 +27414 Kerthump the Ear Taker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +27415 Baktak the Human Slayer 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +27416 Magma Golem Exarch 13 0.5 0.5 0.5 0 1 0.5 0.5 1 +27417 Telumiat Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +27418 Cultist High Priest 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +27419 Hellion 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +27420 Dark Marionette 54 1 0.5 0.5 1 0.1 0.91 0.1 1 +27421 Enthralled Idolator 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +27422 True Believer 4 0.5 0.8 0.8 1 0.4 0.7 1 1 +27423 Enthralled Zealot 4 0.5 0.8 0.8 1 0.4 0.7 1 1 +27424 Desiccated Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +27425 Shady Scarecrow 49 0.86 0.42 0.42 1 0.42 0.42 0.86 1 +27426 Shadow Nightmare 22 1 0.5 0.69 1 0.1 0.2 0.5 1 +27427 Shadow Nightmare Leader 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +27428 Shadow Phantom Leader 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +27429 Consumed Wraith 22 1 0.5 0.7 1 0.1 0.2 0.2 1 +27430 Ward of the Retreat 14 0.5 0.6 0.8 1 0.1 0.6 0.8 1 +27431 Homunculus 40 0.6 0.6 0.6 0.2 0.8 1.1 0.2 1 +27432 The Gibbering 40 0.5 0.5 0.6 0.6 0.6 1 0.15 1 +27458 Elite Guard 70 0.65 0.65 0.65 0.6 0.6 0.75 0.85 1 +27459 Elite Guard 70 0.65 0.65 0.65 0.6 0.6 0.75 0.85 1 +27460 Gotrok Fortress Guard 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +27461 Commander Kamenua 6 0.55 0.55 0.55 0.55 0.55 0.55 0.55 1 +27462 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +27463 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +27487 Banderling Aggressor 2 0.76 0.65 0.5 0.65 0.7 0.88 1 1 +27488 Banderling Predator 2 0.76 0.65 0.5 0.9 0.7 0.88 1 1 +27489 Banderling Savage 2 0.76 0.65 0.5 0.9 0.7 0.88 1 1 +27490 Obsidian Chittick 33 0.6 1 0.5 0.65 0.7 1 0.65 1 +27491 Ascendant Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +27492 Drudge Bloodletter 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +27493 Drudge Cabalist 3 0.9 0.56 0.96 0.96 0.55 0.85 0.7 1 +27494 Peerless Drudge 3 0.6 0.6 0.6 0.6 0.6 0.6 0.6 1 +27495 Plasma Golem 13 0.1 0.1 0.1 0 0.85 0.8 1 1 +27496 Platinum Golem 13 0.33 0.33 0.8 0.75 0.75 0.8 0.75 1 +27497 Telumiat Hollow Minion 48 0.5 0.5 0.33 0.25 0.7 0.5 0.25 1 +27498 Gotrok Juggernaut 70 0.5 0.5 0.5 0.25 0.35 0.8 0.85 1 +27499 Gotrok Titan 70 0.66 0.66 0.66 0.25 0.45 0.85 0.85 1 +27500 Creeping Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +27501 Stalking Margul 71 0.85 0.85 0.95 0.65 0.95 0.65 0.95 1 +27502 Lacerator 1 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +27503 Olthoi Swarm Mutilator 1 0.65 1 0.9 0.65 0.75 0.42 0.25 1 +27504 Reaper 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +27505 Rendeath Shreth 32 0.58 0.75 1 0.5 1 0.42 0.5 1 +27508 Annihilator 8 0.5 1 0.75 0.9 0.75 0.75 0.25 1 +27509 Devastator 8 0.5 1 0.75 0.9 0.75 0.75 0.25 1 +27510 Virindi Consul 19 1 1 1 1 0.5 1 0.5 1 +27511 Virindi Quidiox 19 1 1 1 1 0.5 1 0.5 1 +27515 Burun Ruuk Fiend 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +27516 Burun Ruuk Lout 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +27517 Burun Ruuk Savage 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +27518 Burun Ruuk Seer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27519 Burun Ruuk Shaman 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27520 Burun Ruuk Soothsayer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27521 Urgluuk 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27522 Barluuk 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27523 Jorgluuk 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27524 Bleeargh 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +27556 Burun Ruuk Seer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27557 Burun Ruuk Shaman 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27558 Burun Ruuk Soothsayer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27564 Coral Golem Viceroy 13 0.5 0.5 0.5 0.5 0.5 0.5 1 1 +27565 Glacial Golem Margrave 13 0.45 0.1 0.5 0.7 0.05 1 1 1 +27566 Magma Golem Exarch 13 0.5 0.5 0.5 0 1 0.5 0.5 1 +27567 Brute 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +27568 Knife 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +27571 Olthoi Mutilator 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +27572 Olthoi Warrior 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +27573 Olthoi Worker 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +27661 Morgluuk 75 0.2 0.2 0.2 0.2 0.2 0 0.2 1 +27662 Torgluuk 75 0 0 0 0 0 0 0 1 +27663 Lord Muldaveus 70 0.35 0.35 0.35 0.35 0.6 0.35 0.35 1 +27664 Niarltah 6 0.35 0.35 0.35 0.35 0.65 0.35 0.35 1 +27665 General Fostok 70 0.35 0.35 0.35 0.45 0.35 0.35 0.45 1 +27666 Ollar, Renegade Captain 70 0.65 0.65 0.65 0.75 0.75 0.55 0.8 1 +27667 War Chief Amanua 6 0.35 0.35 0.35 0.35 0.45 0.45 0.35 1 +27668 Captain Waliknua 6 0.5 0.5 0.5 0.7 0.7 0.5 0.5 1 +27708 Carnivorous Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +27709 Great Elariwood Golem 13 0.9 0.6 0.5 0.9 0.5 0.7 0.7 1 +27710 Brass Gromnie 15 0.5 0.5 0.5 0.4 0.4 1 0 1 +27711 Copper Gromnie 15 0.5 0.5 0.5 0.4 0.4 0 1 1 +27712 Badlands Siraluun 56 0.7 0.5 0.9 0.4 1 1 0.4 1 +27713 Untamed Siraluun 56 0.7 0.5 0.9 0.4 1 1 0.4 1 +27715 Ferocious Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +27716 Raging Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +27717 Ursuin Slicer 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +27718 Woodland Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +27798 Ancient Diamond Golem 13 0.3 0.6 1 0.5 0.5 0.5 0.5 1 +27799 Blood Fiend 30 0.6 0.2 0.7 0.9 0.3 0.4 0.4 1 +27800 Infected Assailer 8 0.5 1 0.6 1 0.7 0.6 0.2 1 +27852 Guruk Hulk 75 0.55 0.75 0.4 0.55 0.7 0.1 0.3 1 +27853 Disgusting Moarsman 34 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +27854 Fetid Moarsman 34 0.55 0.8 0.8 1 0.38 0.8 1 1 +27855 Filth Dweller 34 0.6 0.6 0.6 0.6 0.6 0.6 0.6 1 +27856 Miry Moarsman 34 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +27857 Muck Glutton 34 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +27858 Muculent Moarsman 34 0.55 0.8 0.8 1 0.38 0.8 1 1 +27859 Pallid Moarsman 34 0.55 0.8 0.8 1 0.38 0.3 1 1 +27860 Sallow Moarsman 34 0.7 0.8 0.8 1 0.8 0.5 1 1 +27861 Squallid Moarsman 34 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +27862 Viscous Moarsman 34 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +27863 Mosswart Cringer 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +27864 Mosswart Muck Stalker 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +27892 Burun Ruuk Scamp 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +27893 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +27899 Bleeargh, Mosswart Swamp Lord 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +27917 Hezhit 14 0.45 0.45 0.45 0.45 0.45 0.45 0.45 1 +27918 Jrvik 14 0.55 0.55 0.55 0.55 0.55 0.55 0.55 1 +27919 Zixki 14 0.3 0.3 0.3 0.3 0.3 0.3 0.3 1 +27920 Tormented Attendant 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +27921 Tormented Consort 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +27922 Tormented Patriarch 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +27978 Guruk Basher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27979 Guruk Beast 75 0.65 0.85 0.5 0.65 0.8 0.1 0.3 1 +27980 Guruk Behemoth 75 0.5 0.65 0.35 0.5 0.6 0.1 0.2 1 +27981 Guruk Boor 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27982 Guruk Brute 75 0.65 0.85 0.5 0.65 0.8 0.1 0.3 1 +27983 Guruk Colossus 75 0.55 0.75 0.4 0.55 0.7 0.1 0.2 1 +27984 Guruk Crusher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27985 Guruk Destroyer 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +27986 Guruk Gorefiend 75 0.35 0.55 0.4 0.35 0.5 0.1 0.1 1 +27987 Guruk Heavy 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27988 Guruk Miscreant 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27989 Guruk Smasher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +27990 Guruk Titan 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +27999 Phantasm 14 0.65 0.65 0.65 0.65 0.65 0.65 0.65 1 +28000 Mosswart Scavenger 4 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +28001 Mosswart Scrounger 4 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +28016 Tormented Attendant 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +28017 Tormented Consort 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +28018 Tormented Patriarch 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +28039 Martinate Virindi Inquisitor 19 1 1 1 1 0.5 1 0.5 1 +28040 Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +28041 Glacial Golem 13 0.45 0.1 0.5 0.7 0.05 1 1 1 +28042 Magma Golem 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +28043 Platinum Golem 13 0.33 0.33 0.8 0.75 0.75 0.8 0.75 1 +28048 Specter 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +28049 Ancient Coral Golem 13 0.6 0.6 1 0.5 0.5 0.8 0.5 1 +28050 Ancient Coral Golem 13 0.6 0.6 1 0.5 0.5 0.8 0.5 1 +28051 Ancient Coral Golem 13 0.6 0.6 1 0.5 0.5 0.8 0.5 1 +28052 White Phyntos Wasp Hive 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +28053 White Phyntos Wasp Swarm 9 1 1 1 0.75 0.75 0.75 0.25 1 +28054 Aerfalle's Apprentice 14 0.4 0.4 0.4 0.6 0.1 0.6 0.55 1 +28055 Spectral Wisp 20 1 0.9 0.6 0.5 0.5 0.3 0.9 1 +28060 Ghost of Galaeral 77 1 0.52 0.75 1 0.1 0.75 0.86 1 +28243 Haunt 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +28244 Phantom 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +28245 Poltergeist 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +28246 Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +28247 Sapphire Golem 13 0.3 1 0.8 0.5 0.5 1 0.3 1 +28248 Black Phyntos Wasp 9 0.8 0.8 1 0.5 0.5 0.7 0.2 1 +28249 Black Phyntos Hive 9 0.5 0.5 0.5 0.9 0.5 0.5 0.5 1 +28250 Black Phyntos Swarm 9 0.8 0.8 1 0.5 0.5 0.7 0.2 1 +28251 Frenzied Phyntos Wasp Hive 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +28252 White Phyntos Wasp Swarm 9 1 1 1 0.75 0.75 0.75 0.25 1 +28253 Giant Phyntos Wasp 9 0.8 1 0.8 0.5 0.5 0.7 1 1 +28254 Giant Phyntos Hive 9 0.5 0.5 0.5 0.9 0.5 0.5 0.5 1 +28255 Giant Phyntos Swarm 9 0.8 1 0.8 0.5 0.5 0.7 1 1 +28376 Guruk Behemoth 75 0.5 0.65 0.35 0.5 0.6 0.1 0.2 1 +28377 Guruk Brute 75 0.65 0.85 0.5 0.65 0.8 0.1 0.3 1 +28378 Guruk Destroyer 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +28379 Guruk Heavy 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +28380 Guruk Titan 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +28381 Coglock 75 0.55 0.55 0.55 0.55 0.55 0.55 0.55 1 +28382 Glogluuk 75 0.45 0.45 0.45 0.45 0.45 0.45 0.45 1 +28383 Burun Ruuk Lout 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +28384 Plocagruuk 75 0.3 0.3 0.3 0.3 0.3 0.3 0.3 1 +28385 Burun Ruuk Seer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +28386 Burun Ruuk Shaman 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +28387 Burun Ruuk Soothsayer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +28388 Barrier 75 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +28389 Barrier 75 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +28390 Barrier 75 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +28443 Guruk Titan Watcher 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +28444 Ruuk Fiend Watcher 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +28445 Morgluuk 75 0.5 0.5 0.5 0.5 0.5 0 0.5 1 +28446 Ruuk Shaman Watcher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +28447 Burun Egg 35 0.8 1.5 1 1.5 1 0 0.8 1 +28448 Burun Egg 35 0.8 1.5 1 1.5 1 0 0.8 1 +28449 Fortress Barrier 64 0.2 0.2 0.2 0.2 0.2 0.2 0.2 1 +28551 Sparkling Dual Fragment 47 1 1 1 0 0.65 0.3 1 1 +28552 Crystal Spur 47 1 1 1 0 0.65 0.3 1 1 +28553 Rufous Grievver 44 1 0.8 0.7 0.5 0.5 0.5 0.5 1 +28554 Spiked Grievver 44 1 0.8 0.7 0.5 0.5 0.5 0.5 1 +28555 Grizzled Monouga 28 0.6 0.9 0.4 0.4 1 0.7 0.5 1 +28556 Devious Shadow 22 1 0.5 0.6 1 0.1 0.2 0.5 1 +28635 Insatiable Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28636 Rabid Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28637 Ravenous Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28638 Repugnant Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28639 Voracious Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28640 Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28641 Abhorrent Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28642 Engorged Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28643 Deranged Fiun 78 0.8 0.75 0.66 0.9 0.6 0.75 0.96 1 +28644 Frenzied Fiun 78 0.8 0.75 0.66 0.9 0.6 0.75 0.96 1 +28645 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +28646 Maddened Fiun 78 0.8 0.75 0.66 1 0.6 0.75 0.96 1 +28647 Raving Fiun 78 0.8 0.75 0.66 1.08 0.6 0.75 1.11 1 +28648 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +28649 Crazed Fiun 78 0.8 0.75 0.66 1 0.6 0.75 0.96 1 +28650 Demented Fiun 78 0.8 0.75 0.66 1 0.6 0.75 0.96 1 +28651 Viamontian Mercenary 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28652 Viamontian Tribune 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28653 Viamontian Knight 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28654 Viamontian Commander 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28655 Viamontian Hand 83 0.8 0.8 0.9 1 0.9 0.9 1.2 1 +28656 Viamontian Lord 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28657 Viamontian Man-at-Arms 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28658 Sycophantic Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28659 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28660 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28661 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28662 Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28663 Arrogant Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28664 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +28665 Rebellious Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28666 Ruschk Slayer 81 0.9 0.9 0.9 1.1 0.8 0.8 0.9 1 +28667 Vile Ruschk 81 0.9 0.9 0.9 1.1 0.9 0.8 1 1 +28668 Ruschk Warlord 81 0.9 0.9 0.9 1.1 0.9 0.8 1 1 +28669 Barbaric Ruschk 81 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +28670 Ruschk Fiend 81 0.9 0.9 0.9 1.1 0.9 0.8 1 1 +28671 Ruschk Shatterer 81 0.9 0.9 0.9 1.1 0.9 0.8 1 1 +28672 Button Thrungus 82 0.8 1 0.66 1 0.8 0.75 0.8 1 +28673 Deathcap Thrungus 82 0.6 0.8 0.5 0.8 0.6 0.4 0.7 1 +28674 Enoki Thrungus 82 0.4 0.4 0.3 0.6 0.4 0.3 0.5 1 +28675 Portobello Thrungus 82 0.8 1 0.66 1 0.8 0.75 0.8 1 +28676 Shiitake Thrungus 82 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +28677 Thrungus 82 0.86 0.75 0.66 1.42 0.6 0.75 0.9 1 +28678 Beefsteak Thrungus 82 0.4 0.4 0.3 0.6 0.4 0.3 0.5 1 +28716 Sir Bellas 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +28821 Fiun Assistant 78 0.8 0.75 0.66 0.85 0.6 0.75 0.88 1 +28822 Fiun Abayar 78 0.8 0.75 0.66 0.85 0.6 0.75 0.88 1 +28829 Marauder 79 1.2 1.2 0.6 1 1 0.6 1 1 +28837 Cave Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28838 Great Cave Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +28847 Ravenous Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28848 Insatiable Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28849 Engorged Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28850 Voracious Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28851 Abhorrent Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +28877 Nasty Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +28878 Naughty Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +28879 Nefarious Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +28880 Vicious Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +28881 Vile Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +28882 Villainous Scarecrow 49 0.9 0.52 0.52 1 0.52 0.52 0.9 1 +29006 Mgrauleshk 75 0.35 0.35 0.35 0.45 0.6 0.05 0.4 1 +29007 Broodu 75 0.2 0.4 0.2 0.25 0.45 0.05 0.45 1 +29008 Browerk 75 0.2 0.4 0.2 0.25 0.45 0.05 0.45 1 +29009 Kiree 75 0.2 0.4 0.2 0.25 0.45 0.05 0.45 1 +29010 Keerik 75 0.2 0.4 0.2 0.25 0.45 0.05 0.45 1 +29011 Reeshan 75 0.2 0.4 0.2 0.25 0.45 0.05 0.45 1 +29012 Rehir 75 0.2 0.4 0.2 0.25 0.45 0.05 0.45 1 +29013 Door 64 0.15 0.15 0.15 0.15 0.15 0.15 0.15 1 +29052 Ruschk Fledgemaster 81 0.86 0.86 0.86 1.2 0.6 0.9 1 1 +29053 Ruschk Fledgling 81 0.86 0.86 0.86 1.2 0.6 0.9 1 1 +29296 Porcini Thrungus 82 0.8 1 0.66 1 0.8 0.75 0.8 1 +29297 Truffle Thrungus 82 0.4 0.4 0.3 0.6 0.4 0.3 0.5 1 +29298 Morel Thrungus 82 0.86 0.75 0.66 1.42 0.6 0.75 0.9 1 +29299 Crimini Thrungus 82 0.86 0.75 0.66 1.42 0.6 0.75 0.9 1 +29300 Viamontian Warcaster 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29301 Viamontian War Wizard 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29302 Viamontian Counselor 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29303 Royal Thaumaturge 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29304 Viamontian Mage 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29305 Dee Dee 10 0.6 0.7 0.9 0.7 0.6 0.5 0.9 1 +29306 Dee Dee 10 0.6 0.7 0.9 0.7 0.6 0.5 0.9 1 +29307 Lola 79 1.2 1.2 0.6 1 1 0.6 1 1 +29308 K'nath Nod'narb 21 0.75 0.86 0.58 1 0.75 1 1 1 +29309 K'nath Dyn'ra 21 0.75 0.86 0.58 1 0.75 1 1 1 +29310 K'nath D'dot 21 0.75 0.86 0.58 1 0.75 1 0.75 1 +29311 K'nath Ra'dnas 21 0.75 0.86 0.58 1 0.75 1 1 1 +29312 K'nath K'ram 21 0.75 0.86 0.58 1 0.75 1 1 1 +29313 K'nath Son'ja 21 0.75 0.86 0.58 1 0.75 1 1 1 +29314 K'nath Ban'ry 21 0.75 0.86 0.58 1 0.75 1 1 1 +29315 K'nath Di'vda 21 0.75 0.86 0.58 1 0.75 1 1 1 +29316 K'nath Ri'shc 21 0.75 0.86 0.58 1 0.75 1 1 1 +29331 Adolescent Olthoi 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +29332 Young Olthoi 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +29333 Thieving Thrungus 82 0.86 0.75 0.66 1.42 0.6 0.75 0.9 1 +29341 Ruschk Kartak 81 0.9 1.1 0.9 1 0.9 0.8 1 1 +29342 Ruschk Laktar 81 0.9 1 0.9 0.9 0.9 0.8 0.9 1 +29343 Ruschk Draktehn 81 0.9 1 0.9 1.1 0.9 0.8 0.9 1 +29344 Ruschk Sadist 81 0.9 1.1 0.9 1 0.9 0.8 1 1 +29345 Maniacal Fiun 78 0.8 0.75 0.66 0.85 0.6 0.75 0.88 1 +29346 Polar Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +29347 Polar Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +29348 Bokrok Lugian 5 0.66 0.85 0.66 0.25 0.42 0.65 0.95 1 +29349 Kroktok Lugian 5 0.66 0.85 0.66 0.25 0.42 0.65 0.95 1 +29350 Ehlyis Niffis 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +29351 Banderling Explorer 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +29352 Polardillo 17 1.2 1 1 1 1 1 1 1 +29353 Arctic Mattekar 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +29354 Mite Emissary 7 0.7 0.8 0.8 1 0.7 1 0.8 1 +29355 Floeshark 16 0.6 0.75 0.8 0.6 1.1 0.5 0.6 1 +29356 Damaged Glacial Golem 13 0.45 0.1 0.9 1.2 0.05 1 1 1 +29357 Fractured Glacial Golem 13 0.45 0.1 1.1 1.3 0.05 1 1 1 +29358 Woodland Phyntos Wasp 9 0.8 0.8 1 0.5 0.5 0.7 0.2 1 +29362 Viamontian Executioner 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29363 Viamontian Torturer 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +29395 Silver Legion Quartermaster 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29396 Copper Legion Bodyguard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29397 Gold Legion Bodyguard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29398 Platinum Legion Bodyguard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29399 Silver Legion Bodyguard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29400 Captain Argenne 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29401 Captain Argenne 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29402 Captain Aurachon 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29403 Captain Aurachon 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29404 Captain Balanchi 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29405 Captain Balanchi 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29406 Captain Ramelle 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29407 Captain Ramelle 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29408 Copper Legion Castle Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29409 Gold Legion Castle Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29410 Platinum Legion Castle Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29411 Silver Legion Castle Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29412 Copper Legion Doorkeeper 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29413 Gold Legion Doorkeeper 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29414 Platinum Legion Doorkeeper 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29415 Silver Legion Doorkeeper 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29416 General Corcima 83 0.8 0.8 0.9 1 0.9 0.9 1.2 1 +29417 General Corcima 83 0.8 0.8 0.9 1 0.9 0.9 1.2 1 +29418 Copper Legion Invader 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29419 Gold Legion Invader 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29420 Platinum Legion Invader 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29421 Silver Legion Invader 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +29422 Copper Legion Quartermaster 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29423 Gold Legion Quartermaster 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29424 Platinum Legion Quartermaster 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29469 Royal Prison Warden 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +29489 Sir Belfelor 31 0.4 0.4 0.5 0.5 0.6 0.6 0.6 1 +29490 Sir Coretto 31 0.4 0.4 0.5 0.5 0.6 0.6 0.6 1 +29491 Guard 31 0.8 0.8 0.9 0.9 0.9 0.9 1.1 1 +29506 Atavistic Fiun 78 0.8 0.75 0.66 1.14 0.6 0.75 1.21 1 +29507 Cannibal Fiun 78 0.8 0.75 0.66 1.01 0.6 0.75 1.06 1 +29583 Ancient Defender 77 0.5 0.5 0.5 0.8 0.5 0.7 1.1 1 +29584 Ancient Sentinel 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +29585 Stomach Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +29586 Stomach Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +29587 Stomach Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +29588 Stomach Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +29589 Stomach Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +29590 Stomach Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +29956 Olthoi Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +30288 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30289 Viamontian Commander 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30290 Viamontian Knight 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30291 Viamontian Tribune 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30292 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30293 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30294 Viamontian Man-at-Arms 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30295 Viamontian War Wizard 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +30296 Viamontian Warcaster 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +30297 Royal Thaumaturge 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +30298 Viamontian Counselor 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +30299 Viamontian Mage 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +30300 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30301 Drudge Prowler 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30379 Joey 10 0.6 0.7 0.9 0.9 0.6 0.5 0.9 1 +30389 Reijiri 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +30390 Niffis Fighter 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +30391 Niffis Fighter 45 1 0.5 0.5 0.5 0.91 0.91 0.5 1 +30440 Water Golem 13 0.33 0.5 0.33 1 1 0.83 1 1 +30441 Blue Phyntos Wasp 9 1 1 1 0.7 0.8 0.8 0.9 1 +30442 Water Wisp 20 1 1 1 0.55 0 0.4 0.8 1 +30447 Virindi Desecrator 19 1 1 1 1 0.5 1 0.5 1 +30448 Southern Overseer 19 1 1 1 1 0.5 1 0.5 1 +30449 Western Overseer 19 1 1 1 1 0.5 1 0.5 1 +30450 Northern Overseer 19 1 1 1 1 0.5 1 0.5 1 +30490 Drudge Robber Baron 3 0.86 0.85 0.8 1 1 0.85 1 1 +30507 Mad Star Marionette 54 1 0.7 0.75 1 0.4 0.75 0.86 1 +30548 Silver Legion Quartermaster 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30549 Copper Legion Castellan 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30550 Gold Legion Castellan 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30551 Silver Legion Castellan 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30552 Silver Legion Quartermaster 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +30553 Platinum Legion Castellan 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30635 Banderling Spirit Seeker 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +30636 Banderling Spirit Seeker 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +30637 Banderling Spirit Seeker 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +30638 Banderling Spirit Dancer 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +30639 Banderling Ancient Spirit 2 0.76 0.65 0.5 0.75 1.5 1.5 0.75 1 +30646 Drudge Laborer 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +30647 Drudge Ballast 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +30648 Drudge Aviator 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +30649 Drudge Toiler 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +30680 Withered Drudge Seraph 3 0.85 0.55 0.9 1.9 0.85 0.85 0.15 1 +30681 Withered Drudge Seraph 3 0.85 0.55 0.9 0.95 0.85 0.85 0.15 1 +30682 Withered Drudge Seraph Mystic 3 0.75 0.75 0.75 0.8 0.65 1.8 0.35 1 +30683 Withered Banderling Hierophant 2 0.75 0.55 0.5 1.05 0.75 0.35 2.5 1 +30684 Withered Banderling Hierophant 2 0.75 0.55 0.5 1.05 0.75 0.35 2.5 1 +30685 Withered Banderling Paragon 2 0.55 0.55 0.55 0.85 0.55 0.35 2.1 1 +30686 Withered Transcendent Tumerok 6 2 1 1 1 1 1 1 1 +30687 Withered Revered Tumerok Shaman 6 2 1 1 1 1 1 1 1 +30688 Withered Revered Tumerok Shaman 6 2 1 1 1 1 1 1 1 +30689 Withered Raider Prefect 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +30690 Withered Raider Prefect 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +30691 Withered Raider Justicar 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +30706 Shadow Annihilator 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30707 Shadow Annihilator 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30708 Shadow Annihilator 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30709 Shadow Annihilator 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30710 Poltergeist 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +30711 Restless Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +30712 Restless Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +30713 Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +30714 Phantom 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +30754 Banderling Chanter 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +30755 Virulence 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +30756 Ripper Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +30757 Diseased Phyntos Wasp 9 0.8 1 0.8 0.5 0.5 0.7 1 1 +30834 Shadow Lugian Portal 22 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +30835 Amaroth 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30836 Shadow Seeker 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30837 Shadow Infiltrator 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30838 Shadow Commander 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30839 Urleg 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30840 Shoktok 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30851 Voracious Eater 28640 1.2 1.2 0.6 1 1 0.6 1 1 +30852 Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +30853 Repugnant Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +30854 Viamontian Mercenary 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30855 Viamontian Tribune 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30856 Viamontian Knight 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +30882 Banished Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +30883 Banished Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +30884 Banished Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +30887 Fallen Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +30888 Fallen Grievver 44 1 0.5 0.7 1 0.1 0.2 0.5 1 +30889 Fallen Crystal Shard 47 1 1 1 0.9 0.65 0.3 1 1 +30890 Fallen Lugian 70 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +30891 Fallen Drudge 3 0.85 0.55 0.9 0.95 0.85 0.85 0.15 1 +30892 Fallen Rift 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +30893 Fallen Marionette 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +30894 Fallen Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +30895 Fallen Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +30896 Fallen Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +30897 Sezzherei 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +30898 Banished Banderling 2 0.76 0.65 0.5 1 0.76 0.65 1 1 +30899 Banished Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +30900 Banished Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +30901 Banished Lugian 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +30902 Banished Mu-miyah 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +30903 Banished Olthoi 1 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +30904 Banished Phyntos Wasp 9 0.8 0.8 1 0.5 0.5 0.7 0.2 1 +30937 Sword Swallower 79 1.2 1.2 0.6 1 1 0.6 1 1 +31002 Tukora Lieutenant 5 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +31003 Tukora Commander 5 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +31004 Tukora Sentinel 5 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +31005 Olthoi Ripper 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +31006 Olthoi Larvae 35 0.5 0.65 0.8 0.5 0.5 0.25 0.4 1 +31007 Olthoi Slasher 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +31008 Olthoi Slayer 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +31009 Mosswart Worshipper 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +31010 Mosswart Elder 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +31011 CreatureName 5 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +31012 Eidolon 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +31013 Wicked Skeleton 30 0.58 0.25 1.58 0.9 0.3 0.42 0.4 1 +31014 Naughty Skeleton 30 1.7 0.25 1.58 0.9 0.3 0.42 0.4 1 +31015 Mu-miyah Sentinel 14 1.1 1.15 1.33 0.95 0.9 0.4 0.85 1 +31016 Agitated Phyntos Wasp 9 1 1 1 0.9 0.8 0.9 0.9 1 +31017 Kirit Zefir 29 1 0.75 0.86 0.01 0.75 0.75 0.25 1 +31018 Grievver Violator 44 1 0.5 0.75 0.25 0.25 0.25 0.25 1 +31019 Bloated Eater 79 1.1 0.8 0.8 0.8 0.8 0.8 0.8 1 +31020 Insolent Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +31021 Puffball Thrungus 82 0.4 0.4 0.3 0.5 0.75 0.3 0.5 1 +31022 Jelly Thrungus 82 0.4 0.4 0.3 0.5 0.75 0.3 0.5 1 +31023 Black Morel Thrungus 82 0.4 0.4 0.3 0.5 0.7 0.3 0.5 1 +31024 Mudwort Thrungus 82 0.4 0.4 0.3 0.6 0.4 0.3 0.5 1 +31025 Fire Morel Thrungus 82 0.4 0.4 0.3 0.5 0.7 0.3 0.5 1 +31028 Bloated Eater 79 1.1 0.8 0.8 0.8 0.8 0.8 0.8 1 +31029 Insolent Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +31030 Mudwort Thrungus 82 0.4 0.4 0.3 0.6 0.4 0.3 0.5 1 +31040 Tursh 14 0.9 0.7 0.9 1.1 0.9 0.8 0.9 1 +31220 CreatureName 5 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +31225 Famished Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +31235 Burrowing Grievver 44 0.95 0.9 0.67 0.25 0.25 0.25 0.25 1 +31279 Bone Scourge 30 1.7 0.25 1.58 0.9 0.3 0.42 0.4 1 +31280 Twisted Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +31281 Void Lord 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +31282 Greater Void Lord 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +31292 Viamontian Man-at-Arms 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +31312 Darling 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +31313 Stomper 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +31338 Gronk the Hammer 31 0.8 0.9 0.9 1.5 0.8 1.5 1 1 +31340 Guardian Blue Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +31361 Hard-Headed Skeleton 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +31397 Xaa Xiil 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +31398 Penumbral Horror 44 1 0.5 0.75 0.25 0.25 0.25 0.25 1 +31399 Greater Penumbral Horror 44 1 0.5 0.75 0.25 0.25 0.25 0.25 1 +31400 Raven Conscript 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31401 Raven Conscript 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31402 Raven Augur 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31403 Raven Augur 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31404 Raven Hunter 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31405 Raven Hunter 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31406 Archon Traesis 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31407 Archon Greis 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31408 Archon Ingfall 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +31418 Obsidian Sentient Fragment 47 1.4 0.9 0.9 0.8 0.65 0.5 0.8 1 +31422 Stomper 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +31516 Withered Banderling Hierophant 2 0.75 0.55 0.5 1.05 0.75 0.35 2.5 1 +31517 Withered Raider Prefect 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +31572 Shadow Nightmare 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +31669 Pillar of the Eternal Harvester 64 0.5 0.5 1 0.5 0.5 0.9 0.5 1 +31696 Ruschk Camp Leader 81 0.9 1.1 0.9 1 0.9 0.8 1 1 +31697 Ruschk Camp Leader 81 0.9 1.1 0.9 1 0.9 0.8 1 1 +31718 High Archon Kraest 31 0.67 0.67 0.67 0.77 0.67 0.67 0.7 1 +31827 Incendiary Knight 62 0.3 0.3 0.3 0 0.4 0.3 0.3 1 +31828 Glacial Knight 62 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +31829 Galvanic Knight 62 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +31830 Tenebrous Knight 62 0.445 0.556 0.556 0 1 0.678 0.668 1 +31832 Caustic Knight 62 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +31837 Remoran Sand Stalker 84 0.58 0.58 0.58 0.86 0.58 0.58 0.58 1 +31849 Aggressive Swarm 85 0.65 0.4 0.65 0.65 0.4 0.4 0.4 1 +31874 Fire Golem 13 0.7 0.7 0.7 0.1 0.8 0.7 0.7 1 +31875 Water Golem 13 0.7 0.7 0.7 0.1 0.8 0.7 0.7 1 +31876 Bur Lizk 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +31877 Undead Minion 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +31897 Barbaric Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +31898 Umbral Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +31901 Fanatical Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +31906 Remoran Sea Raptor 84 0.58 0.58 0.58 0.86 0.58 0.58 0.58 1 +31907 Gold Remoran 84 0.58 0.58 0.58 0.86 0.58 0.58 0.58 1 +31908 Remoran Raker 84 0.58 0.58 0.58 0.86 0.58 0.58 0.58 1 +31909 Shallows Gorger 27 0.5 0.85 0.6 0.6 0.85 0.85 1.1 1 +31910 Shallows Shredder 27 0.5 0.85 0.6 0.6 0.85 0.85 1.1 1 +31911 Gold Shallows Shredder 27 0.5 0.85 0.6 0.6 1.1 0.85 1.1 1 +31912 Mucky Moarsman 34 0.85 0.56 0.72 0.72 1.1 0.85 1.1 1 +31913 Gold Moarsman 34 0.85 0.6 0.6 0.6 1 1 1.2 1 +31914 Scummy Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +31915 Grimy Moarsman 34 0.9 0.56 0.72 0.72 0.85 0.85 1 1 +31919 Wave Golem 13 0.33 0.5 0.33 1 1 0.83 1 1 +31920 Aqueous Golem 13 0.33 0.5 0.33 1 1 0.83 1 1 +31921 Mosswart Agitator 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +31948 Doomed Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +32002 Ghastly Priestess 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +32003 Worm Feast 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +32004 Shambling Adherent 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +32005 Sodden Cadaver 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +32007 High Priestess Xik Minru 14 0.95 0.8 0.9 0.2 0.1 0.2 0.2 1 +32030 Brilliant Crystal 47 1.1 0.7 0.7 0.7 0.7 0.7 0.7 1 +32031 Dazzling Crystal 47 1.1 0.7 0.7 0.7 0.7 0.7 0.7 1 +32032 Radiant Crystal 47 1.1 0.7 0.7 0.7 0.7 0.7 0.7 1 +32033 Benek Niffis 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +32034 Gold Niffis 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +32035 Astis Niffis 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +32120 Bloodmouth Remoran 84 0.58 0.58 0.58 0.86 0.58 0.58 0.86 1 +32186 Pumpkin Lord 93 0.53 0.9 1 0.4 0.1 0.33 0.4 1 +32203 Pumpkin Kin 93 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +32205 Pumpkin Buffer 40 1 1 1 1 0.5 1 0.5 1 +32221 Master Alizari 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32224 Mistress Halmera 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32227 Mistress Gabille 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32230 Master Versario 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32295 Royal Inquisitor 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +32301 Nexus Commander 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32314 Engorged Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +32315 Famished Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +32316 Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +32322 Portal Keeper 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32324 Viamontian Mage 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +32327 Blockade Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32328 Blockade Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32329 Viamontian Mercenary 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32333 Blockade Guard 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32397 Antius Blackmoor Memorial 31 0.8 0.8 0.9 1.14 0.9 0.9 1.2 1 +32483 Abominable Snowman 39 1 1 1 1 0 1 1 1 +32501 Shadow Phantom 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +32502 Shadow Phantom 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +32503 Shadow Phantom 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +32514 Yanshi Swarm Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +32522 Portal Pillar 0 0.5 0.5 1 0.5 0.5 0.9 0.5 1 +32525 Portal Pillar 0 0.5 0.5 1 0.5 0.5 0.9 0.5 1 +32528 Portal Pillar 0 0.5 0.5 1 0.5 0.5 0.9 0.5 1 +32593 False Morel Thrungus 82 0.4 0.4 0.3 0.6 0.4 0.3 0.5 1 +32688 Commander Jin Zo 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +32689 Whispering Blade Guard 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +32690 Whispering Blade Chamberlain 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +32700 Viamontian Portal Mage 83 0.8 0.8 0.9 1.14 0.9 0.9 1.2 1 +32701 Captain Iacollia Dimari 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32702 Captain Vietre Lasallia 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32727 Rat King 10 0.75 0.75 1 1 0.58 0.58 1 1 +32734 Essence of Enchantment 40 0.8 0.8 0.7 1 0 0.5 0.5 1 +32735 Essence of Artifice 40 0.8 0.8 0.7 0.5 0.5 1 0 1 +32736 Essence of Verdancy 40 0.8 0.8 0.7 0.5 0.5 0 1 1 +32737 Essence of Strife 40 0.8 0.8 0.7 0 1 0.5 0.5 1 +32738 Hand of Verdancy 60 1.1 1 1 0.5 0.5 0 1.1 1 +32739 Hand of Strife 38 1.1 1 1 0 1.1 0.5 0.5 1 +32740 Hand of Enchantment 61 1.1 1 1 1.1 0 0.5 0.5 1 +32741 Hand of Artifice 42 1.1 1 1 0.5 0.5 1.1 0 1 +32755 Whispering Blade Mage 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +32767 Viamontian Footman 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32768 Viamontian Footman 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +32784 Shadow Wraith 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +32789 Shadow Nightmare 22 1 0.5 0.69 1 0.1 0.2 0.5 1 +32790 Twisted Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +32791 Twisted Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +32804 The Black Breath 22 1.5 1 1.17 1.5 0.6 0.7 1 1 +32833 Escaped Thief 83 0.87 0.87 0.87 0.87 0.87 0.87 0.87 1 +32923 Barbaric Mukkir Nest-lord 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +32932 Son of Pooky 25 1 1 1 1.5 1 1 1 1 +32938 Guardian of the Monolith 38 0.5 0.5 0.5 1 0 0.5 0.5 1 +32947 Child of Acid 62 0.9 0.9 0.9 0.5 0 0.5 1 1 +32948 Child of Fire 62 0.9 0.9 0.9 0 1 1.5 1.5 1 +32949 Child of Frost 62 0.9 0.9 0.9 1 0 1.5 1.5 1 +32950 Child of Lightning 62 0.9 0.9 0.9 0.5 0.5 1 0 1 +32951 Reflection of the Harbinger 62 0.45 0.45 0.45 0 0 0 0 1 +32952 Ancient Steward 14 0.57 0.57 0.86 0.9 0.3 0.7 0.4 1 +32954 Foul Mason 14 0.57 0.57 0.86 0.9 0.3 0.7 0.4 1 +32955 Wretched Architect 14 0.57 0.57 0.86 0.9 0.3 0.7 0.4 1 +32956 Heavy Builder 14 0.57 0.57 0.86 0.9 0.3 0.7 0.4 1 +33009 Shonossoar the Song-Keeper 22 0.92 0.5 0.7 0.95 0.1 0.2 0.5 1 +33010 Kaihoatai the Monitor 22 0.92 0.5 0.7 0.95 0.1 0.2 0.5 1 +33011 Parfarrail the Seer 22 0.92 0.5 0.7 0.95 0.1 0.2 0.5 1 +33033 Masonry Golem 13 0.33 0.67 0.8 0.5 0.5 0.8 0.5 1 +33037 Vile Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33038 Coruscating Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33130 Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33131 Mukkir Laktar 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33132 Mukkir Kartak 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33133 Mukkir Draktehn 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33139 Archon Merille 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +33141 Raven Augur 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +33142 Raven Hunter 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +33145 Dealith 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33163 Captain Faalx 22 0.8 0.5 0.69 0.81 0.1 0.2 0.2 1 +33165 Shadow Cyst 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33166 Isin Dule's Lieutenant 22 0.8 0.5 0.69 0.82 0.1 0.2 0.2 1 +33167 Umbral Soldier 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33168 Panumbral Soldier 22 0.8 0.5 0.69 0.82 0.1 0.2 0.2 1 +33170 Lieutenant Beraxis 22 0.8 0.5 0.69 0.82 0.1 0.2 0.2 1 +33171 Lieutenant Shenza 22 0.8 0.5 0.69 0.82 0.1 0.2 0.2 1 +33172 Lieutenant Yezusthule 22 0.8 0.5 0.69 0.82 0.1 0.2 0.2 1 +33174 Panumbral Soldier 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33175 Umbral Soldier 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33188 Diviner Pheraion 31 0.67 0.67 0.67 0.75 0.67 0.67 0.67 1 +33190 Pheraion's Guard 31 0.67 0.67 0.67 0.75 0.67 0.67 0.67 1 +33218 Child of Verdancy 62 0.9 0.9 0.9 0.5 0.5 0 1 1 +33219 Essence of Enchantment 40 0.8 0.8 0.7 1 0 0.5 0.5 1 +33220 Essence of Artifice 40 0.8 0.8 0.7 0.5 0.5 1 0 1 +33221 Essence of Verdancy 40 0.8 0.8 0.7 0.5 0.5 0 1 1 +33222 Essence of Strife 40 0.8 0.8 0.7 0 1 0.5 0.5 1 +33223 Child of Strife 62 0.9 0.9 0.9 0 1 0.7 0.6 1 +33224 Child of Enchantment 62 0.89 0.89 0.89 0.9 0 0.8 1 1 +33225 Child of Artifice 62 0.9 0.89 0.89 0.5 0.5 0.98 0 1 +33231 Harbinger 62 0.45 0.45 0.45 0 0 0 0 1 +33263 Void Lord 22 0.87 0.5 0.69 0.88 0.1 0.2 0.5 1 +33285 Enraged Ancient Soul 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +33286 Tormented Imperial Consort 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +33458 Mukkir Aspect of Grael 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33464 Pontifex Maegris 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33466 Archmage Aigonne 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33469 Keeper of the First Door 22 0.82 0.5 0.67 0.88 0.1 0.2 0.5 1 +33471 Keeper of the Second Door 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33473 Tainted Vivimancer 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33474 Tainted Knight 22 0.82 0.5 0.67 0.88 0.1 0.2 0.5 1 +33513 Harrak the White Spear 81 0.9 1 0.9 0.9 0.9 0.8 0.9 1 +33514 Vargol the Scion 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33515 Broodling 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33531 Shadow Eddy 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +33538 Fanatical Mukkir Ward Guardian 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33539 Decaying Ruschk Laktar 14 0.7 0.7 0.5 0.8 0.5 0.4 0.4 1 +33623 Biaka Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33624 Degenerate Mukkir 89 0.2 0.4 0.4 0.2 0.2 0.2 0.1 1 +33625 Depraved Mukkir 89 0.2 0.4 0.4 0.2 0.2 0.2 0.1 1 +33626 Hellion Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33629 Fouled Remoran 84 0.58 0.68 0.68 0.36 0.58 0.58 0.58 1 +33631 Degenerate Shadow Commander 22 0.7 0.5 0.7 0.8 0.1 0.2 0.5 1 +33632 Degenerate Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33633 Depraved Shadow Commander 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33634 Depraved Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33636 Glissnal Sleech 45 0.7 0.7 0.8 0.5 0.5 0.5 0.5 1 +33639 Shambling Ruschk Chieftain 14 0.2 0.4 0.2 0.4 0.2 0.2 0.2 1 +33641 Sodden Ruschk Chieftain 14 0.7 0.7 0.5 0.8 0.5 0.4 0.4 1 +33642 Sodden Undead Ruschk 14 0.1 0.1 0.3 0.3 0.1 0.2 0.1 1 +33698 Pillar of Fire 62 1 1 1 0 1.1 1 1 1 +33702 Degenerate Shadow Commander 22 0.7 0.5 0.7 0.8 0.1 0.2 0.5 1 +33703 Degenerate Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33704 Degenerate Shadow Commander 22 0.7 0.5 0.7 0.8 0.1 0.2 0.5 1 +33707 Depraved Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33708 Depraved Shadow Commander 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33709 Depraved Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +33730 Degenerate Shadow 22 0.8 0.5 0.7 0.8 0.1 0.2 0.5 1 +33731 Depraved Shadow 22 0.7 0.5 0.7 0.8 0.1 0.2 0.5 1 +33732 Degenerate Mukkir 89 0.2 0.4 0.4 0.2 0.2 0.2 0.1 1 +33733 Depraved Mukkir 89 0.2 0.4 0.4 0.2 0.2 0.2 0.1 1 +33734 Sodden Undead Ruschk 14 0.1 0.1 0.3 0.3 0.1 0.2 0.1 1 +33735 Shambling Undead Ruschk 14 0.4 0.75 0.4 0.75 0.2 0.4 0.4 1 +33736 Remoran Corsair 84 0.1 0.3 0.3 0.1 0.1 0.1 0.1 1 +33737 Horrid Remoran 84 0.1 0.3 0.3 0.1 0.1 0.1 0.1 1 +33738 Listris Sleech 45 0.7 0.7 0.8 0.5 0.5 0.5 0.5 0.6 +33739 Parfal Sleech 45 0.6 0.6 0.7 0.5 0.5 0.5 0.5 0.6 +33748 Decaying Ruschk Sadist 14 0.89 1.1 0.89 1 0.89 0.8 1 1 +33798 Commander Jared Kurth 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +33799 Ruschk Haktar 81 0.8 0.89 0.89 1 0.1 0.8 0.8 1 +33804 Small Fledgling Mukkir 89 0.8 0.9 0.9 0.8 0.5 0.8 0.8 1 +33830 Reinforced Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +33831 Sawato Bandit 31 0.6 0.6 0.6 0.7 0.6 0.6 0.7 1 +33844 Black Flame 22 0.88 0.75 0.77 0 0.1 0.2 0.2 1 +33894 Abyssal Totem 0 1 1 1 1 1 1 1 0.2 +33897 Hastar the Misbegotten 22 0.86 0.5 0.65 0.89 0.1 0.2 0.2 1 +33898 Mukkir Progenitor 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +33971 Parasitic Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +33972 Traphole Grievver 44 1 0.9 0.67 0.25 0.25 0.25 0.25 1 +34000 Old Scratchy 16 1 0.75 0.6 0.38 1 0.75 0.75 1 +34014 Tanada Nanjou Shou-jen 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +34043 Afesse Sclavus 26 0.55 0.65 0.46 0.75 0.79 0.25 0.25 1 +34044 Illu Sclavus 26 0.85 0.75 0.46 0.75 0.85 0.25 0.25 1 +34045 Siessa Sclavus 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +34046 Lunnum 78 0.55 0.65 0.67 0.75 0.6 0.54 0.48 1 +34047 Patrician Kilkitris 14 0.65 0.5 0.5 0.78 0.5 0.5 0.5 1 +34048 Patrician Phaerix 14 0.65 0.5 0.5 0.78 0.5 0.5 0.5 1 +34102 Old Zombie 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +34254 Feral Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +34295 Acolyte of Breath 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +34296 Acolyte of Storms 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +34297 Acolyte of Wind 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +34311 Essa Soul Harrier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +34312 Faisi Disciple 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +34313 Aste Soul Harrier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +34314 Chomu Disciple 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +34315 Soul Hunter 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +34327 Thralled Guruk Beast 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +34330 Thralled Guruk Crusher 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +34332 Thralled Guruk Heavy 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +34334 Thralled Guruk Smasher 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +34336 Thralled Ruuk Fiend 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +34338 Thralled Ruuk Seer 75 0.65 0.8 0.5 0.65 0.8 0.1 0.4 1 +34561 Acolyte of Breath 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +34562 Master of Breath 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +34563 Acolyte of Storms 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +34564 Master of Storms 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +34565 Acolyte of Wind 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +34607 Stone Fists 13 0.5 0.8 0.8 0.4 0.4 0.6 0.2 1 +34612 Baktak the Human Slayer 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +34613 Kerthump the Ear Taker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +34614 Gladiator Diemos 13 0.33 0.33 0.8 0.8 0.8 0.5 0.4 1 +34615 Elite Guardian 13 0.7 0.7 0.7 0.9 0.9 1.3 0.9 1 +34617 The Master 31 0.6 0.6 0.6 0.9 0.8 1 0.9 1 +34618 Disgraced Nanjou Shou-jen 31 0.8 0.9 0.9 1.5 0.8 1.5 1 1 +34620 Tremendous Monouga 28 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +34621 Killagurg 4 0.5 1 0.8 2 0.4 0.5 0.6 2 +34622 Demon Swarm Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +34623 Azaxis 19 0.8 0.3 0.7 0.8 0.4 0.5 1.1 1 +34755 Matriarch Mirta'kir 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +34778 Guruk Basher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34779 Guruk Beast 75 0.65 0.85 0.5 0.65 0.8 0.1 0.3 1 +34780 Guruk Behemoth 75 0.5 0.65 0.35 0.5 0.6 0.1 0.2 1 +34781 Guruk Boor 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34782 Guruk Brute 75 0.65 0.85 0.5 0.65 0.8 0.1 0.3 1 +34783 Guruk Colossus 75 0.55 0.75 0.4 0.55 0.7 0.1 0.2 1 +34785 Guruk Destroyer 75 0.6 0.75 0.45 0.6 0.75 0.1 0.25 1 +34786 Guruk Fiend 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +34787 Guruk Gorefiend 75 0.35 0.55 0.4 0.35 0.5 0.1 0.1 1 +34788 Guruk Hatchling 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34790 Guruk Hulk 75 0.55 0.75 0.4 0.55 0.7 0.1 0.3 1 +34791 Guruk Marauder 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34793 Guruk Monstrosity 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +34794 Guruk Plunderer 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34795 Guruk Pug 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34797 Guruk Smasher 75 0.75 0.95 0.6 0.75 0.9 0.1 0.4 1 +34798 Guruk Spore Leech 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +34799 Guruk Spore Seeker 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +34801 Guruk Titan 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +34868 Baby Thrungus 82 0.86 0.75 0.66 1.42 0.6 0.75 0.9 1 +34869 Pallid Moar 86 0.7 0.8 0.8 1 0.8 0.5 1 1 +34938 Collector Golem 13 0.86 0.8 0.8 1 0.86 0.8 1 1 +34970 Falatacot Prison Warden 14 0.6 0.55 0.85 0.88 0.75 0.85 0.8 1 +34971 Falatacot Blood Prophetess 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +34972 Falatacot Blood Elder 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +34973 Falatacot Consort 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +34974 Ancient Counselor 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +34975 Laisu Sclavus 26 0.85 0.75 0.46 0.75 0.85 0.25 0.25 1 +34976 Infused Empyrean Blood Golem 13 0.3 1 0.8 0.5 0.5 1 0.3 1 +34977 Infused Blood Golem 13 0.1 0.1 0.45 0.25 0.65 0.65 0.1 1 +34978 Tortured Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +34979 Thralled Guruk Reaper 75 0.45 0.65 0.3 0.35 0.86 0.1 0.1 1 +34980 Thralled Guruk Spore Seeker 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +35004 Sclavus Ritualist 26 0.75 1 0.46 0.75 1 0.25 0.25 1 +35007 Empyrean Blooded Ritual Statue 63 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +35008 Empyrean Blooded Ritual Statue 63 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +35009 General Tain'Kivix 14 0.6 0.75 0.75 0.85 0.75 0.85 0.8 1 +35013 Gate Guardian 14 0.57 0.57 0.76 0.83 0.3 0.57 0.4 1 +35015 Gate Guardian 14 0.57 0.57 0.76 0.83 0.3 0.57 0.4 1 +35017 Gate Guardian 14 0.57 0.57 0.76 0.83 0.3 0.57 0.4 1 +35019 Gate Guardian 14 0.57 0.57 0.76 0.83 0.3 0.57 0.4 1 +35021 Gate Guardian 14 0.57 0.57 0.76 0.83 0.3 0.57 0.4 1 +35053 Thralled Guruk Spore Leech 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +35054 Thralled Guruk Monstrosity 75 0.45 0.65 0.3 0.35 0.6 0.1 0.1 1 +35059 Hatred Wisp 20 0.8 0.8 0.6 0 0.8 0.4 0.4 1 +35062 Mana Barrier 64 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +35067 Mana Barrier 0 0.5 0.5 0.5 0.5 0 0.5 0.5 1 +35089 Despair Wisp 20 0.8 0.8 0.6 0.4 0.4 0 0.8 1 +35090 Sorrow Wisp 20 0.8 0.8 0.6 0.8 0 0.4 0.4 1 +35091 Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +35092 Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +35093 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +35097 Pyre Skeleton 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +35098 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +35099 Pyre Minion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +35100 Grave Rat 10 0.75 0.75 0.95 0.5 0.5 0.5 0.95 1 +35115 Contained Rift 19 1 1 1 0 0.65 0.3 1 1 +35116 Titanium Armoredillo 17 0.53 1 0.5 0.5 0.95 0.7 0.95 1 +35117 Ravager 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +35118 Sentient Crystal Shard 47 1 1 1 0.9 0.65 0.3 1 1 +35119 Crystal Shard Sentinel 47 1 1 1 0 0.65 0.3 1 1 +35121 Ravenous Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +35122 Repugnant Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +35123 Tortured Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +35124 Crystal Lord 13 0.1 0.1 0.1 0.1 0.1 0.1 0.1 1 +35125 Disgraced Nanjou Shou-jen 31 0.8 0.9 0.9 1.5 0.8 1.5 1 1 +35126 Viamontian Hand 83 0.8 0.8 0.9 1 0.9 0.9 1.2 1 +35127 Adept of Acid 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +35128 Adept of Fire 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +35129 Adept of Frost 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +35130 Adept of Lightning 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +35131 Viamontian Tribune 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +35132 Bokrok Lugian 5 0.66 0.85 0.66 0.25 0.42 0.65 0.95 1 +35133 Gotrok Juggernaut 70 0.66 0.85 0.5 0.25 0.45 0.65 0.95 1 +35134 Kroktok Lugian 5 0.66 0.85 0.66 0.25 0.42 0.65 0.95 1 +35135 War Mattekar 23 0.58 0.9 0.86 1 0.4 0.75 0.4 1 +35136 Mosswart Agitator 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +35137 Mosswart Elder 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +35138 Mosswart Gladiator 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +35139 Mosswart Scavenger 4 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +35140 Mosswart Scrounger 4 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +35141 Mosswart Swamp Lord 4 0.55 0.8 0.8 1 0.38 0.8 1 1 +35142 Mukkir Draktehn 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +35143 Mukkir Kartak 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +35144 Mukkir Laktar 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +35145 Umbral Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +35146 Olthoi Slayer 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +35147 Olthoi Larvae 35 0.5 0.65 0.8 0.5 0.5 0.25 0.4 1 +35148 Olthoi Progenitor 1 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +35149 Olthoi Ripper 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +35150 Olthoi Slasher 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +35151 Swarm Demon 1 0.6 0.8 0.8 0.5 0.5 0.42 0.25 1 +35152 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +35153 Ruschk Draktehn 81 0.9 1 0.9 1.1 0.9 0.8 0.9 1 +35154 Degenerate Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +35155 Degenerate Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +35156 Degenerate Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +35157 Depraved Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +35158 Parfal Sleech 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +35159 Parfal Sleech 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +35160 Annihilator 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +35161 Stomper 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +35162 Enraged Ancient Soul 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +35163 Inflamed Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +35164 Virindi Paradox 19 1 1 1 1 0.65 1 0.65 1 +35165 Virindi Quidiox 19 1 1 1 1 0.5 1 0.5 1 +35166 Infernal Zefir 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +35167 Kirit Zefir 29 1 0.75 0.86 0.01 0.75 0.75 0.25 1 +35174 High Acolyte of the Blood 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +35175 High Acolyte of Sacrifice 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +35176 High Acolyte of the Spirit 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +35191 Thunder Chicken 69 0.5 0.5 1 1 0.5 0.5 0.1 1 +35252 Corrosion Wisp 20 1 0.9 0.9 0.9 0.9 0.3 0.9 1 +35253 Cursed Wisp 20 1 0.9 0.9 0.3 0 0.3 0.9 1 +35254 Fire Wisp 20 1 1 0.18 0 0.18 0.75 0.18 1 +35255 Stasis Wisp 20 1 0.9 0.9 0.3 0 0.3 0.9 1 +35256 Strife Wisp 20 1 0.9 0.9 0.3 0.9 0.9 0.9 1 +35268 Spectral Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +35270 Spectral Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +35273 Tower Guardian 13 0.7 0.7 0.7 0.9 0.9 1.3 0.87 1 +35305 Tukora Commander 5 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +35306 Tukora Lieutenant 5 0.65 0.65 0.65 0.25 0.4 0.9 1 1 +35315 Acolyte of Decay 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +35338 Banderling Guard Champion 2 0.55 0.55 0.55 0.85 0.55 0.35 1.05 1 +35341 Banderling Guard Champion 2 0.55 0.55 0.55 0.85 0.55 0.35 1.05 1 +35342 Banderling Guard Champion 2 0.55 0.55 0.55 0.85 0.55 0.35 1.05 1 +35343 Chief Taraash 2 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +35344 Guard Winterborn 31 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +35378 Lord Cynreft Mhoire 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 0.82 +35389 Mosswart Townsfolk 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +35393 Lady Tairla Mhoire 77 0.8 0.8 0.79 0.89 0.34 0.49 0.84 1 +35400 Corrupted Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +35427 Drudge Lurker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +35429 Drudge Lurker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +35436 Drudge Ravener 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +35437 Drudge Robber 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +35440 Drudge Skulker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +35441 Drudge Slinker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +35442 Drudge Sneaker 3 0.86 0.75 0.66 1.42 1.42 0.75 1.42 1 +35445 Drudge Stalker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +35446 Drudge Stalker 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +35481 Watcher in the Warren 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +35482 Watcher's Guard 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +35483 Watcher's Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +35498 Chick 69 0.8 0.8 1 1 0.8 0.8 1 1 +35499 Chicken 69 0.8 0.8 1 1 0.8 0.8 1 1 +35559 Tempest Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +35560 The Archivist 19 1 1 1 1 0.65 1 0.65 1 +35578 Drudge Biter 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +35580 Drudge Balloon 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +35582 Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +35583 Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +35584 Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +35585 Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +35662 Demon Swarm Clawbearer 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +35666 Master's Acolyte 31 0.5 0.5 0.5 0.8 0.5 0.8 1 1 +35670 Guardian of Diemos 13 0.33 0.33 0.7 0.2 0.7 0.7 0.45 1 +35731 Paradox-touched Olthoi Eviscerator Grub 92 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +35732 Paradox-touched Olthoi Noble Grub 92 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +35733 Paradox-touched Olthoi Eviscerator Nymph 92 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +35734 Paradox-touched Olthoi Flyer Nymph 92 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +35735 Paradox-touched Olthoi Warrior Nymph 92 0.75 1 1 0.75 0.75 0.42 0.25 1 +35748 Giant Imprisoned Monouga 28 1.2 1.2 1.2 1.2 1.2 1.2 1.2 1 +35780 Ascendant Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +35812 Paradox-touched Olthoi Ward Guardian 92 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +35813 Paradox-touched Olthoi Noble Nymph 92 0.75 1 1 0.75 0.75 0.42 0.25 1 +35830 Withered Banderling Paragon 2 0.55 0.55 0.55 0.85 0.55 0.35 2.1 1 +35831 Withered Drudge Seraph Mystic 3 0.75 0.75 0.75 0.8 0.65 1.8 0.35 1 +35832 Withered Raider Justicar 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +35833 Withered Raider Prefect 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +35834 Withered Raider Prefect 70 0.65 0.65 0.65 0.25 0.4 0.9 2 1 +35835 Withered Transcendent Tumerok 6 2 1 1 1 1 1 1 1 +35859 Acolyte of the Depths 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +35875 Paradox-touched Olthoi Sentinel 92 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +35877 Paradox-touched Olthoi Sentinel 92 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +35878 Paradox-touched Olthoi Lacerator 92 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +35879 Paradox-touched Olthoi Ripper 92 0.75 0.7 1 0.75 0.75 0.25 0.4 1 +35880 Paradox-touched Olthoi Slasher 92 0.75 1 1 0.75 0.75 0.42 0.25 1 +35881 Paradox-touched Olthoi Swarm Eviscerator 92 0.75 1 1 0.75 0.75 0.25 0.4 1 +35882 Paradox-touched Olthoi Eviscerator 92 1 0.95 1 0.75 0.5 0.5 0.75 1 +35883 Paradox-touched Olthoi Lancer 92 0.7 1 0.75 0.55 0.6 0.25 0.45 1 +35884 Paradox-touched Olthoi Noble 92 0.75 1 1 0.75 0.75 0.42 0.25 1 +35885 Paradox-touched Olthoi Warrior 92 0.75 1 1 0.75 0.75 0.42 0.25 1 +35888 Paradox-touched Olthoi Queen 92 0.15 0.65 0.75 0.1 0.05 0.05 0.5 1 +35939 Chained Tusker 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +35940 Mudmouth 59 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +35941 Dark Bobo 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +35954 Imp 22 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +35983 Penumbral Terror 44 1 0.5 0.7 1 0.1 0.2 0.5 1 +35985 A Shadow of Black Ferah 22 0.45 0.4 0.3 0.85 0.1 0.2 0.25 1 +35986 A Shadow of Ler Rhan 22 0.45 0.4 0.3 0.85 0.1 0.2 0.25 1 +35987 Shadow Captain 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +35988 Shadow Commander 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +35989 Shadow Knight Hand 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +35990 Penumbral Shadowmage 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +35991 Kirienne Palacost 22 0.88 0.5 0.67 0.89 0.1 0.2 0.5 1 +35993 Shadow Sorceress 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +36031 Umbris Elite Commander 22 0.7 0.5 0.6 0.7 0.1 0.2 0.5 1 +36032 Umbris Elite 22 0.7 0.5 0.6 0.7 0.1 0.2 0.5 1 +36033 Nightmarish Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +36034 Nightmarish Marionette 54 1 0.75 0.5 0.5 0.9 0.5 0.9 1 +36036 Aerbax 96 0.92 0.55 0.65 0.92 0.59 0.55 0.59 0.65 +36037 Avarice 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36038 Change 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36039 Chaos 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36040 Disobedience 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36041 Individuality 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36042 Ulgrim 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36044 Claude the Dark Archmage 19 0.8 0.7 0.6 0.8 0.4 0.6 0.4 1 +36172 Blood Curse Rat 10 0.5 0.5 0.98 0.5 0.5 0.5 0.95 1 +36173 DeathTail 10 0.5 0.5 0.92 0.5 0.5 0.5 0.89 1 +36175 Pillar of Acid 62 1 1 1 1 1 0 0.9 1 +36176 Pillar of Frost 62 1 1 1 1.1 0 1 1 1 +36177 Pillar of Lightning 62 1 1 1 1 1 1.1 0 1 +36178 Harbinger 62 0.65 0.65 0.65 0 0 0 0 1 +36216 Artifex of the Elements 19 1 1 1 1 0.65 1 0.65 1 +36220 Verdancy Proctor 62 0.6 0.6 0.6 0.4 0.4 0 0.75 1 +36221 Strife Proctor 62 0.6 0.6 0.6 0 0.75 0.4 0.4 1 +36222 Enchantment Proctor 62 0.6 0.6 0.6 0.75 0 0.4 0.4 1 +36223 Artifice Proctor 62 0.6 0.6 0.6 0.4 0.4 0.75 0 1 +36443 Harvest Reaper 30 1.7 0.25 1.58 0.9 0.3 0.42 0.4 1 +36525 Pumpkin King 93 0.9 0.7 0.6 0.4 0.1 0.3 0.3 1 +36526 Pumpkin Kin 93 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +36527 Pumpkin Vine 93 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +36553 Shadow-touched Virindi Paradox 19 1 1 1 1 0.65 1 0.65 1 +36554 Shadow-touched Virindi Quidiox 19 1 1 1 1 0.65 1 0.65 1 +36597 Blight Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +36598 Paradox Simulacrum 59 0.76 0.76 0.77 0.85 0.73 0.73 0.73 1 +36599 Paradox Simulacrum War Mage 59 0.76 0.76 0.77 0.85 0.73 0.73 0.73 1 +36600 Demerax the Sculptor 19 0.88 0.677 0.555 0.88 0.65 0.455 0.65 1 +36601 Lab Guardian 19 0.88 0.677 0.555 0.88 0.65 0.455 0.65 1 +36644 Guardian of Linvak Tukal 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36645 Abyssal Shadow Lugian 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36646 Shadow Kresovus 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36647 Shadow Kresovus 22 0.66 0.66 0.66 0.25 0.42 0.66 0.66 1 +36648 Shadow Kresovus 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36649 Shadow Kresovus 22 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36650 Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +36651 Boulder 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +36654 Wall 64 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +36756 Cleaner 19 0.79 0.79 0.77 0.89 0.65 0.45 0.65 1 +36759 Virindi Portal 0 0.76 0.75 0.66 0.65 0.6 0.89 0.79 1 +36760 Virindi Portal 0 0.76 0.75 0.66 0.65 0.6 0.89 0.79 1 +36761 Virindi Portal 0 0.76 0.75 0.66 0.65 0.6 0.89 0.79 1 +36762 Virindi Portal 0 0.76 0.75 0.66 0.65 0.6 0.89 0.79 1 +36763 Virindi Portal 0 0.86 0.75 0.66 1.3 0.6 0.75 0.89 1 +36773 Olthoi Sentinel Tracker 95 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +36816 Banderling Aggressor 2 0.76 0.65 0.5 0.65 0.45 0.88 0.88 1 +36817 Dire Champion Banderling 2 0.76 0.65 0.5 0.65 0.45 0.88 0.88 1 +36818 Banderling Predator 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +36819 Banderling Savage 2 0.76 0.65 0.5 0.78 0.76 0.88 0.88 1 +36820 Banderling Scalper 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +36821 Ascendant Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +36822 Drudge Bloodletter 3 0.88 0.61 0.68 0.88 0.78 0.78 0.23 1 +36823 Drudge Cabalist 3 0.85 0.56 0.85 0.88 0.75 0.75 1 1 +36824 Dire Champion Drudge 3 0.85 0.56 0.85 0.88 0.75 0.75 1 1 +36825 Peerless Drudge 3 0.6 0.6 0.6 0.82 0.6 0.6 0.6 1 +36826 Unconquered Drudge 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +36827 Acidic Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +36828 Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +36829 Acidic Diamond Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +36830 Diamond Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +36831 Dire Champion Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +36832 Gold Golem 13 0.33 0.33 1 1 1 1 1 1 +36833 Pyreal Golem 13 0.1 0.1 0.6 0.25 0.25 0.55 0.1 1 +36834 Vapor Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +36835 Dire Champion Lugian 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36836 Raider Juggernaut 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36837 Gotrok Juggernaut 70 0.66 0.85 0.5 0.25 0.45 0.65 0.95 1 +36838 Tiatus Raider 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +36839 Gotrok Titan 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +36840 Bloodthirsty Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +36841 Dire Champion Monouga 28 0.55 0.8 0.45 0.85 0.65 0.85 0.65 1 +36842 Insidious Monouga 28 0.55 0.8 0.45 0.85 0.65 0.85 0.65 1 +36843 Merciless Monouga 28 0.6 0.9 0.45 0.85 0.85 0.75 0.55 1 +36844 Pugnacious Monouga 28 0.6 0.9 0.45 0.45 1 0.75 0.55 1 +36845 Abyssal Shadow 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +36846 Dire Champion Shadow 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +36847 Maelstrom Shadow 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +36848 Pandemonium Shadow 22 0.87 0.5 0.65 0.88 0.1 0.2 0.2 1 +36849 Paroxysm Shadow 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +36850 Shadow Phantom 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +36851 Sinister Shadow 22 0.85 0.5 0.67 0.88 0.1 0.2 0.5 1 +36852 Shadow Spectre 22 0.85 0.5 0.69 0.88 0.1 0.2 0.5 1 +36853 Tenebrous Shadow 22 0.86 0.5 0.67 0.89 0.1 0.2 0.5 1 +36854 Shadow Wraith 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +36855 Armored Skeleton 30 0.58 0.25 0.85 0.75 0.3 0.55 0.4 1 +36856 Skeletal Champion 30 0.58 0.25 0.85 0.9 0.3 0.42 0.4 1 +36857 Dire Champion Skeleton 30 0.58 0.25 0.85 0.75 0.3 0.55 0.4 1 +36858 Great Skeleton 30 0.58 0.25 1 0.9 0.3 0.42 0.4 1 +36859 Skeletal Hero 30 0.58 0.25 0.75 0.25 0.3 0.62 0.4 1 +36860 Virindi Adjudicator 19 0.58 0.62 0.71 0.88 0.5 0.65 0.5 1 +36861 Virindi Consul 19 0.86 0.55 0.57 0.86 0.5 0.45 0.5 1 +36862 Virindi Desecrator 19 0.89 0.65 0.73 0.88 0.5 0.45 0.5 1 +36863 Dire Champion Virindi 19 0.89 0.65 0.73 0.88 0.5 0.45 0.5 1 +36864 Virindi Profane 19 0.88 0.65 0.73 0.87 0.65 0.62 0.65 1 +36865 Virindi Profatrix 19 0.91 0.65 0.81 0.88 0.65 0.62 0.65 1 +36918 Three Eyed Snowman 39 0.64 0.66 0.67 0.92 0 0.65 0.66 1 +36929 Thief of Dreams 19 0.65 0.65 0.55 0.8 0.5 0.45 0.5 1 +36931 Dream Marauder 19 0.65 0.65 0.55 0.82 0.5 0.45 0.5 1 +36951 Aerbax's Shadow 96 0.92 1 0.65 0.92 0.4 0.92 0.4 1 +36953 Drudge Protector 3 0.7 0.4 0.4 0.7 0.3 0.6 0.6 1 +36954 Elemental Protector 62 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +36955 Elemental Protector 62 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +36956 Elemental Protector 62 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +36957 Elemental Protector 62 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +36960 Mosswart Protector 4 0.5 0.8 0.8 0.91 0.4 0.7 0.91 1 +36961 Olthoi Protector 92 0.6 0.65 0.7 0.35 0.35 0.35 0.35 1 +36963 Formless Shadow 22 0.5 0.3 0.3 0.65 0.1 0.2 0.2 1 +36964 Shadow Protector 22 0.88 0.5 0.65 0.89 0.1 0.2 0.2 1 +36967 Tusker Protector 8 0.42 0.79 0.75 0.91 0.75 0.75 0.25 1 +36968 Virindi Artificer 19 0.89 0.65 0.68 0.88 0.65 0.69 0.65 1 +36969 Virindi Artificer 19 0.89 0.65 0.68 0.88 0.65 0.69 0.65 1 +36970 Virindi Artificer 19 0.89 0.65 0.68 0.88 0.65 0.69 0.65 1 +36972 Virindi Protector 19 0.89 0.65 0.67 0.89 0.5 0.45 0.5 1 +37082 Tanada Soroku 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +37084 Tanada Burrows Sapper 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +37085 Tanada Burrows Enforcer 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +37097 Shroud Cabal Node-Leech 31 0.67 0.67 0.67 0.83 0.67 0.67 0.67 1 +37098 Shroud Cabal Raider 31 0.67 0.67 0.67 0.83 0.67 0.67 0.79 1 +37099 Shroud Cabal Raider Captain 31 0.67 0.67 0.67 0.83 0.67 0.67 0.79 1 +37100 Shroud Cabal Forager 31 0.67 0.67 0.67 0.83 0.79 0.67 0.66 1 +37101 Shroud Cabal Forager Captain 31 0.67 0.67 0.67 0.83 0.79 0.67 0.66 1 +37157 Door 64 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +37177 Blood Priestess 31 0.5 0.6 0.62 0.89 0.55 0.45 0.5 1 +37179 Imperial Guard 14 0.57 0.57 0.86 0.9 0.3 0.7 0.4 1 +37180 Imperial Archivist 14 0.57 0.57 0.86 0.9 0.3 0.7 0.4 1 +37377 Aerbax's Shadow 96 0.92 1 0.65 0.92 0.4 0.92 0.4 1 +37378 Aerbax's Shadow 96 0.92 1 0.65 0.92 0.4 0.92 0.4 1 +37379 Aerbax's Shadow 96 0.92 1 0.65 0.92 0.4 0.92 0.4 1 +37380 Aerbax's Shadow 96 0.92 1 0.65 0.92 0.4 0.92 0.4 1 +37381 Aerbax's Shadow 96 0.92 1 0.65 0.92 0.4 0.92 0.4 1 +37405 Blighted Miry Moarsman 98 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +37406 Blighted Desolation Moarsman 98 0.9 0.56 0.96 0.96 0.85 0.85 0.85 1 +37416 Blighted Desolation Moarsman 98 0.9 0.7 0.7 0.7 0.7 0.7 0.7 1 +37417 Blighted Disgusting Moarsman 98 0.9 0.56 0.96 0.96 0.85 0.85 0.82 1 +37418 Blighted Grimy Moarsman 98 0.9 0.56 0.72 0.72 0.85 0.85 0.56 1 +37419 Blighted Pallid Moarsman 34 0.55 0.8 0.8 0.89 0.38 0.3 1 1 +37420 Blighted Putrid Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +37421 Blighted Rank Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +37452 Corrupted Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +37453 Corrupted Maiden 77 0.85 0.4 0.4 0.8 0.4 0.49 0.5 1 +37454 Spectral Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +37455 Forge Golem 13 0.58 0.25 0.35 0.35 0.95 0.92 0.92 1 +37456 Grave Rat 10 0.75 0.75 0.95 0.5 0.5 0.5 0.95 1 +37457 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +37458 Pyre Minion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +37459 Pyre Skeleton 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +37460 Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +37461 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +37462 Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +37569 Rock Wall 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +37601 Blight Spirit 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +37604 Blight Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +37606 Large Blight Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +37608 Blight Revenant 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +37609 Blight Lictor 14 1 0.52 0.75 1 0.1 0.75 0.86 1 +38009 K'nath N'da 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +38010 K'nath R'ajed 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +38011 K'nath Y'nda 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +38012 K'nath Mother 21 0.86 0.86 0.88 0.79 0.75 0.69 0.69 1 +38014 K'nath B'orret 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +38015 K'nath C'ire 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +38016 K'nath Y'bot 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +38029 Elite Zharalim Agent 31 0.95 0.95 0.95 0.85 0.95 1 0.9 1 +38030 Falatacot Blood Prophetess 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +38076 Lost Menilesh Denizen 14 0.85 0.5 0.5 0.85 0.5 0.85 0.5 1 +38080 Lord Rytheran 14 0.65 0.5 0.5 0.65 0.5 0.65 0.5 1 +38084 Menilesh Guard 14 0.8 0.5 0.5 0.82 0.5 0.5 0.5 1 +38144 Siabot the Deranged 31 0.4 0.4 0.5 0.5 0.6 0.6 0.86 1 +38145 Lorfne the Unhinged 31 0.4 0.4 0.5 0.5 0.6 0.6 0.86 1 +38146 Ves the Mad 31 0.4 0.4 0.5 0.5 0.6 0.6 0.86 1 +38147 Inkitan the Crazed 31 0.4 0.4 0.5 0.5 0.6 0.6 0.86 1 +38148 Cloywer the Unstable 31 0.4 0.4 0.5 0.5 0.6 0.6 0.86 1 +38149 Despe the Insane 31 0.4 0.4 0.5 0.5 0.6 0.6 0.86 1 +38150 Blighted Verdant Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38176 Blighted Hoary Armoredillo 17 0.5 1 0.5 0.5 0.95 0.7 0.95 1 +38177 Blighted Oak Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +38178 Blighted Pyreal Golem 13 0.1 0.1 0.6 0.25 0.25 0.55 0.1 1 +38179 Blighted Sotiris Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +38180 Blighted Bane Grievver 44 1 0.89 0.67 0.25 0.25 0.25 0.25 1 +38181 Blighted Dire Ursuin 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +38265 Egg 63 0.1 0.1 0.25 0.5 0.5 0.5 0.5 1 +38280 Brood Mother 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38281 Brood Mother 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38282 Brood Mother 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38283 Brood Mother 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38286 Maguth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38287 Mogshuth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38291 Shoguth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38292 Spawn 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38293 Spawn Watcher 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38294 Spawnling 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38349 Blind Keeper 98 0.9 0.55 0.4 0.4 0.85 0.75 1 1 +38351 Gate Watcher 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38355 Listris Sleech 45 0.6 0.6 0.7 0.5 0.5 0.5 0.5 0.6 +38360 Prior Kothmox 98 0.9 0.55 0.4 0.4 0.85 0.75 1 1 +38385 Tikchti 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38386 Skith'Kirit 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38402 Bandit Mana Hunter 31 0.5 0.5 0.7 0.5 0.75 0.5 0.75 1 +38403 Bandit Mana Hunter Boss 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +38406 Blessed Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38409 Blessed Moarsman 34 0.9 0.8 0.4 0.7 0.7 0.85 1 1 +38411 Ashris Niffis 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +38412 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38432 Blighted Ardent Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38439 Afessa Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38440 Siessa Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38441 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38442 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38587 Ardent Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38588 Blessed Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38589 Verdant Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38590 Ardent Moarsman 98 0.65 0.55 0.65 0.4 0.5 0.3 0.8 1 +38591 Verdant Moarsman 98 0.65 0.55 0.65 0.4 0.5 0.3 0.8 1 +38592 Vaeshok 14 0.9 1.1 0.9 1 0.9 0.8 1 1 +38593 Falatacot Consort 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +38594 Falatacot Blood Prophetess 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +38629 Captain Joroshi 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38630 Celestial Hand Scout 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38631 Eldrytch Web Scout 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38632 Radiant Blood Scout 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38633 Assassin 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38634 Benedino 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38635 Captain Donnarion 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38636 Captain Haroush 31 0.4 0.4 0.4 0.4 0.4 0.4 0.75 1 +38650 Blighted Grimy Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38651 Blighted Mucky Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38652 Blighted Scummy Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38713 Shambling Archivist 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +38806 Corrupted Pyre Spark 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +38807 Corrupted Pyre Oak 13 0.8 0.8 0.79 0.34 0.49 0.49 0.84 1 +38823 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38824 Tendril of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38825 Tentacle of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38826 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38827 Tendril of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38828 Tentacle of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38829 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38830 Tendril of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38831 Tentacle of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +38839 Master Archer 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38840 Master Archer 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38841 Master Archer 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38842 Master Mage 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38843 Master Mage 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38844 Master Mage 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38845 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38846 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38847 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +38871 Blighted Ardent Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38872 Blighted Verdant Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +38873 Afessa Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38874 Siessa Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38875 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38876 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +38877 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +39007 Blighted Desolation Moarsman 98 0.9 0.7 0.7 0.7 0.7 0.7 0.7 1 +39009 Blighted Disgusting Moarsman 98 0.9 0.56 0.96 0.96 0.85 0.85 0.82 1 +39011 Blighted Grimy Moarsman 98 0.9 0.56 0.72 0.72 0.85 0.85 0.56 1 +39013 Blighted Pallid Moarsman 34 0.55 0.8 0.8 0.89 0.38 0.3 1 1 +39015 Blighted Putrid Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +39017 Blighted Rank Moarsman 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +39040 Tendril of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39137 Moarsman Marauder 34 0.75 0.55 0.65 0.4 0.75 0.3 0.48 1 +39140 Moarsman Marauder 34 0.75 0.55 0.65 0.4 0.75 0.3 0.48 1 +39142 Moarsman Marauder 34 0.75 0.55 0.65 0.4 0.75 0.3 0.48 1 +39143 Moarsman Marauder 34 0.75 0.55 0.65 0.4 0.75 0.3 0.48 1 +39145 Moarsman Raider 34 0.85 0.56 0.72 0.72 1.1 0.85 1.1 1 +39146 Moarsman Raider 34 0.85 0.56 0.72 0.72 1.1 0.85 1.1 1 +39147 Moarsman Raider 34 0.85 0.56 0.72 0.72 1.1 0.85 1.1 1 +39149 Sclavus Marauder 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +39152 Sclavus Marauder 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +39155 Sclavus Marauder 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +39156 Sclavus Marauder 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +39157 Sclavus Raider 26 0.85 0.75 0.46 0.75 0.85 0.25 0.25 1 +39158 Sclavus Raider 26 0.85 0.75 0.46 0.75 0.85 0.25 0.25 1 +39161 Falatacot Marauder 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39166 Falatacot Marauder 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39167 Falatacot Marauder 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39168 Falatacot Marauder 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39171 Falatacot Raider 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39174 Patriarch's Executioner 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39182 Patriarch's Executioner 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39193 Patriarch's Executioner 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39196 Patriarch's Executioner 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +39342 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39344 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39345 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39348 Kazyk Ri T'thuunixis 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +39349 Kazyk Ri T'thuunixis 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +39350 Minik Ra T'thuunixis 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +39351 Minik Ra T'thuunixis 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +39352 Nivinizk T'thuunixis 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +39353 Nivinizk T'thuunixis 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +39450 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39451 Tendril of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39452 Tentacle of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39454 Tendril of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39455 Tentacle of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +39479 Moarsman Guard 34 0.65 0.55 0.65 0.4 0.5 0.3 0.8 1 +39480 Sclavus Guard 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +39481 Falatacot Guard 14 0.5 0.45 0.65 0.65 0.75 0.55 0.5 1 +39511 Scarecrow Guard 49 0.9 0.5 0.5 1 0.5 0.5 0.9 1 +39512 Horrid Remoran 84 0.1 0.3 0.3 0.1 0.1 0.1 0.1 1 +40125 Crystalline Wisp 20 1.8 1.3 1.7 0.3 0.3 0.3 0.3 1 +40126 Crystalline Wisp 20 1.8 1.3 1.7 0.3 0.3 0.3 0.3 1 +40127 Shivering Crystalline Wisp 20 1.2 0.9 1.1 0.9 0.3 0.3 0.3 1 +40128 Corroding Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.3 0.9 1 +40129 Voltaic Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.9 0.3 1 +40130 Crystalline Wisp 20 1.8 1.3 1.7 0.3 0.3 0.3 0.3 1 +40131 Incalescent Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.9 0.3 0.3 1 +40132 Aggregate Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.3 0.3 1 +40134 Crystalline Wisp 20 1.8 1.3 1.7 0.3 0.3 0.3 0.3 1 +40135 Corroding Pillar 47 0.3 0.3 0.75 0.3 0.3 0.3 0.3 1 +40136 Incalescent Pillar 47 0.3 0.3 0.75 0.3 0.3 0.3 0.3 1 +40137 Shivering Pillar 47 0.3 0.3 0.75 0.3 0.3 0.3 0.3 1 +40138 Voltaic Pillar 47 0.3 0.3 0.75 0.3 0.3 0.3 0.3 1 +40144 Black Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +40147 Black Coral Golem Viceroy 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +40149 Black Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +40153 Blighted Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +40254 Falatacot Patrol 14 0.5 0.45 0.65 0.65 0.75 0.55 0.5 1 +40255 Sclavus Patrol 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +40267 Ancient Magma Golem 13 0.33 0.5 0.83 0.2 0.2 0.73 0.65 1 +40268 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40278 Sclavus Patrol 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +40281 Degenerate Mukkir 89 0.2 0.4 0.4 0.2 0.2 0.2 0.1 1 +40282 Depraved Mukkir 89 0.2 0.4 0.4 0.2 0.2 0.2 0.1 1 +40283 Remoran Corsair 84 0.1 0.3 0.3 0.1 0.1 0.1 0.1 1 +40284 Horrid Remoran 84 0.1 0.3 0.3 0.1 0.1 0.1 0.1 1 +40285 Listris Sleech 45 0.6 0.6 0.7 0.5 0.5 0.5 0.5 0.6 +40286 Parfal Sleech 45 0.6 0.6 0.7 0.5 0.5 0.5 0.5 0.6 +40287 Shambling Undead Ruschk 14 0.4 0.75 0.4 0.75 0.2 0.4 0.4 1 +40289 Black Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +40290 Blighted Coral Golem 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +40291 Degenerate Shadow 22 0.8 0.5 0.7 0.8 0.1 0.2 0.5 0.6 +40292 Degenerate Shadow 22 0.8 0.5 0.7 0.8 0.1 0.2 0.5 1 +40293 Degenerate Shadow 22 0.8 0.5 0.7 0.8 0.1 0.2 0.5 0.6 +40294 Depraved Shadow 22 0.7 0.5 0.7 0.8 0.1 0.2 0.5 1 +40295 Depraved Shadow 22 0.8 0.5 0.7 0.8 0.1 0.2 0.5 1 +40296 Depraved Shadow 22 0.8 0.5 0.7 0.8 0.1 0.2 0.5 0.6 +40297 Bandit Mana Hunter 31 0.5 0.5 0.7 0.5 0.75 0.5 0.75 1 +40298 Ardent Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40300 Blessed Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40301 Verdant Moar 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40302 Blighted Ardent Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40303 Ardent Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40304 Blessed Moarsman 34 0.9 0.8 0.4 0.7 0.7 0.85 1 1 +40305 Blighted Verdant Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40306 Verdant Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40307 Ashris Niffis 45 1 0.5 0.5 0.5 0.9 0.9 0.5 1 +40308 Giant Jungle Phyntos Wasp 9 0.7 0.5 0.7 0.5 0.5 0.5 0.6 1 +40309 Afessa Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40310 Illu Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40311 Siessa Sclavus Soldier 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40312 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40313 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40314 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +40428 Intense Shivering Crystalline Wisp 20 1.2 0.9 1.1 0.9 0.3 0.3 0.3 1 +40429 Intense Aggregate Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.3 0.3 1 +40430 Intense Shivering Pillar 47 0.3 0.3 0.75 0.3 0.3 0.3 0.3 1 +40434 Intense Incalescent Pillar 47 0.3 0.3 0.75 0.3 0.3 0.3 0.3 1 +40437 Intense Incalescent Crystalline Wisp 20 1.1 1.1 0.9 0.3 1.3 0.3 0.3 1 +40461 Devon the Collector 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +40465 Corrupted Coral Golem 13 0.3 0.6 1 0.5 0.5 0.5 0.5 1 +40466 Corrupted Coral Golem 13 0.3 0.6 1 0.5 0.5 0.5 0.5 1 +40467 Corrupted Coral Golem 13 0.3 0.6 1 0.5 0.5 0.5 0.5 1 +40468 Deep-sea Lava Golem 13 0.3 0.6 0.7 0.5 0.5 0.5 0.5 1 +40469 Corrupted Coral Golem 13 0.3 0.6 1 0.5 0.5 0.5 0.5 1 +40470 Great Devourer 27 0.5 0.85 0.6 0.6 1.1 0.85 1.1 1 +40471 Sand Lurker 27 0.5 0.85 0.6 0.6 1.1 0.85 1.1 1 +40472 Moarsman Adherent of T'thuun 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40473 Icthis Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40474 Mithmog Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40475 Moarsman Priest of T'thuun 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40476 Moarsman Prior 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40477 Shuthis Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40478 Magshuth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40479 Maguth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40480 Mogshuth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40481 Moguth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40482 Shogshuth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40483 Shoguth Moarsman 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +40484 Intense Aggregate Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.3 0.3 1 +40492 Gotrok Aetherium Miner 70 0.66 0.85 0.5 0.25 0.45 0.65 0.95 1 +40493 Gotrok Mining Foreman 70 0.66 0.85 0.5 0.25 0.45 0.65 0.95 1 +40495 Hea Apostate Shock Trooper 6 0.68 0.71 0.71 0.89 0.55 0.55 0.55 1 +40496 Hea Apostate Warlord 6 0.68 0.71 0.71 0.89 0.55 0.55 0.55 1 +40498 Apostate Master 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +40499 Apostate Servant 19 0.89 0.65 0.68 0.88 0.65 0.69 0.65 1 +40543 Celestial Hand Crystal Array 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +40773 Intense Shivering Crystalline Wisp 20 1.2 0.9 1.1 0.9 0.3 0.3 0.3 1 +40774 Intense Incalescent Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.9 0.3 0.3 1 +40775 Ancient Golem 13 0.33 0.67 0.8 0.5 0.5 0.8 0.5 1 +40777 Intense Voltaic Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.9 0.3 1 +40778 Intense Corroding Crystalline Wisp 20 1.2 0.9 1.1 0.3 0.3 0.3 0.9 1 +40780 Progenitor of Frost 20 1.2 0.9 1.1 0.9 0.3 0.3 0.3 1 +40781 Progenitor of Fire 20 1.2 0.9 1.1 0.3 0.9 0.3 0.3 1 +40783 Progenitor of Shadow 20 1.2 0.9 1.1 0.3 0.3 0.3 0.3 1 +40784 Spectral Progenitor 20 1.2 0.9 1.1 0.3 0.3 0.3 0.3 1 +40786 Progenitor of Lightning 20 1.2 0.9 1.1 0.3 0.3 0.9 0.3 1 +40787 Progenitor of Acid 20 1.2 0.9 1.1 0.3 0.3 0.3 0.9 1 +40802 Apostate Nexus Hollow Minion 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +40803 Apostate Nexus Master 19 1 1 1 1 0.5 1 0.5 1 +40812 Thug Boss 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +40813 Thug 31 0.5 0.5 0.7 0.5 0.75 0.5 0.75 1 +40859 Crystalline Essence Array 47 0.75 0.75 0.75 0.3 0.3 0.3 0.3 1 +40860 Crystalline Array Satellite 47 0.75 0.75 0.75 0.3 0.3 0.3 0.3 1 +40861 Ancient Golem 13 0.33 0.67 0.8 0.5 0.5 0.8 0.5 1 +40864 Crystalline Wisp 20 1.8 1.3 1.7 0.3 0.3 0.3 0.3 1 +40923 Bound Spectral Handmaiden 77 0.8 0.8 0.79 0.89 0.34 0.49 0.84 1 +40924 Bound Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +40925 Bound Light Falatacot 77 0.8 0.8 0.79 0.89 0.34 0.49 0.84 1 +40926 Pyre Skeleton 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +40927 Revenant Lord 14 0.6 0.5 0.5 0.6 0.1 0.6 0.5 1 +40928 Lady Aerfalle 14 0.4 0.4 0.4 0.6 0.1 0.6 0.55 1 +40932 Ghost of Dylaeral 77 1 0.52 0.75 1 0.1 0.75 0.86 1 +41005 T'thuun Sclavus Huntsmaster 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +41006 Trained Great Devourer 27 0.5 0.85 0.6 0.6 1.1 0.85 1.1 1 +41032 Brown Mouse 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +41034 White Mouse 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +41180 Ardent Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +41181 Verdant Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +41182 Blessed Moarsman 34 0.9 0.8 0.4 0.7 0.7 0.85 1 1 +41183 Large Ardent Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +41184 Large Blessed Moarsman 34 0.9 0.8 0.4 0.7 0.7 0.85 1 1 +41185 Large Verdant Moarsman 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +41190 Apostate Excavation Master 19 0.88 0.79 0.77 0.92 0.65 0.55 0.65 1 +41191 Apostate Excavation Foreman 19 0.88 0.79 0.77 0.92 0.65 0.55 0.65 1 +41193 Apostate Sapper 19 0.88 0.79 0.77 0.92 0.65 0.55 0.65 1 +41224 Iron Blade Lieutenant 99 0.45 0.45 0.45 0.45 0.45 0.84 0.69 1 +41228 Iron Blade Arrival Guard 99 0.45 0.45 0.45 0.45 0.45 0.84 0.69 1 +41229 Apostate Reaving Master 19 0.88 0.69 0.69 0.92 0.65 0.55 0.65 1 +41231 Reaver Simulacrum 59 0.76 0.76 0.77 0.85 0.73 0.73 0.73 1 +41527 Invading Bronze Gauntlet Knight 99 0.5 0.5 0.5 0.5 0.5 1.3 1 1 +41529 Invading Copper Cog Knight 99 0.5 0.5 0.5 0.5 0.5 1.3 1 1 +41530 Invading Iron Blade Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41531 Invading Silver Scope Knight 99 0.5 0.5 0.5 0.5 0.5 1.3 1 1 +41532 Invading Bronze Gauntlet Phalanx 99 0.7 0.7 0.7 0.7 0.7 1.6 1.2 1 +41533 Invading Copper Cog Phalanx 99 0.7 0.7 0.7 0.7 0.7 1.6 1.2 1 +41534 Invading Iron Blade Phalanx 99 0.7 0.7 0.7 0.7 0.7 1.6 1.2 1 +41535 Invading Silver Scope Phalanx 99 0.7 0.7 0.7 0.7 0.7 1.6 1.2 1 +41536 Invading Bronze Gauntlet Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +41537 Invading Copper Cog Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +41538 Invading Iron Blade Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +41539 Invading Silver Scope Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +41551 Iron Blade Overseer 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41552 Invading Iron Blade Commander 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41572 Bronze Gauntlet Trooper 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41573 Copper Cog Trooper 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41574 Gold Gear Trooper 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41575 Iron Blade Trooper 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41576 Silver Scope Trooper 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41577 Copper Cog Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41578 Gold Gear Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41579 Gold Gear Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41580 Iron Blade Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41581 Silver Scope Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41582 Bronze Gauntlet Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41583 Copper Cog Lesser Lord 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41584 Gold Gear Lesser Lord 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41585 Gold Gear Lesser Lord 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41586 Iron Blade Lesser Lord 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41587 Silver Scope Lesser Lord 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41588 Bronze Gauntlet Lesser Lord 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +41796 Phyntos Larva 9 0.75 1 1 0.75 0.75 0.42 0.25 1 +41797 Killer Phyntos Drone 9 0.8 0.67 0.85 0.37 0.67 0.37 0.37 1 +41798 Killer Phyntos Hive 64 0.3 0.3 0.3 0.3 0.3 0.3 0.3 1 +41799 Killer Phyntos Queen 9 0.8 0.67 0.85 0.37 0.67 0.37 0.37 1 +41800 Killer Phyntos Soldier 9 0.8 0.67 0.85 0.37 0.67 0.37 0.37 1 +41801 Killer Phyntos Swarm 9 0.67 0.67 0.8 0.37 0.67 0.37 0.37 1 +41834 Fort Commander 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +41835 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +41837 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +41838 Fort Commander 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +41839 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +41840 Fort Commander 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +41842 Reinforcement Soldier 31 0.6 0.6 0.8 0.6 0.9 0.6 0.9 1 +41850 Moarsman Attacker 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +41851 Sclavus Attacker 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +41935 Lord Hendrel 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +41936 Corrupted Grave Frost 61 0.45 0.45 0.45 0 0.3 0.3 0.3 1 +41937 Lady Saliane 77 0.8 0.8 0.79 0.89 0.34 0.49 0.84 1 +41938 Lord Trimere 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +41959 Guardian Statue 13 0.55 0.55 0.75 0.45 0.45 0.55 0.45 1 +41961 Corrupted Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +41963 Pyre Skeleton 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +41964 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +41965 Pyre Minion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +41966 Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +41967 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +41968 Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +41970 Hatred Wisp 20 0.8 0.8 0.6 0 0.8 0.4 0.4 1 +41971 Sorrow Wisp 20 0.8 0.8 0.6 0.8 0 0.4 0.4 1 +42017 Flame Guardian 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +42025 Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +42026 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +42205 Cutthroat 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +42258 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42259 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42261 Master Archer 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42262 Master Archer 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42264 Master Mage 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42265 Master Mage 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42269 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42270 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42271 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42272 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42273 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42274 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42280 Commander 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42282 Commander 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +42338 Hoarfrost 62 0.45 0.45 0.45 0.55 0 0.3 0.3 1 +42367 Invading Bronze Gauntlet Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +42368 Invading Copper Cog Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +42369 Invading Iron Blade Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +42370 Invading Silver Scope Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +42371 Invading Bronze Gauntlet Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +42372 Invading Copper Cog Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +42373 Invading Iron Blade Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +42374 Invading Silver Scope Squire 99 0.6 0.6 0.6 0.6 0.6 1.5 1.1 1 +42439 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +42440 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +42441 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +42605 Gear Hunter 59 1 1 1.2 1.2 0.5 0.75 1.2 1 +42606 Gear Hunter Mage 59 1 1 1.2 1.2 0.5 0.75 1.2 1 +42607 Gear Hunter 59 1 1 1.2 1.2 0.5 0.75 1.2 1 +42668 Intense Corroding Crystalline Wisp 20 1 0.9 0.9 0.9 0.9 0.3 0.9 1 +42670 Shivering Crystalline Wisp 20 1 0.9 0.9 0.3 0 0.3 0.9 1 +42671 Intense Incalescent Crystalline Wisp 20 1 0.9 0.9 0.3 0.9 0.9 0.9 1 +42727 Wight Kidnapper 14 0.52 0.4 0.4 0.55 0.2 0.4 0.2 0.9 +42922 Water Elemental 62 0.45 0.45 0.45 0.65 0.9 0.65 0 1 +42983 Aleesa Stateler 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +43005 New Aluvian Champion 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +43006 New Aluvian War Mage Champion 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +43071 Menilesh Guard 14 0.8 0.5 0.5 0.82 0.5 0.5 0.5 1 +43079 Apostate Rift Aggressor 19 1 1 1 0.2 0 0.3 0 1 +43081 Apostate Virindi Aggressor 19 1 1 1 1 0.65 1 0.65 1 +43082 Apostate Virindi Aggressor 19 1 1 1 1 0.5 1 0.5 1 +43083 Apostate Virindi Aggressor 19 0.92 0.84 0.85 0.95 0.5 0.2 0.5 1 +43124 Jin Kyong 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +43158 Xekrit Zefir Guardian 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +43159 Xekrit Zefir 29 1 0.8 1 0.85 0.7 0.85 0.7 1 +43160 Disgust Wisp 20 0.6 0.5 0.5 0.4 0.4 0 0.6 1 +43161 Spirit Wisp 20 0.6 0.5 0.5 0.5 0 0.4 0.4 1 +43162 Zombie Mage 14 0.75 0.5 0.5 0.75 0.5 0.5 0.5 1 +43163 Frost Golem 13 0.45 0.1 0.5 0.7 0.02 0.5 0.66 1 +43165 Banderling Smasher 2 0.76 0.65 0.5 0.65 1.32 0.88 0.76 1 +43166 Grave Rat 10 0.75 0.75 0.95 0.5 0.5 0.5 0.95 1 +43203 Apostate Nexus Master 19 1 1 1 1 0.5 1 0.5 1 +43204 Apostate Nexus Master 19 1 1 1 1 0.5 1 0.5 1 +43205 Apostate Nexus Master 19 1 1 1 1 0.5 1 0.5 1 +43206 Apostate Grand Director 19 1 1 1 1 0.5 1 0.5 1 +43214 Apostate Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +43216 Subverted Bronze Gauntlet Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +43217 Subverted Copper Cog Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +43218 Subverted Iron Blade Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +43219 Subverted Silver Scope Knight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +43220 Apostate Virindi Inquisitor 19 1 1 1 1 0.5 1 0.5 1 +43221 Apostate Rift Aggressor 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +43222 Apostate Virindi Executor 19 1 1 1 1 0.5 1 0.5 1 +43223 Apostate Virindi Inquisitor 19 1 1 1 1 0.5 1 0.5 1 +43227 Virindi Monitor 19 1 1 1 1 0.5 1 0.5 1 +43251 Armored Guardian 30 0.79 0.58 0.79 0.3 0.3 0.42 0.4 0.82 +43252 Undead Commander 14 0.65 0.65 0.65 0.75 0.4 0.65 0.4 1 +43260 Apostate Nexus Master 19 0.55 0.62 0.62 0.88 0.5 0.44 0.5 1 +43262 Apostate Nexus Guardian 19 0.55 0.62 0.62 0.88 0.5 0.44 0.5 1 +43269 Undead Commander 14 0.65 0.65 0.65 0.75 0.4 0.65 0.4 1 +43270 Filinuvekta Hieromancer 14 1 0.8 1 1 0.4 0.8 0.4 1 +43271 Filinuvekta Exarch 14 1 0.8 1 1 0.4 0.8 0.4 1 +43272 Engorged Bloodstone 47 1 1 1 0.8 1 0.8 0.8 1 +43391 Gurog Minion 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43392 Gurog Henchman 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43393 Gurog Soldier 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43394 Gurog Henchman 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43395 Gurog Minion 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43396 Gurog Soldier 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43411 Haze Golem 13 0.1 0.1 0.1 0.5 1 0.8 0.85 1 +43413 Voltaic Golem 13 0.1 0.1 0.1 0 0.85 0.8 1 1 +43414 Hardened Obsidian Golem 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +43415 Molten Golem 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +43485 Banderling Crusher 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +43486 Burrowing Grievver 44 0.95 0.9 0.67 0.25 0.25 0.25 0.25 1 +43487 Grievver Violator 44 1 0.5 0.75 0.25 0.25 0.25 0.25 1 +43488 Banderling Smasher 2 0.76 0.65 0.5 0.65 1.32 0.88 0.76 1 +43516 Gurog Soldier 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +43532 Battle Lord Gregor 14 0.6 0.25 1 1 0.6 0.6 0.6 1 +43592 Snow Tusker 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +43593 Snow Tusker Warrior 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +43594 Snow Tusker Leader 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +43688 Townsperson 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +43689 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +43690 Frozen Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +43691 Frozen Wight Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +43697 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +43698 Olthoi Nymph Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +43699 Olthoi Soldier Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +43700 Olthoi Eviscerator Grub 35 0.65 0.7 0.75 0.55 0.6 0.25 0.45 1 +43706 Frost Golem 13 0.45 0.1 0.5 0.7 0.02 0.5 0.66 1 +43733 Snow Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +43734 Snow Tusker Leader 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +43743 Bloodstone 47 0.4 0.4 0.86 0.4 0.4 0 0.4 1 +43746 Ghost of Galaeral 77 1 0.52 0.75 1 0.1 0.75 0.86 1 +43753 Mayor Trenlach 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +43756 Follower of Deewain 13 0.33 0.5 0.83 0.2 0.2 0.89 0.65 1 +43761 Charged Defender 13 0.33 0.5 0.63 0.2 0.2 0.86 0.65 1 +43762 Chilled Defender 13 0.33 0.5 0.83 0.2 0.2 0.73 0.65 1 +43763 Fiery Defender 13 0.33 0.5 0.83 0.2 0.2 0.73 0.65 1 +43774 Missile Defender 13 0.33 0.33 0.8 0.75 0.75 0.8 0.75 1 +43776 Fallen Rock 0 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +43781 Iron Golem 13 0.33 0.5 0.83 0.2 0.2 0.89 0.65 1 +43783 Rock 13 0.33 0.5 0.83 0.2 0.2 0.89 0.65 1 +43784 Follower of Deewain 13 0.33 0.5 0.83 0.2 0.2 0.89 0.65 1 +43795 Charged Defender 13 0.33 0.5 0.69 0.2 0.2 0.83 0.65 1 +43796 Chilled Defender 13 0.33 0.5 0.83 0.2 0.2 0.76 0.65 1 +43797 Fiery Defender 13 0.33 0.5 0.83 0.2 0.2 0.79 0.65 1 +43800 Bloodstone Shard 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +43821 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +43822 Frozen Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +43823 Frozen Wight Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +43854 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +43855 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +43856 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +43857 Shadow Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +43863 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +43898 Void 22 0.5 0.5 0.5 0.75 0.5 0.5 0.5 1 +43899 Void Lord 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.9 +43979 Virindi Dreamslayer 19 0.25 0.25 1.1 1.1 0.3 1.1 0.4 1 +44015 Guardian Armoredillo 17 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +44016 Guardian Armoredillo 17 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +44017 Tamed Armoredillo 17 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +44018 Tamed Armoredillo 17 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +44019 War Armoredillo 17 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +44020 War Armoredillo 17 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +44021 Bak'tshay 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44022 Bak'tshay 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44023 Bak'tshay Guard 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44024 Bak'tshay Guard 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44025 Bak'tshay Servant 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44026 Bak'tshay Servant 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44027 Bak'tshay Slave 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44028 Bak'tshay Servant 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44029 Bak'tshay Soldier 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44030 Bak'tshay Soldier 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44031 Dust Golem 13 0.25 0.25 0.3 0.3 1 0.3 0.4 1.3 +44032 Dust Golem 13 0.67 0.67 0.67 0.67 0.4 0.27 0.67 1 +44033 Burning Sands Golem 13 0.25 0.25 0.8 0.3 0.3 0.8 0.4 1.1 +44034 Burning Sands Golem 13 0.67 0.67 0.67 0.67 0.4 0.27 0.67 1 +44035 Mu-miyah Champion 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44036 Mu-miyah Champion 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44037 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44038 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44039 Mu-miyah Lord 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44040 Mu-miyah Lord 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44041 Mu-miyah Sentinel 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +44042 Mu-miyah Sentinel 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +44043 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +44044 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +44045 Mu-miyah Vizier 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44046 Mu-miyah Vizier 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44047 Reedshark Hunter 27 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1.1 +44048 Reedshark Hunter 27 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1.1 +44049 Reedshark Seeker 16 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1.1 +44050 Reedshark Seeker 16 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1.1 +44051 Tamed Reaper 27 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1.1 +44052 Tamed Reaper 27 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1.1 +44053 War Reaper 27 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1 +44054 War Reaper 27 0.7 0.8 0.5 0.3 0.3 0.3 0.67 1 +44088 Bak'tshay Soldier 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44089 Bak'tshay Lady 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44090 Bak'tshay Guard 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44091 Bak'tshay Servant 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44092 Bak'tshay Servant 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44093 Mu-miyah Vizier 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44094 Mu-miyah Champion 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44095 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44096 Mu-miyah Lord 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44097 Mu-miyah Grand Vizier 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +44098 Mu-miyah Slave Master 14 0.67 0.67 0.67 1.5 0.4 0.27 0.67 1 +44099 Mu-miyah Sentinel 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +44100 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +44108 Mu-miyah Channeller 14 0.67 0.67 0.67 0.3 0.4 0.27 0.67 1 +44109 Mu-miyah Soothsayer 14 0.67 0.67 0.67 0.3 0.4 0.27 0.67 1 +44297 Cracked Stone Tablet 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +44319 Bak'tshay Guard 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +44320 Bak'tshay Servant 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1 +44321 Bak'tshay Slave 101 0.25 0.25 1.1 0.3 0.3 1.1 0.4 1 +44322 Bak'tshay Soldier 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1 +44347 Filinuvekta Emissary 14 0.65 0.65 0.5 0.8 0.3 0.3 0.3 1 +44474 Devourer Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +44476 Grievver Shredder 44 0.9 0.5 0.6 0.5 0.1 0.2 0.5 1 +44478 Shadow Flyer 22 0.5 0.2 0.5 0.7 0.2 0.5 0.4 0.9 +44480 Shadow's Breath 22 0.4 0.3 0.3 0.5 0.2 0.2 0.1 0.75 +44629 Shadow Vortex 22 1 1 1 1 1.1 1 1 1 +44651 Pillar of Fire 62 1 1 1 1 1.1 1 1 1 +44695 Pillar of Fire 62 1 1 1 0 1.1 1 1 1 +44804 Devourer Margul 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +44805 Void Lord 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.9 +44806 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +44807 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +44808 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +44809 Grievver Shredder 44 0.9 0.5 0.6 0.5 0.1 0.2 0.5 1 +44815 Shadow Flyer 22 0.5 0.2 0.5 0.7 0.2 0.5 0.4 0.9 +44829 Shadow Engineer 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +44831 Shadow Engineer 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +45003 Frozen Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45005 Frost Golem 13 0.45 0.1 0.5 0.7 0.02 0.5 0.66 1 +45008 Frozen Wight Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45009 Frozen Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45010 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45012 Frozen Wight Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45014 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45016 Frozen Wight High Acolyte 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +45153 Guardian Statue 13 0.55 0.55 0.75 0.45 0.45 0.55 0.45 1 +45155 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +45156 Pyre Skeleton 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +45157 Pyre Minion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +45160 Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +45161 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +45162 Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +45165 Corrupted Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +45171 Guardian Statue 13 0.55 0.55 0.75 0.45 0.45 0.55 0.45 1 +45173 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +45174 Pyre Skeleton 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +45175 Pyre Minion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +45178 Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +45179 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +45182 Corrupted Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +45183 Sorrow Wisp 20 0.8 0.8 0.6 0.8 0 0.4 0.4 1 +45184 Hatred Wisp 20 0.8 0.8 0.6 0 0.8 0.4 0.4 1 +45187 Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +45196 Blinded Apparition 77 0.7 0.4 0.4 0.6 0.4 0.6 1 1 +45198 Hovoros the Shadowed 14 0.89 0.5 0.5 0.97 0.5 0.5 0.5 1 +45691 Incendiary Guard 62 0.6 0.6 0.6 0 0.75 0.4 0.4 1 +45692 Geraine 31 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45698 Galvanic Guard 62 0.6 0.6 0.6 0.4 0.4 0.75 0 1 +45699 Geraine 31 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45700 Caustic Guard 62 0.6 0.6 0.6 0.4 0.4 0 0.75 1 +45702 Aqueous Guard 62 0.75 0.5 0.5 0.5 0.5 0.5 0.5 1 +45703 Geraine 14 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45704 Geraine 22 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45705 Formless Shadow 22 0.5 0.3 0.3 0.65 0.1 0.2 0.2 1 +45706 Glacial Guard 62 0.6 0.6 0.6 0.75 0 0.4 0.4 1 +45707 Geraine 31 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45708 Geraine 14 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45709 Tenebrous Guard 62 0.75 0.5 0.75 0.5 0.5 0.5 0.5 1 +45710 Luminary Guard 62 0.75 0.5 0.75 0.5 0.5 0.5 0.5 1 +45751 Geraine 14 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45752 Geraine 14 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45753 Geraine 14 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +45802 A'nekshay 101 0.25 0.25 0.7 0.3 0.8 0.8 0.4 1.1 +45803 A'nekshay Temple Guardian 101 0.25 0.25 0.7 0.3 0.8 0.8 0.4 1.1 +45804 A'nekshay Temple Servant 101 0.25 0.25 0.7 0.3 0.8 0.8 0.4 1.1 +45805 A'nekshay Temple Servant 101 0.25 0.25 0.7 0.3 0.8 0.8 0.4 1.1 +45806 A'nekshay Temple Guardian 101 0.25 0.25 0.7 0.3 0.8 0.8 0.4 1.1 +45807 Blessed Moarsman 34 0.9 0.8 0.4 0.7 0.7 0.85 1 1 +45855 Dravann 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +45856 Virindi Keeper 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +45859 Virindi Guard 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +45860 Hollow Ward 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +45861 Virindi Captive 19 1.2 1 1 1.2 0.6 1 0.6 1 +45862 Virindi Captive 19 1.2 1 1 1.2 0.6 1 0.6 1 +45863 Virindi Captive 19 1.2 1 1 1.2 0.6 1 0.6 1 +45897 Virindi Jailor 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +45899 Virindi Jailor 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +45901 Virindi Jailor 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +46025 Virindi Captive 19 1.2 1 1 1.2 0.6 1 0.6 1 +46026 Virindi Captive 19 1.2 1 1 1.2 0.6 1 0.6 1 +46027 Virindi Captive 19 1.2 1 1 1.2 0.6 1 0.6 1 +46143 Baby Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.89 1 +46144 Penguin Guardian 80 0.86 0.75 0.66 1.29 0.6 0.75 0.89 1 +46278 Cowardly Snowman 39 0.8 0.51 0.8 1 0 0.8 0.8 1 +46279 Olthoi Swarm Soldier 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +46281 Dark Master 14 0.9 0.52 0.75 0.9 0.1 0.75 0.86 1 +46299 Tiny 80 0.86 0.75 0.66 1.3 0.6 0.75 0.89 1 +46300 Pillar of Frost 62 1 1 1 1.1 1 1 1 1 +46303 Wall of Ice 0 0.5 0.5 0.75 0.85 0 0.6 0.6 1 +46305 Frigid Ice Golem 13 0.5 0.5 0.75 0.85 0 0.6 0.6 1 +46306 Frigid Mist Golem 13 0.5 0.5 0.75 0.85 0 0.6 0.6 1 +46351 Armored Siessa Sclavus Veteran 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +46352 Armored Afessa Sclavus Veteran 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +46353 Armored Afessa Sclavus Veteran 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +46354 Falatacot Blood Prophetess 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +46408 Carrion Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +46409 Carcass Swarm 85 0.65 0.4 0.65 0.65 0.4 0.4 0.4 1 +46410 Giant Maggot 35 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +46411 Rotting Mu-miyah 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +46412 Decayed Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +46413 Departed Spirit 77 0.8 0.8 0.79 0.82 0.34 0.49 0.5 1 +46426 Ronin Hirachi 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +46428 Ronin Shimakawa 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46430 Ronin Ginmura 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46433 Large Carrion Rat 10 0.75 0.75 1 0.25 0.6 0.6 1 1 +46436 Sickly Maggot 35 0.65 0.75 0.5 0.3 0.3 0.3 0.7 1 +46437 Putrid Swarm 85 0.65 0.4 0.65 0.65 0.4 0.4 0.4 1 +46439 Samurai Titan 77 0.8 0.8 0.79 0.89 0.34 0.49 0.84 1 +46498 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.2 0.65 1 +46499 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.2 0.65 1 +46500 Spectral Archer 77 0.45 0.35 0.6 0.2 0.65 0.35 0.35 1 +46501 Spectral Archer 77 0.45 0.35 0.6 0.2 0.65 0.35 0.35 1 +46502 Spectral Archer 77 0.45 0.35 0.6 0.65 0.2 0.35 0.35 1 +46503 Spectral Archer 77 0.45 0.35 0.6 0.65 0.2 0.35 0.35 1 +46504 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.65 0.2 1 +46505 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.65 0.2 1 +46506 Spectral Blade Adept 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46507 Spectral Blade Adept 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46508 Spectral Blade Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46509 Spectral Blade Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46510 Spectral Bloodmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +46511 Spectral Bloodmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +46512 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46513 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46514 Spectral Bushi 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +46515 Spectral Bushi 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +46516 Spectral Bushi 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46517 Spectral Bushi 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46518 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46519 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46520 Spectral Claw Adept 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46521 Spectral Claw Adept 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46522 Spectral Claw Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46523 Spectral Claw Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46524 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46525 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46526 Spectral Minion 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +46527 Spectral Minion 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +46528 Spectral Minion 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46529 Spectral Minion 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46530 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46531 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46532 Spectral Nanjou Shou-jen 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46533 Spectral Nanjou Shou-jen 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46534 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46535 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46536 Spectral Samurai 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +46537 Spectral Samurai 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +46538 Spectral Samurai 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46539 Spectral Samurai 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46540 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46541 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46561 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46562 Spectral Archer 77 0.45 0.35 0.6 0.65 0.2 0.35 0.35 1 +46563 Spectral Archer 77 0.45 0.35 0.6 0.2 0.65 0.35 0.35 1 +46564 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +46565 Spectral Minion 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46566 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +46567 Spectral Claw Adept 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46568 Spectral Claw Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46569 Spectral Blade Adept 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46570 Spectral Blade Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46571 Spectral Bushi 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +46572 Spectral Bloodmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +46574 Spectral Nanjou Shou-jen 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46603 Clay Golem Samurai 13 0.1 0.1 0.6 1 0.65 1 1 1 +46613 Bronze Golem Samurai 13 0.1 0.1 0.6 1 1 1 0.65 1 +46614 Iron Golem Samurai 13 0.1 0.1 0.6 1 1 0.65 1 1 +46651 Bronze Golem Samurai 13 0.1 0.1 0.6 1 1 1 0.65 1 +46652 Clay Golem Samurai 13 0.1 0.1 0.6 1 0.65 1 1 1 +46653 Iron Golem Samurai 13 0.1 0.1 0.6 1 1 0.65 1 1 +46660 Samurai Gatekeeper 77 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +46661 Claw Master Gatekeeper 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +46662 Bushi Gatekeeper 77 0.5 0.4 0.6 0.4 0.4 0.4 0.4 1 +46687 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +46688 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +46690 Guruk Grunt 75 0.2 0.2 0.2 0.2 0.6 0.2 0.2 0.7 +46694 Tumerok Savage 6 0.5 0.78 0.5 0.5 0.5 0.5 0.75 1 +46696 Raging Moar 86 0.69 0.87 0.4 0.84 0.5 0.5 1 1 +46700 Crazed Olthoi 1 0.4 0.75 0.7 0.4 0.4 0.4 0.4 1 +46702 Vibrant Shadow 22 0.3 0.3 0.3 0.5 0.3 0.3 0.3 0.42 +46705 Fiesty Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +46710 Torment Wisp 20 0.8 0.7 0.6 0.3 0 0.3 0.3 1 +46716 Lugian Launcher 5 0.66 0.85 0.66 0.25 0.42 0.65 0.91 1 +46767 Duplicitous Simulacrum 59 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +46768 Tumerok Corporal 6 0.35 0.35 0.35 0.35 0.45 0.45 0.35 1 +46780 Adolescent Rust Gromnie 15 1 1 1 0.7 0.83 1 1 1 +46815 Wight Blade Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 1 +46816 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +46928 Obsidian Golem Noble 13 0.53 0.9 1 0.4 0.1 0.2 0.4 1 +46929 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +46930 Gaerlan 51 0.6 0.6 0.6 0 0 0 0 1 +46931 Ancient Aqueous Knight 62 0.75 0.5 0.5 0.5 0.5 0.5 0.5 1 +46932 Ancient Luminary Knight 62 0.75 0.5 0.75 0.5 0.5 0.5 0.5 1 +46933 Ancient Tenebrous Knight 62 0.75 0.5 0.75 0.5 0.5 0.5 0.5 1 +46934 Ancient Mud Golem 13 0.83 0.83 0.83 1 1 0.33 0.83 1 +46935 Ancient Sandstone Golem 13 0.33 0.5 1 0.2 0.2 1 0.83 1 +46936 Ancient Water Golem 13 0.33 0.5 0.33 1 1 0.83 1 1 +46951 Rage Wisp 20 0.8 0.8 0.8 0.9 0.4 0.4 0.4 1 +47043 Falatacot Zealot 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +47045 Izexi 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +47047 Abducting Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +47048 Conveying Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +47049 Ensnared Soul 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +47053 Xilkvar 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +47153 Tainted Dust Golem 13 0.67 0.67 0.67 0.67 0.4 0.27 0.67 1 +47179 Tiatus Smithy 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +47186 Tortured Servant 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +47188 Zrikux 14 0.65 0.65 0.5 0.8 0.3 0.3 0.3 1 +47204 Tortured Servant 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +47205 Forge Guardian 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +47210 Tiatus Overseer 5 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +47216 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +47217 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +47218 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +47225 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +47226 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +48711 Scorching Flame 38 0.3 0.3 0.3 0.3 0.9 0.3 0.3 1 +48712 Char Golem 13 0.69 0.69 0.69 0.1 0.8 0.69 0.69 1 +48713 Blazing Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +48715 Prism Shard 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +48753 Roused Spirit 77 0.82 0.68 0.68 0.5 0.68 0.69 0.5 1 +48755 Wight Frost Mage 14 0.57 0.57 0.66 0.79 0.3 0.73 0.4 1 +48756 Raging Wight 14 0.57 0.57 0.66 0.79 0.3 0.73 0.4 1 +48762 Burning Bones 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 0.82 +48763 Skeleton Ranger 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 0.82 +48764 Count Phainor 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 0.82 +48765 Guardian Wisp 20 0.84 0.8 0.57 0.1 0.57 0.65 0.67 1 +48774 Spirit of Protection 77 0.82 0.68 0.68 0.5 0.68 0.69 0.5 1 +48801 Janthef 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +48802 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +48803 Ensorcelled Weapon 77 0.25 0.25 0.9 0.3 0.3 0.9 0.4 1.2 +48804 Whirlwind Golem 13 0.25 0.25 0.3 0.3 1 0.3 0.4 1.3 +48813 Ensorcelled Weapon 77 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +48899 Ensorcelled Weapon 77 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +48900 Whirlwind Golem 13 0.25 0.25 0.3 0.3 1 0.3 0.4 1.3 +48924 Clay Golem Kachi 13 0.1 0.1 0.6 1 0.65 1 1 1 +48925 Bronze Golem Kachi 13 0.1 0.1 0.6 1 1 1 0.65 1 +48926 Iron Golem Kachi 13 0.1 0.1 0.6 1 1 0.65 1 1 +48929 Bronze Golem Sekkou 13 0.1 0.1 0.6 1 1 1 0.65 1 +48930 Clay Golem Sekkou 13 0.1 0.1 0.6 1 0.65 1 1 1 +48931 Iron Golem Sekkou 13 0.1 0.1 0.6 1 1 0.65 1 1 +49480 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +49571 Bak'tshay Keeper 101 0.25 0.25 0.6 0.7 0.3 0.7 0.4 1.1 +49572 Bak'tshay Keeper 101 0.25 0.25 0.3 0.7 0.3 0.7 0.4 1.1 +49573 Bak'tshay Keeper 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +49574 Bak'tshay Keeper 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +49575 Bak'tshay Lackey 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +49576 Mu-miyah Recluse 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +49586 Infectious Rat 10 0.5 0.5 0.98 0.5 0.5 0.5 0.95 1 +49611 Simulacrum Emulat 59 1 1 1 0.8 0.8 0.8 0.8 1 +49613 Hollow Reaver 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +49614 Simulacrum Mimic 59 1 1 1 0.8 0.8 0.8 0.8 1 +49615 Virindi Fulguris 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +49616 Virindi Signat 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +49637 Elemental Protector 62 0.45 0.45 0.45 0.3 0.3 0.65 0 1.4 +49641 Simulacrum Shifter 59 1 1 1 0.8 0.8 0.8 0.8 1 +51213 Olthoi Hive Warrior 1 0.4 0.65 0.7 0.4 0.7 0.4 0.4 1 +51215 Olthoi Hive Warrior 1 0.4 0.65 0.7 0.4 0.7 0.4 0.4 1 +51285 Simulacrum Shifter 59 1 1 1 0.8 0.8 0.8 0.8 1 +51286 Virindi Sentinel 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51287 Virindi Clandestine 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51288 Simulacrum Mimic 59 1 1 1 0.8 0.8 0.8 0.8 1 +51297 Virindi Delegate 19 1 1 1 1 0.6 1 0.6 1 +51298 Virindi Delegate 19 1 1 1 1 0.6 1 0.6 1 +51300 Virindi Keeper 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51314 Virindi Sentry 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51316 Frozen Wight Archer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +51338 Frozen Dread 77 0.8 0.8 0.8 1 0.5 0.7 0.5 1 +51340 Bloodstone Fragment 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51342 Experimental Bloodstone 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51344 Experimental Bloodstone Fragment 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51349 Hollow Servant 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +51350 Snow Tusker Leader 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +51352 Freezing Wind 61 0.44 0.44 0.44 0.7 0 0 0.64 0.7 +51353 Bloodstone Fragment 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51354 Bloodstone Shard 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51355 Bloodstone Shard 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51356 Experimental Bloodstone Fragment 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51357 Gurog Guardian Henchman 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +51358 Gurog Guardian Minion 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +51359 Gurog Guardian Soldier 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +51360 Frozen Wight Guardian Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +51361 Frozen Wight Guardian 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +51363 Frozen Wight Guardian Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +51371 Prototype Bloodstone Fragment 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +51375 Hollow Servitor 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +51376 Olthoi Hive Warrior 1 0.4 0.65 0.7 0.4 0.7 0.4 0.4 1 +51380 Oggma 5 0.4 0.6 0.4 0.4 0.7 0.4 0.7 1 +51382 Kul Bronzegear 99 0.4 0.4 0.6 0.4 0.6 0.7 0.7 1 +51399 Simulacrum Doppelganger 59 1 1 1 0.8 0.8 0.8 0.8 1 +51435 Snow Tuskie 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +51550 Disciple of Hatred 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51551 Disciple of Misery 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51554 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51555 Virindi Confer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51573 Hollow Servitor 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +51575 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51579 Disciple of Anger 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51592 Virindi Delegate 19 1.2 1 1 1.2 0.6 1 0.6 1 +51599 Pillar of Lightning 62 0.5 0.5 0.5 0.4 0.4 0.7 0.2 1 +51607 Corrupt Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51608 Corrupt Minion of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51609 Corrupt Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51610 Corrupt Rager 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51611 Corrupt Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51612 Raging Corrupt Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51613 Corrupt Bulwark 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51617 Aspect of Avarice 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51631 Corrupt Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51632 Corrupt Minion of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51633 Corrupt Rager 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51634 Corrupt Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51635 Corrupt Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51636 Raging Corrupt Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51653 Corrupt Gear Warrior 99 0.4 0.4 0.6 0.4 0.6 0.7 0.7 1 +51661 Corrupt Gear Sentry 99 0.4 0.4 0.6 0.4 0.6 0.7 0.7 1 +51663 Corrupt Gear Sentry 99 0.4 0.4 0.6 0.4 0.6 0.7 0.7 1 +51665 Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51674 Rynthid Taskmaster 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51682 Shadow Captive 22 1.2 1 1 1.2 0.6 0.6 0.6 1 +51683 Shadow Captive 22 1.2 1 1 1.2 0.6 0.6 0.6 1 +51684 Corrupt Lugian 5 0.4 0.6 0.4 0.4 0.7 0.4 0.7 1 +51700 Apparition of Spite 77 0.4 0.6 0.6 0.4 0.4 0.7 0.4 1 +51701 Apparition of Bloodlust 77 0.4 0.6 0.6 0.4 0.7 0.4 0.4 1 +51702 Apparition of Envy 77 0.4 0.6 0.6 0.4 0.4 0.4 0.7 1 +51703 Apparition of Apathy 77 0.4 0.6 0.6 0.7 0.4 0.4 0.4 1 +51711 Spirit Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51712 Spirit Rager 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51713 Spirit Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51714 Spirit Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51723 Rift of Blind Rage 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51724 Discorporate Rynthid of Blind Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51725 Rift of Blind Rage 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51726 Discorporate Rynthid of Blind Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51727 Rift of Rage 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51728 Discorporate Rynthid of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51729 Rift of Rage 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51730 Discorporate Rynthid of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51731 Rift of Consuming Torment 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51732 Discorporate Rynthid of Consuming Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51733 Rift of Consuming Torment 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51734 Discorporate Rynthid of Consuming Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51735 Rift of Torment 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51736 Discorporate Rynthid of Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51737 Rift of Torment 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51738 Discorporate Rynthid of Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51739 Aspect of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51741 Aspect of Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51743 Rynthid Berserker 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51745 Discorporate Rynthid of Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51746 Discorporate Rynthid of Torment 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51747 Rynthid Minion of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51748 Rynthid Minion of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51749 Rynthid Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51750 Rynthid Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51751 Rynthid Rager 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51752 Rynthid Rager 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51753 Rynthid Ravager 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51755 Rynthid Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51756 Rynthid Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51757 Raging Rynthid Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51758 Raging Rynthid Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51759 Rynthid Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51760 Rynthid Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51761 Discorporate Rynthid of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51762 Discorporate Rynthid of Rage 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51792 Deadly Spirit 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51806 Empowered Despair Wisp 20 0.7 0.7 0.4 0.4 0.4 0.4 0.7 1 +51807 Empowered Hatred Wisp 20 0.7 0.7 0.4 0.4 0.7 0.4 0.4 1 +51808 Empowered Sorrow Wisp 20 0.7 0.7 0.4 0.7 0.4 0.4 0.4 1 +51823 Lothus Guardian of Torment 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51826 Lothus Guardian of Rage 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51828 Lothus Guardian of Sorrows 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51830 Lothus Guardian of Sorrows 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51831 Pillar of Frost 62 0.5 0.5 0.5 0.7 0.4 0.4 0.2 1 +51832 Acidic Tendril 36 0.5 0.5 0.5 0.5 0.5 0.5 0.7 1 +51834 Malicious Spirit 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51842 Flame Spirit 19 0.7 0.6 0.6 0.4 0.7 0.4 0.4 1 +51843 Frost Spirit 19 0.7 0.6 0.6 0.7 0.4 0.4 0.4 1 +51844 Acidic Spirit 19 0.7 0.6 0.6 0.4 0.4 0.4 0.7 1 +51845 Electric Spirit 19 0.7 0.6 0.6 0.4 0.4 0.7 0.4 1 +51876 Tormented Shadow 22 0.7 0.6 0.4 0.7 0.4 0.4 0.4 1 +51877 Enraged Shadow 22 0.7 0.6 0.4 0.7 0.4 0.4 0.4 1 +51878 Enraged Shadow 22 0.7 0.6 0.4 0.7 0.4 0.4 0.4 1 +51879 Enraged Shadow 22 0.7 0.6 0.4 0.7 0.4 0.4 0.4 1 +51880 Tormented Shadow 22 0.7 0.6 0.4 0.7 0.4 0.4 0.4 1 +51881 Tormented Shadow 22 0.7 0.6 0.4 0.7 0.4 0.4 0.4 1 +51902 Lugian Lackey 5 0.4 0.6 0.4 0.4 0.7 0.4 0.7 1 +51904 Lugian Minion 5 0.4 0.6 0.4 0.4 0.7 0.4 0.7 1 +51909 Lugian Guardian 5 0.4 0.6 0.4 0.4 0.7 0.4 0.7 1 +51920 Captain Keeson 5 0.4 0.6 0.4 0.4 0.7 0.4 0.7 1 +51936 Tormented Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51938 Tormented Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +51969 Sanctum Summoning Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51970 Containment Doll 53 0.95 0.6 1 0.6 1 0.6 0.9 1 +51971 Sanctum Warding Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51972 Sanctum Warding Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51973 Sanctum Warding Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51974 Sanctum Warding Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +51975 Marionette Knight of Torment 54 1 0.75 0.5 0.5 0.9 0.5 0.5 1 +51976 Tormented Marionette 54 1 0.75 0.5 0.5 0.9 0.5 0.5 1 +51977 Suppression Rift 19 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +51978 Lothus Archmage 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51979 Lothus Guardian of Torment 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51980 Lothus Guardian of Torment 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51981 Lothus Guardian of Torment 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51982 Lothus Guardian of Torment 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51983 Lothus Servant 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51984 Lothus Slayer 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +51992 Curator of Torment 19 0.7 0.6 0.6 0.7 0.4 0.6 0.4 1 +52027 Corrupted Shaman 57 0.8 0.8 0.8 0.8 0.8 0.8 0.8 1 +52028 Corrupted Warrior 57 0.8 0.8 0.8 0.8 0.8 0.8 0.8 1 +52031 Corrupted Warrior 57 0.8 0.8 0.8 0.8 0.8 0.8 0.8 1 +52112 Troublesome Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +52113 Troublesome Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +52114 Troublesome Mite 7 0.8 0.85 0.8 0.8 0.75 0.8 0.75 1 +52131 Enraged Moar 86 0.69 0.87 0.4 0.84 0.5 0.5 1 1 +52213 Bak'tshay Lackey 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +52224 Bak'tshay Keeper 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +52231 Bak'tshay Keeper 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +52233 Bak'tshay Keeper 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +52235 Bak'tshay Keeper 101 0.25 0.25 0.7 0.3 0.3 0.8 0.4 1.1 +52240 Burning Sands Guardian 13 0.25 0.25 0.8 0.3 0.3 0.8 0.4 1.1 +52244 Mu-miyah Magus 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +52248 Lingering Spirit of the Recluse 14 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +52250 Door 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +52260 Pillar of Frost 62 1 1 1 1.1 0 1 1 1 +52261 Pillar of Lightning 62 1 1 1 1 1 1.1 0 1 +52262 Pillar of Acid 62 1 1 1 1 1 0 0.9 1 +52263 Pillar of Fire 0 1 1 1 0 1.1 1 1 1 +52265 Celestial Hand Warrior 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +52266 Celestial Hand Officer 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +52267 Celestial Hand Warrior 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +52273 Shadow Flyer 22 0.5 0.2 0.5 0.7 0.2 0.5 0.4 0.9 +52275 Void Lord 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +52276 Rynthid Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +52278 Rynthid Sorcerer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +52279 Rynthid Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +52280 Rynthid Minion 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +52283 Frozen Crystal 47 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +52285 Frost Golem 13 0.45 0.1 0.5 0.7 0.02 0.5 0.66 1 +52288 Desert Phyntos Swarm 9 0.67 0.67 1 0.37 0.67 0.37 0.37 1 +52290 Desert Cactus 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +52292 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +52293 Spectral Bloodmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +52295 Sarcophagus 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +52305 Corrupted Gravestone 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +52308 Pyre Minion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +52309 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +52519 Zefir Thorn Stalker 29 0.7 0.6 0.7 0.4 0.7 0.7 0.4 1 +52573 Zefir Thorn Poisoner 29 0.7 0.6 0.7 0.4 0.7 0.7 0.4 1 +52574 Zefir Thorn Ranger 29 0.7 0.6 0.7 0.4 0.7 0.7 0.4 1 +52575 Zefir Thorn Reaver 29 0.7 0.6 0.7 0.4 0.7 0.7 0.4 1 +52583 A'nekshen Storm Caller 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +52585 A'nekshen Storm Reaver 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +52587 A'nekshen Thorn Dancer 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +52589 A'nekshen Thorn Reaver 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +52616 Brier Wasp 9 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +52617 Brier Wasp Swarm 9 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +52618 Brier Wasp Hive 9 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +52619 Venomous Brier Wasp 9 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +52620 Poisonous Brier Wasp 9 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +52626 Oaken Guardian 62 0.6 0.7 0.7 0.8 0.4 0.6 0.4 1 +52627 Guardian Wisp 20 0.7 0.6 0.6 0.4 0.4 0.4 0.7 1 +52628 Corrupted Guardian Wisp 20 0.7 0.6 0.6 0.4 0.4 0.4 0.7 1 +52709 Stinging Armoredillo 17 0.65 0.2 0.65 0.6 0.2 0.2 0.2 1 +52710 Vicious Remoran Sapper 84 0.4 0.4 0.8 0.4 0.4 0.4 0.4 1 +52711 Wight Sage 14 0.65 0.5 0.5 0.7 0.5 0.5 0.5 0.9 +52712 Ruuk Ranger 75 0.45 0.2 0.2 0.45 0.6 0.2 0.2 1 +52714 Hollow Pawn 48 0.5 0.5 0.33 0.25 0.7 0.5 0.25 1 +52715 Corrosive Archer 77 1 0.7 0.2 0.6 0.2 0.2 0.2 1 +52716 Virindi Rival 19 0.6 0.5 0.5 0.65 0.5 0.5 0.65 1 +52718 Tracking Fireball 62 0.45 0.45 0.45 0 0.65 0 0 1 +52721 Tundra Tusker 8 0.2 0.2 0.2 0.5 0.1 0.2 0.2 0.7 +52724 Tusker Heaver 8 0.5 0.55 0.75 0.92 0.1 0.45 0.65 1 +52726 Defensive Crystal 47 0.45 0.45 0.45 0.45 0.45 0.45 0.45 1 +52727 Defensive Crystal 47 0.45 0.45 0.45 0.45 0.45 0.45 0.45 1 +52775 Blade Lieutenant 99 0.2 0.2 0.2 0.3 0 0.78 0.2 1 +52776 Blade Captain 99 0.2 0.2 0.2 0.2 0 0.69 0.5 1 +52777 Blade Champion 99 0.2 0.2 0.2 0.2 0 0.69 0.5 1 +52778 Grievver Darter 44 0.92 0.8 0.7 0.5 0.5 0.5 0.5 1 +52779 Pike Grievver 44 1 0.8 0.7 0.5 0.5 0.5 0.5 1 +52780 Mukkir Predator 89 0.61 0.89 0.88 0.2 0.2 0.2 0.1 1 +52960 Radiant Blood Officer 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +52961 Radiant Blood Warrior 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +52962 Radiant Blood Warrior 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +53014 Thunder Poult 69 0.86 0.8 0.8 1 0.86 0.8 1 1 +53015 Thunder Turkey 69 0.86 0.8 0.8 1 0.86 0.8 1 1 +53280 Brellegia 101 0.4 0.6 0.6 0.4 0.8 0.8 0.4 1 +53281 Aangesilus 101 0.4 0.6 0.6 0.4 0.8 0.8 0.4 1 +53290 Ice Storm 61 1 1 1 1.1 0 1 1 1 +53306 Dridge 101 0.4 0.6 0.6 0.4 0.8 0.8 0.4 1 +53345 Emerald Thorn Gromnie 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +53346 Vermilion Thorn Gromnie 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +53347 Emerald Hunting Gromnie 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +53348 Vermilion War Gromnie 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +53350 Corrupting Thorn Gromnie 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +53365 Wind Fury 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +53375 Sath'tik Eyestalk 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +53376 Sath'tik Tendril 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +53377 Sath'tik Tentacle 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +70000 Aggressive Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +70012 Caravaush the Chamberlain 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +70014 Darayavaush the Red 14 0.75 0.58 0.75 1 0.25 1 0.46 1 +70017 Tomb of Adhorix 0 0.5 0.5 1 0.5 0.5 0.9 0.5 1 +70037 Blood Golem 13 0.6 0.6 0.6 0.5 0.5 0.8 1 1 +70038 Eternal Harvester 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +70039 Cave Ursuin 46 0.58 1 0.58 0.76 0.58 0.58 0.58 1 +70040 Fazenda Terror 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +70041 Viamontian Seeker 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +70056 Big Chief Hagra 4 0.5 0.8 0.8 1 0.4 0.7 1 1 +70081 Blighted Coral Golem Viceroy 13 0.33 0.67 1 0.5 0.5 0.5 0.5 1 +70082 Dark Remoran 84 0.58 0.68 0.68 0.36 0.58 0.58 0.58 1 +70293 Master Malsivir 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +70331 Ehlyis Sleech 45 0.6 0.6 0.7 0.5 0.5 0.5 0.5 1 +70348 Turgos the Hunter 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70349 Gearall the Shield 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70364 Lord Kastellar 14 0.65 0.65 0.5 0.8 0.3 0.3 0.3 1 +70365 Bloodstone Crystal Stockpile 40 0.4 0.4 0.86 0.4 0.4 0.86 0.4 1 +70366 Gurog Guardian 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +70368 Master Bloodstone 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +70370 Caged Dread Mattekar 23 0.58 0.9 0.9 0.25 1 0.75 0.25 1 +70371 Filthy Mattekar 23 0.58 0.9 0.9 0.25 1 0.75 0.25 1 +70376 Kierien the Watcher 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70377 Warmaster Lurgiss 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70705 Stockpile Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70706 Stockpile Guardian 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70709 Bodyguard 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70712 Iron Blade Warmaster 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +70715 General Tarkaris 59 1 1 1.2 1.2 0.5 0.75 1.2 1 +70716 Apostate Overseer 19 1 1 1 1 0.5 1 0.5 1 +70753 Baron Entemarre 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +70972 Atlan's Crafting Golem 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +70973 Inner Chamber Guardian 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +70974 Luminary Knight 62 0.3 0.3 0.3 0.3 0.4 0.3 0.3 1 +70975 Viamontian Ore Collector 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +71101 Temple Guardian 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +71102 Temple Guardian 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +71103 Temple Guardian 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +71104 High Priest of T'thuun 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +71106 High Priest's Acolyte 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +71107 High Priest's Third 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +71108 High Priest's Second 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +71109 High Priest's First 34 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +71111 Kathirik 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +71167 Haisanix the Destroyer 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +71168 Karkuul the Defiler 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +71169 Vizidh the Despoiler 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +71239 Harbinger 62 0.45 0.45 0.45 0 0 0 0 1 +71263 Ruschk Crypt Guardian 81 0.9 0.9 0.9 1.1 0.9 0.8 1 1 +71264 Ruschk Grave Keeper 81 0.9 0.9 0.9 1.1 0.9 0.8 1 1 +71269 Aste Soul Renderer 26 1 0.75 0.46 0.75 1 0.4 0.4 1 +71270 Essa Soul Renderer 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +71381 Ancient Incendiary Guardian 62 0.25 0.25 0.89 0.3 1 0.25 0.4 1 +71386 Mu-miyah Soldier 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1 +71387 Mu-miyah Champion 14 0.8 0.25 0.7 0.9 0.3 0.8 0.4 1 +71388 Mu-miyah Vizier 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1 +71391 Corrupted Conflagration 62 0.44 0.44 0.44 0 0.64 0 0.64 0.7 +71706 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71707 Master Archer 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71708 Master Mage 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71709 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71710 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71711 Master Soldier 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71719 Commander 31 0.4 0.4 0.6 0.4 0.7 0.4 0.7 1 +71721 Operations Specialist 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +71813 Master Arbitrator 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +71881 Especially Famished Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +72000 NightBrier 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +72001 Norshuntyr 62 0.6 0.7 0.7 0.8 0.4 0.6 0.4 1 +72002 Zerzelikyr 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +72031 Rynthid Dragoon 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +72040 Tormented Watcher 48 0.5 0.5 0.33 0.25 0.67 0.5 0.25 1 +72043 Tormented Slayer 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +72044 Bah'Ktar 57 0.7 0.7 0.7 0.7 0.7 0.7 0.7 1 +72045 Tormented Charge 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +72122 Lightning Cloud 62 0.5 0.5 0.5 0.4 0.4 0.7 0.2 1 +72157 Sparking Crystal 47 1 0.7 0.7 0.7 0.7 0.7 0.7 1 +72166 Lightning Cloud 62 0.5 0.5 0.5 0.4 0.4 0.7 0.2 1 +72173 Lightning Cloud 62 0.5 0.5 0.5 0.4 0.4 0.7 0.2 1 +72180 Corrupted War Gromnie 15 0.6 0.6 0.6 0.4 0.7 0.7 0.4 1 +72189 A'nekshen Storm Corruptor 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +72190 A'nekshen Corrupt Thorn Reaver 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +72194 A'nekshen Corrupt Storm Reaver 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +72195 A'nekshen Thorn Corruptor 101 0.4 0.5 0.5 0.4 0.6 0.6 0.4 1 +72203 Sawato Bandit 31 0.6 0.6 0.6 0.7 0.6 0.6 0.7 1 +72215 Spectral Handmaiden 77 0.8 0.8 0.79 0.89 0.34 0.49 0.84 1 +72216 Shade of Lord Rytheran 14 0.89 0.5 0.5 0.97 0.5 0.5 0.5 1 +72236 Guardian Statue 13 0.55 0.55 0.75 0.45 0.45 0.55 0.45 1 +72254 Jester's Entombment Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +72260 Door 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +72269 Guardian Statue 13 0.7 0.7 0.7 0.9 0.9 1.3 0.9 1 +72270 Guardian Statue 13 0.55 0.55 0.75 0.45 0.45 0.55 0.45 1 +72271 Brazier 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +72276 Jester 97 0.01 0.01 0.01 0.01 0.01 0.01 0.01 1 +72310 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +72323 Cultist High Priest 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +72324 Cultist High Priest 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +72325 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +72328 Gurog Henchman 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +72329 Gurog Minion 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +72330 Gurog Soldier 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +72331 Frozen Wight 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +72332 Frozen Wight Captain 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +72333 Frozen Wight Sorcerer 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +72334 Renselm 14 0.82 0.5 0.5 0.85 0.5 0.5 0.5 0.9 +72335 Cultist Cohort 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +72336 Cultist High Priest 31 0.35 0.35 0.35 0.35 0.35 0.35 0.35 1 +72337 Geraine 31 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +72354 Geraine 31 0.75 0.75 0.5 1 0.5 0.5 0.5 1 +72376 Twisted Refuge Booter 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +72403 Aun Kelauri 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +72407 Aerbax 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +72409 Artifex of the Living Darkness 19 1 1 1 1 0.5 1 0.5 1 +72410 Artifex of the Singularity 19 1 1 1 1 0.5 1 0.5 1 +72411 Shadow Proctor 22 0.7 0.5 0.6 0.7 0.1 0.2 0.5 1 +72418 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72419 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72420 Olthoi Hive Soldier 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72421 Olthoi Hive Piercer 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72422 Olthoi Hive Noble 1 0.4 0.5 0.6 0.25 0.5 0.2 0.25 1 +72423 Olthoi Hive Mutilator 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72424 Hive Olthoi Egg 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +72425 Olthoi Hive Crawler 35 0.63 0.53 0.63 0.3 0.63 0.3 0.2 1 +72426 Hive Maggot Giant 35 0.4 0.53 0.63 0.3 0.63 0.3 0.2 1 +72427 Olthoi Hive Queen 1 0.3 0.5 0.5 0.3 0.5 0.2 0.2 1 +72428 Olthoi Hive Queen 1 0.3 0.5 0.5 0.3 0.5 0.2 0.2 1 +72440 Olthoi Hive Guardian 1 0.4 0.5 0.6 0.25 0.5 0.2 0.25 1 +72444 Virindi Guardian 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +72447 Olthoi Hive Guardian 1 0.4 0.6 0.65 0.2 0.5 0.2 0.2 1 +72449 Hive Maggot 35 0.63 0.53 0.63 0.3 0.63 0.3 0.2 1 +72452 Olthoi Hive Guardian 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72453 Virindi Sentinel 19 0.7 0.6 0.6 0.7 0.4 0.7 0.4 1 +72455 Olthoi Hive Guardian 1 0.4 0.65 0.7 0.4 0.7 0.4 0.4 1 +72459 Olthoi Hive Brood 1 0.65 0.75 1 0.75 0.75 0.25 0.4 1 +72487 Vicar Blade Master Gen 31 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72490 Vicar Archer 77 0.45 0.35 0.6 0.65 0.2 0.35 0.35 1 +72491 Vicar Minion 77 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +72492 Vicar Blade Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72502 Spirit of Khira'thi 77 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +72503 Spirit of Rhia'ni 77 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +72504 Spirit of Dana'lith 77 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +72505 Ward of Decay 47 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +72506 Ward of Blight 47 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +72507 Ward of Darkness 47 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +72510 Materialized Hoshino Kei 31 0.75 1 0.65 0.85 0.4 0.4 0.4 1 +72530 Spectral Samurai Daimyo 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +72531 Spectral Samurai Daimyo 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +72532 Spectral Samurai Daimyo 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +72538 Exarch Nanjou Shou-jen 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72540 First Lieutenant 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +72553 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.2 0.65 1 +72554 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.65 0.2 1 +72555 Spectral Archer 77 0.45 0.35 0.6 0.65 0.2 0.35 0.35 1 +72556 Spectral Archer 77 0.45 0.35 0.6 0.2 0.65 0.35 0.35 1 +72557 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +72558 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +72559 Spectral Minion 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +72560 Spectral Minion 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +72561 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +72562 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +72563 Spectral Bushi 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +72564 Spectral Bushi 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +72565 Spectral Samurai 77 0.5 0.4 0.6 0.2 0.65 0.4 0.4 1 +72566 Spectral Samurai 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +72567 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +72568 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +72569 Spectral Blade Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72570 Spectral Bloodmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +72571 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +72586 Spectral Nanjou Mihari 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72587 Spectral Nanjou Kaibinn 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72588 Spectral Nanjou Keibi 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72589 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +72590 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +72593 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.65 0.2 1 +72598 Spectral Nanjou Zaikan 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72620 Tanada Neophyte 31 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72621 Tanada Nanjou Gunjinn 31 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72622 Tanada Nanjou Tureinaa 31 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72623 Tanada Nanjou Jogensha 31 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72636 Unstable Master Bloodstone Satellite 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +72654 Spectral Sapphire Blade 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72655 Spectral Sapphire Claw 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72656 Spectral Sapphire Assassin 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72657 Spectral Sapphire Assassin 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72658 Spectral Sapphire Gatekeeper 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72659 Spectral Emerald Blade 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72660 Spectral Emerald Claw 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72661 Spectral Emerald Assassin 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72662 Spectral Emerald Assassin 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72663 Spectral Emerald Gatekeeper 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72664 Spectral Ruby Nanjou Shou-jen 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72665 Spectral Ruby Assassin 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72666 Spectral Ruby Assassin 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72667 Spectral Ruby Gatekeeper 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72668 Spectral Nanjou Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72692 Olthoi Hive Soldier 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72693 Olthoi Hive Mutilator 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72694 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72695 Olthoi Hive Brood 1 0.65 0.75 1 0.75 0.75 0.25 0.4 1 +72697 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72715 Olthoi Hive Soldier 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72716 Olthoi Hive Soldier 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72717 Olthoi Hive Soldier 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72718 Olthoi Hive Soldier 1 0.4 0.5 0.5 0.2 0.5 0.2 0.2 1 +72719 Olthoi Hive Mutilator 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72720 Olthoi Hive Mutilator 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72721 Olthoi Hive Mutilator 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72722 Olthoi Hive Mutilator 1 0.5 0.55 0.65 0.4 0.7 0.4 0.2 1 +72723 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72724 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72725 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72726 Olthoi Hive Eviscerator 1 0.4 0.7 0.9 0.4 0.8 0.4 0.4 1 +72727 Olthoi Hive Brood 1 0.65 0.75 1 0.75 0.75 0.25 0.4 1 +72728 Olthoi Hive Brood 1 0.65 0.75 1 0.75 0.75 0.25 0.4 1 +72729 Olthoi Hive Brood 1 0.65 0.75 1 0.75 0.75 0.25 0.4 1 +72730 Olthoi Hive Brood 1 0.65 0.75 1 0.75 0.75 0.25 0.4 1 +72739 Spectral Nanjou Shou-jen 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +72752 Acid 20 1.2 0.9 1.1 0.3 0.3 0.3 0.9 1 +72753 Acid 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +72755 Acid Zenith 60 0.45 0.45 0.45 0.3 0.3 0 0.65 1 +72756 Fire Zenith 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +72757 Frost Zenith 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +72758 Electric Zenith 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +72759 Fire 20 1.2 0.9 1.1 0.3 0.9 0.3 0.3 1 +72760 Fire 38 0.45 0.45 0.45 0 0.65 0.3 0.3 1 +72761 Frost 20 1.2 0.9 1.1 0.9 0.3 0.3 0.3 1 +72762 Frost 61 0.45 0.45 0.45 0.65 0 0.3 0.3 1 +72763 Electricity 20 1.2 0.9 1.1 0.3 0.3 0.9 0.3 1 +72764 Electricity 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +72784 Ritual Statue of Entrapment 0 0.5 0.5 0.5 0.5 0 0.5 0.5 1 +72786 Adolescent Ash Gromnie 15 1 1 1 0.5 0.5 0.5 0.5 1 +72787 Adolescent Azure Gromnie 15 1 1 1 1 1 0.7 1 1 +72788 Adolescent Ivory Gromnie 15 1 1 1 0.7 0.83 1 1 1 +72789 Emergent Ash Gromnus 15 1 1 1 0.5 0.5 0.5 0.5 1 +72790 Emergent Azure Gromnus 15 1 1 1 1 1 0.7 1 1 +72791 Emergent Ivory Gromnus 15 1 1 1 0.7 0.83 1 1 1 +72792 Emergent Rust Gromnus 15 1 1 1 0.7 0.83 1 1 1 +72795 Sath'tik Eyestalk 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +72796 Sath'tik Tendril 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +72797 Sath'tik Tentacle 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +72800 Sclavus Neophyte 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +72801 Sclavus Neophyte 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +72802 Sclavus Sentinel 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +72803 Sclavus Sentinel 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +72804 Warding Crystal 47 1.1 0.7 0.7 0.7 0.7 0.7 0.7 1 +72805 Shikken Moriyaki 14 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +72808 Slithis Tendril Vine 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +72811 Sclavus Neophyte 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +72835 Shadow Child 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +72836 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72837 Void Lord 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.9 +72838 Bael'Zharon Summoner 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72839 Soldier 31 0.4 0.4 0.6 0.4 0.4 0.6 0.4 1 +72840 Void of Bael'Zharon 52 1 1 1 1.5 1 1 1 1 +72846 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72860 Soldier 31 0.4 0.4 0.6 0.4 0.4 0.6 0.4 1 +72868 Panumbris Shadow 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72869 Void Lord 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.9 +72870 Soldier 31 0.4 0.4 0.6 0.4 0.4 0.6 0.4 1 +72875 Gatekeeper 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72876 Ter Shen 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72877 Quaron 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72878 Soldier 31 0.4 0.4 0.6 0.4 0.4 0.6 0.4 1 +72880 Void of Bael'Zharon 52 1 1 1 1.5 1 1 1 1 +72883 Shadow Engineer 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72884 Shadow Engineer 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72886 Bael'Zharon Summoner 22 0.7 0.5 0.35 0.65 0.1 0.2 0.5 0.85 +72887 Tormented Spark 42 0.45 0.45 0.45 0.3 0.3 0.65 0 1 +72914 Thrungus 82 0.6 0.8 0.5 0.8 0.6 0.4 0.7 1 +72917 The Unknown Warrior 31 0.4 0.4 0.6 0.4 0.7 0.4 0.65 1 +72930 Thug Boss 31 0.4 0.4 0.6 0.4 0.65 0.4 0.65 1 +72933 The Unknown Warrior 31 0.4 0.4 0.5 0.5 0.6 0.6 0.6 1 +72955 Banderling Smasher 2 0.76 0.65 0.5 1.08 0.76 0.65 1.32 1 +72956 Skeleton Noble 30 0.4 0.3 0.6 0.6 0.2 0.3 0.3 1 +72970 Mosswart Messenger 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +72971 Mosswart Director 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +72972 Mosswart Worker 4 0.45 0.6 0.6 0.8 0.38 0.8 1 1 +72973 Mosswart Grunt 4 0.45 0.6 0.6 0.8 0.38 0.8 1 1 +72974 Shady 17 0.5 1 0.5 0.5 0.95 0.7 0.95 1 +72976 Bubba 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +72978 Spot 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +72982 Mosswart Tribesman 4 0.45 0.6 0.6 0.8 0.38 0.8 1 1 +72983 Scavenging Rat 10 0.65 0.65 0.65 0.45 0.65 0.65 0.75 1 +72984 Shady's Cage Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +72985 Shady 17 0.5 1 0.5 0.5 0.95 0.7 0.95 1 +72986 Bubba's Cage Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +72987 Bubba 8 0.5 0.7 0.3 0.8 0.3 0.3 0.4 1 +72988 Spot's Cage Door 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +72989 Spot 46 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +72991 Mosswart Worker 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +72992 Mosswart Grunt 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +72993 Mosswart Director 4 0.55 0.8 0.8 1 0.38 0.3 1 1 +73011 Despair Wisp 20 0.8 0.8 0.6 0.4 0.4 0 0.8 1 +73061 Esper Mine Commander 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +73065 Direlands Mine Commander 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +73070 Doorkeeper Knight 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +73154 Algid Warrior 62 0.55 0.45 0.45 0.65 0 0.3 0.3 1 +73156 Isin Dule's Captain 22 0.8 0.5 0.69 0.82 0.1 0.2 0.2 1 +73178 Dark Guardian 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +73179 Lich Oppressor 14 0.9 0.5 0.7 0.9 0.15 0.7 0.85 1 +73180 Shambling Adherent 14 0.75 0.5 0.7 0.75 0.1 0.7 0.75 1 +73181 Old Zombie 14 0.55 0.45 0.7 0.7 0.1 0.7 0.55 1 +73184 Orisis 14 0.9 0.5 0.7 0.9 0.15 0.75 0.85 1 +73195 Controlled Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +73196 Restrained Tusker 8 0.5 1 0.75 1 0.75 0.75 0.25 1 +73197 Virindi Subjugator 19 1 1 1 1 0.5 1 0.5 1 +73199 Limestone Sentinel 13 0.63 0.63 1 0.3 0.2 1 0.63 1 +73200 Obsidian Sentinel 13 0.53 0.9 1 0.4 0.1 1 0.4 1 +73214 Gurog Grump 100 0.4 0.8 0.4 0.8 0.4 0.4 0.4 1 +73215 Gurog Mastermind 100 0.4 0.8 0.4 0.8 0.4 0.4 0.4 1 +73216 Max 10 0.6 0.8 0.8 1 0.4 0.6 0.6 1 +73218 Holiday Present 0 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +73225 Drudge Balloon 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +73226 Holiday Presents 0 0.5 0.5 0.5 0.5 0.5 0.5 0.5 1 +73227 Drudge Pilferer 3 0.6 0.6 0.6 0.6 0.6 0.6 0.6 1 +73228 Drudge Pilferer 3 0.6 0.6 0.6 0.6 0.6 0.6 0.6 1 +73256 Eyestalk of T'thuun 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +80027 Mana Barrier 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80030 Unchained Knight 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +80031 Royal Vivimancer 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80032 Master Vivimancer 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80033 Vivimancer Adept 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80034 Royal Inquisitor 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80035 Ravenous Eater 79 1.2 1.2 0.6 1 1 0.6 1 1 +80049 Royal Thaumaturge 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80051 Mana Barrier 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80052 Mana Barrier 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80053 Viamontian War Wizard 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80056 Adept of Acid 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80057 Adept of Fire 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80058 Adept of Frost 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80059 Adept of Lightning 83 0.8 0.8 0.9 1.15 0.9 0.9 1.2 1 +80079 Hot Soup Elemental 91 0.83 0.83 0.83 1 1 0.33 0.83 1 +80080 Pancake Golem 91 0.83 0.83 0.83 1 1 0.33 0.83 1 +80081 Syrup Elemental 91 0.83 0.83 0.83 1 1 0.33 0.83 1 +80082 Gummy Ursuin 91 0.58 1 0.58 0.86 0.58 0.58 0.58 1 +80083 Sugar Crystal 91 1 1 1 0 0.65 0.3 1 1 +80084 Gelatin 91 0.75 0.86 0.58 1 1 1 1 1 +80085 L'il Pat of Butter 91 0.75 0.86 0.58 1 1 1 1 1 +80086 Sentient Oven 91 0.75 0.86 0.58 1 1 1 1 1 +80092 Gladys the Golem Waitress 13 0.83 0.83 0.83 1 1 0.33 0.83 1 +80150 Tremendous Baby Monouga 28 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80312 Celestial Hand Banner of the Courtyard 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80314 Celestial Hand Banner of the Spire 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80315 Celestial Hand Banner of the Tower 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80320 Eldrytch Web Banner of the Courtyard 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80321 Eldrytch Web Banner of the Spire 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80322 Eldrytch Web Banner of the Tower 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80323 Radiant Blood Banner of the Courtyard 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80324 Radiant Blood Banner of the Spire 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80325 Radiant Blood Banner of the Tower 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80341 Eldrytch Web Crystal Array 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80342 Radiant Blood Crystal Array 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80409 Celestial Hand Banner of the Courtyard 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80410 Celestial Hand Banner of the Spire 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80411 Celestial Hand Banner of the Tower 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80412 Eldrytch Web Banner of the Courtyard 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80413 Eldrytch Web Banner of the Spire 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80414 Eldrytch Web Banner of the Tower 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80415 Radiant Blood Banner of the Courtyard 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80416 Radiant Blood Banner of the Spire 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80417 Radiant Blood Banner of the Tower 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +80418 Celestial Hand Satellite Fragment 47 1 1 1 0 0.65 0.3 0.65 1 +80419 Eldrytch Web Satellite Fragment 47 1 1 1 0 0.65 0.3 0.65 1 +80420 Radiant Blood Satellite Fragment 47 1 1 1 0 0.65 0.3 0.65 1 +80520 Luminance Wisp 20 1 0.9 0.6 0.5 0.5 0.3 0.9 1 +80521 Luminance Wisp 20 1 0.9 0.6 0.5 0.5 0.3 0.9 1 +80522 Luminance Wisp 20 1 0.9 0.6 0.5 0.5 0.3 0.9 1 +80523 Chest of Mana Forge Keys 20 1 0.9 0.6 0.5 0.5 0.3 0.9 1 +80524 Chest of Trade Notes 20 1 0.9 0.6 0.5 0.5 0.3 0.9 1 +81073 Barrel 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +81074 Bottle 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +81075 Bottle 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +81076 Keg 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +81087 Black Rat 10 0.6 1.6 1.6 2.1 0.6 0.85 0.85 1 +81088 Weak Mangy Carenzi 55 0.8 0.6 1 0.6 0.9 0.6 0.9 1 +87018 Small Sand Golem 13 0.55 0.55 0.8 0.9 1 1 0.8 1 +87054 Empyrean Rescue Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87075 Hea Rheaga 6 0.5 0.5 0.6 0.92 0.45 0.55 0.6 1 +87078 Rheaga's Companion 13 0.33 0.5 0.96 0.2 0.2 1 1 1 +87081 Quiddity Seed 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87088 Hulking Bunny 41 0.72 0.76 0.71 0.88 0.65 0.69 0.69 1 +87094 White Rabbit 25 1 1 1 1.5 1 1 1 1 +87097 Vault Mistress Shilaanis Ri 14 0.4 0.45 0.65 0.69 0.55 0.65 0.6 1 +87099 Vault Mistress Niktari Xsu 14 0.4 0.45 0.65 0.69 0.55 0.65 0.6 1 +87100 West Armory Captain 77 0.87 0.45 0.48 0.89 0.45 0.59 0.5 1 +87101 North Armory Captain 77 0.87 0.45 0.48 0.89 0.45 0.59 0.5 1 +87102 East Armory Captain 77 0.87 0.45 0.48 0.89 0.45 0.59 0.5 1 +87103 South Armory Captain 77 0.87 0.45 0.48 0.89 0.45 0.59 0.5 1 +87120 Abominable Snowman 39 0.6 0.58 0.58 0.85 0 0.55 0.54 1 +87122 Scold 13 0.89 0.33 0.33 0 1 0.2 0.33 1 +87124 Scold Chunk 13 0.89 0.33 0.33 0 1 0.2 0.33 1 +87126 Scold Lump 13 0.9 0.33 0.33 0 1 0.2 0.33 1 +87129 Crystal of the Dark Isle 47 0.89 0.92 0.88 0.9 0.65 0.3 0.89 1 +87146 Aerbax's Shadow 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87147 Aerbax's Shadow Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87149 Aerbax's Shadow Cleanup Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87150 Storage Crate 0 0.5 0.5 0.89 0.65 0 0.6 0.6 1 +87170 Bloodstone Fragment 47 0.4 0.4 0.86 0.4 0.4 0.4 0.4 1 +87174 Pyre Champion 30 0.58 0.58 0.66 0.3 0.3 0.42 0.4 1 +87191 Lord Winstead 14 0.82 0.5 0.75 0.85 0.5 0.5 0.5 0.9 +87192 Filinuvekta Hieromancer 14 0.82 0.5 0.75 0.85 0.5 0.5 0.5 0.9 +87196 Dericost Wave Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87201 Celestial Illuminator 31 0.5 0.6 0.62 0.79 0.55 0.45 0.5 1 +87202 Majordomo of the North Cloister 14 0.5 0.6 0.62 0.82 0.55 0.45 0.5 1 +87203 Majordomo of the South Cloister 14 0.5 0.6 0.62 0.82 0.55 0.45 0.5 1 +87219 Ruschk Totem Guardian 81 0.9 1 0.9 0.9 0.9 0.8 0.9 1 +87224 Burun Messenger 75 0.5 0.5 0.5 0.8 0.8 0 0.5 1 +87250 Frozen Glacial Golem 13 0.45 0.51 0.5 0.82 0.05 0.52 0.5 1 +87251 Frozen Ice Golem 13 0.62 0.62 0.68 0.82 0.05 0.63 0.58 1 +87252 Freezing Mist Golem 13 0.31 0.31 0.31 0.5 0.87 0.58 0.69 1 +87253 Bronze Gauntlet Knight 99 0.5 0.5 0.5 0.5 0.5 0.88 0.87 1 +87254 Gold Gear Knight 99 0.5 0.5 0.5 0.5 0.5 0.88 0.87 1 +87255 Copper Cog Knight 99 0.5 0.5 0.5 0.5 0.5 0.88 0.87 1 +87256 Silver Scope Knight 99 0.5 0.5 0.5 0.5 0.5 0.88 0.87 1 +87257 Iron Blade Knight 99 0.5 0.5 0.5 0.5 0.5 0.88 0.87 1 +87258 Iron Blade Lord 99 0.5 0.5 0.5 0.5 0.5 0.88 0.87 1 +87259 Frozen Gearknight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +87261 Frozen Gearknight 99 0.5 0.5 0.5 0.5 0.5 1.4 1 1 +87276 Withered Revered Tumerok Shaman 6 2 1 1 1 1 1 1 1 +87283 Void Knight 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +87284 Raven Augur 31 0.67 0.67 0.67 0.67 0.67 0.67 0.67 1 +87306 Bosh Bosh 75 0.2 0.4 0.2 0.25 0.82 0.05 0.45 1 +87313 Abbess Tir'Livik 14 0.82 0.5 0.7 0.9 0.15 0.75 0.85 1 +87316 Matriarch Vik'Liri Di 14 0.82 0.5 0.7 0.9 0.15 0.75 0.85 1 +87318 Putrid Moar 86 0.88 0.55 0.4 0.4 0.88 0.79 1 1 +87319 Spiketooth 86 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +87323 Abbess Kivit 14 0.82 0.5 0.7 0.9 0.15 0.75 0.85 1 +87334 Tormented Servant 14 0.6 0.55 0.85 0.85 0.75 0.85 0.8 1 +87335 Harraag 2 0.55 0.55 0.55 0.75 0.55 0.35 0.8 1 +87348 Large Imprisoned Monouga 28 1.2 1.2 1.2 1.2 1.2 1.2 1.2 1 +87352 Huge Imprisoned Monouga 28 1.2 1.2 1.2 1.2 1.2 1.2 1.2 1 +87359 Monouga Lab 80 Portal Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87360 Monouga Lab 80 Feeding Pit Large Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87361 Monouga Lab 120 Portal Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87362 Monouga Lab 120 Feeding Pit Huge Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87363 Monouga Lab 150 Portal Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87364 Monouga Lab 150 Feeding Pit Giant Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87367 Drudge Caretaker 3 0.9 0.56 0.96 0.96 0.85 0.85 0.18 1 +87382 Drudge Biter 3 0.9 0.56 0.96 0.96 0.85 0.85 1 1 +87383 Captain Burnja 3 0.9 0.61 1 1 0.9 0.9 0.23 1 +87388 Bonecrunch 3 1.1 1.1 0.89 0.75 0.75 0.75 0.15 1 +87399 Invisible Wall 64 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +87400 Saving Asherons MB Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87404 Mana Barrier Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87406 Saving Asherons Wave Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87407 Saving Asherons Event Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87416 Saving Asherons Event Cleanup Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87432 Kernel Klank 3 0.9 0.56 0.96 0.96 0.85 0.85 0.22 1 +87438 Recluse Door 1 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87439 Recluse Door 2 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87442 First Time Trials Event Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87447 Trial of the Heart Knockback Event Controller 13 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87469 Recluse Open Door 1 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87472 Shroud Cabal Ley-Leech 31 0.67 0.67 0.67 0.87 0.67 0.67 0.67 1 +87474 Blightfinger 98 0.9 0.56 0.96 0.96 0.85 0.85 0.85 1 +87479 Tchk'Tain the Tender 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +87480 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +87484 Recluse Open Door 2 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87516 Faurset 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +87517 Liantor 22 1 0.5 0.7 1 0.1 0.2 0.5 1 +87518 Targor 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +87530 Summoning Chamber Adept 83 0.8 0.8 0.9 1.2 0.9 0.9 1.2 1 +87531 Bound Falatacot 14 0.6 0.55 0.85 0.9 0.75 0.85 0.8 1 +87542 Acolyte Herren 31 0.6 0.6 0.6 0.7 0.6 0.6 0.7 1 +87543 Fledgling 31 0.6 0.6 0.6 0.7 0.6 0.6 0.7 1 +87556 Dust Guardian 13 0.67 0.67 0.67 0.67 0.4 0.27 0.67 1 +87563 Ruschk Sadist Warchief 81 0.9 1.1 0.9 1 0.9 0.8 1 1 +87569 Ruschk Aspect of Grael 81 0.89 1.1 0.89 1 0.89 0.8 1 1 +87571 Homing Fire Ball 20 1 1 0.18 0 0.18 0.75 0.18 1 +87578 Ruschk Stalker 81 0.8 0.89 0.89 1 0.1 0.8 0.8 1 +87589 Mu-miyah Vizier 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +87595 Count Dardante 22 1 0.5 0.67 1 0.1 0.2 0.5 1 +87605 Shadow Aspect of Grael 22 1 0.5 0.65 1 0.1 0.2 0.2 1 +87614 Mu-miyah Champion 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +87618 Black Totem 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +87620 Ruschk Chief Garaktar 81 0.8 0.89 0.89 0.95 0.1 0.8 0.8 1 +87625 White Totem 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +87648 Master of Storms 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +87649 Master of Wind 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +87651 Master of Breath 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +87653 Enlightened Master 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +87657 Master of Earth 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87659 Master of Stone 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87661 Master of Metal 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87673 Acolyte of Earth 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +87674 Acolyte of Stone 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +87675 Acolyte of Metal 31 0.6 0.5 0.4 0.8 0.4 0.4 0.8 1 +87678 Consul to the Tanada 19 1 1 1 1 0.5 1 0.5 1 +87681 Master of Decay 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87685 Black Water Gatekeeper 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87687 Master of the Depths 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87689 Fist of the Depths 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87692 Watcher of the Black Water 19 1 1 1 1 0.5 1 0.5 1 +87694 Air Stasis Resonator 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +87697 Earth Stasis Resonator 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +87700 Water Stasis Resonator 0 0.75 0.75 0.75 0.75 0.75 0.75 0.75 1 +87710 Guardian of Stasis 31 0.6 0.5 0.4 1.2 0.8 1.2 1 1 +87732 Bragara, The Chosen One 4 0.5 0.8 0.8 1 0.4 0.7 1.1 1 +87753 Master of Wind 31 0.6 0.5 0.4 0.92 0.8 0.92 1 1 +87769 Mosswart Cynic 4 0.5 0.8 0.8 1 0.4 0.69 0.1 1 +87829 Sclavus Acolyte of T'thuun 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +87830 Olthoi Slasher 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +87846 Apostate Rift Aggressor 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +87847 Apostate Rift Aggressor 19 0.75 0.75 0.75 0.25 0.75 0.75 0.25 1 +87848 Mu-miyah Lord 14 0.8 0.25 0.7 0.8 0.3 0.8 0.4 1.1 +87849 Mu-miyah Sentinel 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +87856 RB Gauntlet Stage1 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87857 RB Gauntlet Stage1 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87862 RB Gauntlet Booter 31 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87863 RB Gauntlet Stage2 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87877 RB Gauntlet Stage2 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87883 RB Gauntlet Stage3 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87884 RB Gauntlet Stage3 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87890 RB Gauntlet Stage4 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87891 RB Gauntlet Stage4 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87894 RB Gauntlet Stage5 Exit Stopgap 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87895 RB Gauntlet Stage5 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87901 RB Gauntlet Stage6 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87902 RB Gauntlet Stage6 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87907 RB Gauntlet Stage7 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87908 RB Gauntlet Stage7 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87909 RB Gauntlet Stage8 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87914 RB Gauntlet Stage11 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87915 RB Gauntlet Stage8 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87916 RB Gauntlet Stage9 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87921 RB Gauntlet Stage10 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87922 RB Gauntlet Stage9 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87923 RB Gauntlet Stage12 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87928 CH Gauntlet Booter 31 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +87929 RB Gauntlet Stage10 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87936 RB Gauntlet Stage11 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87943 RB Gauntlet Stage12 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87962 CH Gauntlet Stage1 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87963 CH Gauntlet Stage1 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87964 CH Gauntlet Stage2 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87965 CH Gauntlet Stage2 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87966 CH Gauntlet Stage3 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87967 CH Gauntlet Stage3 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87968 CH Gauntlet Stage4 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87969 CH Gauntlet Stage4 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87971 CH Gauntlet Stage5 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87972 CH Gauntlet Stage5 Exit Stopgap 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87976 CH Gauntlet Stage6 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87977 CH Gauntlet Stage6 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87978 CH Gauntlet Stage7 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87979 CH Gauntlet Stage7 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87980 CH Gauntlet Stage8 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87981 CH Gauntlet Stage8 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87982 CH Gauntlet Stage9 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87983 CH Gauntlet Stage9 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87984 CH Gauntlet Stage10 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87985 CH Gauntlet Stage10 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87986 CH Gauntlet Stage11 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87987 CH Gauntlet Stage11 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87988 CH Gauntlet Stage12 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87989 CH Gauntlet Stage12 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87993 Eldrytch Web Warrior 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87994 Eldrytch Web Officer 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +87995 Eldrytch Web Warrior 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88024 EW Gauntlet Stage1 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88025 EW Gauntlet Stage1 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88026 EW Gauntlet Stage2 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88027 EW Gauntlet Stage2 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88028 EW Gauntlet Stage3 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88029 EW Gauntlet Stage3 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88030 EW Gauntlet Stage4 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88031 EW Gauntlet Stage4 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88033 EW Gauntlet Stage5 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88034 EW Gauntlet Stage5 Exit Stopgap 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88037 EW Gauntlet Stage6 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88038 EW Gauntlet Stage6 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88039 EW Gauntlet Stage7 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88040 EW Gauntlet Stage7 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88041 EW Gauntlet Stage8 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88042 EW Gauntlet Stage8 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88043 EW Gauntlet Stage9 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88044 EW Gauntlet Stage9 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88045 EW Gauntlet Stage10 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88046 EW Gauntlet Stage10 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88047 EW Gauntlet Stage11 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88048 EW Gauntlet Stage11 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88049 EW Gauntlet Stage12 Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88050 EW Gauntlet Stage12 Exit Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88059 EW Gauntlet Booter 31 0.75 0.75 0.75 0.8 0.65 0.9 0.35 1 +88060 Gromnus Champion 15 1 1 1 1 1 0.7 1 1 +88061 Flame Gromnie 15 0.74 0.74 0.74 0.17 0.89 0.44 0.44 1 +88066 Gauntlet Boss Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88067 Tch'Keryk the Emissary 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +88070 Moarsman Blight-caller 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +88074 Holcha 50 0.92 0.5 0.67 0.7 0.1 0.2 0.5 1 +88075 Idol Minion 50 0.92 0.5 0.67 0.77 0.1 0.2 0.5 1 +88076 Giant Blessed Moarsman 34 0.9 0.8 0.4 0.7 0.7 0.85 1 1 +88080 Mu-miyah Guardian 14 0.8 0.25 0.7 0.8 0.3 0.7 0.4 1.1 +88081 Spectral Bloodmage 77 0.5 0.6 0.7 0.6 0.4 0.2 0.4 1 +88082 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +88083 Spectral Archer 77 0.6 0.6 0.6 0.8 0.2 0.35 0.35 1 +88084 Spectral Archer 77 0.45 0.35 0.6 0.2 0.65 0.35 0.35 1 +88085 Tremb'Orh 54 0.93 0.75 0.5 0.5 0.69 0.5 0.69 1 +88086 Marionette Minion 54 0.92 0.75 0.5 0.5 0.49 0.5 0.49 1 +88087 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.65 0.2 1 +88088 Spectral Minion 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +88089 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +88090 Spectral Blade Master 77 0.45 0.35 0.35 0.5 0.35 0.5 0.35 1 +88091 Spectral Bushi 77 0.5 0.4 0.6 0.65 0.2 0.4 0.4 1 +88092 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +88093 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +88109 Rynthid Assessment Door Controller 31 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88122 Swamp Phyntos Wasp 9 0.7 0.5 0.7 0.5 0.5 0.5 0.6 1 +88137 Margul Roamer 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +88138 Fierce Margul Roamer 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +88139 Vicious Margul Roamer 71 0.85 0.85 0.95 0.75 0.95 0.75 0.95 1 +88145 Gurog Bruiser 100 0.3 0.8 0.3 0.8 0.3 0.3 0.4 1 +88154 Drudge Wilter 3 0.75 0.75 0.75 0.8 0.65 1.8 0.35 1 +88159 Remoran Sapper 84 0.58 0.68 0.68 0.36 0.58 0.58 0.58 1 +88160 Fierce Remoran Sapper 84 0.1 0.3 0.3 0.1 0.1 0.1 0.1 0.3 +88161 Vicious Remoran Sapper 84 0.4 0.4 0.8 0.4 0.4 0.4 0.4 1 +88165 Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +88166 Fierce Mukkir 89 0.75 0.8 0.8 0.75 0.75 0.42 0.25 1 +88167 Vicious Mukkir 89 0.75 1 1 0.75 0.75 0.42 0.25 1 +88186 Renegade Adept Shaman 6 0.5 0.5 0.5 0.7 0.7 0.5 0.5 1 +88188 Renegade Virindi 19 1 1 1 1 0.5 1 0.5 1 +88189 Gotrok Extias 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88190 Gotrok Ligias 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88191 Gotrok Ornost 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +88203 Sath'tik Eyestalk 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +88204 Sath'tik Tendril 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +88205 Sath'tik Tentacle 36 0.55 0.55 0.75 0.75 0.25 0.65 0.15 1 +88211 Dune Hunter 16 0.6 0.8 0.5 0.5 0.5 0.5 0.67 1.1 +88212 Dune Reaper 16 0.7 0.8 0.5 0.6 0.3 0.5 0.67 1.1 +88213 Dune Seeker 16 0.7 0.8 0.5 0.5 0.6 0.6 0.5 1.1 +88214 Guardian Dune Reaper 16 0.7 0.8 0.5 0.5 0.7 0.5 0.67 1 +88230 Spectral Archer 77 0.45 0.35 0.6 0.35 0.35 0.2 0.65 1 +88231 Spectral Bushi 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +88232 Spectral Minion 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +88233 Spectral Samurai 77 0.5 0.4 0.6 0.4 0.4 0.2 0.65 1 +88234 Spectral Voidmage 77 0.5 0.4 0.7 0.5 0.4 0.2 0.4 1 +88235 Nature Guardian 29 1 0.8 1 0.6 0.8 0.85 0.65 1 +88236 Summoned Wisp 20 0.4 0.4 0.5 0.4 0.5 0.4 0.4 1 +88240 Empowered Carenzi Ravager 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +88241 Empowered Savage Carenzi 55 0.8 0.6 1 0.6 0.9 0.9 0.6 1 +88286 Kazyk Ri's Raid Commander 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +88287 Minik Ra's Raid Commander 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +88288 Nivinizk's Raid Commander 14 0.6 0.55 0.85 0.89 0.75 0.85 0.8 1 +88290 Moarsman Marauder 34 0.75 0.55 0.65 0.4 0.75 0.3 0.48 1 +88291 Moarsman Raider 34 0.85 0.56 0.72 0.72 1.1 0.85 1.1 1 +88292 Sclavus Marauder 26 0.88 0.75 0.46 0.75 1 0.25 0.25 1 +88293 Sclavus Raider 26 0.85 0.75 0.46 0.75 0.85 0.25 0.25 1 +88294 Falatacot Marauder 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88295 Falatacot Raider 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88296 Falatacot Raider 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88297 Patriarch's Executioner 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88298 Patriarch's Executioner 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88299 Patriarch's Champion 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88300 Patriarch's Champion 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88301 Patriarch's Champion 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88302 Patriarch's Elite Raider 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88303 Patriarch's Elite Raider 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88304 Patriarch's Elite Raider 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88305 Patriarch's Inquisitor 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88306 Patriarch's Inquisitor 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88307 Patriarch's Inquisitor 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88340 Gumdrop 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +88341 Gumdrop 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +88342 Gumdrop 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +88343 Gumdrop 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +88344 Snowman Sentry 39 1 1 1 1 0 1 1 1 +88345 Santa Sclavus 26 0.55 0.65 0.46 0.75 0.79 0.25 0.25 1 +88346 Santa Sclavus 26 0.55 0.65 0.46 0.75 0.79 0.25 0.25 1 +88347 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88362 Moarself 34 0.55 0.8 0.8 1 0.38 0.8 1 1 +88365 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88366 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88367 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88369 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88370 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88371 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88372 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88373 Moarself 34 0.86 0.75 0.42 0.58 0.86 0.25 0.42 1 +88385 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +88388 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +88391 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +88394 Uber Penguin 80 0.86 0.75 0.66 1.3 0.6 0.75 0.9 1 +88395 Santa Sclavus 26 0.55 0.65 0.46 0.75 0.79 0.25 0.25 1 +88398 Moarself 98 0.9 0.55 0.4 0.4 0.85 0.85 1 1 +88399 Gumdrop 21 0.7 0.4 0.4 0.4 0.4 0.4 0.4 1 +88437 Aerlinthe Blight Lord 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88438 A'mun Blight Lord 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88439 Esper Blight Lord 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88440 Halaetan Blight Lord 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88441 Linvak Blight Lord 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88442 Obsidian Blight Lord 14 0.5 0.45 0.65 0.65 0.55 0.55 0.5 1 +88443 Blight Guardian 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +88444 High Priestess of T'thuun 31 0.4 0.4 0.5 0.87 0.6 0.6 0.86 1 +88447 Afessa Sclavus Guardian 26 1 0.75 0.46 0.75 1 0.25 0.25 1 +88455 Reinforcement Soldier 31 0.6 0.6 0.8 0.6 0.9 0.6 0.9 1 +88462 Reinforcement Soldier 31 0.6 0.6 0.8 0.6 0.9 0.6 0.9 1 +90107 Daimyo Nobanuga 77 0.6 0.6 0.5 0.65 0.2 0.2 0.2 1.1 +90108 Daimyo Idah 77 0.6 0.6 0.5 0.65 0.2 0.2 0.2 1.1 +3000002 Olthoi Grub 35 0.75 1 1 0.75 0.75 0.42 0.25 1 +3000003 Olthoi Swarm Harvester 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +3000004 Olthoi Swarm Gardener 1 0.75 1 1 0.75 0.75 0.25 0.4 1 +3000005 Olthoi Swarm Nymph 1 0.75 1 1 0.75 0.75 0.42 0.25 1 +3000006 Olthoi Brood Matron 1 0.6 0.8 0.8 0.6 0.8 0.4 0.55 1 +3000021 Lugian Thrall 5 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +3000022 Lugian Overseer 5 0.66 0.66 0.66 0.3 0.42 0.9 1 1 +3000023 Warlord Kazrok 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +3000030 Warlord Kazrok 70 0.66 0.66 0.66 0.25 0.42 0.9 1 1 +3000100 Gotrok Extias 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +3000101 Gotrok Ligias 70 0.66 0.85 0.66 0.25 0.45 0.65 0.95 1 +3000102 Gotrok Mining Foreman 70 0.66 0.85 0.5 0.25 0.45 0.65 0.95 1 +3000103 Lord Muldaveus 70 0.35 0.35 0.35 0.35 0.6 0.35 0.35 1 diff --git a/Plugins/RynthCore.Plugin.RynthAi/CreatureData/creature_types.txt b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/creature_types.txt new file mode 100644 index 0000000..ef57630 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/CreatureData/creature_types.txt @@ -0,0 +1,95 @@ +# RynthAi creature-type weaknesses: the fallback for monsters that aren't in +# creature_resists.tsv (custom monsters on other servers). Generated from the average +# resists of each type's creatures in the Aelrynth world database. +# id|Type|name keywords|Element multiplier,... (most damage first) +# A multiplier is damage taken (1.0 = full, 0.5 = half). The bot uses the first element +# in the list it can attack with. To change a type, put its line (same id) in +# C:\Games\RynthSuite\RynthAi\CreatureData\creature_types.txt; lines there win. +# Keywords match whole words in a monster's name when its type isn't known yet. +1|Olthoi|Olthoi|Nether 1.00,Bludgeon 0.91,Pierce 0.86,Cold 0.72,Slash 0.67,Fire 0.65,Lightning 0.35,Acid 0.32 +2|Banderling|Banderling|Lightning 1.16,Nether 1.00,Fire 0.96,Cold 0.76,Slash 0.73,Acid 0.64,Pierce 0.63,Bludgeon 0.51 +3|Drudge|Drudge|Fire 1.11,Cold 1.03,Nether 1.00,Slash 0.85,Acid 0.83,Bludgeon 0.81,Lightning 0.79,Pierce 0.66 +4|Mosswart|Mosswart|Nether 1.02,Fire 0.99,Lightning 0.94,Bludgeon 0.79,Pierce 0.77,Acid 0.67,Slash 0.58,Cold 0.53 +5|Lugian|Lugian|Nether 1.00,Lightning 0.95,Acid 0.79,Pierce 0.68,Bludgeon 0.63,Slash 0.62,Cold 0.48,Fire 0.33 +6|Tumerok|Tumerok|Nether 1.00,Slash 0.91,Fire 0.72,Cold 0.69,Pierce 0.68,Bludgeon 0.67,Lightning 0.67,Acid 0.66 +7|Mite|Mite|Nether 1.00,Fire 0.93,Acid 0.93,Pierce 0.82,Bludgeon 0.80,Lightning 0.78,Cold 0.75,Slash 0.74 +8|Tusker|Tusker|Nether 1.00,Fire 0.97,Pierce 0.95,Cold 0.68,Acid 0.68,Bludgeon 0.67,Slash 0.48,Lightning 0.30 +9|PhyntosWasp|Phyntos Wasp|Nether 1.00,Bludgeon 0.87,Slash 0.82,Pierce 0.82,Cold 0.67,Acid 0.67,Fire 0.62,Lightning 0.54 +10|Rat||Bludgeon 1.14,Fire 1.01,Nether 1.00,Pierce 0.97,Lightning 0.92,Slash 0.69,Acid 0.68,Cold 0.61 +13|Golem|Golem|Bludgeon 2.70,Acid 2.66,Cold 2.57,Fire 2.56,Pierce 2.53,Slash 2.48,Nether 1.00,Lightning 0.80 +14|Undead|Undead|Nether 1.00,Fire 0.84,Slash 0.74,Bludgeon 0.68,Acid 0.66,Lightning 0.62,Pierce 0.51,Cold 0.39 +15|Gromnie|Gromnie|Nether 1.00,Pierce 0.82,Bludgeon 0.82,Slash 0.80,Acid 0.71,Cold 0.70,Lightning 0.68,Fire 0.60 +16|Reedshark|Reedshark|Nether 1.02,Cold 0.80,Slash 0.79,Pierce 0.75,Acid 0.74,Lightning 0.72,Bludgeon 0.68,Fire 0.56 +17|Armoredillo|Armoredillo|Nether 1.00,Pierce 0.92,Lightning 0.85,Cold 0.75,Acid 0.59,Slash 0.58,Bludgeon 0.52,Fire 0.49 +19|Virindi|Virindi|Nether 1.00,Slash 0.86,Pierce 0.80,Bludgeon 0.80,Fire 0.80,Acid 0.79,Cold 0.48,Lightning 0.47 +20|Wisp||Slash 1.04,Nether 1.00,Pierce 0.90,Bludgeon 0.86,Lightning 0.56,Acid 0.42,Fire 0.40,Cold 0.39 +21|Knathtead|K'nath|Nether 1.00,Fire 0.83,Acid 0.83,Lightning 0.82,Slash 0.74,Pierce 0.73,Cold 0.67,Bludgeon 0.54 +22|Shadow|Shadow|Nether 0.97,Slash 0.88,Fire 0.87,Bludgeon 0.63,Pierce 0.52,Lightning 0.49,Acid 0.27,Cold 0.15 +23|Mattekar|Mattekar|Nether 1.00,Pierce 0.90,Fire 0.88,Bludgeon 0.86,Acid 0.75,Slash 0.59,Cold 0.45,Lightning 0.34 +25|Rabbit||Fire 1.50,Slash 1.00,Pierce 1.00,Bludgeon 1.00,Cold 1.00,Acid 1.00,Lightning 1.00,Nether 1.00 +26|Sclavus|Sclavus|Nether 1.00,Cold 0.98,Slash 0.95,Pierce 0.75,Fire 0.75,Bludgeon 0.46,Acid 0.27,Lightning 0.27 +27|ShallowsShark|Shallows|Nether 1.02,Pierce 0.88,Lightning 0.87,Slash 0.67,Bludgeon 0.64,Cold 0.62,Fire 0.61,Acid 0.54 +28|Monouga|Monouga|Nether 1.00,Cold 0.96,Pierce 0.91,Acid 0.82,Slash 0.70,Lightning 0.68,Fire 0.66,Bludgeon 0.60 +29|Zefir|Zefir|Nether 1.00,Slash 0.95,Bludgeon 0.92,Acid 0.80,Pierce 0.75,Cold 0.74,Lightning 0.53,Fire 0.51 +30|Skeleton|Skeleton|Nether 0.99,Bludgeon 0.89,Slash 0.62,Fire 0.59,Acid 0.47,Lightning 0.44,Pierce 0.37,Cold 0.35 +31|Human|Human|Nether 1.00,Lightning 0.77,Pierce 0.62,Acid 0.61,Bludgeon 0.58,Slash 0.57,Cold 0.55,Fire 0.50 +32|Shreth|Shreth|Cold 1.18,Bludgeon 1.00,Nether 1.00,Pierce 0.78,Slash 0.67,Acid 0.67,Lightning 0.61,Fire 0.56 +33|Chittick|Chittick|Pierce 1.00,Nether 1.00,Acid 0.85,Cold 0.71,Lightning 0.67,Fire 0.63,Slash 0.58,Bludgeon 0.55 +34|Moarsman||Nether 1.00,Slash 0.83,Cold 0.80,Lightning 0.78,Pierce 0.66,Fire 0.61,Acid 0.61,Bludgeon 0.55 +35|OlthoiLarvae|Larvae|Nether 1.00,Pierce 0.89,Bludgeon 0.87,Slash 0.70,Cold 0.69,Fire 0.68,Lightning 0.37,Acid 0.36 +36|Slithis|Slithis|Nether 1.00,Fire 0.72,Bludgeon 0.63,Slash 0.58,Acid 0.58,Pierce 0.51,Cold 0.25,Lightning 0.17 +38|FireElemental||Nether 1.00,Cold 0.72,Slash 0.44,Pierce 0.44,Bludgeon 0.44,Acid 0.39,Lightning 0.30,Fire 0.04 +39|Snowman|Snowman|Nether 1.00,Fire 0.99,Slash 0.91,Bludgeon 0.91,Acid 0.91,Lightning 0.91,Pierce 0.85,Cold 0.00 +40|Unknown||Nether 1.00,Slash 0.81,Pierce 0.81,Bludgeon 0.79,Acid 0.57,Lightning 0.53,Fire 0.46,Cold 0.39 +41|Bunny|Bunny|Fire 1.19,Nether 1.00,Pierce 0.88,Slash 0.86,Bludgeon 0.85,Acid 0.84,Lightning 0.84,Cold 0.82 +42|LightningElemental||Nether 1.00,Acid 0.74,Slash 0.47,Pierce 0.47,Bludgeon 0.47,Cold 0.37,Fire 0.30,Lightning 0.00 +43|Rockslide||Bludgeon 1.00,Nether 1.00,Pierce 0.90,Slash 0.53,Fire 0.40,Lightning 0.40,Acid 0.33,Cold 0.10 +44|Grievver|Grievver|Nether 1.00,Slash 0.99,Pierce 0.76,Bludgeon 0.68,Fire 0.38,Lightning 0.33,Acid 0.28,Cold 0.26 +45|Niffis|Niffis|Nether 0.94,Slash 0.92,Cold 0.81,Acid 0.81,Bludgeon 0.55,Pierce 0.53,Fire 0.50,Lightning 0.50 +46|Ursuin|Ursuin|Pierce 1.00,Nether 1.00,Fire 0.86,Slash 0.59,Bludgeon 0.59,Cold 0.59,Acid 0.59,Lightning 0.59 +47|Crystal|Crystal|Nether 1.00,Bludgeon 0.85,Slash 0.76,Pierce 0.74,Lightning 0.71,Cold 0.59,Fire 0.45,Acid 0.44 +48|HollowMinion|Hollow|Nether 1.00,Cold 0.65,Slash 0.49,Pierce 0.49,Acid 0.49,Bludgeon 0.32,Fire 0.24,Lightning 0.24 +49|Scarecrow|Scarecrow|Fire 1.00,Nether 1.00,Slash 0.90,Lightning 0.90,Bludgeon 0.53,Pierce 0.51,Cold 0.51,Acid 0.51 +50|Idol||Nether 1.00,Slash 0.96,Fire 0.87,Bludgeon 0.67,Pierce 0.50,Lightning 0.50,Acid 0.20,Cold 0.10 +51|Empyrean||Nether 1.00,Slash 0.60,Pierce 0.60,Bludgeon 0.60,Fire 0.00,Cold 0.00,Acid 0.00,Lightning 0.00 +52|Hopeslayer||Fire 1.50,Slash 1.00,Pierce 1.00,Bludgeon 1.00,Cold 1.00,Acid 1.00,Lightning 1.00,Nether 1.00 +53|Doll|Doll|Nether 1.00,Bludgeon 0.94,Slash 0.93,Pierce 0.84,Fire 0.84,Acid 0.84,Cold 0.59,Lightning 0.57 +54|Marionette|Marionette|Nether 1.00,Slash 0.99,Fire 0.68,Pierce 0.67,Acid 0.64,Cold 0.60,Lightning 0.58,Bludgeon 0.51 +55|Carenzi|Carenzi|Bludgeon 1.00,Nether 1.00,Cold 0.90,Slash 0.80,Acid 0.76,Lightning 0.74,Pierce 0.60,Fire 0.60 +56|Siraluun|Siraluun|Cold 1.00,Acid 1.00,Nether 1.00,Bludgeon 0.95,Slash 0.80,Pierce 0.60,Fire 0.60,Lightning 0.50 +57|AunTumerok||Nether 1.00,Slash 0.78,Pierce 0.78,Bludgeon 0.78,Fire 0.78,Cold 0.78,Acid 0.78,Lightning 0.78 +58|HeaTumerok||Nether 1.00,Cold 0.87,Pierce 0.86,Fire 0.86,Acid 0.85,Lightning 0.84,Slash 0.82,Bludgeon 0.82 +59|Simulacrum|Simulacrum|Nether 1.00,Bludgeon 0.88,Pierce 0.85,Slash 0.84,Fire 0.80,Lightning 0.76,Acid 0.70,Cold 0.65 +60|AcidElemental||Nether 1.00,Lightning 0.60,Slash 0.39,Pierce 0.39,Bludgeon 0.39,Cold 0.36,Fire 0.24,Acid 0.00 +61|FrostElemental||Nether 0.99,Fire 0.66,Slash 0.49,Pierce 0.48,Bludgeon 0.48,Lightning 0.41,Acid 0.38,Cold 0.03 +62|Elemental||Nether 1.00,Slash 0.59,Bludgeon 0.59,Pierce 0.57,Acid 0.46,Fire 0.41,Lightning 0.40,Cold 0.39 +63|Statue|Statue|Nether 1.00,Acid 0.69,Lightning 0.61,Fire 0.50,Cold 0.50,Bludgeon 0.26,Slash 0.15,Pierce 0.15 +64|Wall|Wall|Nether 1.00,Bludgeon 0.72,Slash 0.69,Pierce 0.69,Acid 0.69,Lightning 0.69,Fire 0.68,Cold 0.64 +65|AlteredHuman|Martine|Nether 1.00,Slash 0.10,Pierce 0.10,Bludgeon 0.10,Fire 0.10,Cold 0.10,Acid 0.10,Lightning 0.10 +68|DarkSarcophagus||Nether 1.00,Fire 0.50,Slash 0.00,Pierce 0.00,Bludgeon 0.00,Cold 0.00,Acid 0.00,Lightning 0.00 +69|Chicken|Chicken Chick|Fire 1.00,Nether 1.00,Lightning 0.90,Bludgeon 0.89,Slash 0.81,Cold 0.81,Pierce 0.77,Acid 0.77 +70|GotrokLugian|Gotrok|Lightning 1.05,Nether 1.00,Acid 0.82,Pierce 0.67,Slash 0.64,Bludgeon 0.63,Cold 0.43,Fire 0.28 +71|Margul|Margul|Nether 1.00,Bludgeon 0.95,Cold 0.95,Lightning 0.95,Slash 0.85,Pierce 0.85,Fire 0.74,Acid 0.74 +75|Burun|Burun|Nether 1.00,Pierce 0.75,Cold 0.74,Slash 0.59,Fire 0.59,Bludgeon 0.47,Lightning 0.34,Acid 0.12 +77|Ghost|Spectral|Nether 1.01,Bludgeon 0.60,Fire 0.56,Slash 0.54,Acid 0.48,Pierce 0.46,Lightning 0.44,Cold 0.39 +78|Fiun|Fiun|Nether 1.00,Fire 0.94,Lightning 0.94,Slash 0.78,Pierce 0.74,Acid 0.73,Bludgeon 0.66,Cold 0.60 +79|Eater|Eater|Slash 1.19,Pierce 1.17,Nether 1.00,Fire 0.99,Cold 0.99,Lightning 0.99,Bludgeon 0.61,Acid 0.61 +80|Penguin|Penguin|Fire 1.30,Nether 1.00,Lightning 0.90,Slash 0.86,Pierce 0.75,Acid 0.75,Bludgeon 0.66,Cold 0.60 +81|Ruschk|Ruschk|Fire 1.06,Nether 1.00,Lightning 0.97,Pierce 0.96,Bludgeon 0.89,Slash 0.88,Acid 0.81,Cold 0.79 +82|Thrungus|Thrungus|Nether 1.00,Fire 0.89,Lightning 0.70,Cold 0.63,Pierce 0.62,Slash 0.61,Acid 0.50,Bludgeon 0.47 +83|ViamontianKnight|Viamontian|Lightning 1.20,Fire 1.17,Nether 1.00,Bludgeon 0.90,Cold 0.90,Acid 0.90,Slash 0.80,Pierce 0.80 +84|Remoran|Remoran|Nether 0.96,Bludgeon 0.52,Pierce 0.47,Fire 0.42,Lightning 0.39,Slash 0.38,Cold 0.38,Acid 0.38 +85|Swarm||Nether 1.00,Slash 0.65,Bludgeon 0.65,Fire 0.65,Pierce 0.40,Cold 0.40,Acid 0.40,Lightning 0.40 +86|Moar|Moar|Lightning 1.00,Nether 1.00,Slash 0.85,Cold 0.79,Acid 0.76,Pierce 0.62,Fire 0.52,Bludgeon 0.43 +89|Mukkir|Mukkir|Nether 1.00,Pierce 0.88,Bludgeon 0.88,Slash 0.65,Fire 0.63,Cold 0.63,Acid 0.38,Lightning 0.23 +91|Food||Nether 1.00,Cold 0.90,Pierce 0.88,Lightning 0.88,Fire 0.86,Slash 0.79,Bludgeon 0.73,Acid 0.61 +92|ParadoxOlthoi|Touched Paradox|Nether 1.00,Bludgeon 0.86,Pierce 0.84,Slash 0.68,Fire 0.58,Cold 0.58,Lightning 0.39,Acid 0.32 +93|Harvest|Pumpkin|Nether 1.00,Bludgeon 0.77,Pierce 0.73,Slash 0.70,Fire 0.61,Acid 0.56,Lightning 0.47,Cold 0.39 +95|Apparition||Nether 1.00,Bludgeon 0.70,Pierce 0.65,Slash 0.60,Fire 0.35,Cold 0.35,Acid 0.35,Lightning 0.35 +96|Aerbax|Aerbax's|Nether 0.95,Pierce 0.94,Slash 0.92,Fire 0.92,Acid 0.87,Bludgeon 0.65,Cold 0.43,Lightning 0.43 +97|Touched||Nether 1.00,Slash 0.01,Pierce 0.01,Bludgeon 0.01,Fire 0.01,Cold 0.01,Acid 0.01,Lightning 0.01 +98|BlightedMoarsman||Nether 1.00,Lightning 0.94,Slash 0.89,Cold 0.83,Acid 0.81,Pierce 0.56,Bludgeon 0.50,Fire 0.49 +99|GearKnight|Gear Gearknight|Acid 1.29,Nether 1.00,Lightning 0.96,Bludgeon 0.51,Cold 0.51,Slash 0.50,Pierce 0.50,Fire 0.50 +100|Gurog|Gurog|Nether 1.00,Pierce 0.80,Fire 0.80,Lightning 0.40,Slash 0.31,Bludgeon 0.31,Cold 0.31,Acid 0.31 +101|Anekshay||Nether 1.07,Acid 0.76,Bludgeon 0.65,Cold 0.45,Lightning 0.40,Fire 0.34,Pierce 0.33,Slash 0.29 +28640|Type28640||Slash 1.20,Pierce 1.20,Fire 1.00,Cold 1.00,Lightning 1.00,Nether 1.00,Bludgeon 0.60,Acid 0.60 diff --git a/Plugins/RynthCore.Plugin.RynthAi/Data/creature_weakness.json b/Plugins/RynthCore.Plugin.RynthAi/Data/creature_weakness.json new file mode 100644 index 0000000..8cd56aa --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Data/creature_weakness.json @@ -0,0 +1 @@ +{"_about":"Aelrynth world DB (aeshnidae_world), creatures (weenie type 10): PropertyFloat Resist* 64-70 + ResistNether 166 = damage multipliers (1.0 normal, higher = takes more = weaker to it). Missing = 1.0. Generated 2026-09-30.","creatures":{"3":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worker"},"5":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Laigus Lugian"},"6":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Scout"},"7":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Skulker"},"8":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Creeper Mosswart"},"10":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Scamp"},"11":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Male Tusker"},"12":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.8,"acid":0.9,"electric":0.9,"name":"Red Phyntos Wasp"},"13":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"White Rat"},"16":{"slash":1.0,"pierce":0.7,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Undead"},"18":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Reedshark Elder"},"19":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Bronze Armoredillo"},"23":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Servant"},"177":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Spiny Armoredillo"},"178":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Brown Armoredillo"},"179":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Spikey Armoredillo"},"180":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Sandy Armoredillo"},"183":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Raver"},"184":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Captain"},"187":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Bandit Lord"},"188":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Bandit Mage"},"189":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist High Priest"},"190":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist Cohort"},"192":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"193":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Slinker"},"194":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Copper Golem"},"195":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.33,"electric":0.4,"name":"Granite Golem"},"196":{"slash":0.83,"pierce":0.83,"bludgeon":0.8,"fire":1.0,"cold":0.0,"acid":0.83,"electric":0.8,"name":"Ice Golem"},"197":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.1,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Iron Golem"},"198":{"slash":0.63,"pierce":0.63,"bludgeon":1.0,"fire":0.3,"cold":0.2,"acid":1.0,"electric":0.63,"name":"Limestone Golem"},"199":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Magma Golem"},"200":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Mud Golem"},"201":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Obsidian Golem"},"202":{"slash":0.33,"pierce":0.5,"bludgeon":1.0,"fire":0.2,"cold":0.2,"acid":1.0,"electric":0.83,"name":"Sandstone Golem"},"203":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.83,"cold":0.7,"acid":1.0,"electric":1.0,"name":"Gromnie Hatchling"},"204":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"205":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Obeloth Lugian"},"206":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lithos Lugian"},"208":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Matron"},"209":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Squib"},"210":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Mosswart Chief"},"211":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Mudlurk Mosswart"},"212":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"213":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Nymph"},"214":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Soldier"},"215":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.8,"acid":0.8,"electric":0.9,"name":"Blue Phyntos Wasp"},"216":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.9,"acid":0.75,"electric":0.9,"name":"Green Phyntos Wasp"},"217":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Gold Phyntos Wasp"},"218":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Black Rat"},"219":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Grey Rat"},"220":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Brown Rat"},"221":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Adult Reedshark"},"222":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Veteran Reedshark"},"223":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Reedshark Pup"},"224":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Rogue"},"225":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Rogue Mage"},"235":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Goldenback Tusker"},"236":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Female Tusker"},"237":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Master"},"238":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Puppet"},"619":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Revenant"},"937":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Guard"},"938":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Raider"},"939":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Young Banderling"},"940":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Sneaker"},"941":{"slash":0.33,"pierce":0.5,"bludgeon":0.33,"fire":1.0,"cold":1.0,"acid":0.83,"electric":1.0,"name":"Water Golem"},"942":{"slash":0.83,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.77,"acid":0.8,"electric":0.67,"name":"Wood Golem"},"943":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Scion"},"944":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Digger"},"945":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Sentry"},"946":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Squire"},"947":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Barker Mosswart"},"948":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Mosswart Feeder"},"949":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Red Rat"},"950":{"slash":1.0,"pierce":0.7,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Zombie"},"1210":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Mercenary"},"1218":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Thief"},"1240":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Oversized Banderling Ogre"},"1241":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Bloodblade"},"1242":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Hoarder"},"1243":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.58,"acid":0.58,"electric":1.0,"name":"Large Silver Rat"},"1255":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Slave Keyholder"},"1256":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Braggart Mosswart"},"1257":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Mosswart Overchief"},"1258":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Ravenous Mosswart"},"1259":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Mosswart Keeper"},"1273":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.58,"acid":0.58,"electric":1.0,"name":"Giant White Rat"},"1321":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Matted Drudge Ravener"},"1322":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Stalker Pack Rat"},"1356":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Captain"},"1362":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Trusted Tusker"},"1404":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Guardian of the Lost Light"},"1405":{"slash":0.85,"pierce":0.85,"bludgeon":1.0,"fire":1.0,"cold":0.85,"acid":0.9,"electric":0.8,"name":"Swamp Rat"},"1406":{"slash":0.85,"pierce":0.85,"bludgeon":1.0,"fire":0.85,"cold":0.85,"acid":1.0,"electric":1.0,"name":"Desert Rat"},"1407":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Slave"},"1408":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Slave"},"1409":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Slave"},"1410":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Slave"},"1461":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Mosswart Mucker"},"1462":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Rogue"},"1463":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Revenant"},"1464":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Robber"},"1465":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Guardian of the Helm"},"1466":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Wari al Sha'im"},"1467":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Scamp"},"1468":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Slinker"},"1469":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Scout"},"1470":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Mosswart Feeder"},"1484":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Bandit"},"1486":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Mosswart Mucker"},"1497":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Sentry"},"1520":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Raider Guardian"},"1521":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Heavy Drudge Prowler"},"1522":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Baron of Colier"},"1523":{"slash":1.0,"pierce":0.65,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Undead Curator"},"1524":{"slash":1.0,"pierce":0.65,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Undead Miner"},"1535":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.55,"cold":0.0,"acid":0.4,"electric":0.8,"name":"Ethereal Wisp"},"1536":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Z'bog"},"1608":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Lurker"},"1609":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Stalker"},"1610":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Ravener"},"1611":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.83,"cold":0.7,"acid":1.0,"electric":1.0,"name":"Rust Gromnie"},"1612":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.7,"electric":1.0,"name":"Azure Gromnie"},"1613":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Ivory Gromnie"},"1614":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.83,"cold":1.0,"acid":1.0,"electric":0.7,"name":"Jade Gromnie"},"1615":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ash Gromnie"},"1616":{"slash":0.5,"pierce":1.11,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.91,"electric":1.0,"name":"Swamp Gromnie"},"1617":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Amploth Lugian"},"1618":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gigas Lugian"},"1619":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.6,"electric":1.0,"name":"Mosswart Shaman"},"1620":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Injured Olthoi"},"1621":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Queen"},"1622":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.8,"acid":0.8,"electric":0.8,"name":"Mire Phyntos Wasp"},"1623":{"slash":0.85,"pierce":0.85,"bludgeon":1.0,"fire":0.85,"cold":0.85,"acid":1.0,"electric":1.0,"name":"Desert Rat"},"1624":{"slash":0.85,"pierce":0.85,"bludgeon":1.0,"fire":1.0,"cold":0.85,"acid":0.9,"electric":0.8,"name":"Swamp Rat"},"1625":{"slash":0.8,"pierce":0.85,"bludgeon":1.0,"fire":0.85,"cold":0.85,"acid":1.0,"electric":1.0,"name":"Mountain Rat"},"1626":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.58,"acid":0.58,"electric":1.0,"name":"Silver Rat"},"1627":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Crimsonback"},"1628":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Slave"},"1629":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Guard"},"1630":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich Lord"},"1631":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Servant"},"1632":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Slave"},"1668":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Breeder"},"1669":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Chief"},"1756":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Child"},"1757":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Lieutenant"},"1758":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow"},"1759":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Skeleton"},"1760":{"slash":0.58,"pierce":0.4,"bludgeon":1.0,"fire":0.9,"cold":0.5,"acid":0.6,"electric":0.5,"name":"Skeleton Warrior"},"1761":{"slash":0.58,"pierce":0.3,"bludgeon":1.0,"fire":0.9,"cold":0.4,"acid":0.42,"electric":0.4,"name":"Skeleton Captain"},"1762":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"1763":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":1.0,"electric":0.5,"name":"Lesser Mu-miyah"},"1764":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":1.0,"electric":0.46,"name":"Greater Mu-miyah"},"1765":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Horrible Mu-miyah"},"1766":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Stony Armoredillo"},"1986":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.55,"cold":0.0,"acid":0.4,"electric":0.8,"name":"Water Wisp"},"1987":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.4,"cold":0.0,"acid":0.4,"electric":0.8,"name":"Ghost Wisp"},"1988":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.8,"name":"Dark Wisp"},"1989":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.8,"name":"Shadow Wisp"},"2186":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.6,"electric":1.0,"name":"Mosswart Shaman"},"2564":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.7,"cold":0.5,"acid":0.5,"electric":0.7,"name":"Freshwater Armoredillo"},"2565":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.7,"cold":0.5,"acid":0.4,"electric":0.7,"name":"Shore Armoredillo"},"2568":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"White Rabbit"},"2569":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath N'gell"},"2570":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath S'tath"},"2571":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath N'osaj"},"2572":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath D'Nob"},"2573":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath T'aed"},"2574":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Rough Monouga"},"2575":{"slash":0.52,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.46,"name":"Crude Monouga"},"2576":{"slash":0.52,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.46,"name":"Wild Monouga"},"2577":{"slash":0.85,"pierce":1.0,"bludgeon":0.85,"fire":1.0,"cold":0.52,"acid":0.45,"electric":0.85,"name":"Shallows Shark"},"2578":{"slash":0.85,"pierce":1.0,"bludgeon":0.85,"fire":1.0,"cold":0.52,"acid":0.45,"electric":0.85,"name":"Shallows Lurker"},"2579":{"slash":0.85,"pierce":1.0,"bludgeon":0.85,"fire":1.0,"cold":0.52,"acid":0.45,"electric":0.85,"name":"Shallows Slayer"},"2580":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"White Mattekar"},"2581":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"Snowy Mattekar"},"2582":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Great Mattekar"},"2583":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.4,"electric":0.4,"name":"Se Sclavus"},"2584":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.4,"electric":0.4,"name":"Aste Sclavus"},"2585":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Essa Sclavus"},"2586":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sata Sclavus"},"2608":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.6,"cold":0.8,"acid":0.85,"electric":0.65,"name":"Jibrit Zefir"},"2610":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.6,"cold":0.8,"acid":0.85,"electric":0.65,"name":"Kilif Zefir"},"2611":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.6,"cold":0.8,"acid":0.85,"electric":0.65,"name":"Zofrit Zefir"},"2612":{"slash":0.8,"pierce":0.9,"bludgeon":0.7,"fire":0.7,"cold":1.0,"acid":0.8,"electric":0.8,"name":"Outcast Monouga"},"3663":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Skeleton"},"4108":{"slash":0.9,"pierce":0.9,"bludgeon":1.0,"fire":0.8,"cold":1.42,"acid":1.0,"electric":0.85,"name":"Gnawer Shreth"},"4109":{"slash":0.8,"pierce":0.8,"bludgeon":1.0,"fire":0.8,"cold":1.42,"acid":1.0,"electric":0.85,"name":"Carrion Shreth"},"4110":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":1.0,"electric":0.6,"name":"Blood Shreth"},"4111":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Hunter Shreth"},"4112":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Vorous Shreth"},"4123":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Tortured Soul"},"4124":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich Overseer"},"4125":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Pile O' Bones"},"4126":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Accursed Miner"},"4127":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Cursed Foreman"},"4131":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Tan Rat"},"4132":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Russet Rat"},"4212":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Tremendous Monouga"},"4216":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Diamond Golem"},"4217":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Revenant"},"4243":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.7,"cold":0.5,"acid":0.4,"electric":0.7,"name":"Horned Chittick"},"4244":{"slash":0.6,"pierce":1.0,"bludgeon":0.5,"fire":0.65,"cold":0.7,"acid":1.0,"electric":0.65,"name":"Stinging Chittick"},"4245":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Snippet"},"4246":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Rank Moarsman"},"4247":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Foul Moarsman"},"4248":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Putrid Moarsman"},"4249":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Young Mosswart"},"4250":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worm"},"4251":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"4252":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Crawler"},"4253":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Panumbris Shadow"},"4254":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbris Shadow"},"4255":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":1.42,"acid":0.42,"electric":0.42,"name":"Malus Shreth"},"4256":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":0.86,"cold":0.25,"acid":0.42,"electric":0.25,"name":"Slithis Tendril"},"4257":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":0.86,"cold":0.25,"acid":0.42,"electric":0.25,"name":"Slithis Tentacle"},"4258":{"slash":0.86,"pierce":0.58,"bludgeon":0.25,"fire":0.86,"cold":0.25,"acid":0.58,"electric":0.13,"name":"Slithis Eye Stalk"},"4259":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":0.86,"cold":0.25,"acid":0.42,"electric":0.25,"name":"Slithayr Tendril"},"4260":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":0.86,"cold":0.25,"acid":0.42,"electric":0.25,"name":"Slithayr Tentacle"},"4261":{"slash":0.86,"pierce":0.58,"bludgeon":0.25,"fire":0.86,"cold":0.25,"acid":0.58,"electric":0.13,"name":"Slithayr Eye Stalk"},"4266":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Old Bones"},"4897":{"slash":0.58,"pierce":0.3,"bludgeon":1.0,"fire":0.9,"cold":0.4,"acid":0.42,"electric":0.4,"name":"Guardian of the Crypt"},"4984":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Gelidite Acolyte"},"4985":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"Frost Mattekar"},"4986":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Gelidite Initiate"},"4987":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Undead"},"4991":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.0,"acid":0.75,"electric":0.86,"name":"Fenngar"},"4992":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.0,"acid":0.75,"electric":0.86,"name":"Ferundi"},"4993":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.0,"acid":0.75,"electric":0.86,"name":"Frisander"},"5025":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.4,"electric":0.4,"name":"Aste Sclavus"},"5165":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Slinker"},"5369":{"slash":1.0,"pierce":0.7,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Undead"},"5430":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadowy Warrior"},"5497":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Director"},"5595":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Skulker"},"5596":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"5597":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Scout"},"5598":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Raver"},"5599":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Female Tusker"},"5600":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Goldenback Tusker"},"5656":{"slash":0.6,"pierce":0.3,"bludgeon":0.9,"fire":1.0,"cold":0.3,"acid":0.4,"electric":0.4,"name":"Lord Kelannik"},"5658":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Captain"},"5669":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.6,"cold":0.8,"acid":0.85,"electric":0.65,"name":"Kilif Zefir"},"5682":{"slash":0.58,"pierce":0.4,"bludgeon":1.0,"fire":0.75,"cold":0.5,"acid":0.6,"electric":0.5,"name":"Charred Skeleton"},"5683":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.75,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Seared Skeleton"},"5684":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.75,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Foreman Brelax"},"5685":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.75,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Lord Cambarth"},"5686":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Master"},"5687":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Alfrega the Reedshark"},"5705":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.0,"cold":1.1,"acid":0.65,"electric":0.65,"name":"Flicker"},"5710":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.0,"cold":1.1,"acid":0.65,"electric":0.65,"name":"Flare"},"5711":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Flamma"},"5712":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Inferno"},"5748":{"slash":1.0,"pierce":1.0,"bludgeon":0.18,"fire":0.0,"cold":0.18,"acid":0.75,"electric":0.18,"name":"Fire Wisp"},"5750":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Skeleton"},"5751":{"slash":0.83,"pierce":0.83,"bludgeon":0.8,"fire":1.0,"cold":0.0,"acid":0.83,"electric":0.8,"name":"Ice Golem (NEW)"},"5752":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"5760":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Chilly the Snowman"},"5761":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Snowman"},"5766":{"slash":0.8,"pierce":0.51,"bludgeon":0.8,"fire":1.0,"cold":0.0,"acid":0.8,"electric":0.8,"name":"Snowman"},"5771":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.8,"name":"Lag Beast"},"5867":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Frisirth"},"5868":{"slash":0.9,"pierce":0.52,"bludgeon":0.75,"fire":0.9,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Gelidite Lord"},"5869":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Sir Joffre Tremblant"},"5890":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Hoary Mattekar"},"5891":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"The Great Work"},"5921":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.2,"acid":0.7,"electric":0.6,"name":"Impious Lichen High Priest"},"5922":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.2,"acid":0.7,"electric":0.6,"name":"Impious Lichen Priest"},"5931":{"slash":0.5,"pierce":0.4,"bludgeon":0.9,"fire":1.0,"cold":0.5,"acid":0.6,"electric":0.7,"name":"Impious Occasus Guardian"},"5932":{"slash":0.5,"pierce":0.4,"bludgeon":0.9,"fire":0.7,"cold":0.5,"acid":0.6,"electric":1.0,"name":"Impious Superna Guardian"},"5933":{"slash":0.5,"pierce":0.4,"bludgeon":0.9,"fire":0.5,"cold":1.0,"acid":0.6,"electric":0.7,"name":"Impious Inferus Guardian"},"5934":{"slash":0.5,"pierce":0.4,"bludgeon":0.9,"fire":0.7,"cold":0.5,"acid":1.0,"electric":0.6,"name":"Impious Mortuus Guardian"},"6039":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Broken Fragment"},"6040":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Fragment"},"6041":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Dual Fragment"},"6080":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"White Bunny"},"6356":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Silencia's Magma Golem"},"6379":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Astyrrian"},"6380":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Scintilla"},"6381":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.1,"cold":0.5,"acid":1.0,"electric":0.0,"name":"Spark"},"6382":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":1.1,"electric":0.0,"name":"Static"},"6384":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Emote Test Drudge"},"6402":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Panumbris Shadow"},"6403":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbris Shadow"},"6442":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Test Start Cow Event Drudge"},"6443":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Test Stop Cow Event Drudge"},"6452":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Ler Rhan"},"6453":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Ler Rhan"},"6534":{"slash":1.0,"pierce":0.85,"bludgeon":0.9,"fire":1.0,"cold":0.5,"acid":0.65,"electric":0.85,"name":"Shadow Sprite"},"6535":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Small Shadow Child"},"6536":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Small Shadow Spire Child"},"6537":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Spire"},"6538":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Spire Child"},"6539":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Spire Lieutenant"},"6540":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Panumbris Shadow Spire"},"6554":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Captain"},"6555":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Captain"},"6556":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Black Ferah"},"6557":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Black Ferah"},"6558":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Ler Rhan"},"6559":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Black Ferah"},"6560":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Isin Dule"},"6561":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Isin Dule"},"6635":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Crawler"},"6636":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Injured Olthoi"},"6637":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"6638":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Nymph"},"6639":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Queen"},"6640":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Soldier"},"6641":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worker"},"6642":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worm"},"6644":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Emote Test Drudge 2"},"6645":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Magma Golem"},"6771":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":1.0,"electric":0.46,"name":"Leikotha"},"6772":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":1.0,"electric":0.46,"name":"Greater Mu-miyah"},"6773":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"6774":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"6775":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"6784":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Captain"},"6785":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Black Ferah"},"6788":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Nexus Crystal"},"6806":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Nexus Fragment"},"6810":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Nexus Shadow"},"6811":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Nexus Shadow Captain"},"6823":{"slash":0.83,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.77,"acid":0.8,"electric":0.67,"name":"Baby Wood Golem"},"6824":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Mosswart Baby"},"6825":{"slash":0.75,"pierce":1.0,"bludgeon":1.5,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Baby Olthoi"},"6829":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Eastham Spire Shadow"},"6830":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Cragstone Spire Shadow"},"6831":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tou-Tou Spire Shadow"},"6832":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Sawato Spire Shadow"},"6833":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Khayyaban Spire Shadow"},"6834":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tufa Spire Shadow"},"7081":{"slash":0.5,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Plate Armoredillo"},"7082":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.4,"electric":0.7,"name":"Island Armoredillo"},"7083":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Titanium Armoredillo"},"7084":{"slash":0.5,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Hoary Armoredillo"},"7085":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Berserker"},"7086":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Thrasher"},"7087":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Ogre"},"7088":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Mauler"},"7089":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Altered Drudge"},"7090":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Augmented Drudge"},"7091":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Ascendant Drudge"},"7092":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Firestorm"},"7093":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Hellfire"},"7094":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Synnast"},"7095":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Scathisa"},"7096":{"slash":0.33,"pierce":0.33,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Gold Golem"},"7097":{"slash":0.33,"pierce":0.33,"bludgeon":0.8,"fire":0.75,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Platinum Golem"},"7098":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.0,"cold":0.85,"acid":0.8,"electric":1.0,"name":"Plasma Golem"},"7099":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Vapor Golem"},"7100":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Extas Lugian"},"7101":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Tiatus Lugian"},"7102":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Mire-Witch"},"7103":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Clinger"},"7104":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Swamp Lord"},"7105":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.25,"name":"White Phyntos Wasp"},"7106":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.58,"acid":0.15,"electric":1.0,"name":"Sewer Rat"},"7107":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.58,"acid":0.58,"electric":1.0,"name":"Wasteland Rat"},"7108":{"slash":0.85,"pierce":1.0,"bludgeon":0.85,"fire":1.0,"cold":0.52,"acid":0.45,"electric":0.85,"name":"Shallows Destroyer"},"7109":{"slash":0.85,"pierce":1.0,"bludgeon":0.85,"fire":1.0,"cold":0.52,"acid":0.45,"electric":0.85,"name":"Shallows Devourer"},"7110":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Ulu Sclavus"},"7111":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Faisi Sclavus"},"7112":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Chomu Sclavus"},"7113":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Gauloth Shreth"},"7114":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Rendeath Shreth"},"7115":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Albino Tusker"},"7116":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"High Mu-miyah"},"7117":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Guardian Mu-miyah"},"7118":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Royal Mu-miyah"},"7119":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Imperial Mu-miyah"},"7120":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Emperor Geraine I"},"7121":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Bone Lord"},"7122":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Great Skeleton"},"7123":{"slash":0.52,"pierce":1.0,"bludgeon":0.46,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Leech"},"7124":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Magus"},"7125":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.9,"name":"Affliction Wisp"},"7126":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.9,"name":"Cursed Wisp"},"7127":{"slash":1.0,"pierce":1.0,"bludgeon":0.18,"fire":0.0,"cold":0.18,"acid":0.75,"electric":0.18,"name":"Nightmare Wisp"},"7128":{"slash":1.0,"pierce":0.75,"bludgeon":0.86,"fire":0.08,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Sufut Zefir"},"7129":{"slash":1.0,"pierce":0.75,"bludgeon":0.86,"fire":0.08,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Nalif Zefir"},"7178":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Cursed Bones"},"7179":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Relic Bones"},"7183":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Jungle Phyntos Wasp"},"7184":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Silver Tusker"},"7330":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Striker"},"7331":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Enforcer"},"7332":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Blade"},"7333":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Mangler"},"7334":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Bone Knight"},"7335":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Altered Drudge"},"7336":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Augmented Drudge"},"7337":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Ascendant Drudge"},"7340":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"7345":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Striker"},"7346":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Enforcer"},"7348":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lesser Acolyte"},"7349":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lesser Acolyte"},"7350":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"High Acolyte"},"7369":{"slash":0.5,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.1,"acid":0.6,"electric":0.7,"name":"Aerfalle's Weakened Apprentice"},"7370":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Mount Esper Firestorm"},"7371":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Mount Lethe Hellfire"},"7372":{"slash":0.5,"pierce":0.2,"bludgeon":1.0,"fire":0.7,"cold":0.3,"acid":0.4,"electric":0.4,"name":"Relic Watchman"},"7373":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Tenkarrdun Hellfire"},"7392":{"slash":0.5,"pierce":0.5,"bludgeon":0.7,"fire":0.0,"cold":0.9,"acid":0.2,"electric":0.3,"name":"Behemoth of Tenkarrdun"},"7393":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Obsidian Golem"},"7397":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Revenant Antiquary"},"7401":{"slash":0.5,"pierce":0.3,"bludgeon":0.9,"fire":0.9,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Smith Ejan"},"7402":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Garaena the Emissary"},"7403":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Faladha the Emissary"},"7404":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Repair Golem"},"7405":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Smithing Golem"},"7421":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Diamond Golem"},"7422":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Revenant"},"7423":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich Lord"},"7424":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Revenant"},"7431":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"7432":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"7433":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"7487":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Inferno"},"7490":{"slash":0.58,"pierce":0.3,"bludgeon":1.0,"fire":0.9,"cold":0.4,"acid":0.42,"electric":0.4,"name":"Skeleton Captain"},"7491":{"slash":0.58,"pierce":0.4,"bludgeon":1.0,"fire":0.9,"cold":0.5,"acid":0.6,"electric":0.5,"name":"Skeleton Warrior"},"7507":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Coral Golem"},"7550":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Amploth Raider"},"7551":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Extas Raider"},"7552":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gigas Raider"},"7553":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Laigus Raider"},"7554":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lithos Raider"},"7555":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Obeloth Raider"},"7607":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Ember"},"7618":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.33,"electric":0.4,"name":"Cave-in"},"7619":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.33,"electric":0.4,"name":"Granite Golem"},"7626":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Coral Golem"},"7780":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Ashen Bones"},"7818":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.8,"name":"an evil presence"},"7819":{"slash":1.0,"pierce":0.7,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Zombie"},"7820":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"7821":{"slash":0.58,"pierce":0.3,"bludgeon":1.0,"fire":0.9,"cold":0.4,"acid":0.42,"electric":0.4,"name":"Skeleton Captain"},"7822":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"7978":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Scrawed Grievver"},"7979":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Virulent Grievver"},"7980":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Venomous Grievver"},"7981":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Harrower Grievver"},"7982":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Destroyer Grievver"},"7983":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Bane Grievver"},"7984":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Parfal Niffis"},"7985":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Listris Niffis"},"7986":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Glissnal Niffis"},"7987":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Opor Niffis"},"7988":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Sephal Niffis"},"7989":{"slash":0.75,"pierce":1.0,"bludgeon":0.75,"fire":0.86,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Scavenger Ursuin"},"7990":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Field Ursuin"},"7991":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Tiofor Ursuin"},"7992":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Esper Ursuin"},"7993":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Linvak Ursuin"},"7994":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Dire Ursuin"},"8010":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Broken Fragment"},"8011":{"slash":0.5,"pierce":0.8,"bludgeon":0.9,"fire":0.2,"cold":0.6,"acid":0.3,"electric":0.9,"name":"Caulnalain Crystal"},"8012":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Dual Fragment"},"8013":{"slash":0.5,"pierce":0.8,"bludgeon":0.9,"fire":0.2,"cold":0.6,"acid":0.3,"electric":0.9,"name":"Fenmalain Crystal"},"8014":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Fragment"},"8015":{"slash":0.5,"pierce":0.8,"bludgeon":0.9,"fire":0.2,"cold":0.6,"acid":0.3,"electric":0.9,"name":"Shendolain Crystal"},"8034":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Caulnalain Soul Crystal"},"8035":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Fenmalain Soul Crystal"},"8036":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Shendolain Soul Crystal"},"8052":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Scrawed Grievver"},"8053":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow"},"8054":{"slash":1.0,"pierce":0.85,"bludgeon":0.9,"fire":1.0,"cold":0.5,"acid":0.65,"electric":0.85,"name":"Shadow Sprite"},"8055":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Child"},"8105":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Cyst"},"8108":{"slash":1.0,"pierce":0.9,"bludgeon":1.0,"fire":0.0,"cold":0.6,"acid":0.3,"electric":1.0,"name":"Caulnalain Satellite Fragment"},"8109":{"slash":1.0,"pierce":0.9,"bludgeon":1.0,"fire":0.0,"cold":0.6,"acid":0.3,"electric":1.0,"name":"Fenmalain Satellite Fragment"},"8110":{"slash":1.0,"pierce":0.9,"bludgeon":1.0,"fire":0.0,"cold":0.6,"acid":0.3,"electric":1.0,"name":"Shendolain Satellite Fragment"},"8120":{"slash":0.9,"pierce":0.5,"bludgeon":0.6,"fire":0.9,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Caulnalain Shadow Leader"},"8121":{"slash":0.9,"pierce":0.5,"bludgeon":0.6,"fire":0.9,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Fenmalain Shadow Leader"},"8122":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.2,"acid":0.7,"electric":0.6,"name":"Sahoni Arsanc"},"8123":{"slash":0.5,"pierce":0.5,"bludgeon":0.9,"fire":0.9,"cold":0.1,"acid":0.6,"electric":0.7,"name":"Elleina of Berkesh"},"8137":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Tiatus Raider"},"8138":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Extas Raider"},"8139":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gigas Raider"},"8140":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Laigus Raider"},"8141":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lithos Raider"},"8142":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Obeloth Raider"},"8143":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Amploth Raider"},"8215":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Warrior Princess"},"8216":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Squire"},"8222":{"slash":0.85,"pierce":0.85,"bludgeon":1.0,"fire":1.0,"cold":0.85,"acid":0.9,"electric":0.8,"name":"Swamp Rat"},"8258":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Captain"},"8264":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Sotiris Virindi Director"},"8265":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Tumideon Virindi Director"},"8267":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow"},"8268":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Lieutenant"},"8269":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Tumideon Hollow Minion"},"8270":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Sotiris Hollow Minion"},"8271":{"slash":1.0,"pierce":0.72,"bludgeon":1.0,"fire":1.0,"cold":0.72,"acid":0.72,"electric":1.0,"name":"Rickety Scarecrow"},"8272":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Suspicious Scarecrow"},"8273":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":1.0,"cold":0.42,"acid":0.42,"electric":0.86,"name":"Shifty Scarecrow"},"8274":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":1.0,"cold":0.42,"acid":0.42,"electric":0.86,"name":"Shady Scarecrow"},"8405":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Flamma"},"8406":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.0,"cold":1.1,"acid":0.65,"electric":0.65,"name":"Flare"},"8407":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.6,"cold":0.8,"acid":0.85,"electric":0.65,"name":"Zofrit Zefir"},"8423":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Small Shadow Child"},"8427":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Fanatic"},"8428":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Idolator"},"8429":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Zealot"},"8430":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Soul Trapper"},"8431":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.46,"name":"Nomad Mu-miyah"},"8466":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Idol"},"8467":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Dread Idol"},"8468":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":0.86,"cold":0.25,"acid":0.42,"electric":0.25,"name":"Sulthis Tendril"},"8469":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":0.86,"cold":0.25,"acid":0.42,"electric":0.25,"name":"Sulthis Tentacle"},"8470":{"slash":0.86,"pierce":0.58,"bludgeon":0.25,"fire":0.86,"cold":0.25,"acid":0.58,"electric":0.13,"name":"Sulthis Eye Stalk"},"8518":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Lady Aerfalle"},"8537":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Asmolum the Worm"},"8538":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Bane Grievver"},"8539":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.46,"name":"Anadil of Shakrassekor"},"8540":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Dark Revenant"},"8541":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Governess"},"8542":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Shard of the Herald"},"8543":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Chalicmere Legion Commander"},"8544":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Silver Tusker"},"8545":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"8562":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"8563":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"8583":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"The Black Breath"},"8591":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Revenant"},"8592":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Revenant"},"8593":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Relic Bones"},"8594":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Ashen Bones"},"8595":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Cursed Bones"},"8596":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Lady Aerfalle"},"8672":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Risen Soldier"},"8673":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Risen Knight"},"8815":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Mausoleum Warden"},"8816":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Mausoleum Guardian"},"8817":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Lower Shadow Heart Leader"},"8818":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Upper Shadow Heart Leader"},"8819":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Chakron Flux Virindi Master"},"8820":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Chakron Flux Virindi Servant"},"8821":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Bael'Zharon"},"8822":{"slash":0.45,"pierce":0.4,"bludgeon":0.3,"fire":0.45,"cold":0.1,"acid":0.2,"electric":0.25,"name":"A Shadow of Black Ferah"},"8823":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Ler Rahn"},"8866":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Putrid Moarsman"},"8869":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Master"},"8872":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"White Rabbit"},"8873":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Mosswart Baby"},"8967":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Decaying Warrior"},"8968":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Fleshless Warrior"},"9048":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Guardian Golem"},"9049":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.1,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Iron Golem"},"9050":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Turbid Nephol Golem"},"9051":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Turbid Nephol Golem"},"9052":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Tenuous Nephol Golem"},"9053":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Tenuous Nephol Golem"},"9054":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Diaphanous Nephol Golem"},"9055":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Diaphanous Nephol Golem"},"9056":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Eaushi the Trainer"},"9057":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Zirconium Golem"},"9099":{"slash":1.0,"pierce":1.0,"bludgeon":0.18,"fire":0.0,"cold":0.18,"acid":0.75,"electric":0.18,"name":"Summoned Pulsar Wisp"},"9100":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.8,"name":"The Guardian Spirit"},"9163":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Mire-Witch"},"9165":{"slash":0.5,"pierce":0.8,"bludgeon":0.6,"fire":1.0,"cold":0.4,"acid":0.8,"electric":1.0,"name":"Gragghk"},"9198":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Aerbax's Apprentice"},"9242":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Innocent Doll"},"9243":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Innocuous Doll"},"9244":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Pristine Doll"},"9249":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.1,"acid":0.91,"electric":0.1,"name":"Marionette"},"9250":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.1,"acid":0.91,"electric":0.1,"name":"Dark Marionette"},"9251":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Brutish Monouga"},"9252":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Ferocious Monouga"},"9253":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Wily Monouga"},"9254":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Ancient Mu-miyah"},"9255":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Dread Mu-miyah"},"9256":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Dune Reaver"},"9257":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Silt Lurker"},"9264":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Executor"},"9325":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Adirred the Theoretician"},"9326":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"9380":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Cazamal the Envoy"},"9381":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Esard the Legate"},"9382":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Geraux the Legate"},"9383":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Nelamar the Legate"},"9396":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Master of the Hunt"},"9397":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Montok Commander"},"9398":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Master of the Gotrok"},"9399":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lugian Commander"},"9400":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Dire Mattekar"},"9401":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":0.25,"cold":1.0,"acid":0.75,"electric":0.25,"name":"Dread Mattekar"},"9408":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Balor"},"9463":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lieutenant Master of the Hunt"},"9464":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Montok Lieutenant"},"9465":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lieutenant of the Gotrok"},"10708":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Northern Black Claw Leader"},"10709":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Southern Black Claw Leader"},"10710":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Northern Black Claw Raider"},"10711":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Southern Black Claw Raider"},"10717":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Lacandrillar the Inculcator"},"10718":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Staging Ground Director"},"10738":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Berkholt the Burly"},"10739":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Daryam ibn Zubed"},"10740":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Ellimar Jorning"},"10741":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Muhiza bint Murqidh"},"10742":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Nihara bint Umar"},"10743":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Sang Nen-Kai"},"10744":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Sung Wenxio"},"10745":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Servant Thiuda the Sharp-Eyed"},"10767":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Battered Doll"},"10769":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Battered Doll"},"10770":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Beaten Doll"},"10772":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Beaten Doll"},"10773":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Broken Doll"},"10774":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Broken Doll"},"10775":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Augmented Drudge"},"10776":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Unconquered Drudge"},"10778":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Unconquered Drudge"},"10787":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Terebrous Hollow Minion"},"10789":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Terebrous Hollow Minion"},"10790":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Tumideon Hollow Minion"},"10798":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Ethereal Rift"},"10799":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Narrow Rift"},"10800":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Quiddity Rift"},"10801":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Shallow Rift"},"10802":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Unstable Rift"},"10810":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Rampager"},"10811":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Rampager"},"10814":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Inquisitor"},"10815":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Inquisitor"},"10817":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Althoucault, Speaker of the New Directive"},"10818":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Executor"},"10819":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Ephor of Unity"},"10822":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Dirrich, the Warden"},"10823":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Lythusser the Diplomat"},"10824":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Guardian of the Singularity"},"10825":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"10901":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Glowing Pustule"},"10902":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Glowing Pustule"},"10903":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Glowing Pustule"},"10904":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"10905":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"10906":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"10907":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Noble"},"10908":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Soldier"},"10909":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Soldier"},"10910":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worker"},"10911":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worker"},"10912":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"10913":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"10914":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"10915":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"10936":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Small Golem"},"10938":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Li Fanli"},"10940":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Itala the Knife"},"10941":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Torgrym the Magnificent"},"10942":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Adroth Salson"},"10943":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Den-Ru Chang"},"10944":{"slash":1.0,"pierce":0.7,"bludgeon":0.6,"fire":0.4,"cold":1.0,"acid":0.7,"electric":0.7,"name":"Manuaka"},"10945":{"slash":1.0,"pierce":0.7,"bludgeon":0.6,"fire":0.4,"cold":1.0,"acid":0.7,"electric":0.7,"name":"Reshalra"},"10946":{"slash":1.0,"pierce":0.7,"bludgeon":0.6,"fire":0.4,"cold":1.0,"acid":0.7,"electric":0.7,"name":"Utelari"},"10947":{"slash":1.0,"pierce":0.7,"bludgeon":0.6,"fire":0.4,"cold":1.0,"acid":0.7,"electric":0.7,"name":"Sahkurea"},"10953":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Collector"},"10954":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Executor"},"10955":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Executor"},"10956":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"10957":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"11020":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11021":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11022":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11023":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11024":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11025":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11026":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11027":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11028":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11029":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11030":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11031":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11032":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11033":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11034":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11035":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11036":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11037":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11038":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11039":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11040":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11041":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11042":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11043":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11044":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11045":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11046":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11047":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11048":{"slash":0.5,"pierce":0.7,"bludgeon":0.7,"fire":0.5,"cold":0.7,"acid":0.3,"electric":0.45,"name":"Olthoi Queen"},"11049":{"slash":0.5,"pierce":0.7,"bludgeon":0.7,"fire":0.5,"cold":0.7,"acid":0.3,"electric":0.45,"name":"Olthoi Queen"},"11050":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Royal Guard"},"11051":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11052":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11053":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11054":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11055":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11056":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11057":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11058":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11059":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11060":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Worker"},"11061":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Worker"},"11062":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Worker"},"11063":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Worker"},"11478":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11479":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Gardener"},"11480":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Harvester"},"11481":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Legionary"},"11482":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Noble"},"11483":{"slash":0.3,"pierce":0.5,"bludgeon":0.5,"fire":0.3,"cold":0.5,"acid":0.1,"electric":0.25,"name":"Olthoi Queen"},"11484":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Soldier"},"11485":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Worker"},"11486":{"slash":0.7,"pierce":0.5,"bludgeon":0.9,"fire":0.4,"cold":1.0,"acid":1.0,"electric":0.4,"name":"Kithless Siraluun"},"11487":{"slash":0.9,"pierce":0.7,"bludgeon":1.0,"fire":0.8,"cold":1.0,"acid":1.0,"electric":0.6,"name":"Littoral Siraluun"},"11488":{"slash":0.9,"pierce":0.7,"bludgeon":1.0,"fire":0.8,"cold":1.0,"acid":1.0,"electric":0.6,"name":"Marsh Siraluun"},"11489":{"slash":0.7,"pierce":0.5,"bludgeon":0.9,"fire":0.4,"cold":1.0,"acid":1.0,"electric":0.4,"name":"Strand Siraluun"},"11490":{"slash":0.9,"pierce":0.7,"bludgeon":1.0,"fire":0.8,"cold":1.0,"acid":1.0,"electric":0.6,"name":"Tidal Siraluun"},"11491":{"slash":0.9,"pierce":0.7,"bludgeon":1.0,"fire":0.8,"cold":1.0,"acid":1.0,"electric":0.6,"name":"Timber Siraluun"},"11493":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Feral Carenzi"},"11495":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Rabid Carenzi"},"11498":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Assassin"},"11502":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Cutthroat"},"11503":{"slash":0.87,"pierce":0.87,"bludgeon":0.87,"fire":0.87,"cold":0.87,"acid":0.87,"electric":0.87,"name":"Highwayman"},"11506":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":1.0,"electric":0.9,"name":"Zharalim"},"11517":{"slash":0.65,"pierce":1.0,"bludgeon":0.65,"fire":1.0,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Hea Elder Shaman"},"11519":{"slash":0.85,"pierce":0.85,"bludgeon":0.85,"fire":0.85,"cold":1.0,"acid":1.0,"electric":0.85,"name":"Hea Itealuan"},"11520":{"slash":1.0,"pierce":0.85,"bludgeon":1.0,"fire":0.85,"cold":0.85,"acid":0.85,"electric":0.85,"name":"Hea Nualuan"},"11522":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":1.0,"acid":0.75,"electric":1.0,"name":"Hea Shaman"},"11524":{"slash":0.85,"pierce":0.85,"bludgeon":0.85,"fire":0.85,"cold":0.85,"acid":1.0,"electric":0.85,"name":"Hea Windreave"},"11526":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ebon Gromnie"},"11527":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Sable Gromnie"},"11528":{"slash":0.83,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.77,"acid":1.0,"electric":0.8,"name":"Elaniwood Golem"},"11529":{"slash":0.75,"pierce":0.75,"bludgeon":0.3,"fire":1.0,"cold":0.5,"acid":0.8,"electric":0.1,"name":"Gold Golem"},"11530":{"slash":0.65,"pierce":0.65,"bludgeon":0.2,"fire":0.8,"cold":0.4,"acid":0.7,"electric":0.1,"name":"Platinum Golem"},"11531":{"slash":0.55,"pierce":0.55,"bludgeon":0.8,"fire":0.9,"cold":1.0,"acid":1.0,"electric":0.8,"name":"Sand Golem"},"11532":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Sable Gromnie"},"11533":{"slash":1.0,"pierce":0.75,"bludgeon":0.86,"fire":0.01,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Azael Zefir"},"11534":{"slash":1.0,"pierce":0.75,"bludgeon":0.86,"fire":0.01,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Enku Zefir"},"11535":{"slash":1.0,"pierce":1.0,"bludgeon":0.7,"fire":0.1,"cold":0.7,"acid":0.75,"electric":0.7,"name":"Chaos Wisp"},"11536":{"slash":1.0,"pierce":1.0,"bludgeon":0.7,"fire":0.1,"cold":0.7,"acid":0.75,"electric":0.7,"name":"Entropy Wisp"},"11537":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virtuous Doll"},"11538":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Marae Ursuin"},"11539":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Canescent Mattekar"},"11540":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Armored Tusker"},"11541":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Plated Tusker"},"11542":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Martinate Hollow Minion"},"11543":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Mutated Olthoi"},"11616":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Tumideon Hollow Minion"},"11617":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Pristine Doll"},"11618":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Innocuous Doll"},"11619":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Innocent Doll"},"11620":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.1,"acid":0.91,"electric":0.1,"name":"Marionette"},"11621":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Observer"},"11622":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Master"},"11623":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Executor"},"11624":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Slave"},"11625":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.1,"acid":0.91,"electric":0.1,"name":"Dark Marionette"},"11693":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Noble"},"11694":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11695":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Legionary"},"11725":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11726":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Gardener"},"11727":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Harvester"},"11728":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Legionary"},"11729":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Soldier"},"11818":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Cragstone Tower Controller Doll"},"11819":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Hebian-To Tower Controller Doll"},"11820":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Zaikhal Tower Controller Doll"},"11923":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Cragstone Tower Controller Master"},"11924":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Hebian-To Tower Controller Master"},"11925":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Zaikhal Tower Controller Master"},"11926":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Cragstone Tower Controller Puppet"},"11927":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Hebian-To Tower Controller Puppet"},"11928":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Zaikhal Tower Controller Puppet"},"11968":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"11983":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Leader"},"11987":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Sentient Fragment"},"11988":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Pure One"},"11989":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Vagabond"},"11991":{"slash":0.13,"pierce":0.37,"bludgeon":0.5,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Diamond Lord"},"11992":{"slash":0.83,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.77,"acid":0.8,"electric":0.67,"name":"Forest Lord"},"11994":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Basalt Golem"},"11996":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lugian Warlord"},"12000":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Tundra Mattekar"},"12004":{"slash":0.8,"pierce":0.9,"bludgeon":0.7,"fire":0.7,"cold":1.0,"acid":0.8,"electric":0.8,"name":"Outcast Lord"},"12006":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Swamp King"},"12007":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Master of the Swamp"},"12017":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.8,"acid":0.9,"electric":0.9,"name":"Red Phyntos Drone"},"12018":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Master of the Pack"},"12020":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Cold One"},"12023":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Dark Inferno"},"12026":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Dark Myrmidon"},"12027":{"slash":0.58,"pierce":0.3,"bludgeon":1.0,"fire":0.9,"cold":0.4,"acid":0.42,"electric":0.4,"name":"Lord of Decay"},"12037":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Sorcerer"},"12038":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Dread Ursuin"},"12046":{"slash":500.0,"pierce":500.0,"bludgeon":500.0,"fire":500.0,"cold":500.0,"acid":500.0,"electric":50.0,"name":"Mud Golem"},"12186":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":1.0,"electric":0.9,"name":"Zharalim"},"12228":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Void Knight"},"12230":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Falatacot Missionary"},"12231":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Grand Inquisitor"},"12237":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Singular Doll"},"12249":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Singular Lugian Warlord"},"12263":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Levistras, Speaker of the New Directive"},"12264":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Singular Virindi Director"},"12272":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Singular Extas Raider"},"12273":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Singular Gigas Raider"},"12274":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Singular Tiatus Raider"},"12298":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"New Singularity Director"},"12299":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Singular Virindi Master"},"12300":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Singular Virindi Servant"},"12680":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Dranith Menacet"},"12681":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Minion Leader"},"12698":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.9,"electric":0.9,"name":"Sparring Golem"},"12699":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.9,"electric":0.9,"name":"Sparring Golem"},"12704":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.8,"acid":0.9,"electric":0.9,"name":"Carpenter Wasp"},"13221":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.8,"name":"Candy Stick"},"14427":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Hollow Minion"},"14428":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Dranith Menacet"},"14429":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Hollow Minion"},"14430":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Hollow Minion"},"14431":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Hollow Minion"},"14464":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Hollow Minion"},"14465":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Hollow Minion"},"14466":{"slash":0.8,"pierce":0.51,"bludgeon":0.8,"fire":1.0,"cold":0.0,"acid":0.8,"electric":0.8,"name":"Two Headed Snowman"},"14512":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.6,"cold":0.1,"acid":0.4,"electric":0.4,"name":"Frost"},"14513":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.2,"acid":0.0,"electric":0.35,"name":"Caustic"},"14514":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Miasma"},"14515":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.2,"acid":0.0,"electric":0.3,"name":"Miasma"},"14516":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Caustic"},"14517":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Frost"},"14518":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Shivver"},"14519":{"slash":0.25,"pierce":0.25,"bludgeon":0.25,"fire":0.4,"cold":0.1,"acid":0.25,"electric":0.25,"name":"Shivver"},"14520":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":0.25,"cold":0.25,"acid":0.55,"electric":0.1,"name":"Pyreal Golem"},"14521":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.05,"acid":1.0,"electric":1.0,"name":"Glacial Golem"},"14522":{"slash":0.25,"pierce":0.25,"bludgeon":0.5,"fire":0.75,"cold":0.05,"acid":0.2,"electric":0.2,"name":"Unstable Glacial Golem"},"14555":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.25,"acid":0.5,"electric":0.25,"name":"Blinding Virindi Energy Cluster"},"14556":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.25,"acid":0.5,"electric":0.25,"name":"Dim Virindi Energy Cluster"},"14557":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.25,"acid":0.5,"electric":0.25,"name":"Faint Virindi Energy Cluster"},"14558":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.25,"acid":0.5,"electric":0.25,"name":"Vibrant Virindi Energy Cluster"},"14559":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Oak Golem"},"14560":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Quiddity Rift"},"14561":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Quiddity Rift"},"14562":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Quiddity Rift"},"14563":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Quiddity Rift"},"14799":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Vibrant Virindi Energy Cluster"},"14800":{"slash":0.05,"pierce":0.05,"bludgeon":0.05,"fire":0.05,"cold":0.05,"acid":0.05,"electric":0.05,"name":"Crystal Golem"},"14801":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Crystal Lord"},"14802":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Crystal Minion"},"14872":{"slash":0.7,"pierce":0.75,"bludgeon":1.0,"fire":0.55,"cold":0.75,"acid":0.55,"electric":0.2,"name":"Altered Olthoi"},"14873":{"slash":0.7,"pierce":0.75,"bludgeon":1.0,"fire":0.55,"cold":0.75,"acid":0.55,"electric":0.2,"name":"Altered Olthoi"},"14874":{"slash":0.7,"pierce":0.75,"bludgeon":1.0,"fire":0.55,"cold":0.75,"acid":0.55,"electric":0.4,"name":"Augmented Olthoi"},"14875":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Hyem"},"14876":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.65,"acid":0.0,"electric":0.0,"name":"Maelstrom"},"14877":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.65,"acid":0.0,"electric":0.0,"name":"Tsuric"},"14878":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.65,"electric":0.65,"name":"Sirrocco"},"14879":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Sirrocco"},"14880":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.65,"electric":0.65,"name":"Theral"},"14907":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Anger"},"14908":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Greed"},"14909":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Jealousy"},"15266":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Acidic Coral Golem"},"15267":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Acidic Diamond Golem"},"15272":{"slash":0.01,"pierce":0.01,"bludgeon":0.01,"fire":0.01,"cold":0.01,"acid":0.01,"electric":0.01,"name":"Dranith Menacet"},"15299":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.66,"acid":0.66,"electric":0.25,"name":"Martinate Simulacrum"},"15300":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.66,"acid":0.66,"electric":0.25,"name":"Martinate Simulacrum Magician"},"16909":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.33,"electric":0.4,"name":"Granite Golem"},"16910":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Obsidian Golem"},"16911":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Lich"},"16912":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Oubliette Gatekeeper"},"16913":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Spinning Grievver"},"16914":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Terebrous Hollow Minion"},"16915":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Tumideon Hollow Minion"},"16916":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Rampager"},"16917":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"New Singularity Director"},"16918":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Director"},"19256":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Young Banderling"},"19257":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Skulker"},"19258":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Slinker"},"19259":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Scion"},"19260":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Snippet"},"19261":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Creeper Mosswart"},"19262":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Young Mosswart"},"19263":{"slash":0.9,"pierce":0.9,"bludgeon":1.0,"fire":0.8,"cold":1.42,"acid":1.0,"electric":0.85,"name":"Gnawer Shreth"},"19264":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Relic Bones"},"19267":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Grievver"},"19270":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Shadow"},"19273":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Virindi"},"19276":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Golem"},"19279":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Sclavus"},"19282":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Skeleton"},"19285":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bronze Statue of a Tumerok"},"19288":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Bronze Statue of a Drudge"},"19291":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Bronze Statue of a Gromnie"},"19294":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Bronze Statue of a Mosswart"},"19297":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Bronze Statue of a Reedshark"},"19300":{"slash":0.1,"pierce":0.1,"bludgeon":0.2,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.8,"name":"Bronze Statue of a Banderling"},"19303":{"slash":0.1,"pierce":0.1,"bludgeon":0.2,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.8,"name":"Bronze Statue of Ben Ten"},"19306":{"slash":0.1,"pierce":0.1,"bludgeon":0.2,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.8,"name":"Bronze Statue of a Sclavus"},"19309":{"slash":0.1,"pierce":0.1,"bludgeon":0.2,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.8,"name":"Bronze Statue of a Skeleton"},"19312":{"slash":0.1,"pierce":0.1,"bludgeon":0.2,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.8,"name":"Bronze Statue of Thorsten Cragstone"},"19315":{"slash":0.1,"pierce":0.1,"bludgeon":0.2,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.8,"name":"Bronze Statue of a Zharalim"},"19425":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Bound Coral Golem"},"19426":{"slash":0.05,"pierce":0.05,"bludgeon":0.05,"fire":0.05,"cold":0.05,"acid":0.05,"electric":0.05,"name":"Bound Crystal Golem"},"19435":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.8,"acid":0.9,"electric":0.9,"name":"Red Phyntos Wasp"},"19436":{"slash":0.75,"pierce":0.6,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.75,"electric":0.75,"name":"Old Bones"},"19439":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Ursuin Slasher"},"19440":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.8,"name":"Wall of Webbing"},"19537":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.65,"electric":0.0,"name":"Avalanche"},"19538":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.65,"electric":0.0,"name":"Blizzard"},"19539":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.0,"electric":0.65,"name":"Conflagration"},"19540":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.0,"electric":0.65,"name":"Scoriscant"},"19541":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":1.0,"name":"Coral Golem Viceroy"},"19542":{"slash":0.05,"pierce":0.05,"bludgeon":0.05,"fire":0.05,"cold":0.05,"acid":0.05,"electric":0.05,"name":"Crystal Golem Imperator"},"19543":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Diamond Golem Suzerain"},"19544":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.05,"acid":1.0,"electric":1.0,"name":"Glacial Golem Margrave"},"19545":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.5,"name":"Magma Golem Exarch"},"20024":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Controlled Flamma"},"20025":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.6,"cold":0.1,"acid":0.4,"electric":0.4,"name":"Controlled Frost"},"20026":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.1,"cold":0.5,"acid":1.0,"electric":0.0,"name":"Harnessed Scintilla"},"20027":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Obedient Obsidian Golem"},"20028":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Martine"},"20186":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Apozim"},"20187":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Buillic"},"20188":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Mox"},"20189":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Brumal"},"20190":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Gelid"},"20191":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":1.1,"cold":0.0,"acid":0.65,"electric":0.65,"name":"Horripal"},"20192":{"slash":0.25,"pierce":0.25,"bludgeon":0.25,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Crystal Lord Sovereign"},"20632":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Champion of the Blood"},"20633":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Warlock of the Blood"},"20634":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Warrior of the Blood"},"20864":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20865":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20866":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20867":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20868":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20869":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20870":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.0,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Corrosion"},"20871":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20872":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20873":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Stasis"},"20874":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Stasis"},"20875":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Stasis"},"20876":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Conflagration"},"20877":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Conflagration"},"20878":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Conflagration"},"20879":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.4,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Conflagration"},"20880":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20881":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20882":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20883":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20884":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Strife"},"20885":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"20886":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"20887":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"20888":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"20889":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"20890":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"20891":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.4,"electric":0.0,"name":"Tempest"},"21160":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Scourge"},"21161":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.0,"electric":1.1,"name":"Singe"},"21162":{"slash":0.6,"pierce":0.65,"bludgeon":0.65,"fire":0.75,"cold":0.5,"acid":0.0,"electric":1.0,"name":"Stringent"},"21163":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.1,"name":"Flamma"},"21164":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Gout"},"21165":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":1.1,"cold":0.0,"acid":0.65,"electric":0.65,"name":"Chill"},"21166":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":1.1,"cold":0.0,"acid":0.65,"electric":0.65,"name":"Flake"},"21167":{"slash":0.25,"pierce":0.25,"bludgeon":0.25,"fire":0.4,"cold":0.0,"acid":0.25,"electric":0.25,"name":"Gelid"},"21168":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Charge"},"21169":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.1,"cold":0.5,"acid":1.0,"electric":0.0,"name":"Scintilla"},"21170":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Voltarc"},"21210":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.8,"name":"Elemental Cloud"},"21371":{"slash":0.25,"pierce":0.25,"bludgeon":0.25,"fire":0.4,"cold":0.0,"acid":0.25,"electric":0.25,"name":"Brumal"},"21383":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Gaerlan"},"21386":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Gaerlan"},"21388":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Gaerlan"},"21390":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Gaerlan"},"21454":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Construction Golem"},"21455":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Construction Golem"},"21456":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Construction Golem"},"21525":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Guard"},"21526":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Rampager"},"21545":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"21546":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"21547":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"21548":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"21549":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.3,"electric":0.9,"name":"Corrosion Wisp"},"21550":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.9,"name":"Stasis Wisp"},"21551":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.9,"acid":0.9,"electric":0.9,"name":"Strife Wisp"},"21552":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.9,"electric":0.3,"name":"Tempest Wisp"},"21771":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.2,"cold":0.2,"acid":0.0,"electric":0.9,"name":"Acidic Tentacle"},"21779":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.9,"acid":0.2,"electric":0.2,"name":"Fiery Tentacle"},"21787":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.9,"cold":0.0,"acid":0.2,"electric":0.2,"name":"Icy Tentacle"},"21795":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.2,"cold":0.2,"acid":0.9,"electric":0.0,"name":"Electric Tentacle"},"22001":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":1.0,"name":"Coral Golem Viceroy"},"22002":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Diamond Golem Suzerain"},"22003":{"slash":0.5,"pierce":0.5,"bludgeon":0.75,"fire":0.85,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Glacial Golem Margrave"},"22004":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.5,"name":"Magma Golem Exarch"},"22009":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.3,"name":"Olthoi Drone"},"22010":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.3,"name":"Olthoi Servant"},"22049":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Foreman Brelax"},"22050":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Lord Cambarth"},"22051":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Charred Miner"},"22052":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Seared Guard"},"22053":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Assailer"},"22054":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Virindi Profatrix"},"22077":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Overseer"},"22113":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Apparition"},"22114":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Zombie"},"22115":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Ursuin Rug Alive"},"22116":{"slash":0.0,"pierce":0.0,"bludgeon":0.0,"fire":0.5,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Dark Sarcophagus"},"22133":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.2,"acid":0.75,"electric":0.86,"name":"Zombie"},"22208":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.75,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Wraith"},"22220":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Ursuin Rug Alive"},"22505":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Savage Carenzi"},"22506":{"slash":0.6,"pierce":1.0,"bludgeon":0.5,"fire":0.65,"cold":0.7,"acid":1.0,"electric":0.65,"name":"Iron Spined Chittick"},"22507":{"slash":0.6,"pierce":1.0,"bludgeon":0.5,"fire":0.65,"cold":0.7,"acid":1.0,"electric":0.65,"name":"Obsidian Chittick"},"22508":{"slash":0.53,"pierce":1.0,"bludgeon":0.8,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.7,"name":"Spiny Chittick"},"22517":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Annihilator"},"22518":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Devastator"},"22519":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Liberator"},"22520":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Redeemer"},"22521":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Gunner"},"22522":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Launcher"},"22523":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Thrower"},"22524":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Tosser"},"22580":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Albino Tusker"},"22581":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Annihilator"},"22582":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Assailer"},"22583":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Assailer"},"22584":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Crimsonback"},"22585":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Crimsonback"},"22586":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Devastator"},"22587":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Devastator"},"22588":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Female Tusker"},"22589":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Female Tusker"},"22590":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Goldenback Tusker"},"22591":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Goldenback Tusker"},"22592":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Guard"},"22593":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Guard"},"22594":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Liberator"},"22595":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Liberator"},"22596":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Male Tusker"},"22597":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Male Tusker"},"22598":{"slash":0.4,"pierce":0.9,"bludgeon":0.7,"fire":0.95,"cold":0.7,"acid":0.7,"electric":0.2,"name":"Mowen Udaun"},"22599":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Rampager"},"22600":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Redeemer"},"22601":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Redeemer"},"22602":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Silver Tusker"},"22603":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Silver Tusker"},"22604":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Slave"},"22605":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Slave"},"22606":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Gunner"},"22607":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Launcher"},"22608":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Thrower"},"22609":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.4,"name":"Tuskie Tosser"},"22610":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Armored Tusker"},"22611":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Armored Tusker"},"22612":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Plated Tusker"},"22613":{"slash":0.42,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Plated Tusker"},"22745":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Jungle Reaver"},"22746":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Reedshark Ravager"},"22747":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Reaper"},"22748":{"slash":0.6,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.66,"acid":1.0,"electric":0.75,"name":"Reedshark Stripling"},"22809":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Bandit"},"22810":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Rogue"},"22829":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Blind Snowman"},"22897":{"slash":0.75,"pierce":0.55,"bludgeon":0.5,"fire":1.05,"cold":0.75,"acid":0.35,"electric":1.25,"name":"Banderling Hierophant"},"22898":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":1.05,"name":"Banderling Paragon"},"22899":{"slash":0.85,"pierce":0.55,"bludgeon":0.9,"fire":0.95,"cold":0.85,"acid":0.85,"electric":0.15,"name":"Drudge Seraph"},"22900":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Bile Grievver"},"22901":{"slash":0.55,"pierce":0.9,"bludgeon":0.85,"fire":0.95,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Swarthy Mattekar"},"22902":{"slash":0.65,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Primordial"},"22903":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Obliterator"},"22904":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Dark Guardian"},"22905":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.7,"electric":0.85,"name":"Lich Oppressor"},"22908":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"The Gatekeeper"},"22909":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Maelstrom Shadow"},"22910":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Pandemonium Shadow"},"22911":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Paroxysm Shadow"},"22912":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Paroxysm Shadow"},"22913":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"The Auditor"},"22914":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Virindi Profane"},"22915":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"The Sage"},"22933":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Mist Golem"},"23035":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Obsidian Excavation Golem"},"23082":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.0,"cold":0.85,"acid":0.8,"electric":1.0,"name":"Nubilous Golem"},"23087":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Raider Justicar"},"23088":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Raider Prefect"},"23089":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Phantom"},"23090":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Spectre"},"23091":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Wraith"},"23205":{"slash":1.2,"pierce":1.2,"bludgeon":1.2,"fire":1.2,"cold":1.2,"acid":1.2,"electric":1.2,"name":"Tremendous Monouga"},"23331":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Rank Moarsman"},"23332":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Parfal Niffis"},"23345":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.1,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Iron Golem Guardian"},"23478":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Predator"},"23479":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Scalper"},"23480":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Bloodletter"},"23481":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Mutilator"},"23482":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Warrior"},"23483":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.4,"electric":0.4,"name":"Aste Sclavus Lord"},"23484":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Chomu Sclavus Lord"},"23485":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Essa Sclavus Lord"},"23486":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Faisi Sclavus Lord"},"23487":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sata Sclavus Lord"},"23488":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Ulu Sclavus Lord"},"23489":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Consul"},"23490":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Councillor"},"23548":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Sentient Crystal Shard"},"23549":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Crystal Shard Sentinel"},"23550":{"slash":0.33,"pierce":0.33,"bludgeon":0.8,"fire":0.75,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Platinum Golem Mountain King"},"23551":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Adolescent Ash Gromnie"},"23552":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.7,"electric":1.0,"name":"Adolescent Azure Gromnie"},"23553":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Adolescent Ivory Gromnie"},"23554":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Adolescent Rust Gromnie"},"23555":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Telumiat Hollow Minion"},"23556":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath An'dras"},"23557":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath G'erg"},"23558":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath La'nal"},"23559":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath N'aes"},"23560":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath S'el"},"23561":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath S'hirc"},"23562":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Abyssal Shadow"},"23563":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Sinister Shadow"},"23564":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tenebrous Shadow"},"23568":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Dreadful Ursuin"},"23569":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Adjudicator"},"23570":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Virindi Paradox"},"23571":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Quidiox"},"23616":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Crystal Shard"},"23624":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Brown Mouse"},"23625":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"White Mouse"},"23769":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Preceptor"},"23987":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Guardian"},"23988":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Noble"},"23989":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Soldier"},"23990":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Eviscerator"},"24029":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Mite Warrior Queen"},"24030":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Royal Mite Matron"},"24031":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Royal Mite Sentry"},"24032":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.8,"name":"Royal Mite Squire"},"24036":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Interrogator"},"24133":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.65,"name":"Crystal Moiety"},"24134":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Reedshark Slasher"},"24270":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.3,"name":"Olthoi Drone"},"24271":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Gardener"},"24272":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Harvester"},"24273":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Nymph"},"24274":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.65,"cold":1.32,"acid":0.88,"electric":0.76,"name":"Banderling Aggressor"},"24275":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Antagonist"},"24276":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Savage"},"24277":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.75,"cold":1.01,"acid":0.95,"electric":0.75,"name":"Banderling Slayer"},"24278":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Drudge Cabalist"},"24279":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Gloom Drudge"},"24280":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Murk Drudge"},"24281":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Drudge Mystic"},"24282":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Peerless Drudge"},"24283":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Drudge Sage"},"24284":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lugian Juggernaut"},"24285":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Raider Juggernaut"},"24286":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.85,"electric":0.85,"name":"Lugian Titan"},"24287":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Bloodthirsty Monouga"},"24288":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Cruel Monouga"},"24289":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Cunning Monouga"},"24290":{"slash":0.55,"pierce":0.8,"bludgeon":0.45,"fire":0.85,"cold":0.65,"acid":0.85,"electric":0.65,"name":"Insidious Monouga"},"24291":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.85,"cold":0.85,"acid":0.75,"electric":0.55,"name":"Merciless Monouga"},"24292":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Pugnacious Monouga"},"24293":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Terrible Monouga"},"24294":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Unruly Monouga"},"24295":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Advance Guard"},"24296":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron"},"24297":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Guard"},"24298":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Mutilator"},"24299":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.3,"name":"Olthoi Swarm Drone"},"24300":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Gardener"},"24301":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Harvester"},"24302":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Legionary"},"24303":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Swarm Matron"},"24304":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Nymph"},"24305":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Warrior"},"24306":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Worker"},"24307":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Vanquisher"},"24308":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Warrior"},"24309":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Eviscerator"},"24310":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.58,"acid":0.58,"electric":1.0,"name":"Direland Rat"},"24311":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Reedshark Skinner"},"24312":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Reedshark Stalker"},"24313":{"slash":0.58,"pierce":0.25,"bludgeon":0.85,"fire":0.75,"cold":0.3,"acid":0.55,"electric":0.4,"name":"Armored Skeleton"},"24314":{"slash":0.58,"pierce":0.25,"bludgeon":0.85,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeletal Champion"},"24315":{"slash":0.58,"pierce":0.25,"bludgeon":0.75,"fire":0.25,"cold":0.3,"acid":0.62,"electric":0.4,"name":"Skeletal Hero"},"24316":{"slash":0.58,"pierce":0.25,"bludgeon":0.75,"fire":0.65,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeletal Mate"},"24317":{"slash":0.58,"pierce":0.25,"bludgeon":0.65,"fire":0.6,"cold":0.3,"acid":0.62,"electric":0.4,"name":"Primeval Skeleton"},"24318":{"slash":0.58,"pierce":0.25,"bludgeon":0.9,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeletal Swashbuckler"},"24319":{"slash":0.9,"pierce":0.52,"bludgeon":0.75,"fire":0.9,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Master"},"24320":{"slash":0.85,"pierce":0.52,"bludgeon":0.75,"fire":0.85,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Great Revenant"},"24321":{"slash":0.55,"pierce":0.52,"bludgeon":0.75,"fire":0.75,"cold":0.1,"acid":0.75,"electric":0.55,"name":"Undead Captain"},"24322":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Undead Lieutenant"},"24323":{"slash":0.85,"pierce":0.52,"bludgeon":0.75,"fire":0.85,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Undead Sailor"},"24324":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Undead Sailor"},"24325":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Phantasm"},"24326":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Risen Lord"},"24347":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Glowing Pustule"},"24449":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron"},"24450":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron"},"24451":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron"},"24452":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron"},"24453":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Mutilator"},"24475":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Harker"},"24478":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Small Coral Golem"},"24479":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.33,"electric":0.4,"name":"Small Granite Golem"},"24480":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.1,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Small Iron Golem"},"24481":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Small Magma Golem"},"24482":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Small Mud Golem"},"24483":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Small Obsidian Golem"},"24484":{"slash":0.33,"pierce":0.5,"bludgeon":1.0,"fire":0.2,"cold":0.2,"acid":1.0,"electric":0.83,"name":"Small Sandstone Golem"},"24485":{"slash":0.33,"pierce":0.5,"bludgeon":0.33,"fire":1.0,"cold":1.0,"acid":0.83,"electric":1.0,"name":"Small Water Golem"},"24486":{"slash":0.83,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.77,"acid":0.8,"electric":0.67,"name":"Small Wood Golem"},"24494":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Extas"},"24495":{"slash":0.66,"pierce":0.85,"bludgeon":0.5,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Juggernaut"},"24496":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.25,"cold":0.35,"acid":0.8,"electric":0.85,"name":"General Garsh"},"24497":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Tiatus"},"24498":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Tumerok Champion Renegade"},"24499":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Renegade War Monger"},"24500":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Renegade Commander Kianar"},"24501":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Renegade Commander Walanawa"},"24502":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Renegade Trooper"},"24517":{"slash":0.55,"pierce":0.55,"bludgeon":0.8,"fire":0.9,"cold":1.0,"acid":1.0,"electric":0.8,"name":"Small Sand Golem"},"24637":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Adolescent Olthoi Brood Matron"},"24638":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Young Olthoi Brood Matron"},"24639":{"slash":0.45,"pierce":0.8,"bludgeon":0.8,"fire":0.45,"cold":0.5,"acid":0.25,"electric":0.4,"name":"Adolescent Olthoi Brood Queen"},"24640":{"slash":0.45,"pierce":0.8,"bludgeon":0.8,"fire":0.45,"cold":0.5,"acid":0.25,"electric":0.4,"name":"Young Olthoi Brood Queen"},"24641":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Egg"},"24660":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.25,"cold":0.35,"acid":0.8,"electric":1.0,"name":"Renegade Gotrok"},"24856":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Harbinger"},"24857":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Harbinger"},"24864":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Iorik Eye Stalk"},"24865":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Iorik Tendril"},"24866":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Iorik Tentacle"},"24867":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sishalti Eye Stalk"},"24868":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sishalti Tendril"},"24869":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sishalti Tentacle"},"24878":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbris Shadow"},"24907":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Elder Brood Matron"},"24908":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron Nymph"},"24909":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.5,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Brood Queen Elder"},"24910":{"slash":0.45,"pierce":0.8,"bludgeon":0.8,"fire":0.45,"cold":0.5,"acid":0.25,"electric":0.4,"name":"Olthoi Brood Queen Nymph"},"24937":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Chicken"},"24938":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Nettler"},"24939":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Amploth"},"24940":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Gigas"},"24941":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Laigus"},"24942":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Lithos"},"24943":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Obeloth"},"24951":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Titan"},"24954":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Montok Lugian"},"24955":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Montok"},"24957":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Lacerator"},"24958":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Lancer"},"24959":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Needler"},"24960":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Piercer"},"24961":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Eviscerator Grub"},"24962":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Noble Grub"},"24963":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Nymph Grub"},"24964":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Soldier Grub"},"25283":{"slash":0.86,"pierce":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Rooster"},"25285":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.25,"cold":0.35,"acid":0.8,"electric":0.85,"name":"Gotrok Extas"},"25291":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath T'amt"},"25292":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Thea'reh"},"25293":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath X'ela"},"25341":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Olthoi Sentinel"},"25345":{"slash":0.4,"pierce":0.45,"bludgeon":0.65,"fire":0.7,"cold":0.55,"acid":0.65,"electric":0.6,"name":"Falatacot Abbess"},"25346":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Falatacot Consort"},"25347":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Falatacot Matriarch"},"25348":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Falatacot Patrician"},"25349":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Virindi Profane"},"25452":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Keeper"},"25453":{"slash":0.55,"pierce":0.6,"bludgeon":0.65,"fire":0.45,"cold":0.5,"acid":0.25,"electric":0.35,"name":"Young Olthoi Queen"},"25455":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Royal Olthoi Guardian"},"25456":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Reinforced Door"},"25552":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Olthoi Sentinel"},"25562":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":1.05,"name":"Banderling Champion"},"25563":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Drudge Seraph Mystic"},"25568":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":1.05,"name":"Harraag, Banderling Champion"},"25569":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Scrum, Drudge Seraph Mystic"},"25578":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"The Chicken"},"25579":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Sister Vitriaka"},"25580":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sarcophagus"},"25586":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Strange Sclavus"},"25596":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":1.0,"electric":0.0,"name":"Amethyst Gromnie"},"25597":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.0,"electric":1.0,"name":"Emerald Gromnie"},"25598":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.0,"cold":1.0,"acid":0.4,"electric":0.4,"name":"Ruby Gromnie"},"25599":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Sapphire Gromnie"},"25659":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath I'km"},"25662":{"slash":1.0,"pierce":1.0,"bludgeon":0.7,"fire":1.0,"cold":0.7,"acid":0.62,"electric":0.76,"name":"Lesser Void Knight"},"25663":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Void Knight"},"25664":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Lesser Shadow Wretch"},"25665":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Wretched"},"25666":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Reinforced Door"},"25667":{"slash":1.0,"pierce":1.0,"bludgeon":0.7,"fire":0.1,"cold":0.7,"acid":0.75,"electric":0.7,"name":"Dark Vapor"},"25745":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"25746":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Gardener"},"25747":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Larvae"},"25748":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Larvae"},"25749":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Harvester"},"25750":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Legionary"},"25751":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Legionary"},"25753":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Scold"},"25754":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Scold Chunk"},"25755":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Scold Lump"},"25756":{"slash":0.8,"pierce":0.51,"bludgeon":0.8,"fire":1.0,"cold":0.0,"acid":0.8,"electric":0.8,"name":"Sam"},"25788":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Chef Pleist"},"25789":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Robert"},"25790":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Nip"},"25791":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Numb"},"25792":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"The Mayor"},"25793":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Elijah"},"25794":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Emma"},"25802":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Eviscerator"},"25803":{"slash":0.55,"pierce":0.25,"bludgeon":0.65,"fire":0.65,"cold":0.3,"acid":0.55,"electric":0.4,"name":"Archfiend"},"25804":{"slash":0.6,"pierce":0.25,"bludgeon":0.75,"fire":0.65,"cold":0.3,"acid":0.4,"electric":0.4,"name":"Armored Skeleton Lord"},"25805":{"slash":0.6,"pierce":0.25,"bludgeon":0.75,"fire":0.65,"cold":0.3,"acid":0.4,"electric":0.4,"name":"Skeletal Fiend"},"25806":{"slash":0.6,"pierce":0.25,"bludgeon":0.65,"fire":0.65,"cold":0.3,"acid":0.45,"electric":0.4,"name":"Tormenter"},"25807":{"slash":0.65,"pierce":0.6,"bludgeon":0.35,"fire":0.5,"cold":0.05,"acid":0.4,"electric":0.85,"name":"Chimera"},"25808":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Demilich"},"25809":{"slash":0.55,"pierce":0.45,"bludgeon":0.7,"fire":0.7,"cold":0.1,"acid":0.7,"electric":0.55,"name":"Elite Revenant"},"25844":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Snarl"},"25845":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Gikar"},"25846":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Puppeteer"},"25847":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"name":"Scourge"},"25848":{"slash":0.8,"pierce":1.0,"bludgeon":0.75,"fire":0.65,"cold":1.0,"acid":0.75,"electric":0.9,"name":"Plaguefang"},"25849":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Atakir, the Dark Prince"},"25850":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Mangy Carenzi"},"25851":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Mottled Carenzi"},"25852":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Ravager"},"25853":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Tainted Carenzi"},"25854":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Befouled Doll"},"25855":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Cosseted Doll"},"25856":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Defiled Doll"},"25857":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Desecrated Doll"},"25858":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Soiled Doll"},"25859":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Biaka"},"25860":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Creeping Margul"},"25861":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Graal Margul"},"25862":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Helcan Margul"},"25863":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Hellion"},"25864":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Stalking Margul"},"25865":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Cursed Marionette"},"25866":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Damned Marionette"},"25867":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Malignant Marionette"},"25868":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Colossal Mite"},"25869":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Giant Mite"},"25870":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Misshapen Mite"},"25871":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Monstrous Mite"},"25872":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Mutated Mite"},"25873":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Glissnal Nefane"},"25874":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Listris Nefane"},"25875":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Parfal Nefane"},"25876":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Sephal Nefane"},"25877":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"name":"Contagion Rat"},"25878":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"name":"Infested Rat"},"25879":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"name":"Pestilence Rat"},"25880":{"slash":0.8,"pierce":1.0,"bludgeon":0.75,"fire":0.65,"cold":1.0,"acid":0.75,"electric":0.9,"name":"Doomshark"},"25881":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Ebon Rift"},"25882":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Schism"},"25883":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tenebrous Rift"},"25884":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Umbral Rift"},"25885":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Dark Zefir"},"25886":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Dusk Zefir"},"25887":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Infernal Zefir"},"25888":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Malevolent Zefir"},"26005":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.25,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Baron Nuvillus"},"26008":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Gelidite Golem"},"26011":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeleton Lord"},"26012":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Adept"},"26013":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Adherent"},"26014":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Fiend"},"26015":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Lout"},"26016":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Ruffian"},"26017":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Savage"},"26018":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Scamp"},"26019":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Seer"},"26020":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Shaman"},"26021":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Soothsayer"},"26468":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Mighty Oak Golem"},"26469":{"slash":0.55,"pierce":0.9,"bludgeon":0.85,"fire":0.95,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Ebon Mattekar"},"26470":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":1.42,"acid":0.42,"electric":0.42,"name":"Fire Shreth"},"26516":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Ancient Soul"},"26517":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.65,"cold":0.9,"acid":0.65,"electric":0.9,"name":"Consort Ibrexi Jikti"},"26518":{"slash":0.5,"pierce":0.45,"bludgeon":0.45,"fire":0.25,"cold":0.75,"acid":0.25,"electric":0.8,"name":"Apprentice Jexki Ki"},"26519":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.1,"cold":0.45,"acid":0.1,"electric":0.45,"name":"Matriarch Kixkti Xri"},"26520":{"slash":0.55,"pierce":0.45,"bludgeon":0.7,"fire":0.7,"cold":0.1,"acid":0.7,"electric":0.55,"name":"Crypt Spirit"},"26521":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Grave Spirit"},"26536":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Grearrk, Mosswart Emissary"},"26670":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Bronze Armoredillo Pup"},"26671":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Brown Armoredillo Pup"},"26672":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Sandy Armoredillo Pup"},"26673":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Spikey Armoredillo Pup"},"26674":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Spiny Armoredillo Pup"},"26675":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Stony Armoredillo Pup"},"26676":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Chick"},"26677":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Dire Mattie"},"26678":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.25,"acid":0.75,"electric":0.25,"name":"Great Mattie"},"26679":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"Snowy Mattie"},"26680":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"White Mattie"},"26681":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Glissnal Niffling"},"26682":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Listris Niffling"},"26683":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Parfal Niffling"},"26684":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":1.0,"electric":0.6,"name":"Blood Shrethlet"},"26685":{"slash":0.8,"pierce":0.8,"bludgeon":1.0,"fire":0.8,"cold":1.42,"acid":1.0,"electric":0.85,"name":"Carrion Shrethlet"},"26686":{"slash":0.9,"pierce":0.9,"bludgeon":1.0,"fire":0.8,"cold":1.42,"acid":1.0,"electric":0.85,"name":"Gnawer Shrethlet"},"26687":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Hunter Shrethlet"},"26688":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Vorous Shrethlet"},"26689":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Field Ursuin Cub"},"26690":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Linvak Ursuin Cub"},"26691":{"slash":0.75,"pierce":1.0,"bludgeon":0.75,"fire":0.86,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Scavenger Ursuin Cub"},"26692":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Ursuin Slasher Cub"},"26693":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Tiofor Ursuin Cub"},"27097":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Adept"},"27098":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Adherent"},"27099":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Ruffian"},"27100":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Scamp"},"27131":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Adherent Overseer"},"27132":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Seer Watcher"},"27133":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Shaman Keeper"},"27134":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Soothsayer Leader"},"27135":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Irkith Stalk"},"27136":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Ithik Stalk"},"27137":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Slithits Spthis"},"27138":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Ancient Soul"},"27139":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Crypt Spirit"},"27140":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Grave Spirit"},"27141":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Restless Soul"},"27254":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.1,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Copper Golem Kingpin"},"27255":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Mud Golem Sludge Lord"},"27282":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Ya'ruldi"},"27283":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Yaja the Shepherd"},"27284":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Abyssal Child"},"27285":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Child"},"27286":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Forsaken Child"},"27287":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Pandemic Child"},"27288":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Wretched Child"},"27309":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":1.0,"electric":0.75,"name":"Deranged Sycophant"},"27310":{"slash":0.5,"pierce":1.0,"bludgeon":0.2,"fire":1.1,"cold":0.7,"acid":0.5,"electric":0.25,"name":"Enraged Female Tusker"},"27311":{"slash":0.5,"pierce":1.1,"bludgeon":0.2,"fire":1.0,"cold":0.7,"acid":0.45,"electric":0.25,"name":"Enraged Male Tusker"},"27312":{"slash":0.5,"pierce":1.1,"bludgeon":0.2,"fire":1.0,"cold":0.7,"acid":0.45,"electric":0.25,"name":"Assault Guard"},"27313":{"slash":0.5,"pierce":0.9,"bludgeon":0.2,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.4,"name":"The Painbringer"},"27408":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Core of the Acid Cistern"},"27409":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Burning Pillar"},"27410":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Core of the Ice Cistern"},"27411":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Charged Pillar"},"27412":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Manipulated Doll"},"27413":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Tinkered Doll"},"27414":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Kerthump the Ear Taker"},"27415":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Baktak the Human Slayer"},"27416":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.5,"name":"Magma Golem Exarch"},"27417":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Telumiat Hollow Minion"},"27418":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist High Priest"},"27419":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Hellion"},"27420":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.1,"acid":0.91,"electric":0.1,"name":"Dark Marionette"},"27421":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Enthralled Idolator"},"27422":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.0,"name":"True Believer"},"27423":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.0,"name":"Enthralled Zealot"},"27424":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Desiccated Mu-miyah"},"27425":{"slash":0.86,"pierce":0.42,"bludgeon":0.42,"fire":1.0,"cold":0.42,"acid":0.42,"electric":0.86,"name":"Shady Scarecrow"},"27426":{"slash":1.0,"pierce":0.5,"bludgeon":0.69,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Nightmare"},"27427":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Nightmare Leader"},"27428":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Phantom Leader"},"27429":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Consumed Wraith"},"27430":{"slash":0.5,"pierce":0.6,"bludgeon":0.8,"fire":1.0,"cold":0.1,"acid":0.6,"electric":0.8,"name":"Ward of the Retreat"},"27431":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.2,"cold":0.8,"acid":1.1,"electric":0.2,"name":"Homunculus"},"27432":{"slash":0.5,"pierce":0.5,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.0,"electric":0.15,"name":"The Gibbering"},"27458":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.6,"cold":0.6,"acid":0.75,"electric":0.85,"name":"Elite Guard"},"27459":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.6,"cold":0.6,"acid":0.75,"electric":0.85,"name":"Elite Guard"},"27460":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Gotrok Fortress Guard"},"27461":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.55,"cold":0.55,"acid":0.55,"electric":0.55,"name":"Commander Kamenua"},"27462":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"27463":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"27487":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.65,"cold":0.7,"acid":0.88,"electric":1.0,"name":"Banderling Aggressor"},"27488":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.9,"cold":0.7,"acid":0.88,"electric":1.0,"name":"Banderling Predator"},"27489":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.9,"cold":0.7,"acid":0.88,"electric":1.0,"name":"Banderling Savage"},"27490":{"slash":0.6,"pierce":1.0,"bludgeon":0.5,"fire":0.65,"cold":0.7,"acid":1.0,"electric":0.65,"name":"Obsidian Chittick"},"27491":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Ascendant Drudge"},"27492":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Bloodletter"},"27493":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.55,"acid":0.85,"electric":0.7,"name":"Drudge Cabalist"},"27494":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Peerless Drudge"},"27495":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.0,"cold":0.85,"acid":0.8,"electric":1.0,"name":"Plasma Golem"},"27496":{"slash":0.33,"pierce":0.33,"bludgeon":0.8,"fire":0.75,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Platinum Golem"},"27497":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.7,"acid":0.5,"electric":0.25,"name":"Telumiat Hollow Minion"},"27498":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.25,"cold":0.35,"acid":0.8,"electric":0.85,"name":"Gotrok Juggernaut"},"27499":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.85,"electric":0.85,"name":"Gotrok Titan"},"27500":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Creeping Margul"},"27501":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.65,"cold":0.95,"acid":0.65,"electric":0.95,"name":"Stalking Margul"},"27502":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Lacerator"},"27503":{"slash":0.65,"pierce":1.0,"bludgeon":0.9,"fire":0.65,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Mutilator"},"27504":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Reaper"},"27505":{"slash":0.58,"pierce":0.75,"bludgeon":1.0,"fire":0.5,"cold":1.0,"acid":0.42,"electric":0.5,"name":"Rendeath Shreth"},"27508":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":0.9,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Annihilator"},"27509":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":0.9,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Devastator"},"27510":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Consul"},"27511":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Quidiox"},"27515":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Fiend"},"27516":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Lout"},"27517":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Savage"},"27518":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Seer"},"27519":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Shaman"},"27520":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Soothsayer"},"27521":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Urgluuk"},"27522":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Barluuk"},"27523":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Jorgluuk"},"27524":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Bleeargh"},"27556":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Seer"},"27557":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Shaman"},"27558":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Soothsayer"},"27564":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":1.0,"name":"Coral Golem Viceroy"},"27565":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.05,"acid":1.0,"electric":1.0,"name":"Glacial Golem Margrave"},"27566":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.5,"name":"Magma Golem Exarch"},"27567":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Brute"},"27568":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Knife"},"27571":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Mutilator"},"27572":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Warrior"},"27573":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Worker"},"27661":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.2,"acid":0.0,"electric":0.2,"name":"Morgluuk"},"27662":{"slash":0.0,"pierce":0.0,"bludgeon":0.0,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Torgluuk"},"27663":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.6,"acid":0.35,"electric":0.35,"name":"Lord Muldaveus"},"27664":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.65,"acid":0.35,"electric":0.35,"name":"Niarltah"},"27665":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.45,"cold":0.35,"acid":0.35,"electric":0.45,"name":"General Fostok"},"27666":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.75,"cold":0.75,"acid":0.55,"electric":0.8,"name":"Ollar, Renegade Captain"},"27667":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.45,"acid":0.45,"electric":0.35,"name":"War Chief Amanua"},"27668":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.7,"cold":0.7,"acid":0.5,"electric":0.5,"name":"Captain Waliknua"},"27708":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Carnivorous Carenzi"},"27709":{"slash":0.9,"pierce":0.6,"bludgeon":0.5,"fire":0.9,"cold":0.5,"acid":0.7,"electric":0.7,"name":"Great Elariwood Golem"},"27710":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":1.0,"electric":0.0,"name":"Brass Gromnie"},"27711":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.0,"electric":1.0,"name":"Copper Gromnie"},"27712":{"slash":0.7,"pierce":0.5,"bludgeon":0.9,"fire":0.4,"cold":1.0,"acid":1.0,"electric":0.4,"name":"Badlands Siraluun"},"27713":{"slash":0.7,"pierce":0.5,"bludgeon":0.9,"fire":0.4,"cold":1.0,"acid":1.0,"electric":0.4,"name":"Untamed Siraluun"},"27715":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Ferocious Ursuin"},"27716":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Raging Ursuin"},"27717":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Ursuin Slicer"},"27718":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Woodland Ursuin"},"27798":{"slash":0.3,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ancient Diamond Golem"},"27799":{"slash":0.6,"pierce":0.2,"bludgeon":0.7,"fire":0.9,"cold":0.3,"acid":0.4,"electric":0.4,"name":"Blood Fiend"},"27800":{"slash":0.5,"pierce":1.0,"bludgeon":0.6,"fire":1.0,"cold":0.7,"acid":0.6,"electric":0.2,"name":"Infected Assailer"},"27852":{"slash":0.55,"pierce":0.75,"bludgeon":0.4,"fire":0.55,"cold":0.7,"acid":0.1,"electric":0.3,"name":"Guruk Hulk"},"27853":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Disgusting Moarsman"},"27854":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Fetid Moarsman"},"27855":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Filth Dweller"},"27856":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Miry Moarsman"},"27857":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Muck Glutton"},"27858":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Muculent Moarsman"},"27859":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Pallid Moarsman"},"27860":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Sallow Moarsman"},"27861":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Squallid Moarsman"},"27862":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Viscous Moarsman"},"27863":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Cringer"},"27864":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Muck Stalker"},"27892":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Scamp"},"27893":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"27899":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Bleeargh, Mosswart Swamp Lord"},"27917":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.45,"cold":0.45,"acid":0.45,"electric":0.45,"name":"Hezhit"},"27918":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.55,"cold":0.55,"acid":0.55,"electric":0.55,"name":"Jrvik"},"27919":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Zixki"},"27920":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Attendant"},"27921":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Consort"},"27922":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Patriarch"},"27978":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Basher"},"27979":{"slash":0.65,"pierce":0.85,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.3,"name":"Guruk Beast"},"27980":{"slash":0.5,"pierce":0.65,"bludgeon":0.35,"fire":0.5,"cold":0.6,"acid":0.1,"electric":0.2,"name":"Guruk Behemoth"},"27981":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Boor"},"27982":{"slash":0.65,"pierce":0.85,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.3,"name":"Guruk Brute"},"27983":{"slash":0.55,"pierce":0.75,"bludgeon":0.4,"fire":0.55,"cold":0.7,"acid":0.1,"electric":0.2,"name":"Guruk Colossus"},"27984":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Crusher"},"27985":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Guruk Destroyer"},"27986":{"slash":0.35,"pierce":0.55,"bludgeon":0.4,"fire":0.35,"cold":0.5,"acid":0.1,"electric":0.1,"name":"Guruk Gorefiend"},"27987":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Heavy"},"27988":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Miscreant"},"27989":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Smasher"},"27990":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Titan"},"27999":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.65,"cold":0.65,"acid":0.65,"electric":0.65,"name":"Phantasm"},"28000":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Mosswart Scavenger"},"28001":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Mosswart Scrounger"},"28016":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Attendant"},"28017":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Consort"},"28018":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Patriarch"},"28039":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Martinate Virindi Inquisitor"},"28040":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Coral Golem"},"28041":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.05,"acid":1.0,"electric":1.0,"name":"Glacial Golem"},"28042":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Magma Golem"},"28043":{"slash":0.33,"pierce":0.33,"bludgeon":0.8,"fire":0.75,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Platinum Golem"},"28048":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Specter"},"28049":{"slash":0.6,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.8,"electric":0.5,"name":"Ancient Coral Golem"},"28050":{"slash":0.6,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.8,"electric":0.5,"name":"Ancient Coral Golem"},"28051":{"slash":0.6,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.8,"electric":0.5,"name":"Ancient Coral Golem"},"28052":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"White Phyntos Wasp Hive"},"28053":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.25,"name":"White Phyntos Wasp Swarm"},"28054":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.6,"cold":0.1,"acid":0.6,"electric":0.55,"name":"Aerfalle's Apprentice"},"28055":{"slash":1.0,"pierce":0.9,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.3,"electric":0.9,"name":"Spectral Wisp"},"28060":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Ghost of Galaeral"},"28243":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Haunt"},"28244":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Phantom"},"28245":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Poltergeist"},"28246":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Spirit"},"28247":{"slash":0.3,"pierce":1.0,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.3,"name":"Sapphire Golem"},"28248":{"slash":0.8,"pierce":0.8,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.7,"electric":0.2,"name":"Black Phyntos Wasp"},"28249":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.9,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Black Phyntos Hive"},"28250":{"slash":0.8,"pierce":0.8,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.7,"electric":0.2,"name":"Black Phyntos Swarm"},"28251":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Frenzied Phyntos Wasp Hive"},"28252":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.25,"name":"White Phyntos Wasp Swarm"},"28253":{"slash":0.8,"pierce":1.0,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.7,"electric":1.0,"name":"Giant Phyntos Wasp"},"28254":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.9,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Giant Phyntos Hive"},"28255":{"slash":0.8,"pierce":1.0,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.7,"electric":1.0,"name":"Giant Phyntos Swarm"},"28376":{"slash":0.5,"pierce":0.65,"bludgeon":0.35,"fire":0.5,"cold":0.6,"acid":0.1,"electric":0.2,"name":"Guruk Behemoth"},"28377":{"slash":0.65,"pierce":0.85,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.3,"name":"Guruk Brute"},"28378":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Guruk Destroyer"},"28379":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Heavy"},"28380":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Titan"},"28381":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.55,"cold":0.55,"acid":0.55,"electric":0.55,"name":"Coglock"},"28382":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.45,"cold":0.45,"acid":0.45,"electric":0.45,"name":"Glogluuk"},"28383":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Lout"},"28384":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Plocagruuk"},"28385":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Seer"},"28386":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Shaman"},"28387":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Burun Ruuk Soothsayer"},"28388":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Barrier"},"28389":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Barrier"},"28390":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Barrier"},"28443":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Titan Watcher"},"28444":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Ruuk Fiend Watcher"},"28445":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.0,"electric":0.5,"name":"Morgluuk"},"28446":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Ruuk Shaman Watcher"},"28447":{"slash":0.8,"pierce":1.5,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":0.0,"electric":0.8,"name":"Burun Egg"},"28448":{"slash":0.8,"pierce":1.5,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":0.0,"electric":0.8,"name":"Burun Egg"},"28449":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.2,"name":"Fortress Barrier"},"28551":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Sparkling Dual Fragment"},"28552":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Crystal Spur"},"28553":{"slash":1.0,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Rufous Grievver"},"28554":{"slash":1.0,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Spiked Grievver"},"28555":{"slash":0.6,"pierce":0.9,"bludgeon":0.4,"fire":0.4,"cold":1.0,"acid":0.7,"electric":0.5,"name":"Grizzled Monouga"},"28556":{"slash":1.0,"pierce":0.5,"bludgeon":0.6,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Devious Shadow"},"28635":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Insatiable Eater"},"28636":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Rabid Eater"},"28637":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Ravenous Eater"},"28638":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Repugnant Eater"},"28639":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Voracious Eater"},"28640":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Eater"},"28641":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Abhorrent Eater"},"28642":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Engorged Eater"},"28643":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":0.9,"cold":0.6,"acid":0.75,"electric":0.96,"name":"Deranged Fiun"},"28644":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":0.9,"cold":0.6,"acid":0.75,"electric":0.96,"name":"Frenzied Fiun"},"28645":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"28646":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":1.0,"cold":0.6,"acid":0.75,"electric":0.96,"name":"Maddened Fiun"},"28647":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":1.08,"cold":0.6,"acid":0.75,"electric":1.11,"name":"Raving Fiun"},"28648":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"28649":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":1.0,"cold":0.6,"acid":0.75,"electric":0.96,"name":"Crazed Fiun"},"28650":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":1.0,"cold":0.6,"acid":0.75,"electric":0.96,"name":"Demented Fiun"},"28651":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Mercenary"},"28652":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Tribune"},"28653":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Knight"},"28654":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Commander"},"28655":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Hand"},"28656":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Lord"},"28657":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Man-at-Arms"},"28658":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Sycophantic Penguin"},"28659":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"28660":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"28661":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"28662":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Penguin"},"28663":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Arrogant Penguin"},"28664":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"28665":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Rebellious Penguin"},"28666":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.8,"acid":0.8,"electric":0.9,"name":"Ruschk Slayer"},"28667":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Vile Ruschk"},"28668":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Warlord"},"28669":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Barbaric Ruschk"},"28670":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Fiend"},"28671":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Shatterer"},"28672":{"slash":0.8,"pierce":1.0,"bludgeon":0.66,"fire":1.0,"cold":0.8,"acid":0.75,"electric":0.8,"name":"Button Thrungus"},"28673":{"slash":0.6,"pierce":0.8,"bludgeon":0.5,"fire":0.8,"cold":0.6,"acid":0.4,"electric":0.7,"name":"Deathcap Thrungus"},"28674":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.6,"cold":0.4,"acid":0.3,"electric":0.5,"name":"Enoki Thrungus"},"28675":{"slash":0.8,"pierce":1.0,"bludgeon":0.66,"fire":1.0,"cold":0.8,"acid":0.75,"electric":0.8,"name":"Portobello Thrungus"},"28676":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Shiitake Thrungus"},"28677":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Thrungus"},"28678":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.6,"cold":0.4,"acid":0.3,"electric":0.5,"name":"Beefsteak Thrungus"},"28716":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Sir Bellas"},"28821":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":0.85,"cold":0.6,"acid":0.75,"electric":0.88,"name":"Fiun Assistant"},"28822":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":0.85,"cold":0.6,"acid":0.75,"electric":0.88,"name":"Fiun Abayar"},"28829":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Marauder"},"28837":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Cave Penguin"},"28838":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Great Cave Penguin"},"28847":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Ravenous Eater"},"28848":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Insatiable Eater"},"28849":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Engorged Eater"},"28850":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Voracious Eater"},"28851":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Abhorrent Eater"},"28877":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Nasty Scarecrow"},"28878":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Naughty Scarecrow"},"28879":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Nefarious Scarecrow"},"28880":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Vicious Scarecrow"},"28881":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Vile Scarecrow"},"28882":{"slash":0.9,"pierce":0.52,"bludgeon":0.52,"fire":1.0,"cold":0.52,"acid":0.52,"electric":0.9,"name":"Villainous Scarecrow"},"29006":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.45,"cold":0.6,"acid":0.05,"electric":0.4,"name":"Mgrauleshk"},"29007":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.45,"acid":0.05,"electric":0.45,"name":"Broodu"},"29008":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.45,"acid":0.05,"electric":0.45,"name":"Browerk"},"29009":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.45,"acid":0.05,"electric":0.45,"name":"Kiree"},"29010":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.45,"acid":0.05,"electric":0.45,"name":"Keerik"},"29011":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.45,"acid":0.05,"electric":0.45,"name":"Reeshan"},"29012":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.45,"acid":0.05,"electric":0.45,"name":"Rehir"},"29013":{"slash":0.15,"pierce":0.15,"bludgeon":0.15,"fire":0.15,"cold":0.15,"acid":0.15,"electric":0.15,"name":"Door"},"29052":{"slash":0.86,"pierce":0.86,"bludgeon":0.86,"fire":1.2,"cold":0.6,"acid":0.9,"electric":1.0,"name":"Ruschk Fledgemaster"},"29053":{"slash":0.86,"pierce":0.86,"bludgeon":0.86,"fire":1.2,"cold":0.6,"acid":0.9,"electric":1.0,"name":"Ruschk Fledgling"},"29296":{"slash":0.8,"pierce":1.0,"bludgeon":0.66,"fire":1.0,"cold":0.8,"acid":0.75,"electric":0.8,"name":"Porcini Thrungus"},"29297":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.6,"cold":0.4,"acid":0.3,"electric":0.5,"name":"Truffle Thrungus"},"29298":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Morel Thrungus"},"29299":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Crimini Thrungus"},"29300":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Warcaster"},"29301":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian War Wizard"},"29302":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Counselor"},"29303":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Thaumaturge"},"29304":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Mage"},"29305":{"slash":0.6,"pierce":0.7,"bludgeon":0.9,"fire":0.7,"cold":0.6,"acid":0.5,"electric":0.9,"name":"Dee Dee"},"29306":{"slash":0.6,"pierce":0.7,"bludgeon":0.9,"fire":0.7,"cold":0.6,"acid":0.5,"electric":0.9,"name":"Dee Dee"},"29307":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Lola"},"29308":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Nod'narb"},"29309":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Dyn'ra"},"29310":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":0.75,"name":"K'nath D'dot"},"29311":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Ra'dnas"},"29312":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath K'ram"},"29313":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Son'ja"},"29314":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Ban'ry"},"29315":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Di'vda"},"29316":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":0.75,"acid":1.0,"electric":1.0,"name":"K'nath Ri'shc"},"29331":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Adolescent Olthoi"},"29332":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Young Olthoi"},"29333":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Thieving Thrungus"},"29341":{"slash":0.9,"pierce":1.1,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Kartak"},"29342":{"slash":0.9,"pierce":1.0,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.8,"electric":0.9,"name":"Ruschk Laktar"},"29343":{"slash":0.9,"pierce":1.0,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":0.9,"name":"Ruschk Draktehn"},"29344":{"slash":0.9,"pierce":1.1,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Sadist"},"29345":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":0.85,"cold":0.6,"acid":0.75,"electric":0.88,"name":"Maniacal Fiun"},"29346":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Polar Ursuin"},"29347":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Polar Carenzi"},"29348":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.65,"electric":0.95,"name":"Bokrok Lugian"},"29349":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.65,"electric":0.95,"name":"Kroktok Lugian"},"29350":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Ehlyis Niffis"},"29351":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Explorer"},"29352":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Polardillo"},"29353":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"Arctic Mattekar"},"29354":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.7,"acid":1.0,"electric":0.8,"name":"Mite Emissary"},"29355":{"slash":0.6,"pierce":0.75,"bludgeon":0.8,"fire":0.6,"cold":1.1,"acid":0.5,"electric":0.6,"name":"Floeshark"},"29356":{"slash":0.45,"pierce":0.1,"bludgeon":0.9,"fire":1.2,"cold":0.05,"acid":1.0,"electric":1.0,"name":"Damaged Glacial Golem"},"29357":{"slash":0.45,"pierce":0.1,"bludgeon":1.1,"fire":1.3,"cold":0.05,"acid":1.0,"electric":1.0,"name":"Fractured Glacial Golem"},"29358":{"slash":0.8,"pierce":0.8,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.7,"electric":0.2,"name":"Woodland Phyntos Wasp"},"29362":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Executioner"},"29363":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Torturer"},"29395":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Silver Legion Quartermaster"},"29396":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Copper Legion Bodyguard"},"29397":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Gold Legion Bodyguard"},"29398":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Platinum Legion Bodyguard"},"29399":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Silver Legion Bodyguard"},"29400":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Argenne"},"29401":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Argenne"},"29402":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Aurachon"},"29403":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Captain Aurachon"},"29404":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Balanchi"},"29405":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Captain Balanchi"},"29406":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Ramelle"},"29407":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Captain Ramelle"},"29408":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Copper Legion Castle Guard"},"29409":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Gold Legion Castle Guard"},"29410":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Platinum Legion Castle Guard"},"29411":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Silver Legion Castle Guard"},"29412":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Copper Legion Doorkeeper"},"29413":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Gold Legion Doorkeeper"},"29414":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Platinum Legion Doorkeeper"},"29415":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Silver Legion Doorkeeper"},"29416":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.9,"electric":1.2,"name":"General Corcima"},"29417":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.9,"electric":1.2,"name":"General Corcima"},"29418":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Copper Legion Invader"},"29419":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Gold Legion Invader"},"29420":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Platinum Legion Invader"},"29421":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Silver Legion Invader"},"29422":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Copper Legion Quartermaster"},"29423":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Gold Legion Quartermaster"},"29424":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Platinum Legion Quartermaster"},"29469":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Prison Warden"},"29489":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Sir Belfelor"},"29490":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Sir Coretto"},"29491":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.9,"electric":1.1,"name":"Guard"},"29506":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":1.14,"cold":0.6,"acid":0.75,"electric":1.21,"name":"Atavistic Fiun"},"29507":{"slash":0.8,"pierce":0.75,"bludgeon":0.66,"fire":1.01,"cold":0.6,"acid":0.75,"electric":1.06,"name":"Cannibal Fiun"},"29583":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.8,"cold":0.5,"acid":0.7,"electric":1.1,"name":"Ancient Defender"},"29584":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Ancient Sentinel"},"29585":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Stomach Wall"},"29586":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Stomach Wall"},"29587":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Stomach Wall"},"29588":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Stomach Wall"},"29589":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Stomach Wall"},"29590":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Stomach Wall"},"29956":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Soldier"},"30288":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"30289":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Commander"},"30290":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Knight"},"30291":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Tribune"},"30292":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"30293":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"30294":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Man-at-Arms"},"30295":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian War Wizard"},"30296":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Warcaster"},"30297":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Thaumaturge"},"30298":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Counselor"},"30299":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Mage"},"30300":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"30301":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Prowler"},"30379":{"slash":0.6,"pierce":0.7,"bludgeon":0.9,"fire":0.9,"cold":0.6,"acid":0.5,"electric":0.9,"name":"Joey"},"30389":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Reijiri"},"30390":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Niffis Fighter"},"30391":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.91,"acid":0.91,"electric":0.5,"name":"Niffis Fighter"},"30440":{"slash":0.33,"pierce":0.5,"bludgeon":0.33,"fire":1.0,"cold":1.0,"acid":0.83,"electric":1.0,"name":"Water Golem"},"30441":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.8,"acid":0.8,"electric":0.9,"name":"Blue Phyntos Wasp"},"30442":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.55,"cold":0.0,"acid":0.4,"electric":0.8,"name":"Water Wisp"},"30447":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Desecrator"},"30448":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Southern Overseer"},"30449":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Western Overseer"},"30450":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Northern Overseer"},"30490":{"slash":0.86,"pierce":0.85,"bludgeon":0.8,"fire":1.0,"cold":1.0,"acid":0.85,"electric":1.0,"name":"Drudge Robber Baron"},"30507":{"slash":1.0,"pierce":0.7,"bludgeon":0.75,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.86,"name":"Mad Star Marionette"},"30548":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Silver Legion Quartermaster"},"30549":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Copper Legion Castellan"},"30550":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Gold Legion Castellan"},"30551":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Silver Legion Castellan"},"30552":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Silver Legion Quartermaster"},"30553":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Platinum Legion Castellan"},"30635":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Spirit Seeker"},"30636":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Spirit Seeker"},"30637":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Spirit Seeker"},"30638":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Spirit Dancer"},"30639":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.75,"cold":1.5,"acid":1.5,"electric":0.75,"name":"Banderling Ancient Spirit"},"30646":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Drudge Laborer"},"30647":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Drudge Ballast"},"30648":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Drudge Aviator"},"30649":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Drudge Toiler"},"30680":{"slash":0.85,"pierce":0.55,"bludgeon":0.9,"fire":1.9,"cold":0.85,"acid":0.85,"electric":0.15,"name":"Withered Drudge Seraph"},"30681":{"slash":0.85,"pierce":0.55,"bludgeon":0.9,"fire":0.95,"cold":0.85,"acid":0.85,"electric":0.15,"name":"Withered Drudge Seraph"},"30682":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":1.8,"electric":0.35,"name":"Withered Drudge Seraph Mystic"},"30683":{"slash":0.75,"pierce":0.55,"bludgeon":0.5,"fire":1.05,"cold":0.75,"acid":0.35,"electric":2.5,"name":"Withered Banderling Hierophant"},"30684":{"slash":0.75,"pierce":0.55,"bludgeon":0.5,"fire":1.05,"cold":0.75,"acid":0.35,"electric":2.5,"name":"Withered Banderling Hierophant"},"30685":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":2.1,"name":"Withered Banderling Paragon"},"30686":{"slash":2.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Withered Transcendent Tumerok"},"30687":{"slash":2.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Withered Revered Tumerok Shaman"},"30688":{"slash":2.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Withered Revered Tumerok Shaman"},"30689":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Prefect"},"30690":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Prefect"},"30691":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Justicar"},"30706":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Annihilator"},"30707":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Annihilator"},"30708":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Annihilator"},"30709":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Annihilator"},"30710":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Poltergeist"},"30711":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Restless Spirit"},"30712":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Restless Spirit"},"30713":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Spirit"},"30714":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Phantom"},"30754":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banderling Chanter"},"30755":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Virulence"},"30756":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Ripper Grievver"},"30757":{"slash":0.8,"pierce":1.0,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.7,"electric":1.0,"name":"Diseased Phyntos Wasp"},"30834":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Shadow Lugian Portal"},"30835":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Amaroth"},"30836":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Seeker"},"30837":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Infiltrator"},"30838":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Commander"},"30839":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Urleg"},"30840":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shoktok"},"30851":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Voracious Eater"},"30852":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Eater"},"30853":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Repugnant Eater"},"30854":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Mercenary"},"30855":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Tribune"},"30856":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Knight"},"30882":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Banished Shadow"},"30883":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Banished Tusker"},"30884":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Banished Monouga"},"30887":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Fallen Shadow"},"30888":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Fallen Grievver"},"30889":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Fallen Crystal Shard"},"30890":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Fallen Lugian"},"30891":{"slash":0.85,"pierce":0.55,"bludgeon":0.9,"fire":0.95,"cold":0.85,"acid":0.85,"electric":0.15,"name":"Fallen Drudge"},"30892":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Fallen Rift"},"30893":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Fallen Marionette"},"30894":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Fallen Mite"},"30895":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Fallen Doll"},"30896":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Fallen Margul"},"30897":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Sezzherei"},"30898":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.0,"cold":0.76,"acid":0.65,"electric":1.0,"name":"Banished Banderling"},"30899":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Banished Drudge"},"30900":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Banished Grievver"},"30901":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Banished Lugian"},"30902":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Banished Mu-miyah"},"30903":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Banished Olthoi"},"30904":{"slash":0.8,"pierce":0.8,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.7,"electric":0.2,"name":"Banished Phyntos Wasp"},"30937":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Sword Swallower"},"31002":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Tukora Lieutenant"},"31003":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Tukora Commander"},"31004":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Tukora Sentinel"},"31005":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Ripper"},"31006":{"slash":0.5,"pierce":0.65,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.25,"electric":0.4,"name":"Olthoi Larvae"},"31007":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Slasher"},"31008":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Slayer"},"31009":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Worshipper"},"31010":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Elder"},"31011":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"CreatureName"},"31012":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Eidolon"},"31013":{"slash":0.58,"pierce":0.25,"bludgeon":1.58,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Wicked Skeleton"},"31014":{"slash":1.7,"pierce":0.25,"bludgeon":1.58,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Naughty Skeleton"},"31015":{"slash":1.1,"pierce":1.15,"bludgeon":1.33,"fire":0.95,"cold":0.9,"acid":0.4,"electric":0.85,"name":"Mu-miyah Sentinel"},"31016":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.8,"acid":0.9,"electric":0.9,"name":"Agitated Phyntos Wasp"},"31017":{"slash":1.0,"pierce":0.75,"bludgeon":0.86,"fire":0.01,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Kirit Zefir"},"31018":{"slash":1.0,"pierce":0.5,"bludgeon":0.75,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Grievver Violator"},"31019":{"slash":1.1,"pierce":0.8,"bludgeon":0.8,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"name":"Bloated Eater"},"31020":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Insolent Penguin"},"31021":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.5,"cold":0.75,"acid":0.3,"electric":0.5,"name":"Puffball Thrungus"},"31022":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.5,"cold":0.75,"acid":0.3,"electric":0.5,"name":"Jelly Thrungus"},"31023":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.5,"cold":0.7,"acid":0.3,"electric":0.5,"name":"Black Morel Thrungus"},"31024":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.6,"cold":0.4,"acid":0.3,"electric":0.5,"name":"Mudwort Thrungus"},"31025":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.5,"cold":0.7,"acid":0.3,"electric":0.5,"name":"Fire Morel Thrungus"},"31028":{"slash":1.1,"pierce":0.8,"bludgeon":0.8,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"name":"Bloated Eater"},"31029":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Insolent Penguin"},"31030":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.6,"cold":0.4,"acid":0.3,"electric":0.5,"name":"Mudwort Thrungus"},"31040":{"slash":0.9,"pierce":0.7,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":0.9,"name":"Tursh"},"31220":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"CreatureName"},"31225":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Famished Eater"},"31235":{"slash":0.95,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Burrowing Grievver"},"31279":{"slash":1.7,"pierce":0.25,"bludgeon":1.58,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Bone Scourge"},"31280":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Twisted Shadow"},"31281":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Void Lord"},"31282":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Greater Void Lord"},"31292":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Man-at-Arms"},"31312":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Darling"},"31313":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Stomper"},"31338":{"slash":0.8,"pierce":0.9,"bludgeon":0.9,"fire":1.5,"cold":0.8,"acid":1.5,"electric":1.0,"name":"Gronk the Hammer"},"31340":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Guardian Blue Coral Golem"},"31361":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Hard-Headed Skeleton"},"31397":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Xaa Xiil"},"31398":{"slash":1.0,"pierce":0.5,"bludgeon":0.75,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Penumbral Horror"},"31399":{"slash":1.0,"pierce":0.5,"bludgeon":0.75,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Greater Penumbral Horror"},"31400":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Conscript"},"31401":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Conscript"},"31402":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Augur"},"31403":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Augur"},"31404":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Hunter"},"31405":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Hunter"},"31406":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Archon Traesis"},"31407":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Archon Greis"},"31408":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Archon Ingfall"},"31418":{"slash":1.4,"pierce":0.9,"bludgeon":0.9,"fire":0.8,"cold":0.65,"acid":0.5,"electric":0.8,"name":"Obsidian Sentient Fragment"},"31422":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Stomper"},"31516":{"slash":0.75,"pierce":0.55,"bludgeon":0.5,"fire":1.05,"cold":0.75,"acid":0.35,"electric":2.5,"name":"Withered Banderling Hierophant"},"31517":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Prefect"},"31572":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Nightmare"},"31669":{"slash":0.5,"pierce":0.5,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.9,"electric":0.5,"name":"Pillar of the Eternal Harvester"},"31696":{"slash":0.9,"pierce":1.1,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Camp Leader"},"31697":{"slash":0.9,"pierce":1.1,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Camp Leader"},"31718":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.77,"cold":0.67,"acid":0.67,"electric":0.7,"name":"High Archon Kraest"},"31827":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.0,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Incendiary Knight"},"31828":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Glacial Knight"},"31829":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Galvanic Knight"},"31830":{"slash":0.445,"pierce":0.556,"bludgeon":0.556,"fire":0.0,"cold":1.0,"acid":0.678,"electric":0.668,"name":"Tenebrous Knight"},"31832":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Caustic Knight"},"31837":{"slash":0.58,"pierce":0.58,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Remoran Sand Stalker"},"31849":{"slash":0.65,"pierce":0.4,"bludgeon":0.65,"fire":0.65,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Aggressive Swarm"},"31874":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.1,"cold":0.8,"acid":0.7,"electric":0.7,"name":"Fire Golem"},"31875":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.1,"cold":0.8,"acid":0.7,"electric":0.7,"name":"Water Golem"},"31876":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Bur Lizk"},"31877":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Undead Minion"},"31897":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Barbaric Mukkir"},"31898":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Umbral Mukkir"},"31901":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Fanatical Mukkir"},"31906":{"slash":0.58,"pierce":0.58,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Remoran Sea Raptor"},"31907":{"slash":0.58,"pierce":0.58,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Gold Remoran"},"31908":{"slash":0.58,"pierce":0.58,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Remoran Raker"},"31909":{"slash":0.5,"pierce":0.85,"bludgeon":0.6,"fire":0.6,"cold":0.85,"acid":0.85,"electric":1.1,"name":"Shallows Gorger"},"31910":{"slash":0.5,"pierce":0.85,"bludgeon":0.6,"fire":0.6,"cold":0.85,"acid":0.85,"electric":1.1,"name":"Shallows Shredder"},"31911":{"slash":0.5,"pierce":0.85,"bludgeon":0.6,"fire":0.6,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Gold Shallows Shredder"},"31912":{"slash":0.85,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Mucky Moarsman"},"31913":{"slash":0.85,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":1.0,"acid":1.0,"electric":1.2,"name":"Gold Moarsman"},"31914":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Scummy Moarsman"},"31915":{"slash":0.9,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Grimy Moarsman"},"31919":{"slash":0.33,"pierce":0.5,"bludgeon":0.33,"fire":1.0,"cold":1.0,"acid":0.83,"electric":1.0,"name":"Wave Golem"},"31920":{"slash":0.33,"pierce":0.5,"bludgeon":0.33,"fire":1.0,"cold":1.0,"acid":0.83,"electric":1.0,"name":"Aqueous Golem"},"31921":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Agitator"},"31948":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Doomed Spirit"},"32002":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Ghastly Priestess"},"32003":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Worm Feast"},"32004":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Shambling Adherent"},"32005":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Sodden Cadaver"},"32007":{"slash":0.95,"pierce":0.8,"bludgeon":0.9,"fire":0.2,"cold":0.1,"acid":0.2,"electric":0.2,"name":"High Priestess Xik Minru"},"32030":{"slash":1.1,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Brilliant Crystal"},"32031":{"slash":1.1,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Dazzling Crystal"},"32032":{"slash":1.1,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Radiant Crystal"},"32033":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Benek Niffis"},"32034":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Gold Niffis"},"32035":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Astis Niffis"},"32120":{"slash":0.58,"pierce":0.58,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.86,"name":"Bloodmouth Remoran"},"32186":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.33,"electric":0.4,"name":"Pumpkin Lord"},"32203":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Pumpkin Kin"},"32205":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Pumpkin Buffer"},"32221":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Master Alizari"},"32224":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Mistress Halmera"},"32227":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Mistress Gabille"},"32230":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Master Versario"},"32295":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Inquisitor"},"32301":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Nexus Commander"},"32314":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Engorged Eater"},"32315":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Famished Eater"},"32316":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Eater"},"32322":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Portal Keeper"},"32324":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Mage"},"32327":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Blockade Guard"},"32328":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Blockade Guard"},"32329":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Mercenary"},"32333":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Blockade Guard"},"32397":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.14,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Antius Blackmoor Memorial"},"32483":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Abominable Snowman"},"32501":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Phantom"},"32502":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Phantom"},"32503":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Phantom"},"32514":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Yanshi Swarm Matron"},"32522":{"slash":0.5,"pierce":0.5,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.9,"electric":0.5,"name":"Portal Pillar"},"32525":{"slash":0.5,"pierce":0.5,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.9,"electric":0.5,"name":"Portal Pillar"},"32528":{"slash":0.5,"pierce":0.5,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.9,"electric":0.5,"name":"Portal Pillar"},"32593":{"slash":0.4,"pierce":0.4,"bludgeon":0.3,"fire":0.6,"cold":0.4,"acid":0.3,"electric":0.5,"name":"False Morel Thrungus"},"32688":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Commander Jin Zo"},"32689":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Whispering Blade Guard"},"32690":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Whispering Blade Chamberlain"},"32700":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.14,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Portal Mage"},"32701":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Iacollia Dimari"},"32702":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Captain Vietre Lasallia"},"32727":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":1.0,"cold":0.58,"acid":0.58,"electric":1.0,"name":"Rat King"},"32734":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":1.0,"cold":0.0,"acid":0.5,"electric":0.5,"name":"Essence of Enchantment"},"32735":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.0,"name":"Essence of Artifice"},"32736":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.0,"electric":1.0,"name":"Essence of Verdancy"},"32737":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.5,"name":"Essence of Strife"},"32738":{"slash":1.1,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.0,"electric":1.1,"name":"Hand of Verdancy"},"32739":{"slash":1.1,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":1.1,"acid":0.5,"electric":0.5,"name":"Hand of Strife"},"32740":{"slash":1.1,"pierce":1.0,"bludgeon":1.0,"fire":1.1,"cold":0.0,"acid":0.5,"electric":0.5,"name":"Hand of Enchantment"},"32741":{"slash":1.1,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":1.1,"electric":0.0,"name":"Hand of Artifice"},"32755":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Whispering Blade Mage"},"32767":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Footman"},"32768":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Footman"},"32784":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Wraith"},"32789":{"slash":1.0,"pierce":0.5,"bludgeon":0.69,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Nightmare"},"32790":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Twisted Shadow"},"32791":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Twisted Shadow"},"32804":{"slash":1.5,"pierce":1.0,"bludgeon":1.17,"fire":1.5,"cold":0.6,"acid":0.7,"electric":1.0,"name":"The Black Breath"},"32833":{"slash":0.87,"pierce":0.87,"bludgeon":0.87,"fire":0.87,"cold":0.87,"acid":0.87,"electric":0.87,"name":"Escaped Thief"},"32923":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Barbaric Mukkir Nest-lord"},"32932":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Son of Pooky"},"32938":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.0,"acid":0.5,"electric":0.5,"name":"Guardian of the Monolith"},"32947":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.5,"cold":0.0,"acid":0.5,"electric":1.0,"name":"Child of Acid"},"32948":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.0,"cold":1.0,"acid":1.5,"electric":1.5,"name":"Child of Fire"},"32949":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.0,"cold":0.0,"acid":1.5,"electric":1.5,"name":"Child of Frost"},"32950":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.0,"name":"Child of Lightning"},"32951":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Reflection of the Harbinger"},"32952":{"slash":0.57,"pierce":0.57,"bludgeon":0.86,"fire":0.9,"cold":0.3,"acid":0.7,"electric":0.4,"name":"Ancient Steward"},"32954":{"slash":0.57,"pierce":0.57,"bludgeon":0.86,"fire":0.9,"cold":0.3,"acid":0.7,"electric":0.4,"name":"Foul Mason"},"32955":{"slash":0.57,"pierce":0.57,"bludgeon":0.86,"fire":0.9,"cold":0.3,"acid":0.7,"electric":0.4,"name":"Wretched Architect"},"32956":{"slash":0.57,"pierce":0.57,"bludgeon":0.86,"fire":0.9,"cold":0.3,"acid":0.7,"electric":0.4,"name":"Heavy Builder"},"33009":{"slash":0.92,"pierce":0.5,"bludgeon":0.7,"fire":0.95,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shonossoar the Song-Keeper"},"33010":{"slash":0.92,"pierce":0.5,"bludgeon":0.7,"fire":0.95,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Kaihoatai the Monitor"},"33011":{"slash":0.92,"pierce":0.5,"bludgeon":0.7,"fire":0.95,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Parfarrail the Seer"},"33033":{"slash":0.33,"pierce":0.67,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.8,"electric":0.5,"name":"Masonry Golem"},"33037":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Vile Mukkir"},"33038":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Coruscating Mukkir"},"33130":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir"},"33131":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Laktar"},"33132":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Kartak"},"33133":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Draktehn"},"33139":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Archon Merille"},"33141":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Augur"},"33142":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Hunter"},"33145":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Dealith"},"33163":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.81,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Captain Faalx"},"33165":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Cyst"},"33166":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.82,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Isin Dule's Lieutenant"},"33167":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbral Soldier"},"33168":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.82,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Panumbral Soldier"},"33170":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.82,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Lieutenant Beraxis"},"33171":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.82,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Lieutenant Shenza"},"33172":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.82,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Lieutenant Yezusthule"},"33174":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Panumbral Soldier"},"33175":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbral Soldier"},"33188":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.75,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Diviner Pheraion"},"33190":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.75,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Pheraion's Guard"},"33218":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.5,"cold":0.5,"acid":0.0,"electric":1.0,"name":"Child of Verdancy"},"33219":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":1.0,"cold":0.0,"acid":0.5,"electric":0.5,"name":"Essence of Enchantment"},"33220":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.0,"name":"Essence of Artifice"},"33221":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.0,"electric":1.0,"name":"Essence of Verdancy"},"33222":{"slash":0.8,"pierce":0.8,"bludgeon":0.7,"fire":0.0,"cold":1.0,"acid":0.5,"electric":0.5,"name":"Essence of Strife"},"33223":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":0.0,"cold":1.0,"acid":0.7,"electric":0.6,"name":"Child of Strife"},"33224":{"slash":0.89,"pierce":0.89,"bludgeon":0.89,"fire":0.9,"cold":0.0,"acid":0.8,"electric":1.0,"name":"Child of Enchantment"},"33225":{"slash":0.9,"pierce":0.89,"bludgeon":0.89,"fire":0.5,"cold":0.5,"acid":0.98,"electric":0.0,"name":"Child of Artifice"},"33231":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Harbinger"},"33263":{"slash":0.87,"pierce":0.5,"bludgeon":0.69,"fire":0.88,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Void Lord"},"33285":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Enraged Ancient Soul"},"33286":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Imperial Consort"},"33458":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"nether":1.0,"name":"Mukkir Aspect of Grael"},"33464":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Pontifex Maegris"},"33466":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Archmage Aigonne"},"33469":{"slash":0.82,"pierce":0.5,"bludgeon":0.67,"fire":0.88,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Keeper of the First Door"},"33471":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Keeper of the Second Door"},"33473":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tainted Vivimancer"},"33474":{"slash":0.82,"pierce":0.5,"bludgeon":0.67,"fire":0.88,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tainted Knight"},"33513":{"slash":0.9,"pierce":1.0,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.8,"electric":0.9,"name":"Harrak the White Spear"},"33514":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Vargol the Scion"},"33515":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Broodling"},"33531":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Eddy"},"33538":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Fanatical Mukkir Ward Guardian"},"33539":{"slash":0.7,"pierce":0.7,"bludgeon":0.5,"fire":0.8,"cold":0.5,"acid":0.4,"electric":0.4,"name":"Decaying Ruschk Laktar"},"33623":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Biaka Mukkir"},"33624":{"slash":0.2,"pierce":0.4,"bludgeon":0.4,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"nether":1.0,"name":"Degenerate Mukkir"},"33625":{"slash":0.2,"pierce":0.4,"bludgeon":0.4,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"name":"Depraved Mukkir"},"33626":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Hellion Mukkir"},"33629":{"slash":0.58,"pierce":0.68,"bludgeon":0.68,"fire":0.36,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Fouled Remoran"},"33631":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow Commander"},"33632":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"33633":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow Commander"},"33634":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"33636":{"slash":0.7,"pierce":0.7,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Glissnal Sleech"},"33639":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.4,"cold":0.2,"acid":0.2,"electric":0.2,"name":"Shambling Ruschk Chieftain"},"33641":{"slash":0.7,"pierce":0.7,"bludgeon":0.5,"fire":0.8,"cold":0.5,"acid":0.4,"electric":0.4,"name":"Sodden Ruschk Chieftain"},"33642":{"slash":0.1,"pierce":0.1,"bludgeon":0.3,"fire":0.3,"cold":0.1,"acid":0.2,"electric":0.1,"name":"Sodden Undead Ruschk"},"33698":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":1.1,"acid":1.0,"electric":1.0,"name":"Pillar of Fire"},"33702":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow Commander"},"33703":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"33704":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow Commander"},"33707":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"33708":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow Commander"},"33709":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"33730":{"slash":0.8,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"33731":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"33732":{"slash":0.2,"pierce":0.4,"bludgeon":0.4,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"name":"Degenerate Mukkir"},"33733":{"slash":0.2,"pierce":0.4,"bludgeon":0.4,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"name":"Depraved Mukkir"},"33734":{"slash":0.1,"pierce":0.1,"bludgeon":0.3,"fire":0.3,"cold":0.1,"acid":0.2,"electric":0.1,"name":"Sodden Undead Ruschk"},"33735":{"slash":0.4,"pierce":0.75,"bludgeon":0.4,"fire":0.75,"cold":0.2,"acid":0.4,"electric":0.4,"name":"Shambling Undead Ruschk"},"33736":{"slash":0.1,"pierce":0.3,"bludgeon":0.3,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Remoran Corsair"},"33737":{"slash":0.1,"pierce":0.3,"bludgeon":0.3,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Horrid Remoran"},"33738":{"slash":0.7,"pierce":0.7,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.6,"name":"Listris Sleech"},"33739":{"slash":0.6,"pierce":0.6,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.6,"name":"Parfal Sleech"},"33748":{"slash":0.89,"pierce":1.1,"bludgeon":0.89,"fire":1.0,"cold":0.89,"acid":0.8,"electric":1.0,"name":"Decaying Ruschk Sadist"},"33798":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Commander Jared Kurth"},"33799":{"slash":0.8,"pierce":0.89,"bludgeon":0.89,"fire":1.0,"cold":0.1,"acid":0.8,"electric":0.8,"name":"Ruschk Haktar"},"33804":{"slash":0.8,"pierce":0.9,"bludgeon":0.9,"fire":0.8,"cold":0.5,"acid":0.8,"electric":0.8,"name":"Small Fledgling Mukkir"},"33830":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Reinforced Door"},"33831":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.6,"acid":0.6,"electric":0.7,"name":"Sawato Bandit"},"33844":{"slash":0.88,"pierce":0.75,"bludgeon":0.77,"fire":0.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Black Flame"},"33894":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"nether":0.2,"name":"Abyssal Totem"},"33897":{"slash":0.86,"pierce":0.5,"bludgeon":0.65,"fire":0.89,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Hastar the Misbegotten"},"33898":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Progenitor"},"33971":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Parasitic Grievver"},"33972":{"slash":1.0,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Traphole Grievver"},"34000":{"slash":1.0,"pierce":0.75,"bludgeon":0.6,"fire":0.38,"cold":1.0,"acid":0.75,"electric":0.75,"name":"Old Scratchy"},"34014":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Tanada Nanjou Shou-jen"},"34043":{"slash":0.55,"pierce":0.65,"bludgeon":0.46,"fire":0.75,"cold":0.79,"acid":0.25,"electric":0.25,"name":"Afesse Sclavus"},"34044":{"slash":0.85,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":0.85,"acid":0.25,"electric":0.25,"name":"Illu Sclavus"},"34045":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Siessa Sclavus"},"34046":{"slash":0.55,"pierce":0.65,"bludgeon":0.67,"fire":0.75,"cold":0.6,"acid":0.54,"electric":0.48,"name":"Lunnum"},"34047":{"slash":0.65,"pierce":0.5,"bludgeon":0.5,"fire":0.78,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Patrician Kilkitris"},"34048":{"slash":0.65,"pierce":0.5,"bludgeon":0.5,"fire":0.78,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Patrician Phaerix"},"34102":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Old Zombie"},"34254":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Feral Carenzi"},"34295":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Breath"},"34296":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Storms"},"34297":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Wind"},"34311":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Essa Soul Harrier"},"34312":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Faisi Disciple"},"34313":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Aste Soul Harrier"},"34314":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Chomu Disciple"},"34315":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Soul Hunter"},"34327":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Thralled Guruk Beast"},"34330":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Thralled Guruk Crusher"},"34332":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Thralled Guruk Heavy"},"34334":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Thralled Guruk Smasher"},"34336":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Thralled Ruuk Fiend"},"34338":{"slash":0.65,"pierce":0.8,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.4,"name":"Thralled Ruuk Seer"},"34561":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Breath"},"34562":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Master of Breath"},"34563":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Storms"},"34564":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Master of Storms"},"34565":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Wind"},"34607":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":0.4,"cold":0.4,"acid":0.6,"electric":0.2,"name":"Stone Fists"},"34612":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Baktak the Human Slayer"},"34613":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Kerthump the Ear Taker"},"34614":{"slash":0.33,"pierce":0.33,"bludgeon":0.8,"fire":0.8,"cold":0.8,"acid":0.5,"electric":0.4,"name":"Gladiator Diemos"},"34615":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.9,"cold":0.9,"acid":1.3,"electric":0.9,"name":"Elite Guardian"},"34617":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.9,"cold":0.8,"acid":1.0,"electric":0.9,"name":"The Master"},"34618":{"slash":0.8,"pierce":0.9,"bludgeon":0.9,"fire":1.5,"cold":0.8,"acid":1.5,"electric":1.0,"name":"Disgraced Nanjou Shou-jen"},"34620":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Tremendous Monouga"},"34621":{"slash":0.5,"pierce":1.0,"bludgeon":0.8,"fire":2.0,"cold":0.4,"acid":0.5,"electric":0.6,"nether":2.0,"name":"Killagurg"},"34622":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Demon Swarm Matron"},"34623":{"slash":0.8,"pierce":0.3,"bludgeon":0.7,"fire":0.8,"cold":0.4,"acid":0.5,"electric":1.1,"name":"Azaxis"},"34755":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Matriarch Mirta'kir"},"34778":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Basher"},"34779":{"slash":0.65,"pierce":0.85,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.3,"name":"Guruk Beast"},"34780":{"slash":0.5,"pierce":0.65,"bludgeon":0.35,"fire":0.5,"cold":0.6,"acid":0.1,"electric":0.2,"name":"Guruk Behemoth"},"34781":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Boor"},"34782":{"slash":0.65,"pierce":0.85,"bludgeon":0.5,"fire":0.65,"cold":0.8,"acid":0.1,"electric":0.3,"name":"Guruk Brute"},"34783":{"slash":0.55,"pierce":0.75,"bludgeon":0.4,"fire":0.55,"cold":0.7,"acid":0.1,"electric":0.2,"name":"Guruk Colossus"},"34785":{"slash":0.6,"pierce":0.75,"bludgeon":0.45,"fire":0.6,"cold":0.75,"acid":0.1,"electric":0.25,"name":"Guruk Destroyer"},"34786":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Fiend"},"34787":{"slash":0.35,"pierce":0.55,"bludgeon":0.4,"fire":0.35,"cold":0.5,"acid":0.1,"electric":0.1,"name":"Guruk Gorefiend"},"34788":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Hatchling"},"34790":{"slash":0.55,"pierce":0.75,"bludgeon":0.4,"fire":0.55,"cold":0.7,"acid":0.1,"electric":0.3,"name":"Guruk Hulk"},"34791":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Marauder"},"34793":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Monstrosity"},"34794":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Plunderer"},"34795":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Pug"},"34797":{"slash":0.75,"pierce":0.95,"bludgeon":0.6,"fire":0.75,"cold":0.9,"acid":0.1,"electric":0.4,"name":"Guruk Smasher"},"34798":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Spore Leech"},"34799":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Spore Seeker"},"34801":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Guruk Titan"},"34868":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Baby Thrungus"},"34869":{"slash":0.7,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.8,"acid":0.5,"electric":1.0,"name":"Pallid Moar"},"34938":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Collector Golem"},"34970":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.88,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Falatacot Prison Warden"},"34971":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Blood Prophetess"},"34972":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Falatacot Blood Elder"},"34973":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Consort"},"34974":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Ancient Counselor"},"34975":{"slash":0.85,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":0.85,"acid":0.25,"electric":0.25,"name":"Laisu Sclavus"},"34976":{"slash":0.3,"pierce":1.0,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":1.0,"electric":0.3,"name":"Infused Empyrean Blood Golem"},"34977":{"slash":0.1,"pierce":0.1,"bludgeon":0.45,"fire":0.25,"cold":0.65,"acid":0.65,"electric":0.1,"name":"Infused Blood Golem"},"34978":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Tortured Spirit"},"34979":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.86,"acid":0.1,"electric":0.1,"name":"Thralled Guruk Reaper"},"34980":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Thralled Guruk Spore Seeker"},"35004":{"slash":0.75,"pierce":1.0,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Ritualist"},"35007":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Empyrean Blooded Ritual Statue"},"35008":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Empyrean Blooded Ritual Statue"},"35009":{"slash":0.6,"pierce":0.75,"bludgeon":0.75,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"General Tain'Kivix"},"35013":{"slash":0.57,"pierce":0.57,"bludgeon":0.76,"fire":0.83,"cold":0.3,"acid":0.57,"electric":0.4,"name":"Gate Guardian"},"35015":{"slash":0.57,"pierce":0.57,"bludgeon":0.76,"fire":0.83,"cold":0.3,"acid":0.57,"electric":0.4,"name":"Gate Guardian"},"35017":{"slash":0.57,"pierce":0.57,"bludgeon":0.76,"fire":0.83,"cold":0.3,"acid":0.57,"electric":0.4,"name":"Gate Guardian"},"35019":{"slash":0.57,"pierce":0.57,"bludgeon":0.76,"fire":0.83,"cold":0.3,"acid":0.57,"electric":0.4,"name":"Gate Guardian"},"35021":{"slash":0.57,"pierce":0.57,"bludgeon":0.76,"fire":0.83,"cold":0.3,"acid":0.57,"electric":0.4,"name":"Gate Guardian"},"35053":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Thralled Guruk Spore Leech"},"35054":{"slash":0.45,"pierce":0.65,"bludgeon":0.3,"fire":0.35,"cold":0.6,"acid":0.1,"electric":0.1,"name":"Thralled Guruk Monstrosity"},"35059":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.0,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Hatred Wisp"},"35062":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Mana Barrier"},"35067":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.0,"acid":0.5,"electric":0.5,"name":"Mana Barrier"},"35089":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.0,"electric":0.8,"name":"Despair Wisp"},"35090":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.8,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Sorrow Wisp"},"35091":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight"},"35092":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Captain"},"35093":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"35097":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Skeleton"},"35098":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"35099":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Minion"},"35100":{"slash":0.75,"pierce":0.75,"bludgeon":0.95,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.95,"name":"Grave Rat"},"35115":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Contained Rift"},"35116":{"slash":0.53,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Titanium Armoredillo"},"35117":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Ravager"},"35118":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.9,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Sentient Crystal Shard"},"35119":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Crystal Shard Sentinel"},"35121":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Ravenous Eater"},"35122":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Repugnant Eater"},"35123":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Tortured Spirit"},"35124":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Crystal Lord"},"35125":{"slash":0.8,"pierce":0.9,"bludgeon":0.9,"fire":1.5,"cold":0.8,"acid":1.5,"electric":1.0,"name":"Disgraced Nanjou Shou-jen"},"35126":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Hand"},"35127":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Acid"},"35128":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Fire"},"35129":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Frost"},"35130":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Lightning"},"35131":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Tribune"},"35132":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.65,"electric":0.95,"name":"Bokrok Lugian"},"35133":{"slash":0.66,"pierce":0.85,"bludgeon":0.5,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Juggernaut"},"35134":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.65,"electric":0.95,"name":"Kroktok Lugian"},"35135":{"slash":0.58,"pierce":0.9,"bludgeon":0.86,"fire":1.0,"cold":0.4,"acid":0.75,"electric":0.4,"name":"War Mattekar"},"35136":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Agitator"},"35137":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Elder"},"35138":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Gladiator"},"35139":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Mosswart Scavenger"},"35140":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Mosswart Scrounger"},"35141":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Swamp Lord"},"35142":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Draktehn"},"35143":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Kartak"},"35144":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir Laktar"},"35145":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Umbral Mukkir"},"35146":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Slayer"},"35147":{"slash":0.5,"pierce":0.65,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.25,"electric":0.4,"name":"Olthoi Larvae"},"35148":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Olthoi Progenitor"},"35149":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Ripper"},"35150":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Slasher"},"35151":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.42,"electric":0.25,"name":"Swarm Demon"},"35152":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"35153":{"slash":0.9,"pierce":1.0,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":0.9,"name":"Ruschk Draktehn"},"35154":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"35155":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"35156":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"35157":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"35158":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Parfal Sleech"},"35159":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Parfal Sleech"},"35160":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Annihilator"},"35161":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Stomper"},"35162":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Enraged Ancient Soul"},"35163":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Inflamed Ursuin"},"35164":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Virindi Paradox"},"35165":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Quidiox"},"35166":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Infernal Zefir"},"35167":{"slash":1.0,"pierce":0.75,"bludgeon":0.86,"fire":0.01,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Kirit Zefir"},"35174":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"High Acolyte of the Blood"},"35175":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"High Acolyte of Sacrifice"},"35176":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"High Acolyte of the Spirit"},"35191":{"slash":0.5,"pierce":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.1,"name":"Thunder Chicken"},"35252":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.3,"electric":0.9,"name":"Corrosion Wisp"},"35253":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.9,"name":"Cursed Wisp"},"35254":{"slash":1.0,"pierce":1.0,"bludgeon":0.18,"fire":0.0,"cold":0.18,"acid":0.75,"electric":0.18,"name":"Fire Wisp"},"35255":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.9,"name":"Stasis Wisp"},"35256":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.9,"acid":0.9,"electric":0.9,"name":"Strife Wisp"},"35268":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Spectral Dread"},"35270":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Spectral Dread"},"35273":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.9,"cold":0.9,"acid":1.3,"electric":0.87,"name":"Tower Guardian"},"35305":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Tukora Commander"},"35306":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":1.0,"name":"Tukora Lieutenant"},"35315":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Acolyte of Decay"},"35338":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":1.05,"name":"Banderling Guard Champion"},"35341":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":1.05,"name":"Banderling Guard Champion"},"35342":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":1.05,"name":"Banderling Guard Champion"},"35343":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Chief Taraash"},"35344":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Guard Winterborn"},"35378":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"nether":0.82,"name":"Lord Cynreft Mhoire"},"35389":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Townsfolk"},"35393":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.89,"cold":0.34,"acid":0.49,"electric":0.84,"name":"Lady Tairla Mhoire"},"35400":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Corrupted Dread"},"35427":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Lurker"},"35429":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Lurker"},"35436":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Ravener"},"35437":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Robber"},"35440":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Skulker"},"35441":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Slinker"},"35442":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.42,"cold":1.42,"acid":0.75,"electric":1.42,"name":"Drudge Sneaker"},"35445":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Stalker"},"35446":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Drudge Stalker"},"35481":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Watcher in the Warren"},"35482":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Watcher's Guard"},"35483":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Watcher's Wall"},"35498":{"slash":0.8,"pierce":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Chick"},"35499":{"slash":0.8,"pierce":0.8,"fire":1.0,"cold":0.8,"acid":0.8,"electric":1.0,"name":"Chicken"},"35559":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tempest Shadow"},"35560":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"The Archivist"},"35578":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Drudge Biter"},"35580":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Drudge Balloon"},"35582":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall"},"35583":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall"},"35584":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall"},"35585":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall"},"35662":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Demon Swarm Clawbearer"},"35666":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.8,"cold":0.5,"acid":0.8,"electric":1.0,"name":"Master's Acolyte"},"35670":{"slash":0.33,"pierce":0.33,"bludgeon":0.7,"fire":0.2,"cold":0.7,"acid":0.7,"electric":0.45,"name":"Guardian of Diemos"},"35731":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Paradox-touched Olthoi Eviscerator Grub"},"35732":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Paradox-touched Olthoi Noble Grub"},"35733":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Paradox-touched Olthoi Eviscerator Nymph"},"35734":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Paradox-touched Olthoi Flyer Nymph"},"35735":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Paradox-touched Olthoi Warrior Nymph"},"35748":{"slash":1.2,"pierce":1.2,"bludgeon":1.2,"fire":1.2,"cold":1.2,"acid":1.2,"electric":1.2,"name":"Giant Imprisoned Monouga"},"35780":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Ascendant Drudge"},"35812":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Paradox-touched Olthoi Ward Guardian"},"35813":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Paradox-touched Olthoi Noble Nymph"},"35830":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.85,"cold":0.55,"acid":0.35,"electric":2.1,"name":"Withered Banderling Paragon"},"35831":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":1.8,"electric":0.35,"name":"Withered Drudge Seraph Mystic"},"35832":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Justicar"},"35833":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Prefect"},"35834":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.25,"cold":0.4,"acid":0.9,"electric":2.0,"name":"Withered Raider Prefect"},"35835":{"slash":2.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Withered Transcendent Tumerok"},"35859":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Acolyte of the Depths"},"35875":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Paradox-touched Olthoi Sentinel"},"35877":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Paradox-touched Olthoi Sentinel"},"35878":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Paradox-touched Olthoi Lacerator"},"35879":{"slash":0.75,"pierce":0.7,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Paradox-touched Olthoi Ripper"},"35880":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Paradox-touched Olthoi Slasher"},"35881":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Paradox-touched Olthoi Swarm Eviscerator"},"35882":{"slash":1.0,"pierce":0.95,"bludgeon":1.0,"fire":0.75,"cold":0.5,"acid":0.5,"electric":0.75,"name":"Paradox-touched Olthoi Eviscerator"},"35883":{"slash":0.7,"pierce":1.0,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Paradox-touched Olthoi Lancer"},"35884":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Paradox-touched Olthoi Noble"},"35885":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Paradox-touched Olthoi Warrior"},"35888":{"slash":0.15,"pierce":0.65,"bludgeon":0.75,"fire":0.1,"cold":0.05,"acid":0.05,"electric":0.5,"name":"Paradox-touched Olthoi Queen"},"35939":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Chained Tusker"},"35940":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Mudmouth"},"35941":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Dark Bobo"},"35954":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Imp"},"35983":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Penumbral Terror"},"35985":{"slash":0.45,"pierce":0.4,"bludgeon":0.3,"fire":0.85,"cold":0.1,"acid":0.2,"electric":0.25,"name":"A Shadow of Black Ferah"},"35986":{"slash":0.45,"pierce":0.4,"bludgeon":0.3,"fire":0.85,"cold":0.1,"acid":0.2,"electric":0.25,"name":"A Shadow of Ler Rhan"},"35987":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Captain"},"35988":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Commander"},"35989":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Knight Hand"},"35990":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Penumbral Shadowmage"},"35991":{"slash":0.88,"pierce":0.5,"bludgeon":0.67,"fire":0.89,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Kirienne Palacost"},"35993":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Sorceress"},"36031":{"slash":0.7,"pierce":0.5,"bludgeon":0.6,"fire":0.7,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbris Elite Commander"},"36032":{"slash":0.7,"pierce":0.5,"bludgeon":0.6,"fire":0.7,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Umbris Elite"},"36033":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Nightmarish Doll"},"36034":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.9,"name":"Nightmarish Marionette"},"36036":{"slash":0.92,"pierce":0.55,"bludgeon":0.65,"fire":0.92,"cold":0.59,"acid":0.55,"electric":0.59,"nether":0.65,"name":"Aerbax"},"36037":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Avarice"},"36038":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Change"},"36039":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Chaos"},"36040":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Disobedience"},"36041":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Individuality"},"36042":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Ulgrim"},"36044":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Claude the Dark Archmage"},"36172":{"slash":0.5,"pierce":0.5,"bludgeon":0.98,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.95,"name":"Blood Curse Rat"},"36173":{"slash":0.5,"pierce":0.5,"bludgeon":0.92,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.89,"name":"DeathTail"},"36175":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.0,"electric":0.9,"name":"Pillar of Acid"},"36176":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.1,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Pillar of Frost"},"36177":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.1,"electric":0.0,"name":"Pillar of Lightning"},"36178":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Harbinger"},"36216":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Artifex of the Elements"},"36220":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.0,"electric":0.75,"name":"Verdancy Proctor"},"36221":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.75,"acid":0.4,"electric":0.4,"name":"Strife Proctor"},"36222":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.75,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Enchantment Proctor"},"36223":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.75,"electric":0.0,"name":"Artifice Proctor"},"36443":{"slash":1.7,"pierce":0.25,"bludgeon":1.58,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Harvest Reaper"},"36525":{"slash":0.9,"pierce":0.7,"bludgeon":0.6,"fire":0.4,"cold":0.1,"acid":0.3,"electric":0.3,"name":"Pumpkin King"},"36526":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Pumpkin Kin"},"36527":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Pumpkin Vine"},"36553":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Shadow-touched Virindi Paradox"},"36554":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Shadow-touched Virindi Quidiox"},"36597":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Blight Hollow Minion"},"36598":{"slash":0.76,"pierce":0.76,"bludgeon":0.77,"fire":0.85,"cold":0.73,"acid":0.73,"electric":0.73,"name":"Paradox Simulacrum"},"36599":{"slash":0.76,"pierce":0.76,"bludgeon":0.77,"fire":0.85,"cold":0.73,"acid":0.73,"electric":0.73,"name":"Paradox Simulacrum War Mage"},"36600":{"slash":0.88,"pierce":0.677,"bludgeon":0.555,"fire":0.88,"cold":0.65,"acid":0.455,"electric":0.65,"name":"Demerax the Sculptor"},"36601":{"slash":0.88,"pierce":0.677,"bludgeon":0.555,"fire":0.88,"cold":0.65,"acid":0.455,"electric":0.65,"name":"Lab Guardian"},"36644":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Guardian of Linvak Tukal"},"36645":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Abyssal Shadow Lugian"},"36646":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Kresovus"},"36647":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.66,"electric":0.66,"name":"Shadow Kresovus"},"36648":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Kresovus"},"36649":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Shadow Kresovus"},"36650":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall"},"36651":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Boulder"},"36654":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall"},"36756":{"slash":0.79,"pierce":0.79,"bludgeon":0.77,"fire":0.89,"cold":0.65,"acid":0.45,"electric":0.65,"name":"Cleaner"},"36759":{"slash":0.76,"pierce":0.75,"bludgeon":0.66,"fire":0.65,"cold":0.6,"acid":0.89,"electric":0.79,"name":"Virindi Portal"},"36760":{"slash":0.76,"pierce":0.75,"bludgeon":0.66,"fire":0.65,"cold":0.6,"acid":0.89,"electric":0.79,"name":"Virindi Portal"},"36761":{"slash":0.76,"pierce":0.75,"bludgeon":0.66,"fire":0.65,"cold":0.6,"acid":0.89,"electric":0.79,"name":"Virindi Portal"},"36762":{"slash":0.76,"pierce":0.75,"bludgeon":0.66,"fire":0.65,"cold":0.6,"acid":0.89,"electric":0.79,"name":"Virindi Portal"},"36763":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.89,"name":"Virindi Portal"},"36773":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Olthoi Sentinel Tracker"},"36816":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.65,"cold":0.45,"acid":0.88,"electric":0.88,"name":"Banderling Aggressor"},"36817":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.65,"cold":0.45,"acid":0.88,"electric":0.88,"name":"Dire Champion Banderling"},"36818":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Predator"},"36819":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.78,"cold":0.76,"acid":0.88,"electric":0.88,"name":"Banderling Savage"},"36820":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Scalper"},"36821":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Ascendant Drudge"},"36822":{"slash":0.88,"pierce":0.61,"bludgeon":0.68,"fire":0.88,"cold":0.78,"acid":0.78,"electric":0.23,"name":"Drudge Bloodletter"},"36823":{"slash":0.85,"pierce":0.56,"bludgeon":0.85,"fire":0.88,"cold":0.75,"acid":0.75,"electric":1.0,"name":"Drudge Cabalist"},"36824":{"slash":0.85,"pierce":0.56,"bludgeon":0.85,"fire":0.88,"cold":0.75,"acid":0.75,"electric":1.0,"name":"Dire Champion Drudge"},"36825":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.82,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Peerless Drudge"},"36826":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Unconquered Drudge"},"36827":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Acidic Coral Golem"},"36828":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Coral Golem"},"36829":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Acidic Diamond Golem"},"36830":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Diamond Golem"},"36831":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Dire Champion Golem"},"36832":{"slash":0.33,"pierce":0.33,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Gold Golem"},"36833":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":0.25,"cold":0.25,"acid":0.55,"electric":0.1,"name":"Pyreal Golem"},"36834":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Vapor Golem"},"36835":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Dire Champion Lugian"},"36836":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Raider Juggernaut"},"36837":{"slash":0.66,"pierce":0.85,"bludgeon":0.5,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Juggernaut"},"36838":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Tiatus Raider"},"36839":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Titan"},"36840":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Bloodthirsty Monouga"},"36841":{"slash":0.55,"pierce":0.8,"bludgeon":0.45,"fire":0.85,"cold":0.65,"acid":0.85,"electric":0.65,"name":"Dire Champion Monouga"},"36842":{"slash":0.55,"pierce":0.8,"bludgeon":0.45,"fire":0.85,"cold":0.65,"acid":0.85,"electric":0.65,"name":"Insidious Monouga"},"36843":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.85,"cold":0.85,"acid":0.75,"electric":0.55,"name":"Merciless Monouga"},"36844":{"slash":0.6,"pierce":0.9,"bludgeon":0.45,"fire":0.45,"cold":1.0,"acid":0.75,"electric":0.55,"name":"Pugnacious Monouga"},"36845":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Abyssal Shadow"},"36846":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Dire Champion Shadow"},"36847":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Maelstrom Shadow"},"36848":{"slash":0.87,"pierce":0.5,"bludgeon":0.65,"fire":0.88,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Pandemonium Shadow"},"36849":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Paroxysm Shadow"},"36850":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Phantom"},"36851":{"slash":0.85,"pierce":0.5,"bludgeon":0.67,"fire":0.88,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Sinister Shadow"},"36852":{"slash":0.85,"pierce":0.5,"bludgeon":0.69,"fire":0.88,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Spectre"},"36853":{"slash":0.86,"pierce":0.5,"bludgeon":0.67,"fire":0.89,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Tenebrous Shadow"},"36854":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Wraith"},"36855":{"slash":0.58,"pierce":0.25,"bludgeon":0.85,"fire":0.75,"cold":0.3,"acid":0.55,"electric":0.4,"name":"Armored Skeleton"},"36856":{"slash":0.58,"pierce":0.25,"bludgeon":0.85,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Skeletal Champion"},"36857":{"slash":0.58,"pierce":0.25,"bludgeon":0.85,"fire":0.75,"cold":0.3,"acid":0.55,"electric":0.4,"name":"Dire Champion Skeleton"},"36858":{"slash":0.58,"pierce":0.25,"bludgeon":1.0,"fire":0.9,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Great Skeleton"},"36859":{"slash":0.58,"pierce":0.25,"bludgeon":0.75,"fire":0.25,"cold":0.3,"acid":0.62,"electric":0.4,"name":"Skeletal Hero"},"36860":{"slash":0.58,"pierce":0.62,"bludgeon":0.71,"fire":0.88,"cold":0.5,"acid":0.65,"electric":0.5,"name":"Virindi Adjudicator"},"36861":{"slash":0.86,"pierce":0.55,"bludgeon":0.57,"fire":0.86,"cold":0.5,"acid":0.45,"electric":0.5,"name":"Virindi Consul"},"36862":{"slash":0.89,"pierce":0.65,"bludgeon":0.73,"fire":0.88,"cold":0.5,"acid":0.45,"electric":0.5,"name":"Virindi Desecrator"},"36863":{"slash":0.89,"pierce":0.65,"bludgeon":0.73,"fire":0.88,"cold":0.5,"acid":0.45,"electric":0.5,"name":"Dire Champion Virindi"},"36864":{"slash":0.88,"pierce":0.65,"bludgeon":0.73,"fire":0.87,"cold":0.65,"acid":0.62,"electric":0.65,"name":"Virindi Profane"},"36865":{"slash":0.91,"pierce":0.65,"bludgeon":0.81,"fire":0.88,"cold":0.65,"acid":0.62,"electric":0.65,"name":"Virindi Profatrix"},"36918":{"slash":0.64,"pierce":0.66,"bludgeon":0.67,"fire":0.92,"cold":0.0,"acid":0.65,"electric":0.66,"name":"Three Eyed Snowman"},"36929":{"slash":0.65,"pierce":0.65,"bludgeon":0.55,"fire":0.8,"cold":0.5,"acid":0.45,"electric":0.5,"name":"Thief of Dreams"},"36931":{"slash":0.65,"pierce":0.65,"bludgeon":0.55,"fire":0.82,"cold":0.5,"acid":0.45,"electric":0.5,"name":"Dream Marauder"},"36951":{"slash":0.92,"pierce":1.0,"bludgeon":0.65,"fire":0.92,"cold":0.4,"acid":0.92,"electric":0.4,"name":"Aerbax's Shadow"},"36953":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.7,"cold":0.3,"acid":0.6,"electric":0.6,"name":"Drudge Protector"},"36954":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Elemental Protector"},"36955":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Elemental Protector"},"36956":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Elemental Protector"},"36957":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Elemental Protector"},"36960":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":0.91,"cold":0.4,"acid":0.7,"electric":0.91,"name":"Mosswart Protector"},"36961":{"slash":0.6,"pierce":0.65,"bludgeon":0.7,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Olthoi Protector"},"36963":{"slash":0.5,"pierce":0.3,"bludgeon":0.3,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Formless Shadow"},"36964":{"slash":0.88,"pierce":0.5,"bludgeon":0.65,"fire":0.89,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Shadow Protector"},"36967":{"slash":0.42,"pierce":0.79,"bludgeon":0.75,"fire":0.91,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Tusker Protector"},"36968":{"slash":0.89,"pierce":0.65,"bludgeon":0.68,"fire":0.88,"cold":0.65,"acid":0.69,"electric":0.65,"name":"Virindi Artificer"},"36969":{"slash":0.89,"pierce":0.65,"bludgeon":0.68,"fire":0.88,"cold":0.65,"acid":0.69,"electric":0.65,"name":"Virindi Artificer"},"36970":{"slash":0.89,"pierce":0.65,"bludgeon":0.68,"fire":0.88,"cold":0.65,"acid":0.69,"electric":0.65,"name":"Virindi Artificer"},"36972":{"slash":0.89,"pierce":0.65,"bludgeon":0.67,"fire":0.89,"cold":0.5,"acid":0.45,"electric":0.5,"name":"Virindi Protector"},"37082":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Tanada Soroku"},"37084":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Tanada Burrows Sapper"},"37085":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Tanada Burrows Enforcer"},"37097":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.83,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Shroud Cabal Node-Leech"},"37098":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.83,"cold":0.67,"acid":0.67,"electric":0.79,"name":"Shroud Cabal Raider"},"37099":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.83,"cold":0.67,"acid":0.67,"electric":0.79,"name":"Shroud Cabal Raider Captain"},"37100":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.83,"cold":0.79,"acid":0.67,"electric":0.66,"name":"Shroud Cabal Forager"},"37101":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.83,"cold":0.79,"acid":0.67,"electric":0.66,"name":"Shroud Cabal Forager Captain"},"37157":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Door"},"37177":{"slash":0.5,"pierce":0.6,"bludgeon":0.62,"fire":0.89,"cold":0.55,"acid":0.45,"electric":0.5,"name":"Blood Priestess"},"37179":{"slash":0.57,"pierce":0.57,"bludgeon":0.86,"fire":0.9,"cold":0.3,"acid":0.7,"electric":0.4,"name":"Imperial Guard"},"37180":{"slash":0.57,"pierce":0.57,"bludgeon":0.86,"fire":0.9,"cold":0.3,"acid":0.7,"electric":0.4,"name":"Imperial Archivist"},"37377":{"slash":0.92,"pierce":1.0,"bludgeon":0.65,"fire":0.92,"cold":0.4,"acid":0.92,"electric":0.4,"name":"Aerbax's Shadow"},"37378":{"slash":0.92,"pierce":1.0,"bludgeon":0.65,"fire":0.92,"cold":0.4,"acid":0.92,"electric":0.4,"name":"Aerbax's Shadow"},"37379":{"slash":0.92,"pierce":1.0,"bludgeon":0.65,"fire":0.92,"cold":0.4,"acid":0.92,"electric":0.4,"name":"Aerbax's Shadow"},"37380":{"slash":0.92,"pierce":1.0,"bludgeon":0.65,"fire":0.92,"cold":0.4,"acid":0.92,"electric":0.4,"name":"Aerbax's Shadow"},"37381":{"slash":0.92,"pierce":1.0,"bludgeon":0.65,"fire":0.92,"cold":0.4,"acid":0.92,"electric":0.4,"name":"Aerbax's Shadow"},"37405":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Miry Moarsman"},"37406":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.85,"name":"Blighted Desolation Moarsman"},"37416":{"slash":0.9,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Blighted Desolation Moarsman"},"37417":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.82,"name":"Blighted Disgusting Moarsman"},"37418":{"slash":0.9,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":0.85,"acid":0.85,"electric":0.56,"name":"Blighted Grimy Moarsman"},"37419":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":0.89,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Blighted Pallid Moarsman"},"37420":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Blighted Putrid Moarsman"},"37421":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Blighted Rank Moarsman"},"37452":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Corrupted Dread"},"37453":{"slash":0.85,"pierce":0.4,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.49,"electric":0.5,"name":"Corrupted Maiden"},"37454":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Spectral Dread"},"37455":{"slash":0.58,"pierce":0.25,"bludgeon":0.35,"fire":0.35,"cold":0.95,"acid":0.92,"electric":0.92,"name":"Forge Golem"},"37456":{"slash":0.75,"pierce":0.75,"bludgeon":0.95,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.95,"name":"Grave Rat"},"37457":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"37458":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Minion"},"37459":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Skeleton"},"37460":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Captain"},"37461":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"37462":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight"},"37569":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Rock Wall"},"37601":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Blight Spirit"},"37604":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"name":"Blight Rat"},"37606":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"name":"Large Blight Rat"},"37608":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Blight Revenant"},"37609":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Blight Lictor"},"38009":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"K'nath N'da"},"38010":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"K'nath R'ajed"},"38011":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"K'nath Y'nda"},"38012":{"slash":0.86,"pierce":0.86,"bludgeon":0.88,"fire":0.79,"cold":0.75,"acid":0.69,"electric":0.69,"name":"K'nath Mother"},"38014":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"K'nath B'orret"},"38015":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"K'nath C'ire"},"38016":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"K'nath Y'bot"},"38029":{"slash":0.95,"pierce":0.95,"bludgeon":0.95,"fire":0.85,"cold":0.95,"acid":1.0,"electric":0.9,"name":"Elite Zharalim Agent"},"38030":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Blood Prophetess"},"38076":{"slash":0.85,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.85,"electric":0.5,"name":"Lost Menilesh Denizen"},"38080":{"slash":0.65,"pierce":0.5,"bludgeon":0.5,"fire":0.65,"cold":0.5,"acid":0.65,"electric":0.5,"name":"Lord Rytheran"},"38084":{"slash":0.8,"pierce":0.5,"bludgeon":0.5,"fire":0.82,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Menilesh Guard"},"38144":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.86,"name":"Siabot the Deranged"},"38145":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.86,"name":"Lorfne the Unhinged"},"38146":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.86,"name":"Ves the Mad"},"38147":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.86,"name":"Inkitan the Crazed"},"38148":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.86,"name":"Cloywer the Unstable"},"38149":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.86,"name":"Despe the Insane"},"38150":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Verdant Moarsman"},"38176":{"slash":0.5,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Blighted Hoary Armoredillo"},"38177":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Blighted Oak Golem"},"38178":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":0.25,"cold":0.25,"acid":0.55,"electric":0.1,"name":"Blighted Pyreal Golem"},"38179":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Blighted Sotiris Hollow Minion"},"38180":{"slash":1.0,"pierce":0.89,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Blighted Bane Grievver"},"38181":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Blighted Dire Ursuin"},"38265":{"slash":0.1,"pierce":0.1,"bludgeon":0.25,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Egg"},"38280":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Brood Mother"},"38281":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Brood Mother"},"38282":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Brood Mother"},"38283":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Brood Mother"},"38286":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Maguth Moarsman"},"38287":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Mogshuth Moarsman"},"38291":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Shoguth Moarsman"},"38292":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Spawn"},"38293":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Spawn Watcher"},"38294":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Spawnling"},"38349":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.75,"electric":1.0,"name":"Blind Keeper"},"38351":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Gate Watcher"},"38355":{"slash":0.6,"pierce":0.6,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.6,"name":"Listris Sleech"},"38360":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.75,"electric":1.0,"name":"Prior Kothmox"},"38385":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Tikchti"},"38386":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Skith'Kirit"},"38402":{"slash":0.5,"pierce":0.5,"bludgeon":0.7,"fire":0.5,"cold":0.75,"acid":0.5,"electric":0.75,"name":"Bandit Mana Hunter"},"38403":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Bandit Mana Hunter Boss"},"38406":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blessed Moar"},"38409":{"slash":0.9,"pierce":0.8,"bludgeon":0.4,"fire":0.7,"cold":0.7,"acid":0.85,"electric":1.0,"name":"Blessed Moarsman"},"38411":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Ashris Niffis"},"38412":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"38432":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Ardent Moarsman"},"38439":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Afessa Sclavus Soldier"},"38440":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Siessa Sclavus Soldier"},"38441":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"38442":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"38587":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Ardent Moar"},"38588":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blessed Moar"},"38589":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Verdant Moar"},"38590":{"slash":0.65,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.5,"acid":0.3,"electric":0.8,"name":"Ardent Moarsman"},"38591":{"slash":0.65,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.5,"acid":0.3,"electric":0.8,"name":"Verdant Moarsman"},"38592":{"slash":0.9,"pierce":1.1,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Vaeshok"},"38593":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Consort"},"38594":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Blood Prophetess"},"38629":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Captain Joroshi"},"38630":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Celestial Hand Scout"},"38631":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Eldrytch Web Scout"},"38632":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Radiant Blood Scout"},"38633":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Assassin"},"38634":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Benedino"},"38635":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Captain Donnarion"},"38636":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.75,"name":"Captain Haroush"},"38650":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Grimy Moarsman"},"38651":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Mucky Moarsman"},"38652":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Scummy Moarsman"},"38713":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Shambling Archivist"},"38806":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Corrupted Pyre Spark"},"38807":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.34,"cold":0.49,"acid":0.49,"electric":0.84,"name":"Corrupted Pyre Oak"},"38823":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"38824":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tendril of T'thuun"},"38825":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tentacle of T'thuun"},"38826":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"38827":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tendril of T'thuun"},"38828":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tentacle of T'thuun"},"38829":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"38830":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tendril of T'thuun"},"38831":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tentacle of T'thuun"},"38839":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Archer"},"38840":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Archer"},"38841":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Archer"},"38842":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Mage"},"38843":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Mage"},"38844":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Mage"},"38845":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"38846":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"38847":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"38871":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Ardent Moarsman"},"38872":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Verdant Moarsman"},"38873":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Afessa Sclavus Soldier"},"38874":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Siessa Sclavus Soldier"},"38875":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"38876":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"38877":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"39007":{"slash":0.9,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Blighted Desolation Moarsman"},"39009":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.82,"name":"Blighted Disgusting Moarsman"},"39011":{"slash":0.9,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":0.85,"acid":0.85,"electric":0.56,"name":"Blighted Grimy Moarsman"},"39013":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":0.89,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Blighted Pallid Moarsman"},"39015":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Blighted Putrid Moarsman"},"39017":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Blighted Rank Moarsman"},"39040":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tendril of T'thuun"},"39137":{"slash":0.75,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.75,"acid":0.3,"electric":0.48,"name":"Moarsman Marauder"},"39140":{"slash":0.75,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.75,"acid":0.3,"electric":0.48,"name":"Moarsman Marauder"},"39142":{"slash":0.75,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.75,"acid":0.3,"electric":0.48,"name":"Moarsman Marauder"},"39143":{"slash":0.75,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.75,"acid":0.3,"electric":0.48,"name":"Moarsman Marauder"},"39145":{"slash":0.85,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Moarsman Raider"},"39146":{"slash":0.85,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Moarsman Raider"},"39147":{"slash":0.85,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Moarsman Raider"},"39149":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Marauder"},"39152":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Marauder"},"39155":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Marauder"},"39156":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Marauder"},"39157":{"slash":0.85,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":0.85,"acid":0.25,"electric":0.25,"name":"Sclavus Raider"},"39158":{"slash":0.85,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":0.85,"acid":0.25,"electric":0.25,"name":"Sclavus Raider"},"39161":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Marauder"},"39166":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Marauder"},"39167":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Marauder"},"39168":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Marauder"},"39171":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Raider"},"39174":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Executioner"},"39182":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Executioner"},"39193":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Executioner"},"39196":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Executioner"},"39342":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"39344":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"39345":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"39348":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Kazyk Ri T'thuunixis"},"39349":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Kazyk Ri T'thuunixis"},"39350":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Minik Ra T'thuunixis"},"39351":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Minik Ra T'thuunixis"},"39352":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Nivinizk T'thuunixis"},"39353":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Nivinizk T'thuunixis"},"39450":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"39451":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tendril of T'thuun"},"39452":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tentacle of T'thuun"},"39454":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tendril of T'thuun"},"39455":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Tentacle of T'thuun"},"39479":{"slash":0.65,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.5,"acid":0.3,"electric":0.8,"name":"Moarsman Guard"},"39480":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Guard"},"39481":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.75,"acid":0.55,"electric":0.5,"name":"Falatacot Guard"},"39511":{"slash":0.9,"pierce":0.5,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.9,"name":"Scarecrow Guard"},"39512":{"slash":0.1,"pierce":0.3,"bludgeon":0.3,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Horrid Remoran"},"40125":{"slash":1.8,"pierce":1.3,"bludgeon":1.7,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Wisp"},"40126":{"slash":1.8,"pierce":1.3,"bludgeon":1.7,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Wisp"},"40127":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.9,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Shivering Crystalline Wisp"},"40128":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.9,"name":"Corroding Crystalline Wisp"},"40129":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.3,"name":"Voltaic Crystalline Wisp"},"40130":{"slash":1.8,"pierce":1.3,"bludgeon":1.7,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Wisp"},"40131":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.9,"acid":0.3,"electric":0.3,"name":"Incalescent Crystalline Wisp"},"40132":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Aggregate Crystalline Wisp"},"40134":{"slash":1.8,"pierce":1.3,"bludgeon":1.7,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Wisp"},"40135":{"slash":0.3,"pierce":0.3,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Corroding Pillar"},"40136":{"slash":0.3,"pierce":0.3,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Incalescent Pillar"},"40137":{"slash":0.3,"pierce":0.3,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Shivering Pillar"},"40138":{"slash":0.3,"pierce":0.3,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Voltaic Pillar"},"40144":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Black Coral Golem"},"40147":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Black Coral Golem Viceroy"},"40149":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Black Coral Golem"},"40153":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Blighted Coral Golem"},"40254":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.75,"acid":0.55,"electric":0.5,"name":"Falatacot Patrol"},"40255":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Patrol"},"40267":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.73,"electric":0.65,"name":"Ancient Magma Golem"},"40268":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"40278":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Patrol"},"40281":{"slash":0.2,"pierce":0.4,"bludgeon":0.4,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"name":"Degenerate Mukkir"},"40282":{"slash":0.2,"pierce":0.4,"bludgeon":0.4,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"name":"Depraved Mukkir"},"40283":{"slash":0.1,"pierce":0.3,"bludgeon":0.3,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Remoran Corsair"},"40284":{"slash":0.1,"pierce":0.3,"bludgeon":0.3,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"name":"Horrid Remoran"},"40285":{"slash":0.6,"pierce":0.6,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.6,"name":"Listris Sleech"},"40286":{"slash":0.6,"pierce":0.6,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.6,"name":"Parfal Sleech"},"40287":{"slash":0.4,"pierce":0.75,"bludgeon":0.4,"fire":0.75,"cold":0.2,"acid":0.4,"electric":0.4,"name":"Shambling Undead Ruschk"},"40289":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Black Coral Golem"},"40290":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Blighted Coral Golem"},"40291":{"slash":0.8,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.6,"name":"Degenerate Shadow"},"40292":{"slash":0.8,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Degenerate Shadow"},"40293":{"slash":0.8,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.6,"name":"Degenerate Shadow"},"40294":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"40295":{"slash":0.8,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Depraved Shadow"},"40296":{"slash":0.8,"pierce":0.5,"bludgeon":0.7,"fire":0.8,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.6,"name":"Depraved Shadow"},"40297":{"slash":0.5,"pierce":0.5,"bludgeon":0.7,"fire":0.5,"cold":0.75,"acid":0.5,"electric":0.75,"name":"Bandit Mana Hunter"},"40298":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Ardent Moar"},"40300":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blessed Moar"},"40301":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Verdant Moar"},"40302":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Ardent Moarsman"},"40303":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Ardent Moarsman"},"40304":{"slash":0.9,"pierce":0.8,"bludgeon":0.4,"fire":0.7,"cold":0.7,"acid":0.85,"electric":1.0,"name":"Blessed Moarsman"},"40305":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Blighted Verdant Moarsman"},"40306":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Verdant Moarsman"},"40307":{"slash":1.0,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.9,"electric":0.5,"name":"Ashris Niffis"},"40308":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.6,"name":"Giant Jungle Phyntos Wasp"},"40309":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Afessa Sclavus Soldier"},"40310":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Illu Sclavus Soldier"},"40311":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Siessa Sclavus Soldier"},"40312":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"40313":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"40314":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"40428":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.9,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Intense Shivering Crystalline Wisp"},"40429":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Intense Aggregate Crystalline Wisp"},"40430":{"slash":0.3,"pierce":0.3,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Intense Shivering Pillar"},"40434":{"slash":0.3,"pierce":0.3,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Intense Incalescent Pillar"},"40437":{"slash":1.1,"pierce":1.1,"bludgeon":0.9,"fire":0.3,"cold":1.3,"acid":0.3,"electric":0.3,"name":"Intense Incalescent Crystalline Wisp"},"40461":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Devon the Collector"},"40465":{"slash":0.3,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Corrupted Coral Golem"},"40466":{"slash":0.3,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Corrupted Coral Golem"},"40467":{"slash":0.3,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Corrupted Coral Golem"},"40468":{"slash":0.3,"pierce":0.6,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Deep-sea Lava Golem"},"40469":{"slash":0.3,"pierce":0.6,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Corrupted Coral Golem"},"40470":{"slash":0.5,"pierce":0.85,"bludgeon":0.6,"fire":0.6,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Great Devourer"},"40471":{"slash":0.5,"pierce":0.85,"bludgeon":0.6,"fire":0.6,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Sand Lurker"},"40472":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moarsman Adherent of T'thuun"},"40473":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Icthis Moarsman"},"40474":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Mithmog Moarsman"},"40475":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moarsman Priest of T'thuun"},"40476":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moarsman Prior"},"40477":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Shuthis Moarsman"},"40478":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Magshuth Moarsman"},"40479":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Maguth Moarsman"},"40480":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Mogshuth Moarsman"},"40481":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moguth Moarsman"},"40482":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Shogshuth Moarsman"},"40483":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Shoguth Moarsman"},"40484":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Intense Aggregate Crystalline Wisp"},"40492":{"slash":0.66,"pierce":0.85,"bludgeon":0.5,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Aetherium Miner"},"40493":{"slash":0.66,"pierce":0.85,"bludgeon":0.5,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Mining Foreman"},"40495":{"slash":0.68,"pierce":0.71,"bludgeon":0.71,"fire":0.89,"cold":0.55,"acid":0.55,"electric":0.55,"name":"Hea Apostate Shock Trooper"},"40496":{"slash":0.68,"pierce":0.71,"bludgeon":0.71,"fire":0.89,"cold":0.55,"acid":0.55,"electric":0.55,"name":"Hea Apostate Warlord"},"40498":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Apostate Master"},"40499":{"slash":0.89,"pierce":0.65,"bludgeon":0.68,"fire":0.88,"cold":0.65,"acid":0.69,"electric":0.65,"name":"Apostate Servant"},"40543":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Crystal Array"},"40773":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.9,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Intense Shivering Crystalline Wisp"},"40774":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.9,"acid":0.3,"electric":0.3,"name":"Intense Incalescent Crystalline Wisp"},"40775":{"slash":0.33,"pierce":0.67,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.8,"electric":0.5,"name":"Ancient Golem"},"40777":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.3,"name":"Intense Voltaic Crystalline Wisp"},"40778":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.9,"name":"Intense Corroding Crystalline Wisp"},"40780":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.9,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Progenitor of Frost"},"40781":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.9,"acid":0.3,"electric":0.3,"name":"Progenitor of Fire"},"40783":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Progenitor of Shadow"},"40784":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Spectral Progenitor"},"40786":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.3,"name":"Progenitor of Lightning"},"40787":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.9,"name":"Progenitor of Acid"},"40802":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"name":"Apostate Nexus Hollow Minion"},"40803":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Nexus Master"},"40812":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Thug Boss"},"40813":{"slash":0.5,"pierce":0.5,"bludgeon":0.7,"fire":0.5,"cold":0.75,"acid":0.5,"electric":0.75,"name":"Thug"},"40859":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Essence Array"},"40860":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Array Satellite"},"40861":{"slash":0.33,"pierce":0.67,"bludgeon":0.8,"fire":0.5,"cold":0.5,"acid":0.8,"electric":0.5,"name":"Ancient Golem"},"40864":{"slash":1.8,"pierce":1.3,"bludgeon":1.7,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Crystalline Wisp"},"40923":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.89,"cold":0.34,"acid":0.49,"electric":0.84,"name":"Bound Spectral Handmaiden"},"40924":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Bound Pyre Champion"},"40925":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.89,"cold":0.34,"acid":0.49,"electric":0.84,"name":"Bound Light Falatacot"},"40926":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Skeleton"},"40927":{"slash":0.6,"pierce":0.5,"bludgeon":0.5,"fire":0.6,"cold":0.1,"acid":0.6,"electric":0.5,"name":"Revenant Lord"},"40928":{"slash":0.4,"pierce":0.4,"bludgeon":0.4,"fire":0.6,"cold":0.1,"acid":0.6,"electric":0.55,"name":"Lady Aerfalle"},"40932":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Ghost of Dylaeral"},"41005":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"T'thuun Sclavus Huntsmaster"},"41006":{"slash":0.5,"pierce":0.85,"bludgeon":0.6,"fire":0.6,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Trained Great Devourer"},"41032":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Brown Mouse"},"41034":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"White Mouse"},"41180":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Ardent Moarsman"},"41181":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Verdant Moarsman"},"41182":{"slash":0.9,"pierce":0.8,"bludgeon":0.4,"fire":0.7,"cold":0.7,"acid":0.85,"electric":1.0,"name":"Blessed Moarsman"},"41183":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Large Ardent Moarsman"},"41184":{"slash":0.9,"pierce":0.8,"bludgeon":0.4,"fire":0.7,"cold":0.7,"acid":0.85,"electric":1.0,"name":"Large Blessed Moarsman"},"41185":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Large Verdant Moarsman"},"41190":{"slash":0.88,"pierce":0.79,"bludgeon":0.77,"fire":0.92,"cold":0.65,"acid":0.55,"electric":0.65,"name":"Apostate Excavation Master"},"41191":{"slash":0.88,"pierce":0.79,"bludgeon":0.77,"fire":0.92,"cold":0.65,"acid":0.55,"electric":0.65,"name":"Apostate Excavation Foreman"},"41193":{"slash":0.88,"pierce":0.79,"bludgeon":0.77,"fire":0.92,"cold":0.65,"acid":0.55,"electric":0.65,"name":"Apostate Sapper"},"41224":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.45,"cold":0.45,"acid":0.84,"electric":0.69,"name":"Iron Blade Lieutenant"},"41228":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.45,"cold":0.45,"acid":0.84,"electric":0.69,"name":"Iron Blade Arrival Guard"},"41229":{"slash":0.88,"pierce":0.69,"bludgeon":0.69,"fire":0.92,"cold":0.65,"acid":0.55,"electric":0.65,"name":"Apostate Reaving Master"},"41231":{"slash":0.76,"pierce":0.76,"bludgeon":0.77,"fire":0.85,"cold":0.73,"acid":0.73,"electric":0.73,"name":"Reaver Simulacrum"},"41527":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.3,"electric":1.0,"name":"Invading Bronze Gauntlet Knight"},"41529":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.3,"electric":1.0,"name":"Invading Copper Cog Knight"},"41530":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Invading Iron Blade Knight"},"41531":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.3,"electric":1.0,"name":"Invading Silver Scope Knight"},"41532":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":1.6,"electric":1.2,"name":"Invading Bronze Gauntlet Phalanx"},"41533":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":1.6,"electric":1.2,"name":"Invading Copper Cog Phalanx"},"41534":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":1.6,"electric":1.2,"name":"Invading Iron Blade Phalanx"},"41535":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":1.6,"electric":1.2,"name":"Invading Silver Scope Phalanx"},"41536":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Bronze Gauntlet Squire"},"41537":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Copper Cog Squire"},"41538":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Iron Blade Squire"},"41539":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Silver Scope Squire"},"41551":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Iron Blade Overseer"},"41552":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Invading Iron Blade Commander"},"41572":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Bronze Gauntlet Trooper"},"41573":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Copper Cog Trooper"},"41574":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Gold Gear Trooper"},"41575":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Iron Blade Trooper"},"41576":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Silver Scope Trooper"},"41577":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Copper Cog Guardian"},"41578":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Gold Gear Guardian"},"41579":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Gold Gear Guardian"},"41580":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Iron Blade Guardian"},"41581":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Silver Scope Guardian"},"41582":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Bronze Gauntlet Guardian"},"41583":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Copper Cog Lesser Lord"},"41584":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Gold Gear Lesser Lord"},"41585":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Gold Gear Lesser Lord"},"41586":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Iron Blade Lesser Lord"},"41587":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Silver Scope Lesser Lord"},"41588":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Bronze Gauntlet Lesser Lord"},"41796":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Phyntos Larva"},"41797":{"slash":0.8,"pierce":0.67,"bludgeon":0.85,"fire":0.37,"cold":0.67,"acid":0.37,"electric":0.37,"name":"Killer Phyntos Drone"},"41798":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Killer Phyntos Hive"},"41799":{"slash":0.8,"pierce":0.67,"bludgeon":0.85,"fire":0.37,"cold":0.67,"acid":0.37,"electric":0.37,"name":"Killer Phyntos Queen"},"41800":{"slash":0.8,"pierce":0.67,"bludgeon":0.85,"fire":0.37,"cold":0.67,"acid":0.37,"electric":0.37,"name":"Killer Phyntos Soldier"},"41801":{"slash":0.67,"pierce":0.67,"bludgeon":0.8,"fire":0.37,"cold":0.67,"acid":0.37,"electric":0.37,"name":"Killer Phyntos Swarm"},"41834":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Fort Commander"},"41835":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"41837":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"41838":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Fort Commander"},"41839":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"41840":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Fort Commander"},"41842":{"slash":0.6,"pierce":0.6,"bludgeon":0.8,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Reinforcement Soldier"},"41850":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moarsman Attacker"},"41851":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Attacker"},"41935":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Lord Hendrel"},"41936":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Corrupted Grave Frost"},"41937":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.89,"cold":0.34,"acid":0.49,"electric":0.84,"name":"Lady Saliane"},"41938":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Lord Trimere"},"41959":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.45,"cold":0.45,"acid":0.55,"electric":0.45,"name":"Guardian Statue"},"41961":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Corrupted Dread"},"41963":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Skeleton"},"41964":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"41965":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Minion"},"41966":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight"},"41967":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"41968":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Captain"},"41970":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.0,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Hatred Wisp"},"41971":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.8,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Sorrow Wisp"},"42017":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Flame Guardian"},"42025":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Captain"},"42026":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"42205":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Cutthroat"},"42258":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42259":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42261":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Archer"},"42262":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Archer"},"42264":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Mage"},"42265":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Mage"},"42269":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42270":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42271":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42272":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42273":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42274":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"42280":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Commander"},"42282":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Commander"},"42338":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.55,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Hoarfrost"},"42367":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Invading Bronze Gauntlet Knight"},"42368":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Invading Copper Cog Knight"},"42369":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Invading Iron Blade Knight"},"42370":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Invading Silver Scope Knight"},"42371":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Bronze Gauntlet Squire"},"42372":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Copper Cog Squire"},"42373":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Iron Blade Squire"},"42374":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":1.5,"electric":1.1,"name":"Invading Silver Scope Squire"},"42439":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"42440":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"42441":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"42605":{"slash":1.0,"pierce":1.0,"bludgeon":1.2,"fire":1.2,"cold":0.5,"acid":0.75,"electric":1.2,"name":"Gear Hunter"},"42606":{"slash":1.0,"pierce":1.0,"bludgeon":1.2,"fire":1.2,"cold":0.5,"acid":0.75,"electric":1.2,"name":"Gear Hunter Mage"},"42607":{"slash":1.0,"pierce":1.0,"bludgeon":1.2,"fire":1.2,"cold":0.5,"acid":0.75,"electric":1.2,"name":"Gear Hunter"},"42668":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.3,"electric":0.9,"name":"Intense Corroding Crystalline Wisp"},"42670":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.9,"name":"Shivering Crystalline Wisp"},"42671":{"slash":1.0,"pierce":0.9,"bludgeon":0.9,"fire":0.3,"cold":0.9,"acid":0.9,"electric":0.9,"name":"Intense Incalescent Crystalline Wisp"},"42727":{"slash":0.52,"pierce":0.4,"bludgeon":0.4,"fire":0.55,"cold":0.2,"acid":0.4,"electric":0.2,"nether":0.9,"name":"Wight Kidnapper"},"42922":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.9,"acid":0.65,"electric":0.0,"name":"Water Elemental"},"42983":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Aleesa Stateler"},"43005":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"New Aluvian Champion"},"43006":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"New Aluvian War Mage Champion"},"43071":{"slash":0.8,"pierce":0.5,"bludgeon":0.5,"fire":0.82,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Menilesh Guard"},"43079":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.2,"cold":0.0,"acid":0.3,"electric":0.0,"name":"Apostate Rift Aggressor"},"43081":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.65,"acid":1.0,"electric":0.65,"name":"Apostate Virindi Aggressor"},"43082":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Virindi Aggressor"},"43083":{"slash":0.92,"pierce":0.84,"bludgeon":0.85,"fire":0.95,"cold":0.5,"acid":0.2,"electric":0.5,"name":"Apostate Virindi Aggressor"},"43124":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Jin Kyong"},"43158":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Xekrit Zefir Guardian"},"43159":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.85,"cold":0.7,"acid":0.85,"electric":0.7,"name":"Xekrit Zefir"},"43160":{"slash":0.6,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.0,"electric":0.6,"name":"Disgust Wisp"},"43161":{"slash":0.6,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Spirit Wisp"},"43162":{"slash":0.75,"pierce":0.5,"bludgeon":0.5,"fire":0.75,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Zombie Mage"},"43163":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.02,"acid":0.5,"electric":0.66,"name":"Frost Golem"},"43165":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.65,"cold":1.32,"acid":0.88,"electric":0.76,"name":"Banderling Smasher"},"43166":{"slash":0.75,"pierce":0.75,"bludgeon":0.95,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.95,"name":"Grave Rat"},"43203":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Nexus Master"},"43204":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Nexus Master"},"43205":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Nexus Master"},"43206":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Grand Director"},"43214":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Virindi Executor"},"43216":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Subverted Bronze Gauntlet Knight"},"43217":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Subverted Copper Cog Knight"},"43218":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Subverted Iron Blade Knight"},"43219":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Subverted Silver Scope Knight"},"43220":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Virindi Inquisitor"},"43221":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Apostate Rift Aggressor"},"43222":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Virindi Executor"},"43223":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Virindi Inquisitor"},"43227":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Monitor"},"43251":{"slash":0.79,"pierce":0.58,"bludgeon":0.79,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"nether":0.82,"name":"Armored Guardian"},"43252":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.75,"cold":0.4,"acid":0.65,"electric":0.4,"nether":1.0,"name":"Undead Commander"},"43260":{"slash":0.55,"pierce":0.62,"bludgeon":0.62,"fire":0.88,"cold":0.5,"acid":0.44,"electric":0.5,"name":"Apostate Nexus Master"},"43262":{"slash":0.55,"pierce":0.62,"bludgeon":0.62,"fire":0.88,"cold":0.5,"acid":0.44,"electric":0.5,"name":"Apostate Nexus Guardian"},"43269":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.75,"cold":0.4,"acid":0.65,"electric":0.4,"nether":1.0,"name":"Undead Commander"},"43270":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":1.0,"cold":0.4,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Filinuvekta Hieromancer"},"43271":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":1.0,"cold":0.4,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Filinuvekta Exarch"},"43272":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":1.0,"acid":0.8,"electric":0.8,"name":"Engorged Bloodstone"},"43391":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Minion"},"43392":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Henchman"},"43393":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Soldier"},"43394":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Henchman"},"43395":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Minion"},"43396":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Soldier"},"43411":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.5,"cold":1.0,"acid":0.8,"electric":0.85,"name":"Haze Golem"},"43413":{"slash":0.1,"pierce":0.1,"bludgeon":0.1,"fire":0.0,"cold":0.85,"acid":0.8,"electric":1.0,"name":"Voltaic Golem"},"43414":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Hardened Obsidian Golem"},"43415":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Molten Golem"},"43485":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Crusher"},"43486":{"slash":0.95,"pierce":0.9,"bludgeon":0.67,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Burrowing Grievver"},"43487":{"slash":1.0,"pierce":0.5,"bludgeon":0.75,"fire":0.25,"cold":0.25,"acid":0.25,"electric":0.25,"name":"Grievver Violator"},"43488":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":0.65,"cold":1.32,"acid":0.88,"electric":0.76,"name":"Banderling Smasher"},"43516":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Soldier"},"43532":{"slash":0.6,"pierce":0.25,"bludgeon":1.0,"fire":1.0,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Battle Lord Gregor"},"43592":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Snow Tusker"},"43593":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Snow Tusker Warrior"},"43594":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Snow Tusker Leader"},"43688":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Townsperson"},"43689":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"43690":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight"},"43691":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Sorcerer"},"43697":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"43698":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Nymph Grub"},"43699":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Soldier Grub"},"43700":{"slash":0.65,"pierce":0.7,"bludgeon":0.75,"fire":0.55,"cold":0.6,"acid":0.25,"electric":0.45,"name":"Olthoi Eviscerator Grub"},"43706":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.02,"acid":0.5,"electric":0.66,"name":"Frost Golem"},"43733":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Snow Tusker"},"43734":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Snow Tusker Leader"},"43743":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.0,"electric":0.4,"name":"Bloodstone"},"43746":{"slash":1.0,"pierce":0.52,"bludgeon":0.75,"fire":1.0,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Ghost of Galaeral"},"43753":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Mayor Trenlach"},"43756":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.89,"electric":0.65,"name":"Follower of Deewain"},"43761":{"slash":0.33,"pierce":0.5,"bludgeon":0.63,"fire":0.2,"cold":0.2,"acid":0.86,"electric":0.65,"name":"Charged Defender"},"43762":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.73,"electric":0.65,"name":"Chilled Defender"},"43763":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.73,"electric":0.65,"name":"Fiery Defender"},"43774":{"slash":0.33,"pierce":0.33,"bludgeon":0.8,"fire":0.75,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Missile Defender"},"43776":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Fallen Rock"},"43781":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.89,"electric":0.65,"name":"Iron Golem"},"43783":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.89,"electric":0.65,"name":"Rock"},"43784":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.89,"electric":0.65,"name":"Follower of Deewain"},"43795":{"slash":0.33,"pierce":0.5,"bludgeon":0.69,"fire":0.2,"cold":0.2,"acid":0.83,"electric":0.65,"name":"Charged Defender"},"43796":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.76,"electric":0.65,"name":"Chilled Defender"},"43797":{"slash":0.33,"pierce":0.5,"bludgeon":0.83,"fire":0.2,"cold":0.2,"acid":0.79,"electric":0.65,"name":"Fiery Defender"},"43800":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Bloodstone Shard"},"43821":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"43822":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight"},"43823":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Sorcerer"},"43854":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"43855":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"43856":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"43857":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Child"},"43863":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"43898":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.75,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Void"},"43899":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.9,"name":"Void Lord"},"43979":{"slash":0.25,"pierce":0.25,"bludgeon":1.1,"fire":1.1,"cold":0.3,"acid":1.1,"electric":0.4,"name":"Virindi Dreamslayer"},"44015":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"nether":1.0,"name":"Guardian Armoredillo"},"44016":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"nether":1.0,"name":"Guardian Armoredillo"},"44017":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"nether":1.0,"name":"Tamed Armoredillo"},"44018":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"name":"Tamed Armoredillo"},"44019":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"nether":1.0,"name":"War Armoredillo"},"44020":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"name":"War Armoredillo"},"44021":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay"},"44022":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay"},"44023":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Guard"},"44024":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Guard"},"44025":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Servant"},"44026":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Servant"},"44027":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Slave"},"44028":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Servant"},"44029":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Soldier"},"44030":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Soldier"},"44031":{"slash":0.25,"pierce":0.25,"bludgeon":0.3,"fire":0.3,"cold":1.0,"acid":0.3,"electric":0.4,"nether":1.3,"name":"Dust Golem"},"44032":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Dust Golem"},"44033":{"slash":0.25,"pierce":0.25,"bludgeon":0.8,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Burning Sands Golem"},"44034":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Burning Sands Golem"},"44035":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Champion"},"44036":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Champion"},"44037":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"44038":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"44039":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Lord"},"44040":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Lord"},"44041":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Sentinel"},"44042":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Sentinel"},"44043":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"44044":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"44045":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Vizier"},"44046":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Vizier"},"44047":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.1,"name":"Reedshark Hunter"},"44048":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.1,"name":"Reedshark Hunter"},"44049":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.1,"name":"Reedshark Seeker"},"44050":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.1,"name":"Reedshark Seeker"},"44051":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.1,"name":"Tamed Reaper"},"44052":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.1,"name":"Tamed Reaper"},"44053":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.0,"name":"War Reaper"},"44054":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.67,"nether":1.0,"name":"War Reaper"},"44088":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Soldier"},"44089":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Lady"},"44090":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Guard"},"44091":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Servant"},"44092":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Servant"},"44093":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Vizier"},"44094":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Champion"},"44095":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"44096":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Lord"},"44097":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Grand Vizier"},"44098":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":1.5,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Mu-miyah Slave Master"},"44099":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Sentinel"},"44100":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"44108":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.3,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Mu-miyah Channeller"},"44109":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.3,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Mu-miyah Soothsayer"},"44297":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Cracked Stone Tablet"},"44319":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Guard"},"44320":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Bak'tshay Servant"},"44321":{"slash":0.25,"pierce":0.25,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":1.1,"electric":0.4,"name":"Bak'tshay Slave"},"44322":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Bak'tshay Soldier"},"44347":{"slash":0.65,"pierce":0.65,"bludgeon":0.5,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Filinuvekta Emissary"},"44474":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Devourer Margul"},"44476":{"slash":0.9,"pierce":0.5,"bludgeon":0.6,"fire":0.5,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Grievver Shredder"},"44478":{"slash":0.5,"pierce":0.2,"bludgeon":0.5,"fire":0.7,"cold":0.2,"acid":0.5,"electric":0.4,"nether":0.9,"name":"Shadow Flyer"},"44480":{"slash":0.4,"pierce":0.3,"bludgeon":0.3,"fire":0.5,"cold":0.2,"acid":0.2,"electric":0.1,"nether":0.75,"name":"Shadow's Breath"},"44629":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.1,"acid":1.0,"electric":1.0,"name":"Shadow Vortex"},"44651":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.1,"acid":1.0,"electric":1.0,"name":"Pillar of Fire"},"44695":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":1.1,"acid":1.0,"electric":1.0,"name":"Pillar of Fire"},"44804":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Devourer Margul"},"44805":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.9,"name":"Void Lord"},"44806":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"44807":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"44808":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"44809":{"slash":0.9,"pierce":0.5,"bludgeon":0.6,"fire":0.5,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Grievver Shredder"},"44815":{"slash":0.5,"pierce":0.2,"bludgeon":0.5,"fire":0.7,"cold":0.2,"acid":0.5,"electric":0.4,"nether":0.9,"name":"Shadow Flyer"},"44829":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Shadow Engineer"},"44831":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Shadow Engineer"},"45003":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight"},"45005":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.02,"acid":0.5,"electric":0.66,"name":"Frost Golem"},"45008":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Sorcerer"},"45009":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight"},"45010":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"45012":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Sorcerer"},"45014":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"45016":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight High Acolyte"},"45153":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.45,"cold":0.45,"acid":0.55,"electric":0.45,"name":"Guardian Statue"},"45155":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"45156":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Skeleton"},"45157":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Minion"},"45160":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Captain"},"45161":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"45162":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight"},"45165":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Corrupted Dread"},"45171":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.45,"cold":0.45,"acid":0.55,"electric":0.45,"name":"Guardian Statue"},"45173":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"45174":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Skeleton"},"45175":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Minion"},"45178":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Captain"},"45179":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"45182":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Corrupted Dread"},"45183":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.8,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Sorrow Wisp"},"45184":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.0,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Hatred Wisp"},"45187":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight"},"45196":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.6,"cold":0.4,"acid":0.6,"electric":1.0,"name":"Blinded Apparition"},"45198":{"slash":0.89,"pierce":0.5,"bludgeon":0.5,"fire":0.97,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Hovoros the Shadowed"},"45691":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.75,"acid":0.4,"electric":0.4,"name":"Incendiary Guard"},"45692":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45698":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.75,"electric":0.0,"name":"Galvanic Guard"},"45699":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45700":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.0,"electric":0.75,"name":"Caustic Guard"},"45702":{"slash":0.75,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Aqueous Guard"},"45703":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45704":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45705":{"slash":0.5,"pierce":0.3,"bludgeon":0.3,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Formless Shadow"},"45706":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.75,"cold":0.0,"acid":0.4,"electric":0.4,"name":"Glacial Guard"},"45707":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45708":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45709":{"slash":0.75,"pierce":0.5,"bludgeon":0.75,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Tenebrous Guard"},"45710":{"slash":0.75,"pierce":0.5,"bludgeon":0.75,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Luminary Guard"},"45751":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45752":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45753":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"45802":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.1,"name":"A'nekshay"},"45803":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.1,"name":"A'nekshay Temple Guardian"},"45804":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.1,"name":"A'nekshay Temple Servant"},"45805":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.1,"name":"A'nekshay Temple Servant"},"45806":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.1,"name":"A'nekshay Temple Guardian"},"45807":{"slash":0.9,"pierce":0.8,"bludgeon":0.4,"fire":0.7,"cold":0.7,"acid":0.85,"electric":1.0,"name":"Blessed Moarsman"},"45855":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Dravann"},"45856":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Keeper"},"45859":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Guard"},"45860":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Hollow Ward"},"45861":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Captive"},"45862":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Captive"},"45863":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Captive"},"45897":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Jailor"},"45899":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Jailor"},"45901":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Jailor"},"46025":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Captive"},"46026":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Captive"},"46027":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Captive"},"46143":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.89,"name":"Baby Penguin"},"46144":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.29,"cold":0.6,"acid":0.75,"electric":0.89,"name":"Penguin Guardian"},"46278":{"slash":0.8,"pierce":0.51,"bludgeon":0.8,"fire":1.0,"cold":0.0,"acid":0.8,"electric":0.8,"name":"Cowardly Snowman"},"46279":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Soldier"},"46281":{"slash":0.9,"pierce":0.52,"bludgeon":0.75,"fire":0.9,"cold":0.1,"acid":0.75,"electric":0.86,"name":"Dark Master"},"46299":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.89,"name":"Tiny"},"46300":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.1,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Pillar of Frost"},"46303":{"slash":0.5,"pierce":0.5,"bludgeon":0.75,"fire":0.85,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Wall of Ice"},"46305":{"slash":0.5,"pierce":0.5,"bludgeon":0.75,"fire":0.85,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Frigid Ice Golem"},"46306":{"slash":0.5,"pierce":0.5,"bludgeon":0.75,"fire":0.85,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Frigid Mist Golem"},"46351":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Armored Siessa Sclavus Veteran"},"46352":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Armored Afessa Sclavus Veteran"},"46353":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Armored Afessa Sclavus Veteran"},"46354":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Blood Prophetess"},"46408":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"nether":1.0,"name":"Carrion Rat"},"46409":{"slash":0.65,"pierce":0.4,"bludgeon":0.65,"fire":0.65,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Carcass Swarm"},"46410":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"nether":1.0,"name":"Giant Maggot"},"46411":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Rotting Mu-miyah"},"46412":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Decayed Wight"},"46413":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.82,"cold":0.34,"acid":0.49,"electric":0.5,"nether":1.0,"name":"Departed Spirit"},"46426":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Ronin Hirachi"},"46428":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Ronin Shimakawa"},"46430":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Ronin Ginmura"},"46433":{"slash":0.75,"pierce":0.75,"bludgeon":1.0,"fire":0.25,"cold":0.6,"acid":0.6,"electric":1.0,"nether":1.0,"name":"Large Carrion Rat"},"46436":{"slash":0.65,"pierce":0.75,"bludgeon":0.5,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.7,"nether":1.0,"name":"Sickly Maggot"},"46437":{"slash":0.65,"pierce":0.4,"bludgeon":0.65,"fire":0.65,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Putrid Swarm"},"46439":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.89,"cold":0.34,"acid":0.49,"electric":0.84,"nether":1.0,"name":"Samurai Titan"},"46498":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Archer"},"46499":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Archer"},"46500":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"46501":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"46502":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"46503":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"46504":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Archer"},"46505":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Archer"},"46506":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Adept"},"46507":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Adept"},"46508":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Master"},"46509":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Master"},"46510":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Bloodmage"},"46511":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Bloodmage"},"46512":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Bushi"},"46513":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Bushi"},"46514":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"46515":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"46516":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"46517":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"46518":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Bushi"},"46519":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Bushi"},"46520":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Claw Adept"},"46521":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Claw Adept"},"46522":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Claw Master"},"46523":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Claw Master"},"46524":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"46525":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"46526":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"46527":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"46528":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"46529":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"46530":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Minion"},"46531":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Minion"},"46532":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Shou-jen"},"46533":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Shou-jen"},"46534":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Samurai"},"46535":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Samurai"},"46536":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai"},"46537":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai"},"46538":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai"},"46539":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai"},"46540":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Samurai"},"46541":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Samurai"},"46561":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Samurai"},"46562":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"46563":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"46564":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Samurai"},"46565":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"46566":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"46567":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Claw Adept"},"46568":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Claw Master"},"46569":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Adept"},"46570":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Master"},"46571":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"46572":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Bloodmage"},"46574":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Shou-jen"},"46603":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":0.65,"acid":1.0,"electric":1.0,"nether":1.0,"name":"Clay Golem Samurai"},"46613":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":1.0,"electric":0.65,"nether":1.0,"name":"Bronze Golem Samurai"},"46614":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.65,"electric":1.0,"nether":1.0,"name":"Iron Golem Samurai"},"46651":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":1.0,"electric":0.65,"nether":1.0,"name":"Bronze Golem Samurai"},"46652":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":0.65,"acid":1.0,"electric":1.0,"nether":1.0,"name":"Clay Golem Samurai"},"46653":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.65,"electric":1.0,"nether":1.0,"name":"Iron Golem Samurai"},"46660":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"nether":1.0,"name":"Samurai Gatekeeper"},"46661":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Claw Master Gatekeeper"},"46662":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Bushi Gatekeeper"},"46687":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"46688":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"46690":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.6,"acid":0.2,"electric":0.2,"nether":0.7,"name":"Guruk Grunt"},"46694":{"slash":0.5,"pierce":0.78,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.75,"name":"Tumerok Savage"},"46696":{"slash":0.69,"pierce":0.87,"bludgeon":0.4,"fire":0.84,"cold":0.5,"acid":0.5,"electric":1.0,"name":"Raging Moar"},"46700":{"slash":0.4,"pierce":0.75,"bludgeon":0.7,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Crazed Olthoi"},"46702":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.5,"cold":0.3,"acid":0.3,"electric":0.3,"nether":0.42,"name":"Vibrant Shadow"},"46705":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Fiesty Mite"},"46710":{"slash":0.8,"pierce":0.7,"bludgeon":0.6,"fire":0.3,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Torment Wisp"},"46716":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.65,"electric":0.91,"name":"Lugian Launcher"},"46767":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Duplicitous Simulacrum"},"46768":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.45,"acid":0.45,"electric":0.35,"name":"Tumerok Corporal"},"46780":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Adolescent Rust Gromnie"},"46815":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Wight Blade Sorcerer"},"46816":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"46928":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":0.2,"electric":0.4,"name":"Obsidian Golem Noble"},"46929":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"46930":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Gaerlan"},"46931":{"slash":0.75,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ancient Aqueous Knight"},"46932":{"slash":0.75,"pierce":0.5,"bludgeon":0.75,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ancient Luminary Knight"},"46933":{"slash":0.75,"pierce":0.5,"bludgeon":0.75,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ancient Tenebrous Knight"},"46934":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Ancient Mud Golem"},"46935":{"slash":0.33,"pierce":0.5,"bludgeon":1.0,"fire":0.2,"cold":0.2,"acid":1.0,"electric":0.83,"name":"Ancient Sandstone Golem"},"46936":{"slash":0.33,"pierce":0.5,"bludgeon":0.33,"fire":1.0,"cold":1.0,"acid":0.83,"electric":1.0,"name":"Ancient Water Golem"},"46951":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":0.9,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Rage Wisp"},"47043":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Zealot"},"47045":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Izexi"},"47047":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Abducting Crystal"},"47048":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Conveying Crystal"},"47049":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensnared Soul"},"47053":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Xilkvar"},"47153":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Tainted Dust Golem"},"47179":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Tiatus Smithy"},"47186":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tortured Servant"},"47188":{"slash":0.65,"pierce":0.65,"bludgeon":0.5,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Zrikux"},"47204":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tortured Servant"},"47205":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Forge Guardian"},"47210":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Tiatus Overseer"},"47216":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"47217":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"47218":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"47225":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"47226":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"48711":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.9,"acid":0.3,"electric":0.3,"name":"Scorching Flame"},"48712":{"slash":0.69,"pierce":0.69,"bludgeon":0.69,"fire":0.1,"cold":0.8,"acid":0.69,"electric":0.69,"name":"Char Golem"},"48713":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Blazing Crystal"},"48715":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Prism Shard"},"48753":{"slash":0.82,"pierce":0.68,"bludgeon":0.68,"fire":0.5,"cold":0.68,"acid":0.69,"electric":0.5,"name":"Roused Spirit"},"48755":{"slash":0.57,"pierce":0.57,"bludgeon":0.66,"fire":0.79,"cold":0.3,"acid":0.73,"electric":0.4,"name":"Wight Frost Mage"},"48756":{"slash":0.57,"pierce":0.57,"bludgeon":0.66,"fire":0.79,"cold":0.3,"acid":0.73,"electric":0.4,"name":"Raging Wight"},"48762":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"nether":0.82,"name":"Burning Bones"},"48763":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"nether":0.82,"name":"Skeleton Ranger"},"48764":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"nether":0.82,"name":"Count Phainor"},"48765":{"slash":0.84,"pierce":0.8,"bludgeon":0.57,"fire":0.1,"cold":0.57,"acid":0.65,"electric":0.67,"name":"Guardian Wisp"},"48774":{"slash":0.82,"pierce":0.68,"bludgeon":0.68,"fire":0.5,"cold":0.68,"acid":0.69,"electric":0.5,"name":"Spirit of Protection"},"48801":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Janthef"},"48802":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"48803":{"slash":0.25,"pierce":0.25,"bludgeon":0.9,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.4,"nether":1.2,"name":"Ensorcelled Weapon"},"48804":{"slash":0.25,"pierce":0.25,"bludgeon":0.3,"fire":0.3,"cold":1.0,"acid":0.3,"electric":0.4,"nether":1.3,"name":"Whirlwind Golem"},"48813":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Ensorcelled Weapon"},"48899":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Ensorcelled Weapon"},"48900":{"slash":0.25,"pierce":0.25,"bludgeon":0.3,"fire":0.3,"cold":1.0,"acid":0.3,"electric":0.4,"nether":1.3,"name":"Whirlwind Golem"},"48924":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":0.65,"acid":1.0,"electric":1.0,"nether":1.0,"name":"Clay Golem Kachi"},"48925":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":1.0,"electric":0.65,"nether":1.0,"name":"Bronze Golem Kachi"},"48926":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.65,"electric":1.0,"nether":1.0,"name":"Iron Golem Kachi"},"48929":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":1.0,"electric":0.65,"nether":1.0,"name":"Bronze Golem Sekkou"},"48930":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":0.65,"acid":1.0,"electric":1.0,"nether":1.0,"name":"Clay Golem Sekkou"},"48931":{"slash":0.1,"pierce":0.1,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.65,"electric":1.0,"nether":1.0,"name":"Iron Golem Sekkou"},"49480":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"49571":{"slash":0.25,"pierce":0.25,"bludgeon":0.6,"fire":0.7,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"49572":{"slash":0.25,"pierce":0.25,"bludgeon":0.3,"fire":0.7,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"49573":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"49574":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"49575":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Lackey"},"49576":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Mu-miyah Recluse"},"49586":{"slash":0.5,"pierce":0.5,"bludgeon":0.98,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.95,"name":"Infectious Rat"},"49611":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"nether":1.0,"name":"Simulacrum Emulat"},"49613":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Hollow Reaver"},"49614":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"nether":1.0,"name":"Simulacrum Mimic"},"49615":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Fulguris"},"49616":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Signat"},"49637":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"nether":1.4,"name":"Elemental Protector"},"49641":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"nether":1.0,"name":"Simulacrum Shifter"},"51213":{"slash":0.4,"pierce":0.65,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Warrior"},"51215":{"slash":0.4,"pierce":0.65,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Warrior"},"51285":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"nether":1.0,"name":"Simulacrum Shifter"},"51286":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Sentinel"},"51287":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Clandestine"},"51288":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"nether":1.0,"name":"Simulacrum Mimic"},"51297":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Delegate"},"51298":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Delegate"},"51300":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Keeper"},"51314":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Virindi Sentry"},"51316":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Archer"},"51338":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.5,"acid":0.7,"electric":0.5,"name":"Frozen Dread"},"51340":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Bloodstone Fragment"},"51342":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Experimental Bloodstone"},"51344":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Experimental Bloodstone Fragment"},"51349":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Hollow Servant"},"51350":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Snow Tusker Leader"},"51352":{"slash":0.44,"pierce":0.44,"bludgeon":0.44,"fire":0.7,"cold":0.0,"acid":0.0,"electric":0.64,"nether":0.7,"name":"Freezing Wind"},"51353":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Bloodstone Fragment"},"51354":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Bloodstone Shard"},"51355":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Bloodstone Shard"},"51356":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Experimental Bloodstone Fragment"},"51357":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Guardian Henchman"},"51358":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Guardian Minion"},"51359":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Guardian Soldier"},"51360":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Guardian Captain"},"51361":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Guardian"},"51363":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Guardian Sorcerer"},"51371":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Prototype Bloodstone Fragment"},"51375":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Hollow Servitor"},"51376":{"slash":0.4,"pierce":0.65,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Warrior"},"51380":{"slash":0.4,"pierce":0.6,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Oggma"},"51382":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.6,"acid":0.7,"electric":0.7,"nether":1.0,"name":"Kul Bronzegear"},"51399":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"nether":1.0,"name":"Simulacrum Doppelganger"},"51435":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Snow Tuskie"},"51550":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Disciple of Hatred"},"51551":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Disciple of Misery"},"51554":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"51555":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Confer"},"51573":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Hollow Servitor"},"51575":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"51579":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Disciple of Anger"},"51592":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":1.0,"electric":0.6,"nether":1.0,"name":"Virindi Delegate"},"51599":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.7,"electric":0.2,"name":"Pillar of Lightning"},"51607":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Minion"},"51608":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Minion of Rage"},"51609":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Slayer"},"51610":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Rager"},"51611":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Sorcerer"},"51612":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Raging Corrupt Sorcerer"},"51613":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Bulwark"},"51617":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Aspect of Avarice"},"51631":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Minion"},"51632":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Minion of Rage"},"51633":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Rager"},"51634":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Slayer"},"51635":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Corrupt Sorcerer"},"51636":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Raging Corrupt Sorcerer"},"51653":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.6,"acid":0.7,"electric":0.7,"nether":1.0,"name":"Corrupt Gear Warrior"},"51661":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.6,"acid":0.7,"electric":0.7,"nether":1.0,"name":"Corrupt Gear Sentry"},"51663":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.6,"acid":0.7,"electric":0.7,"nether":1.0,"name":"Corrupt Gear Sentry"},"51665":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"51674":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Rynthid Taskmaster"},"51682":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":0.6,"electric":0.6,"nether":1.0,"name":"Shadow Captive"},"51683":{"slash":1.2,"pierce":1.0,"bludgeon":1.0,"fire":1.2,"cold":0.6,"acid":0.6,"electric":0.6,"nether":1.0,"name":"Shadow Captive"},"51684":{"slash":0.4,"pierce":0.6,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Corrupt Lugian"},"51700":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Apparition of Spite"},"51701":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Apparition of Bloodlust"},"51702":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Apparition of Envy"},"51703":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Apparition of Apathy"},"51711":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Spirit Minion"},"51712":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Spirit Rager"},"51713":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Spirit Slayer"},"51714":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Spirit Sorcerer"},"51723":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Blind Rage"},"51724":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Blind Rage"},"51725":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Blind Rage"},"51726":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Blind Rage"},"51727":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Rage"},"51728":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Rage"},"51729":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Rage"},"51730":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Discorporate Rynthid of Rage"},"51731":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Consuming Torment"},"51732":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Consuming Torment"},"51733":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Consuming Torment"},"51734":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Consuming Torment"},"51735":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Torment"},"51736":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Torment"},"51737":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"name":"Rift of Torment"},"51738":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Torment"},"51739":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Aspect of Rage"},"51741":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Aspect of Torment"},"51743":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Berserker"},"51745":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Torment"},"51746":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Torment"},"51747":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Minion of Rage"},"51748":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Minion of Rage"},"51749":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Minion"},"51750":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Minion"},"51751":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Rager"},"51752":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Rager"},"51753":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Ravager"},"51755":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Rynthid Slayer"},"51756":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Rynthid Slayer"},"51757":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Raging Rynthid Sorcerer"},"51758":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Raging Rynthid Sorcerer"},"51759":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Sorcerer"},"51760":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Sorcerer"},"51761":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Rage"},"51762":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Discorporate Rynthid of Rage"},"51792":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Deadly Spirit"},"51806":{"slash":0.7,"pierce":0.7,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Empowered Despair Wisp"},"51807":{"slash":0.7,"pierce":0.7,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Empowered Hatred Wisp"},"51808":{"slash":0.7,"pierce":0.7,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Empowered Sorrow Wisp"},"51823":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Torment"},"51826":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Rage"},"51828":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Sorrows"},"51830":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Sorrows"},"51831":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.2,"name":"Pillar of Frost"},"51832":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.7,"nether":1.0,"name":"Acidic Tendril"},"51834":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Malicious Spirit"},"51842":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Flame Spirit"},"51843":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Frost Spirit"},"51844":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Acidic Spirit"},"51845":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Electric Spirit"},"51876":{"slash":0.7,"pierce":0.6,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Tormented Shadow"},"51877":{"slash":0.7,"pierce":0.6,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Enraged Shadow"},"51878":{"slash":0.7,"pierce":0.6,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Enraged Shadow"},"51879":{"slash":0.7,"pierce":0.6,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Enraged Shadow"},"51880":{"slash":0.7,"pierce":0.6,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Tormented Shadow"},"51881":{"slash":0.7,"pierce":0.6,"bludgeon":0.4,"fire":0.7,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Tormented Shadow"},"51902":{"slash":0.4,"pierce":0.6,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Lugian Lackey"},"51904":{"slash":0.4,"pierce":0.6,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Lugian Minion"},"51909":{"slash":0.4,"pierce":0.6,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Lugian Guardian"},"51920":{"slash":0.4,"pierce":0.6,"bludgeon":0.4,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Captain Keeson"},"51936":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Tormented Minion"},"51938":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Tormented Sorcerer"},"51969":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sanctum Summoning Crystal"},"51970":{"slash":0.95,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":1.0,"acid":0.6,"electric":0.9,"name":"Containment Doll"},"51971":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sanctum Warding Crystal"},"51972":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sanctum Warding Crystal"},"51973":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sanctum Warding Crystal"},"51974":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sanctum Warding Crystal"},"51975":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Marionette Knight of Torment"},"51976":{"slash":1.0,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.9,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Tormented Marionette"},"51977":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Suppression Rift"},"51978":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Archmage"},"51979":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Torment"},"51980":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Torment"},"51981":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Torment"},"51982":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Guardian of Torment"},"51983":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Servant"},"51984":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Lothus Slayer"},"51992":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Curator of Torment"},"52027":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"name":"Corrupted Shaman"},"52028":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"name":"Corrupted Warrior"},"52031":{"slash":0.8,"pierce":0.8,"bludgeon":0.8,"fire":0.8,"cold":0.8,"acid":0.8,"electric":0.8,"name":"Corrupted Warrior"},"52112":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Troublesome Mite"},"52113":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Troublesome Mite"},"52114":{"slash":0.8,"pierce":0.85,"bludgeon":0.8,"fire":0.8,"cold":0.75,"acid":0.8,"electric":0.75,"name":"Troublesome Mite"},"52131":{"slash":0.69,"pierce":0.87,"bludgeon":0.4,"fire":0.84,"cold":0.5,"acid":0.5,"electric":1.0,"name":"Enraged Moar"},"52213":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Lackey"},"52224":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"52231":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"52233":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"52235":{"slash":0.25,"pierce":0.25,"bludgeon":0.7,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Bak'tshay Keeper"},"52240":{"slash":0.25,"pierce":0.25,"bludgeon":0.8,"fire":0.3,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Burning Sands Guardian"},"52244":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Mu-miyah Magus"},"52248":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Lingering Spirit of the Recluse"},"52250":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Door"},"52260":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.1,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Pillar of Frost"},"52261":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.1,"electric":0.0,"name":"Pillar of Lightning"},"52262":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.0,"electric":0.9,"name":"Pillar of Acid"},"52263":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":1.1,"acid":1.0,"electric":1.0,"name":"Pillar of Fire"},"52265":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Celestial Hand Warrior"},"52266":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Celestial Hand Officer"},"52267":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Celestial Hand Warrior"},"52273":{"slash":0.5,"pierce":0.2,"bludgeon":0.5,"fire":0.7,"cold":0.2,"acid":0.5,"electric":0.4,"nether":0.9,"name":"Shadow Flyer"},"52275":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Void Lord"},"52276":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Rynthid Crystal"},"52278":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Sorcerer"},"52279":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Rynthid Slayer"},"52280":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Rynthid Minion"},"52283":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Frozen Crystal"},"52285":{"slash":0.45,"pierce":0.1,"bludgeon":0.5,"fire":0.7,"cold":0.02,"acid":0.5,"electric":0.66,"name":"Frost Golem"},"52288":{"slash":0.67,"pierce":0.67,"bludgeon":1.0,"fire":0.37,"cold":0.67,"acid":0.37,"electric":0.37,"name":"Desert Phyntos Swarm"},"52290":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Desert Cactus"},"52292":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"52293":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Bloodmage"},"52295":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Sarcophagus"},"52305":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Corrupted Gravestone"},"52308":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Minion"},"52309":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"52519":{"slash":0.7,"pierce":0.6,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Zefir Thorn Stalker"},"52573":{"slash":0.7,"pierce":0.6,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Zefir Thorn Poisoner"},"52574":{"slash":0.7,"pierce":0.6,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Zefir Thorn Ranger"},"52575":{"slash":0.7,"pierce":0.6,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Zefir Thorn Reaver"},"52583":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Storm Caller"},"52585":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Storm Reaver"},"52587":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Thorn Dancer"},"52589":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Thorn Reaver"},"52616":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Brier Wasp"},"52617":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Brier Wasp Swarm"},"52618":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Brier Wasp Hive"},"52619":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Venomous Brier Wasp"},"52620":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Poisonous Brier Wasp"},"52626":{"slash":0.6,"pierce":0.7,"bludgeon":0.7,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Oaken Guardian"},"52627":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Guardian Wisp"},"52628":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.7,"nether":1.0,"name":"Corrupted Guardian Wisp"},"52709":{"slash":0.65,"pierce":0.2,"bludgeon":0.65,"fire":0.6,"cold":0.2,"acid":0.2,"electric":0.2,"name":"Stinging Armoredillo"},"52710":{"slash":0.4,"pierce":0.4,"bludgeon":0.8,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Vicious Remoran Sapper"},"52711":{"slash":0.65,"pierce":0.5,"bludgeon":0.5,"fire":0.7,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Wight Sage"},"52712":{"slash":0.45,"pierce":0.2,"bludgeon":0.2,"fire":0.45,"cold":0.6,"acid":0.2,"electric":0.2,"name":"Ruuk Ranger"},"52714":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.7,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Hollow Pawn"},"52715":{"slash":1.0,"pierce":0.7,"bludgeon":0.2,"fire":0.6,"cold":0.2,"acid":0.2,"electric":0.2,"name":"Corrosive Archer"},"52716":{"slash":0.6,"pierce":0.5,"bludgeon":0.5,"fire":0.65,"cold":0.5,"acid":0.5,"electric":0.65,"name":"Virindi Rival"},"52718":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.0,"electric":0.0,"name":"Tracking Fireball"},"52721":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.5,"cold":0.1,"acid":0.2,"electric":0.2,"nether":0.7,"name":"Tundra Tusker"},"52724":{"slash":0.5,"pierce":0.55,"bludgeon":0.75,"fire":0.92,"cold":0.1,"acid":0.45,"electric":0.65,"name":"Tusker Heaver"},"52726":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.45,"cold":0.45,"acid":0.45,"electric":0.45,"name":"Defensive Crystal"},"52727":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.45,"cold":0.45,"acid":0.45,"electric":0.45,"name":"Defensive Crystal"},"52775":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.3,"cold":0.0,"acid":0.78,"electric":0.2,"name":"Blade Lieutenant"},"52776":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.0,"acid":0.69,"electric":0.5,"name":"Blade Captain"},"52777":{"slash":0.2,"pierce":0.2,"bludgeon":0.2,"fire":0.2,"cold":0.0,"acid":0.69,"electric":0.5,"name":"Blade Champion"},"52778":{"slash":0.92,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Grievver Darter"},"52779":{"slash":1.0,"pierce":0.8,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Pike Grievver"},"52780":{"slash":0.61,"pierce":0.89,"bludgeon":0.88,"fire":0.2,"cold":0.2,"acid":0.2,"electric":0.1,"nether":1.0,"name":"Mukkir Predator"},"52960":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Radiant Blood Officer"},"52961":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Radiant Blood Warrior"},"52962":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Radiant Blood Warrior"},"53014":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Thunder Poult"},"53015":{"slash":0.86,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.86,"acid":0.8,"electric":1.0,"name":"Thunder Turkey"},"53280":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Brellegia"},"53281":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Aangesilus"},"53290":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.1,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Ice Storm"},"53306":{"slash":0.4,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.8,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Dridge"},"53345":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Emerald Thorn Gromnie"},"53346":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Vermilion Thorn Gromnie"},"53347":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Emerald Hunting Gromnie"},"53348":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Vermilion War Gromnie"},"53350":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Corrupting Thorn Gromnie"},"53365":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"Wind Fury"},"53375":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Eyestalk"},"53376":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Tendril"},"53377":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Tentacle"},"70000":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Aggressive Penguin"},"70012":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Caravaush the Chamberlain"},"70014":{"slash":0.75,"pierce":0.58,"bludgeon":0.75,"fire":1.0,"cold":0.25,"acid":1.0,"electric":0.46,"name":"Darayavaush the Red"},"70017":{"slash":0.5,"pierce":0.5,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.9,"electric":0.5,"name":"Tomb of Adhorix"},"70037":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.8,"electric":1.0,"name":"Blood Golem"},"70038":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Eternal Harvester"},"70039":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.76,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Cave Ursuin"},"70040":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Fazenda Terror"},"70041":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Seeker"},"70056":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.0,"name":"Big Chief Hagra"},"70081":{"slash":0.33,"pierce":0.67,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Blighted Coral Golem Viceroy"},"70082":{"slash":0.58,"pierce":0.68,"bludgeon":0.68,"fire":0.36,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Dark Remoran"},"70293":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Master Malsivir"},"70331":{"slash":0.6,"pierce":0.6,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Ehlyis Sleech"},"70348":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Turgos the Hunter"},"70349":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Gearall the Shield"},"70364":{"slash":0.65,"pierce":0.65,"bludgeon":0.5,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.3,"nether":1.0,"name":"Lord Kastellar"},"70365":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.86,"electric":0.4,"name":"Bloodstone Crystal Stockpile"},"70366":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Guardian"},"70368":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Master Bloodstone"},"70370":{"slash":0.58,"pierce":0.9,"bludgeon":0.9,"fire":0.25,"cold":1.0,"acid":0.75,"electric":0.25,"name":"Caged Dread Mattekar"},"70371":{"slash":0.58,"pierce":0.9,"bludgeon":0.9,"fire":0.25,"cold":1.0,"acid":0.75,"electric":0.25,"name":"Filthy Mattekar"},"70376":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Kierien the Watcher"},"70377":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Warmaster Lurgiss"},"70705":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Stockpile Guardian"},"70706":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Stockpile Guardian"},"70709":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Bodyguard"},"70712":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Iron Blade Warmaster"},"70715":{"slash":1.0,"pierce":1.0,"bludgeon":1.2,"fire":1.2,"cold":0.5,"acid":0.75,"electric":1.2,"name":"General Tarkaris"},"70716":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Apostate Overseer"},"70753":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Baron Entemarre"},"70972":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Atlan's Crafting Golem"},"70973":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Inner Chamber Guardian"},"70974":{"slash":0.3,"pierce":0.3,"bludgeon":0.3,"fire":0.3,"cold":0.4,"acid":0.3,"electric":0.3,"name":"Luminary Knight"},"70975":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian Ore Collector"},"71101":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Temple Guardian"},"71102":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Temple Guardian"},"71103":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Temple Guardian"},"71104":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"High Priest of T'thuun"},"71106":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"High Priest's Acolyte"},"71107":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"High Priest's Third"},"71108":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"High Priest's Second"},"71109":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"High Priest's First"},"71111":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Kathirik"},"71167":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Haisanix the Destroyer"},"71168":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Karkuul the Defiler"},"71169":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Vizidh the Despoiler"},"71239":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.0,"acid":0.0,"electric":0.0,"name":"Harbinger"},"71263":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Crypt Guardian"},"71264":{"slash":0.9,"pierce":0.9,"bludgeon":0.9,"fire":1.1,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Grave Keeper"},"71269":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.4,"electric":0.4,"name":"Aste Soul Renderer"},"71270":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Essa Soul Renderer"},"71381":{"slash":0.25,"pierce":0.25,"bludgeon":0.89,"fire":0.3,"cold":1.0,"acid":0.25,"electric":0.4,"nether":1.0,"name":"Ancient Incendiary Guardian"},"71386":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Mu-miyah Soldier"},"71387":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.9,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Mu-miyah Champion"},"71388":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.0,"name":"Mu-miyah Vizier"},"71391":{"slash":0.44,"pierce":0.44,"bludgeon":0.44,"fire":0.0,"cold":0.64,"acid":0.0,"electric":0.64,"nether":0.7,"name":"Corrupted Conflagration"},"71706":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"71707":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Archer"},"71708":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Mage"},"71709":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"71710":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"71711":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Master Soldier"},"71719":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.7,"name":"Commander"},"71721":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Operations Specialist"},"71813":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Master Arbitrator"},"71881":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Especially Famished Eater"},"72000":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"NightBrier"},"72001":{"slash":0.6,"pierce":0.7,"bludgeon":0.7,"fire":0.8,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Norshuntyr"},"72002":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Zerzelikyr"},"72031":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Rynthid Dragoon"},"72040":{"slash":0.5,"pierce":0.5,"bludgeon":0.33,"fire":0.25,"cold":0.67,"acid":0.5,"electric":0.25,"nether":1.0,"name":"Tormented Watcher"},"72043":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"name":"Tormented Slayer"},"72044":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Bah'Ktar"},"72045":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Tormented Charge"},"72122":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.7,"electric":0.2,"name":"Lightning Cloud"},"72157":{"slash":1.0,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Sparking Crystal"},"72166":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.7,"electric":0.2,"name":"Lightning Cloud"},"72173":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.4,"acid":0.7,"electric":0.2,"name":"Lightning Cloud"},"72180":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Corrupted War Gromnie"},"72189":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Storm Corruptor"},"72190":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Corrupt Thorn Reaver"},"72194":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Corrupt Storm Reaver"},"72195":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.4,"cold":0.6,"acid":0.6,"electric":0.4,"nether":1.0,"name":"A'nekshen Thorn Corruptor"},"72203":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.6,"acid":0.6,"electric":0.7,"name":"Sawato Bandit"},"72215":{"slash":0.8,"pierce":0.8,"bludgeon":0.79,"fire":0.89,"cold":0.34,"acid":0.49,"electric":0.84,"name":"Spectral Handmaiden"},"72216":{"slash":0.89,"pierce":0.5,"bludgeon":0.5,"fire":0.97,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Shade of Lord Rytheran"},"72236":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.45,"cold":0.45,"acid":0.55,"electric":0.45,"name":"Guardian Statue"},"72254":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Jester's Entombment Wall"},"72260":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Door"},"72269":{"slash":0.7,"pierce":0.7,"bludgeon":0.7,"fire":0.9,"cold":0.9,"acid":1.3,"electric":0.9,"name":"Guardian Statue"},"72270":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.45,"cold":0.45,"acid":0.55,"electric":0.45,"name":"Guardian Statue"},"72271":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Brazier"},"72276":{"slash":0.01,"pierce":0.01,"bludgeon":0.01,"fire":0.01,"cold":0.01,"acid":0.01,"electric":0.01,"name":"Jester"},"72310":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"72323":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist High Priest"},"72324":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist High Priest"},"72325":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"72328":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Henchman"},"72329":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Minion"},"72330":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Soldier"},"72331":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight"},"72332":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Captain"},"72333":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Frozen Wight Sorcerer"},"72334":{"slash":0.82,"pierce":0.5,"bludgeon":0.5,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Renselm"},"72335":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist Cohort"},"72336":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.35,"acid":0.35,"electric":0.35,"name":"Cultist High Priest"},"72337":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"72354":{"slash":0.75,"pierce":0.75,"bludgeon":0.5,"fire":1.0,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Geraine"},"72376":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Twisted Refuge Booter"},"72403":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Aun Kelauri"},"72407":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Aerbax"},"72409":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Artifex of the Living Darkness"},"72410":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Artifex of the Singularity"},"72411":{"slash":0.7,"pierce":0.5,"bludgeon":0.6,"fire":0.7,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Proctor"},"72418":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72419":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72420":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Soldier"},"72421":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Piercer"},"72422":{"slash":0.4,"pierce":0.5,"bludgeon":0.6,"fire":0.25,"cold":0.5,"acid":0.2,"electric":0.25,"name":"Olthoi Hive Noble"},"72423":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Mutilator"},"72424":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Hive Olthoi Egg"},"72425":{"slash":0.63,"pierce":0.53,"bludgeon":0.63,"fire":0.3,"cold":0.63,"acid":0.3,"electric":0.2,"name":"Olthoi Hive Crawler"},"72426":{"slash":0.4,"pierce":0.53,"bludgeon":0.63,"fire":0.3,"cold":0.63,"acid":0.3,"electric":0.2,"name":"Hive Maggot Giant"},"72427":{"slash":0.3,"pierce":0.5,"bludgeon":0.5,"fire":0.3,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Queen"},"72428":{"slash":0.3,"pierce":0.5,"bludgeon":0.5,"fire":0.3,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Queen"},"72440":{"slash":0.4,"pierce":0.5,"bludgeon":0.6,"fire":0.25,"cold":0.5,"acid":0.2,"electric":0.25,"name":"Olthoi Hive Guardian"},"72444":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Guardian"},"72447":{"slash":0.4,"pierce":0.6,"bludgeon":0.65,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Guardian"},"72449":{"slash":0.63,"pierce":0.53,"bludgeon":0.63,"fire":0.3,"cold":0.63,"acid":0.3,"electric":0.2,"name":"Hive Maggot"},"72452":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Guardian"},"72453":{"slash":0.7,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.4,"acid":0.7,"electric":0.4,"nether":1.0,"name":"Virindi Sentinel"},"72455":{"slash":0.4,"pierce":0.65,"bludgeon":0.7,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Guardian"},"72459":{"slash":0.65,"pierce":0.75,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Hive Brood"},"72487":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Vicar Blade Master Gen"},"72490":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Vicar Archer"},"72491":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"nether":1.0,"name":"Vicar Minion"},"72492":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Vicar Blade Master"},"72502":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Spirit of Khira'thi"},"72503":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Spirit of Rhia'ni"},"72504":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Spirit of Dana'lith"},"72505":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Ward of Decay"},"72506":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Ward of Blight"},"72507":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"nether":1.0,"name":"Ward of Darkness"},"72510":{"slash":0.75,"pierce":1.0,"bludgeon":0.65,"fire":0.85,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Materialized Hoshino Kei"},"72530":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai Daimyo"},"72531":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai Daimyo"},"72532":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Samurai Daimyo"},"72538":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"name":"Exarch Nanjou Shou-jen"},"72540":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"First Lieutenant"},"72553":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Archer"},"72554":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Archer"},"72555":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"72556":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"72557":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"72558":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Minion"},"72559":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"72560":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"72561":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Bushi"},"72562":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Bushi"},"72563":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"72564":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"72565":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai"},"72566":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Samurai"},"72567":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Samurai"},"72568":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Samurai"},"72569":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Master"},"72570":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Bloodmage"},"72571":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"72586":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Mihari"},"72587":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Kaibinn"},"72588":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Keibi"},"72589":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Minion"},"72590":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"72593":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Archer"},"72598":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Zaikan"},"72620":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Tanada Neophyte"},"72621":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Tanada Nanjou Gunjinn"},"72622":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Tanada Nanjou Tureinaa"},"72623":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Tanada Nanjou Jogensha"},"72636":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Unstable Master Bloodstone Satellite"},"72654":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Sapphire Blade"},"72655":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Sapphire Claw"},"72656":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Sapphire Assassin"},"72657":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Sapphire Assassin"},"72658":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Sapphire Gatekeeper"},"72659":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Emerald Blade"},"72660":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Emerald Claw"},"72661":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Emerald Assassin"},"72662":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Emerald Assassin"},"72663":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Emerald Gatekeeper"},"72664":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Ruby Nanjou Shou-jen"},"72665":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Ruby Assassin"},"72666":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Ruby Assassin"},"72667":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Ruby Gatekeeper"},"72668":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Master"},"72692":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Soldier"},"72693":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Mutilator"},"72694":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72695":{"slash":0.65,"pierce":0.75,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Hive Brood"},"72697":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72715":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Soldier"},"72716":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Soldier"},"72717":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Soldier"},"72718":{"slash":0.4,"pierce":0.5,"bludgeon":0.5,"fire":0.2,"cold":0.5,"acid":0.2,"electric":0.2,"name":"Olthoi Hive Soldier"},"72719":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Mutilator"},"72720":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Mutilator"},"72721":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Mutilator"},"72722":{"slash":0.5,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.2,"name":"Olthoi Hive Mutilator"},"72723":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72724":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72725":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72726":{"slash":0.4,"pierce":0.7,"bludgeon":0.9,"fire":0.4,"cold":0.8,"acid":0.4,"electric":0.4,"name":"Olthoi Hive Eviscerator"},"72727":{"slash":0.65,"pierce":0.75,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Hive Brood"},"72728":{"slash":0.65,"pierce":0.75,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Hive Brood"},"72729":{"slash":0.65,"pierce":0.75,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Hive Brood"},"72730":{"slash":0.65,"pierce":0.75,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Hive Brood"},"72739":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Nanjou Shou-jen"},"72752":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.3,"electric":0.9,"name":"Acid"},"72753":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Acid"},"72755":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.0,"electric":0.65,"name":"Acid Zenith"},"72756":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Fire Zenith"},"72757":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Frost Zenith"},"72758":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Electric Zenith"},"72759":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.9,"acid":0.3,"electric":0.3,"name":"Fire"},"72760":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.3,"name":"Fire"},"72761":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.9,"cold":0.3,"acid":0.3,"electric":0.3,"name":"Frost"},"72762":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Frost"},"72763":{"slash":1.2,"pierce":0.9,"bludgeon":1.1,"fire":0.3,"cold":0.3,"acid":0.9,"electric":0.3,"name":"Electricity"},"72764":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Electricity"},"72784":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.0,"acid":0.5,"electric":0.5,"name":"Ritual Statue of Entrapment"},"72786":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Adolescent Ash Gromnie"},"72787":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.7,"electric":1.0,"name":"Adolescent Azure Gromnie"},"72788":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Adolescent Ivory Gromnie"},"72789":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Emergent Ash Gromnus"},"72790":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.7,"electric":1.0,"name":"Emergent Azure Gromnus"},"72791":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Emergent Ivory Gromnus"},"72792":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.7,"cold":0.83,"acid":1.0,"electric":1.0,"name":"Emergent Rust Gromnus"},"72795":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Eyestalk"},"72796":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Tendril"},"72797":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Tentacle"},"72800":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Neophyte"},"72801":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Neophyte"},"72802":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Sentinel"},"72803":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Sentinel"},"72804":{"slash":1.1,"pierce":0.7,"bludgeon":0.7,"fire":0.7,"cold":0.7,"acid":0.7,"electric":0.7,"name":"Warding Crystal"},"72805":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Shikken Moriyaki"},"72808":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Slithis Tendril Vine"},"72811":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Neophyte"},"72835":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Shadow Child"},"72836":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"72837":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.9,"name":"Void Lord"},"72838":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Bael'Zharon Summoner"},"72839":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Soldier"},"72840":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Void of Bael'Zharon"},"72846":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"72860":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Soldier"},"72868":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Panumbris Shadow"},"72869":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.9,"name":"Void Lord"},"72870":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Soldier"},"72875":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Gatekeeper"},"72876":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Ter Shen"},"72877":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Quaron"},"72878":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.6,"electric":0.4,"name":"Soldier"},"72880":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Void of Bael'Zharon"},"72883":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Shadow Engineer"},"72884":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Shadow Engineer"},"72886":{"slash":0.7,"pierce":0.5,"bludgeon":0.35,"fire":0.65,"cold":0.1,"acid":0.2,"electric":0.5,"nether":0.85,"name":"Bael'Zharon Summoner"},"72887":{"slash":0.45,"pierce":0.45,"bludgeon":0.45,"fire":0.3,"cold":0.3,"acid":0.65,"electric":0.0,"name":"Tormented Spark"},"72914":{"slash":0.6,"pierce":0.8,"bludgeon":0.5,"fire":0.8,"cold":0.6,"acid":0.4,"electric":0.7,"name":"Thrungus"},"72917":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.7,"acid":0.4,"electric":0.65,"name":"The Unknown Warrior"},"72930":{"slash":0.4,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.65,"acid":0.4,"electric":0.65,"name":"Thug Boss"},"72933":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.6,"name":"The Unknown Warrior"},"72955":{"slash":0.76,"pierce":0.65,"bludgeon":0.5,"fire":1.08,"cold":0.76,"acid":0.65,"electric":1.32,"name":"Banderling Smasher"},"72956":{"slash":0.4,"pierce":0.3,"bludgeon":0.6,"fire":0.6,"cold":0.2,"acid":0.3,"electric":0.3,"name":"Skeleton Noble"},"72970":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Messenger"},"72971":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Mosswart Director"},"72972":{"slash":0.45,"pierce":0.6,"bludgeon":0.6,"fire":0.8,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Worker"},"72973":{"slash":0.45,"pierce":0.6,"bludgeon":0.6,"fire":0.8,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Grunt"},"72974":{"slash":0.5,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Shady"},"72976":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Bubba"},"72978":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Spot"},"72982":{"slash":0.45,"pierce":0.6,"bludgeon":0.6,"fire":0.8,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Mosswart Tribesman"},"72983":{"slash":0.65,"pierce":0.65,"bludgeon":0.65,"fire":0.45,"cold":0.65,"acid":0.65,"electric":0.75,"name":"Scavenging Rat"},"72984":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Shady's Cage Door"},"72985":{"slash":0.5,"pierce":1.0,"bludgeon":0.5,"fire":0.5,"cold":0.95,"acid":0.7,"electric":0.95,"name":"Shady"},"72986":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Bubba's Cage Door"},"72987":{"slash":0.5,"pierce":0.7,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Bubba"},"72988":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Spot's Cage Door"},"72989":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Spot"},"72991":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Worker"},"72992":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Mosswart Grunt"},"72993":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.3,"electric":1.0,"name":"Mosswart Director"},"73011":{"slash":0.8,"pierce":0.8,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.0,"electric":0.8,"name":"Despair Wisp"},"73061":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Esper Mine Commander"},"73065":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Direlands Mine Commander"},"73070":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Doorkeeper Knight"},"73154":{"slash":0.55,"pierce":0.45,"bludgeon":0.45,"fire":0.65,"cold":0.0,"acid":0.3,"electric":0.3,"name":"Algid Warrior"},"73156":{"slash":0.8,"pierce":0.5,"bludgeon":0.69,"fire":0.82,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Isin Dule's Captain"},"73178":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Dark Guardian"},"73179":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.7,"electric":0.85,"name":"Lich Oppressor"},"73180":{"slash":0.75,"pierce":0.5,"bludgeon":0.7,"fire":0.75,"cold":0.1,"acid":0.7,"electric":0.75,"name":"Shambling Adherent"},"73181":{"slash":0.55,"pierce":0.45,"bludgeon":0.7,"fire":0.7,"cold":0.1,"acid":0.7,"electric":0.55,"name":"Old Zombie"},"73184":{"slash":0.9,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Orisis"},"73195":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Controlled Tusker"},"73196":{"slash":0.5,"pierce":1.0,"bludgeon":0.75,"fire":1.0,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Restrained Tusker"},"73197":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Virindi Subjugator"},"73199":{"slash":0.63,"pierce":0.63,"bludgeon":1.0,"fire":0.3,"cold":0.2,"acid":1.0,"electric":0.63,"name":"Limestone Sentinel"},"73200":{"slash":0.53,"pierce":0.9,"bludgeon":1.0,"fire":0.4,"cold":0.1,"acid":1.0,"electric":0.4,"name":"Obsidian Sentinel"},"73214":{"slash":0.4,"pierce":0.8,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gurog Grump"},"73215":{"slash":0.4,"pierce":0.8,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gurog Mastermind"},"73216":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.6,"electric":0.6,"name":"Max"},"73218":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Holiday Present"},"73225":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Drudge Balloon"},"73226":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.5,"name":"Holiday Presents"},"73227":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Drudge Pilferer"},"73228":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.6,"cold":0.6,"acid":0.6,"electric":0.6,"name":"Drudge Pilferer"},"73256":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Eyestalk of T'thuun"},"80027":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Mana Barrier"},"80030":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Unchained Knight"},"80031":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Vivimancer"},"80032":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Master Vivimancer"},"80033":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Vivimancer Adept"},"80034":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Inquisitor"},"80035":{"slash":1.2,"pierce":1.2,"bludgeon":0.6,"fire":1.0,"cold":1.0,"acid":0.6,"electric":1.0,"name":"Ravenous Eater"},"80049":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Royal Thaumaturge"},"80051":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Mana Barrier"},"80052":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Mana Barrier"},"80053":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Viamontian War Wizard"},"80056":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Acid"},"80057":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Fire"},"80058":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Frost"},"80059":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.15,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Adept of Lightning"},"80079":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Hot Soup Elemental"},"80080":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Pancake Golem"},"80081":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Syrup Elemental"},"80082":{"slash":0.58,"pierce":1.0,"bludgeon":0.58,"fire":0.86,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Gummy Ursuin"},"80083":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":1.0,"name":"Sugar Crystal"},"80084":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Gelatin"},"80085":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"L'il Pat of Butter"},"80086":{"slash":0.75,"pierce":0.86,"bludgeon":0.58,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Sentient Oven"},"80092":{"slash":0.83,"pierce":0.83,"bludgeon":0.83,"fire":1.0,"cold":1.0,"acid":0.33,"electric":0.83,"name":"Gladys the Golem Waitress"},"80150":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Tremendous Baby Monouga"},"80312":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Banner of the Courtyard"},"80314":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Banner of the Spire"},"80315":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Banner of the Tower"},"80320":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Banner of the Courtyard"},"80321":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Banner of the Spire"},"80322":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Banner of the Tower"},"80323":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Banner of the Courtyard"},"80324":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Banner of the Spire"},"80325":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Banner of the Tower"},"80341":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Crystal Array"},"80342":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Crystal Array"},"80409":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Banner of the Courtyard"},"80410":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Banner of the Spire"},"80411":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Celestial Hand Banner of the Tower"},"80412":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Banner of the Courtyard"},"80413":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Banner of the Spire"},"80414":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Eldrytch Web Banner of the Tower"},"80415":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Banner of the Courtyard"},"80416":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Banner of the Spire"},"80417":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Radiant Blood Banner of the Tower"},"80418":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.65,"name":"Celestial Hand Satellite Fragment"},"80419":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.65,"name":"Eldrytch Web Satellite Fragment"},"80420":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":0.0,"cold":0.65,"acid":0.3,"electric":0.65,"name":"Radiant Blood Satellite Fragment"},"80520":{"slash":1.0,"pierce":0.9,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.3,"electric":0.9,"name":"Luminance Wisp"},"80521":{"slash":1.0,"pierce":0.9,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.3,"electric":0.9,"name":"Luminance Wisp"},"80522":{"slash":1.0,"pierce":0.9,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.3,"electric":0.9,"name":"Luminance Wisp"},"80523":{"slash":1.0,"pierce":0.9,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.3,"electric":0.9,"name":"Chest of Mana Forge Keys"},"80524":{"slash":1.0,"pierce":0.9,"bludgeon":0.6,"fire":0.5,"cold":0.5,"acid":0.3,"electric":0.9,"name":"Chest of Trade Notes"},"81073":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Barrel"},"81074":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Bottle"},"81075":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Bottle"},"81076":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Keg"},"81087":{"slash":0.6,"pierce":1.6,"bludgeon":1.6,"fire":2.1,"cold":0.6,"acid":0.85,"electric":0.85,"name":"Black Rat"},"81088":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Weak Mangy Carenzi"},"87018":{"slash":0.55,"pierce":0.55,"bludgeon":0.8,"fire":0.9,"cold":1.0,"acid":1.0,"electric":0.8,"name":"Small Sand Golem"},"87054":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Empyrean Rescue Controller"},"87075":{"slash":0.5,"pierce":0.5,"bludgeon":0.6,"fire":0.92,"cold":0.45,"acid":0.55,"electric":0.6,"name":"Hea Rheaga"},"87078":{"slash":0.33,"pierce":0.5,"bludgeon":0.96,"fire":0.2,"cold":0.2,"acid":1.0,"electric":1.0,"name":"Rheaga's Companion"},"87081":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Quiddity Seed"},"87088":{"slash":0.72,"pierce":0.76,"bludgeon":0.71,"fire":0.88,"cold":0.65,"acid":0.69,"electric":0.69,"name":"Hulking Bunny"},"87094":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.5,"cold":1.0,"acid":1.0,"electric":1.0,"name":"White Rabbit"},"87097":{"slash":0.4,"pierce":0.45,"bludgeon":0.65,"fire":0.69,"cold":0.55,"acid":0.65,"electric":0.6,"name":"Vault Mistress Shilaanis Ri"},"87099":{"slash":0.4,"pierce":0.45,"bludgeon":0.65,"fire":0.69,"cold":0.55,"acid":0.65,"electric":0.6,"name":"Vault Mistress Niktari Xsu"},"87100":{"slash":0.87,"pierce":0.45,"bludgeon":0.48,"fire":0.89,"cold":0.45,"acid":0.59,"electric":0.5,"name":"West Armory Captain"},"87101":{"slash":0.87,"pierce":0.45,"bludgeon":0.48,"fire":0.89,"cold":0.45,"acid":0.59,"electric":0.5,"name":"North Armory Captain"},"87102":{"slash":0.87,"pierce":0.45,"bludgeon":0.48,"fire":0.89,"cold":0.45,"acid":0.59,"electric":0.5,"name":"East Armory Captain"},"87103":{"slash":0.87,"pierce":0.45,"bludgeon":0.48,"fire":0.89,"cold":0.45,"acid":0.59,"electric":0.5,"name":"South Armory Captain"},"87120":{"slash":0.6,"pierce":0.58,"bludgeon":0.58,"fire":0.85,"cold":0.0,"acid":0.55,"electric":0.54,"name":"Abominable Snowman"},"87122":{"slash":0.89,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Scold"},"87124":{"slash":0.89,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Scold Chunk"},"87126":{"slash":0.9,"pierce":0.33,"bludgeon":0.33,"fire":0.0,"cold":1.0,"acid":0.2,"electric":0.33,"name":"Scold Lump"},"87129":{"slash":0.89,"pierce":0.92,"bludgeon":0.88,"fire":0.9,"cold":0.65,"acid":0.3,"electric":0.89,"name":"Crystal of the Dark Isle"},"87146":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Aerbax's Shadow"},"87147":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Aerbax's Shadow Controller"},"87149":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Aerbax's Shadow Cleanup Controller"},"87150":{"slash":0.5,"pierce":0.5,"bludgeon":0.89,"fire":0.65,"cold":0.0,"acid":0.6,"electric":0.6,"name":"Storage Crate"},"87170":{"slash":0.4,"pierce":0.4,"bludgeon":0.86,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Bloodstone Fragment"},"87174":{"slash":0.58,"pierce":0.58,"bludgeon":0.66,"fire":0.3,"cold":0.3,"acid":0.42,"electric":0.4,"name":"Pyre Champion"},"87191":{"slash":0.82,"pierce":0.5,"bludgeon":0.75,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Lord Winstead"},"87192":{"slash":0.82,"pierce":0.5,"bludgeon":0.75,"fire":0.85,"cold":0.5,"acid":0.5,"electric":0.5,"nether":0.9,"name":"Filinuvekta Hieromancer"},"87196":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Dericost Wave Controller"},"87201":{"slash":0.5,"pierce":0.6,"bludgeon":0.62,"fire":0.79,"cold":0.55,"acid":0.45,"electric":0.5,"name":"Celestial Illuminator"},"87202":{"slash":0.5,"pierce":0.6,"bludgeon":0.62,"fire":0.82,"cold":0.55,"acid":0.45,"electric":0.5,"name":"Majordomo of the North Cloister"},"87203":{"slash":0.5,"pierce":0.6,"bludgeon":0.62,"fire":0.82,"cold":0.55,"acid":0.45,"electric":0.5,"name":"Majordomo of the South Cloister"},"87219":{"slash":0.9,"pierce":1.0,"bludgeon":0.9,"fire":0.9,"cold":0.9,"acid":0.8,"electric":0.9,"name":"Ruschk Totem Guardian"},"87224":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.8,"cold":0.8,"acid":0.0,"electric":0.5,"name":"Burun Messenger"},"87250":{"slash":0.45,"pierce":0.51,"bludgeon":0.5,"fire":0.82,"cold":0.05,"acid":0.52,"electric":0.5,"name":"Frozen Glacial Golem"},"87251":{"slash":0.62,"pierce":0.62,"bludgeon":0.68,"fire":0.82,"cold":0.05,"acid":0.63,"electric":0.58,"name":"Frozen Ice Golem"},"87252":{"slash":0.31,"pierce":0.31,"bludgeon":0.31,"fire":0.5,"cold":0.87,"acid":0.58,"electric":0.69,"name":"Freezing Mist Golem"},"87253":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.88,"electric":0.87,"name":"Bronze Gauntlet Knight"},"87254":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.88,"electric":0.87,"name":"Gold Gear Knight"},"87255":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.88,"electric":0.87,"name":"Copper Cog Knight"},"87256":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.88,"electric":0.87,"name":"Silver Scope Knight"},"87257":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.88,"electric":0.87,"name":"Iron Blade Knight"},"87258":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.88,"electric":0.87,"name":"Iron Blade Lord"},"87259":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Frozen Gearknight"},"87261":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":1.4,"electric":1.0,"name":"Frozen Gearknight"},"87276":{"slash":2.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":1.0,"electric":1.0,"name":"Withered Revered Tumerok Shaman"},"87283":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Void Knight"},"87284":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Raven Augur"},"87306":{"slash":0.2,"pierce":0.4,"bludgeon":0.2,"fire":0.25,"cold":0.82,"acid":0.05,"electric":0.45,"name":"Bosh Bosh"},"87313":{"slash":0.82,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Abbess Tir'Livik"},"87316":{"slash":0.82,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Matriarch Vik'Liri Di"},"87318":{"slash":0.88,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.88,"acid":0.79,"electric":1.0,"name":"Putrid Moar"},"87319":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Spiketooth"},"87323":{"slash":0.82,"pierce":0.5,"bludgeon":0.7,"fire":0.9,"cold":0.15,"acid":0.75,"electric":0.85,"name":"Abbess Kivit"},"87334":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.85,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Tormented Servant"},"87335":{"slash":0.55,"pierce":0.55,"bludgeon":0.55,"fire":0.75,"cold":0.55,"acid":0.35,"electric":0.8,"name":"Harraag"},"87348":{"slash":1.2,"pierce":1.2,"bludgeon":1.2,"fire":1.2,"cold":1.2,"acid":1.2,"electric":1.2,"name":"Large Imprisoned Monouga"},"87352":{"slash":1.2,"pierce":1.2,"bludgeon":1.2,"fire":1.2,"cold":1.2,"acid":1.2,"electric":1.2,"name":"Huge Imprisoned Monouga"},"87359":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Monouga Lab 80 Portal Controller"},"87360":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Monouga Lab 80 Feeding Pit Large Controller"},"87361":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Monouga Lab 120 Portal Controller"},"87362":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Monouga Lab 120 Feeding Pit Huge Controller"},"87363":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Monouga Lab 150 Portal Controller"},"87364":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Monouga Lab 150 Feeding Pit Giant Controller"},"87367":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.18,"name":"Drudge Caretaker"},"87382":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Drudge Biter"},"87383":{"slash":0.9,"pierce":0.61,"bludgeon":1.0,"fire":1.0,"cold":0.9,"acid":0.9,"electric":0.23,"name":"Captain Burnja"},"87388":{"slash":1.1,"pierce":1.1,"bludgeon":0.89,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.15,"name":"Bonecrunch"},"87399":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Invisible Wall"},"87400":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Saving Asherons MB Controller"},"87404":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Mana Barrier Controller"},"87406":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Saving Asherons Wave Controller"},"87407":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Saving Asherons Event Controller"},"87416":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Saving Asherons Event Cleanup Controller"},"87432":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.22,"name":"Kernel Klank"},"87438":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Recluse Door 1 Controller"},"87439":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Recluse Door 2 Controller"},"87442":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"First Time Trials Event Controller"},"87447":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"Trial of the Heart Knockback Event Controller"},"87469":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Recluse Open Door 1 Controller"},"87472":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.87,"cold":0.67,"acid":0.67,"electric":0.67,"name":"Shroud Cabal Ley-Leech"},"87474":{"slash":0.9,"pierce":0.56,"bludgeon":0.96,"fire":0.96,"cold":0.85,"acid":0.85,"electric":0.85,"name":"Blightfinger"},"87479":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Tchk'Tain the Tender"},"87480":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"87484":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Recluse Open Door 2 Controller"},"87516":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Faurset"},"87517":{"slash":1.0,"pierce":0.5,"bludgeon":0.7,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Liantor"},"87518":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Targor"},"87530":{"slash":0.8,"pierce":0.8,"bludgeon":0.9,"fire":1.2,"cold":0.9,"acid":0.9,"electric":1.2,"name":"Summoning Chamber Adept"},"87531":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.9,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Bound Falatacot"},"87542":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.6,"acid":0.6,"electric":0.7,"name":"Acolyte Herren"},"87543":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.7,"cold":0.6,"acid":0.6,"electric":0.7,"name":"Fledgling"},"87556":{"slash":0.67,"pierce":0.67,"bludgeon":0.67,"fire":0.67,"cold":0.4,"acid":0.27,"electric":0.67,"name":"Dust Guardian"},"87563":{"slash":0.9,"pierce":1.1,"bludgeon":0.9,"fire":1.0,"cold":0.9,"acid":0.8,"electric":1.0,"name":"Ruschk Sadist Warchief"},"87569":{"slash":0.89,"pierce":1.1,"bludgeon":0.89,"fire":1.0,"cold":0.89,"acid":0.8,"electric":1.0,"name":"Ruschk Aspect of Grael"},"87571":{"slash":1.0,"pierce":1.0,"bludgeon":0.18,"fire":0.0,"cold":0.18,"acid":0.75,"electric":0.18,"name":"Homing Fire Ball"},"87578":{"slash":0.8,"pierce":0.89,"bludgeon":0.89,"fire":1.0,"cold":0.1,"acid":0.8,"electric":0.8,"name":"Ruschk Stalker"},"87589":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Vizier"},"87595":{"slash":1.0,"pierce":0.5,"bludgeon":0.67,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Count Dardante"},"87605":{"slash":1.0,"pierce":0.5,"bludgeon":0.65,"fire":1.0,"cold":0.1,"acid":0.2,"electric":0.2,"name":"Shadow Aspect of Grael"},"87614":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Champion"},"87618":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Black Totem"},"87620":{"slash":0.8,"pierce":0.89,"bludgeon":0.89,"fire":0.95,"cold":0.1,"acid":0.8,"electric":0.8,"name":"Ruschk Chief Garaktar"},"87625":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"White Totem"},"87648":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Master of Storms"},"87649":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Master of Wind"},"87651":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Master of Breath"},"87653":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Enlightened Master"},"87657":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Master of Earth"},"87659":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Master of Stone"},"87661":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Master of Metal"},"87673":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Earth"},"87674":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Stone"},"87675":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.8,"cold":0.4,"acid":0.4,"electric":0.8,"name":"Acolyte of Metal"},"87678":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Consul to the Tanada"},"87681":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Master of Decay"},"87685":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Black Water Gatekeeper"},"87687":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Master of the Depths"},"87689":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Fist of the Depths"},"87692":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Watcher of the Black Water"},"87694":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Air Stasis Resonator"},"87697":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Earth Stasis Resonator"},"87700":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.75,"cold":0.75,"acid":0.75,"electric":0.75,"name":"Water Stasis Resonator"},"87710":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":1.2,"cold":0.8,"acid":1.2,"electric":1.0,"name":"Guardian of Stasis"},"87732":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.7,"electric":1.1,"name":"Bragara, The Chosen One"},"87753":{"slash":0.6,"pierce":0.5,"bludgeon":0.4,"fire":0.92,"cold":0.8,"acid":0.92,"electric":1.0,"name":"Master of Wind"},"87769":{"slash":0.5,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.4,"acid":0.69,"electric":0.1,"name":"Mosswart Cynic"},"87829":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Acolyte of T'thuun"},"87830":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Slasher"},"87846":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Apostate Rift Aggressor"},"87847":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.25,"cold":0.75,"acid":0.75,"electric":0.25,"name":"Apostate Rift Aggressor"},"87848":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.8,"electric":0.4,"nether":1.1,"name":"Mu-miyah Lord"},"87849":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Sentinel"},"87856":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage1 Exit Controller"},"87857":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage1 Controller"},"87862":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"RB Gauntlet Booter"},"87863":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage2 Exit Controller"},"87877":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage2 Controller"},"87883":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage3 Exit Controller"},"87884":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage3 Controller"},"87890":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage4 Exit Controller"},"87891":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage4 Controller"},"87894":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage5 Exit Stopgap"},"87895":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage5 Controller"},"87901":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage6 Exit Controller"},"87902":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage6 Controller"},"87907":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage7 Controller"},"87908":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage7 Exit Controller"},"87909":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage8 Controller"},"87914":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage11 Controller"},"87915":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage8 Exit Controller"},"87916":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage9 Controller"},"87921":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage10 Controller"},"87922":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage9 Exit Controller"},"87923":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage12 Controller"},"87928":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"CH Gauntlet Booter"},"87929":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage10 Exit Controller"},"87936":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage11 Exit Controller"},"87943":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"RB Gauntlet Stage12 Exit Controller"},"87962":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage1 Controller"},"87963":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage1 Exit Controller"},"87964":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage2 Controller"},"87965":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage2 Exit Controller"},"87966":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage3 Controller"},"87967":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage3 Exit Controller"},"87968":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage4 Controller"},"87969":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage4 Exit Controller"},"87971":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage5 Controller"},"87972":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage5 Exit Stopgap"},"87976":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage6 Controller"},"87977":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage6 Exit Controller"},"87978":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage7 Controller"},"87979":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage7 Exit Controller"},"87980":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage8 Controller"},"87981":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage8 Exit Controller"},"87982":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage9 Controller"},"87983":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage9 Exit Controller"},"87984":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage10 Controller"},"87985":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage10 Exit Controller"},"87986":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage11 Controller"},"87987":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage11 Exit Controller"},"87988":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage12 Controller"},"87989":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"CH Gauntlet Stage12 Exit Controller"},"87993":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Eldrytch Web Warrior"},"87994":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Eldrytch Web Officer"},"87995":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Eldrytch Web Warrior"},"88024":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage1 Controller"},"88025":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage1 Exit Controller"},"88026":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage2 Controller"},"88027":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage2 Exit Controller"},"88028":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage3 Controller"},"88029":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage3 Exit Controller"},"88030":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage4 Controller"},"88031":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage4 Exit Controller"},"88033":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage5 Controller"},"88034":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage5 Exit Stopgap"},"88037":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage6 Controller"},"88038":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage6 Exit Controller"},"88039":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage7 Controller"},"88040":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage7 Exit Controller"},"88041":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage8 Controller"},"88042":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage8 Exit Controller"},"88043":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage9 Controller"},"88044":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage9 Exit Controller"},"88045":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage10 Controller"},"88046":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage10 Exit Controller"},"88047":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage11 Controller"},"88048":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage11 Exit Controller"},"88049":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage12 Controller"},"88050":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"EW Gauntlet Stage12 Exit Controller"},"88059":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":0.9,"electric":0.35,"name":"EW Gauntlet Booter"},"88060":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":1.0,"acid":0.7,"electric":1.0,"name":"Gromnus Champion"},"88061":{"slash":0.74,"pierce":0.74,"bludgeon":0.74,"fire":0.17,"cold":0.89,"acid":0.44,"electric":0.44,"name":"Flame Gromnie"},"88066":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gauntlet Boss Controller"},"88067":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Tch'Keryk the Emissary"},"88070":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moarsman Blight-caller"},"88074":{"slash":0.92,"pierce":0.5,"bludgeon":0.67,"fire":0.7,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Holcha"},"88075":{"slash":0.92,"pierce":0.5,"bludgeon":0.67,"fire":0.77,"cold":0.1,"acid":0.2,"electric":0.5,"name":"Idol Minion"},"88076":{"slash":0.9,"pierce":0.8,"bludgeon":0.4,"fire":0.7,"cold":0.7,"acid":0.85,"electric":1.0,"name":"Giant Blessed Moarsman"},"88080":{"slash":0.8,"pierce":0.25,"bludgeon":0.7,"fire":0.8,"cold":0.3,"acid":0.7,"electric":0.4,"nether":1.1,"name":"Mu-miyah Guardian"},"88081":{"slash":0.5,"pierce":0.6,"bludgeon":0.7,"fire":0.6,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Bloodmage"},"88082":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Samurai"},"88083":{"slash":0.6,"pierce":0.6,"bludgeon":0.6,"fire":0.8,"cold":0.2,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"88084":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.2,"cold":0.65,"acid":0.35,"electric":0.35,"nether":1.0,"name":"Spectral Archer"},"88085":{"slash":0.93,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.69,"acid":0.5,"electric":0.69,"name":"Tremb'Orh"},"88086":{"slash":0.92,"pierce":0.75,"bludgeon":0.5,"fire":0.5,"cold":0.49,"acid":0.5,"electric":0.49,"name":"Marionette Minion"},"88087":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.65,"electric":0.2,"nether":1.0,"name":"Spectral Samurai"},"88088":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Minion"},"88089":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"88090":{"slash":0.45,"pierce":0.35,"bludgeon":0.35,"fire":0.5,"cold":0.35,"acid":0.5,"electric":0.35,"nether":1.0,"name":"Spectral Blade Master"},"88091":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.65,"cold":0.2,"acid":0.4,"electric":0.4,"nether":1.0,"name":"Spectral Bushi"},"88092":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"88093":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"88109":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Rynthid Assessment Door Controller"},"88122":{"slash":0.7,"pierce":0.5,"bludgeon":0.7,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.6,"name":"Swamp Phyntos Wasp"},"88137":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Margul Roamer"},"88138":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Fierce Margul Roamer"},"88139":{"slash":0.85,"pierce":0.85,"bludgeon":0.95,"fire":0.75,"cold":0.95,"acid":0.75,"electric":0.95,"name":"Vicious Margul Roamer"},"88145":{"slash":0.3,"pierce":0.8,"bludgeon":0.3,"fire":0.8,"cold":0.3,"acid":0.3,"electric":0.4,"name":"Gurog Bruiser"},"88154":{"slash":0.75,"pierce":0.75,"bludgeon":0.75,"fire":0.8,"cold":0.65,"acid":1.8,"electric":0.35,"name":"Drudge Wilter"},"88159":{"slash":0.58,"pierce":0.68,"bludgeon":0.68,"fire":0.36,"cold":0.58,"acid":0.58,"electric":0.58,"name":"Remoran Sapper"},"88160":{"slash":0.1,"pierce":0.3,"bludgeon":0.3,"fire":0.1,"cold":0.1,"acid":0.1,"electric":0.1,"nether":0.3,"name":"Fierce Remoran Sapper"},"88161":{"slash":0.4,"pierce":0.4,"bludgeon":0.8,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Vicious Remoran Sapper"},"88165":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Mukkir"},"88166":{"slash":0.75,"pierce":0.8,"bludgeon":0.8,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Fierce Mukkir"},"88167":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Vicious Mukkir"},"88186":{"slash":0.5,"pierce":0.5,"bludgeon":0.5,"fire":0.7,"cold":0.7,"acid":0.5,"electric":0.5,"name":"Renegade Adept Shaman"},"88188":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.5,"acid":1.0,"electric":0.5,"name":"Renegade Virindi"},"88189":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Extias"},"88190":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Ligias"},"88191":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Ornost"},"88203":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Eyestalk"},"88204":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Tendril"},"88205":{"slash":0.55,"pierce":0.55,"bludgeon":0.75,"fire":0.75,"cold":0.25,"acid":0.65,"electric":0.15,"name":"Sath'tik Tentacle"},"88211":{"slash":0.6,"pierce":0.8,"bludgeon":0.5,"fire":0.5,"cold":0.5,"acid":0.5,"electric":0.67,"nether":1.1,"name":"Dune Hunter"},"88212":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.6,"cold":0.3,"acid":0.5,"electric":0.67,"nether":1.1,"name":"Dune Reaper"},"88213":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.5,"cold":0.6,"acid":0.6,"electric":0.5,"nether":1.1,"name":"Dune Seeker"},"88214":{"slash":0.7,"pierce":0.8,"bludgeon":0.5,"fire":0.5,"cold":0.7,"acid":0.5,"electric":0.67,"nether":1.0,"name":"Guardian Dune Reaper"},"88230":{"slash":0.45,"pierce":0.35,"bludgeon":0.6,"fire":0.35,"cold":0.35,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Archer"},"88231":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Bushi"},"88232":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Minion"},"88233":{"slash":0.5,"pierce":0.4,"bludgeon":0.6,"fire":0.4,"cold":0.4,"acid":0.2,"electric":0.65,"nether":1.0,"name":"Spectral Samurai"},"88234":{"slash":0.5,"pierce":0.4,"bludgeon":0.7,"fire":0.5,"cold":0.4,"acid":0.2,"electric":0.4,"nether":1.0,"name":"Spectral Voidmage"},"88235":{"slash":1.0,"pierce":0.8,"bludgeon":1.0,"fire":0.6,"cold":0.8,"acid":0.85,"electric":0.65,"name":"Nature Guardian"},"88236":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.4,"cold":0.5,"acid":0.4,"electric":0.4,"name":"Summoned Wisp"},"88240":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Empowered Carenzi Ravager"},"88241":{"slash":0.8,"pierce":0.6,"bludgeon":1.0,"fire":0.6,"cold":0.9,"acid":0.9,"electric":0.6,"name":"Empowered Savage Carenzi"},"88286":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Kazyk Ri's Raid Commander"},"88287":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Minik Ra's Raid Commander"},"88288":{"slash":0.6,"pierce":0.55,"bludgeon":0.85,"fire":0.89,"cold":0.75,"acid":0.85,"electric":0.8,"name":"Nivinizk's Raid Commander"},"88290":{"slash":0.75,"pierce":0.55,"bludgeon":0.65,"fire":0.4,"cold":0.75,"acid":0.3,"electric":0.48,"name":"Moarsman Marauder"},"88291":{"slash":0.85,"pierce":0.56,"bludgeon":0.72,"fire":0.72,"cold":1.1,"acid":0.85,"electric":1.1,"name":"Moarsman Raider"},"88292":{"slash":0.88,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Sclavus Marauder"},"88293":{"slash":0.85,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":0.85,"acid":0.25,"electric":0.25,"name":"Sclavus Raider"},"88294":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Marauder"},"88295":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Raider"},"88296":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Falatacot Raider"},"88297":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Executioner"},"88298":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Executioner"},"88299":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Champion"},"88300":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Champion"},"88301":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Champion"},"88302":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Elite Raider"},"88303":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Elite Raider"},"88304":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Elite Raider"},"88305":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Inquisitor"},"88306":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Inquisitor"},"88307":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Patriarch's Inquisitor"},"88340":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gumdrop"},"88341":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gumdrop"},"88342":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gumdrop"},"88343":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gumdrop"},"88344":{"slash":1.0,"pierce":1.0,"bludgeon":1.0,"fire":1.0,"cold":0.0,"acid":1.0,"electric":1.0,"name":"Snowman Sentry"},"88345":{"slash":0.55,"pierce":0.65,"bludgeon":0.46,"fire":0.75,"cold":0.79,"acid":0.25,"electric":0.25,"name":"Santa Sclavus"},"88346":{"slash":0.55,"pierce":0.65,"bludgeon":0.46,"fire":0.75,"cold":0.79,"acid":0.25,"electric":0.25,"name":"Santa Sclavus"},"88347":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88362":{"slash":0.55,"pierce":0.8,"bludgeon":0.8,"fire":1.0,"cold":0.38,"acid":0.8,"electric":1.0,"name":"Moarself"},"88365":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88366":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88367":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88369":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88370":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88371":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88372":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88373":{"slash":0.86,"pierce":0.75,"bludgeon":0.42,"fire":0.58,"cold":0.86,"acid":0.25,"electric":0.42,"name":"Moarself"},"88385":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"88388":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"88391":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"88394":{"slash":0.86,"pierce":0.75,"bludgeon":0.66,"fire":1.3,"cold":0.6,"acid":0.75,"electric":0.9,"name":"Uber Penguin"},"88395":{"slash":0.55,"pierce":0.65,"bludgeon":0.46,"fire":0.75,"cold":0.79,"acid":0.25,"electric":0.25,"name":"Santa Sclavus"},"88398":{"slash":0.9,"pierce":0.55,"bludgeon":0.4,"fire":0.4,"cold":0.85,"acid":0.85,"electric":1.0,"name":"Moarself"},"88399":{"slash":0.7,"pierce":0.4,"bludgeon":0.4,"fire":0.4,"cold":0.4,"acid":0.4,"electric":0.4,"name":"Gumdrop"},"88437":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Aerlinthe Blight Lord"},"88438":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"A'mun Blight Lord"},"88439":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Esper Blight Lord"},"88440":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Halaetan Blight Lord"},"88441":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Linvak Blight Lord"},"88442":{"slash":0.5,"pierce":0.45,"bludgeon":0.65,"fire":0.65,"cold":0.55,"acid":0.55,"electric":0.5,"name":"Obsidian Blight Lord"},"88443":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Blight Guardian"},"88444":{"slash":0.4,"pierce":0.4,"bludgeon":0.5,"fire":0.87,"cold":0.6,"acid":0.6,"electric":0.86,"name":"High Priestess of T'thuun"},"88447":{"slash":1.0,"pierce":0.75,"bludgeon":0.46,"fire":0.75,"cold":1.0,"acid":0.25,"electric":0.25,"name":"Afessa Sclavus Guardian"},"88455":{"slash":0.6,"pierce":0.6,"bludgeon":0.8,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Reinforcement Soldier"},"88462":{"slash":0.6,"pierce":0.6,"bludgeon":0.8,"fire":0.6,"cold":0.9,"acid":0.6,"electric":0.9,"name":"Reinforcement Soldier"},"90107":{"slash":0.6,"pierce":0.6,"bludgeon":0.5,"fire":0.65,"cold":0.2,"acid":0.2,"electric":0.2,"nether":1.1,"name":"Daimyo Nobanuga"},"90108":{"slash":0.6,"pierce":0.6,"bludgeon":0.5,"fire":0.65,"cold":0.2,"acid":0.2,"electric":0.2,"nether":1.1,"name":"Daimyo Idah"},"3000002":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Grub"},"3000003":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Harvester"},"3000004":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.25,"electric":0.4,"name":"Olthoi Swarm Gardener"},"3000005":{"slash":0.75,"pierce":1.0,"bludgeon":1.0,"fire":0.75,"cold":0.75,"acid":0.42,"electric":0.25,"name":"Olthoi Swarm Nymph"},"3000006":{"slash":0.6,"pierce":0.8,"bludgeon":0.8,"fire":0.6,"cold":0.8,"acid":0.4,"electric":0.55,"name":"Olthoi Brood Matron"},"3000021":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lugian Thrall"},"3000022":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.3,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Lugian Overseer"},"3000023":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Warlord Kazrok"},"3000030":{"slash":0.66,"pierce":0.66,"bludgeon":0.66,"fire":0.25,"cold":0.42,"acid":0.9,"electric":1.0,"name":"Warlord Kazrok"},"3000100":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Extias"},"3000101":{"slash":0.66,"pierce":0.85,"bludgeon":0.66,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Ligias"},"3000102":{"slash":0.66,"pierce":0.85,"bludgeon":0.5,"fire":0.25,"cold":0.45,"acid":0.65,"electric":0.95,"name":"Gotrok Mining Foreman"},"3000103":{"slash":0.35,"pierce":0.35,"bludgeon":0.35,"fire":0.35,"cold":0.6,"acid":0.35,"electric":0.35,"name":"Lord Muldaveus"}}} \ No newline at end of file diff --git a/Plugins/RynthCore.Plugin.RynthAi/DoorInteractionController.cs b/Plugins/RynthCore.Plugin.RynthAi/DoorInteractionController.cs index 7c35b9e..88640a9 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/DoorInteractionController.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/DoorInteractionController.cs @@ -6,11 +6,17 @@ // locked (UseObject fails to open it). // // State machine: None → Opening → CheckingResult → Unlocking → RetryOpen → Cooldown +// +// Two ways in: the proximity scan (OpenDoors setting, nearest closed door in +// range), and a requested door (RequestDoorOpen): the nav engine's recovery +// detour asks for the closed door on its next leg. A requested door is opened +// even with OpenDoors off, since the detour was planned through that doorway. // ============================================================================ using System; using System.Linq; using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -22,11 +28,14 @@ public sealed partial class RynthAiPlugin private bool _doorPausedNav; private DoorState _doorState = DoorState.None; private long _doorLastDiagAt; + private int _doorRequestedId; // asked for by the nav recovery detour; taken on the next idle tick + private bool _doorTargetRequested; // the current target came from a request // Doors we've already opened — skip for 60s so we don't re-target them private readonly System.Collections.Generic.Dictionary _doorOpenedRecently = new(); private const long DoorBusyTimeoutMs = 3000; + private const long DoorResultSettleMs = 1200; // a use is not judged "didn't open" sooner (below DoorBusyTimeoutMs) private const long DoorCooldownMs = 5000; private const long DoorOpenedSkipMs = 60000; private const int DoorMaxAttempts = 3; @@ -49,9 +58,11 @@ public sealed partial class RynthAiPlugin private bool TickDoorInteraction() { var settings = _dashboard?.Settings; - if (settings == null || !settings.IsMacroRunning || !settings.OpenDoors) + bool requested = _doorRequestedId != 0 || _doorTargetRequested; + if (settings == null || !settings.IsMacroRunning || (!settings.OpenDoors && !requested)) { ResetDoorState(); + _doorRequestedId = 0; return false; } @@ -70,10 +81,23 @@ public sealed partial class RynthAiPlugin // ── Idle: scan for a nearby closed door ───────────────────────────── if (_doorState == DoorState.None) { - int doorId = FindNearestClosedDoor(settings.OpenDoorRange, now); + int doorId = 0; + if (_doorRequestedId != 0) + { + int req = _doorRequestedId; + _doorRequestedId = 0; + if (!IsDoorOpen(req)) + { + doorId = req; + _doorTargetRequested = true; + } + } + if (doorId == 0 && settings.OpenDoors) + doorId = FindNearestClosedDoor(settings.OpenDoorRange, now); if (doorId == 0) return false; - Host.Log($"[RynthAi] Door: targeting 0x{(uint)doorId:X8} (state={GetDoorStateDebug(doorId)}, busy={_busyCount})"); + string why = _doorTargetRequested ? " (asked for by the nav detour)" : ""; + Host.Log($"[RynthAi] Door: targeting 0x{(uint)doorId:X8}{why} (state={GetDoorStateDebug(doorId)}, busy={_busyCount})"); _doorTargetId = doorId; _doorState = DoorState.Opening; _doorAttempts = 0; @@ -83,7 +107,8 @@ public sealed partial class RynthAiPlugin if (Host.HasStopCompletely) Host.StopCompletely(); _doorPausedNav = true; - Host.UseObject(unchecked((uint)doorId)); + Host.UseFor(unchecked((uint)doorId), "Door", + _doorTargetRequested ? "the nav detour asked to open this door" : $"Open Doors: closed door within {settings.OpenDoorRange:0} yd"); return true; } @@ -110,7 +135,7 @@ public sealed partial class RynthAiPlugin Host.Log($"[RynthAi] Door: timeout in {_doorState}, retry #{_doorAttempts} for 0x{(uint)_doorTargetId:X8} (busy={_busyCount})"); _doorState = DoorState.Opening; _doorActionAt = now; - Host.UseObject(unchecked((uint)_doorTargetId)); + Host.UseFor(unchecked((uint)_doorTargetId), "Door", $"retry #{_doorAttempts}: the door didn't open in {DoorBusyTimeoutMs} ms"); return true; } @@ -124,6 +149,10 @@ public sealed partial class RynthAiPlugin MarkDoorOpenedAndReset(now); return false; } + // The use is queued for AC's main thread and the server answers later: the + // busy count was still 0 when this read "not open" ~45 ms after the use + // (2026-10-02 logs), every time. Give the door time to swing first. + if (now - _doorActionAt < DoorResultSettleMs) return true; Host.Log($"[RynthAi] Door: 0x{(uint)_doorTargetId:X8} not open after use ({GetDoorStateDebug(_doorTargetId)}), checking result"); _doorState = DoorState.CheckingResult; _doorActionAt = now; @@ -148,7 +177,7 @@ public sealed partial class RynthAiPlugin Host.Log($"[RynthAi] Door: using lockpick {lockpick.Name} on 0x{(uint)_doorTargetId:X8}"); _doorState = DoorState.Unlocking; _doorActionAt = now; - Host.UseObjectOn(unchecked((uint)lockpick.Id), unchecked((uint)_doorTargetId)); + Host.UseOnFor(unchecked((uint)lockpick.Id), unchecked((uint)_doorTargetId), "Door", "Auto Unlock Doors: lockpick on a door that didn't open"); return true; case DoorState.Unlocking: @@ -156,7 +185,7 @@ public sealed partial class RynthAiPlugin Host.Log($"[RynthAi] Door: unlock done, retrying open 0x{(uint)_doorTargetId:X8}"); _doorState = DoorState.RetryOpen; _doorActionAt = now; - Host.UseObject(unchecked((uint)_doorTargetId)); + Host.UseFor(unchecked((uint)_doorTargetId), "Door", "open again after the lockpick"); return true; case DoorState.RetryOpen: @@ -167,6 +196,7 @@ public sealed partial class RynthAiPlugin MarkDoorOpenedAndReset(now); return false; } + if (now - _doorActionAt < DoorResultSettleMs) return true; _doorAttempts++; if (_doorAttempts >= DoorMaxAttempts) { @@ -178,7 +208,7 @@ public sealed partial class RynthAiPlugin { _doorState = DoorState.Opening; _doorActionAt = now; - Host.UseObject(unchecked((uint)_doorTargetId)); + Host.UseFor(unchecked((uint)_doorTargetId), "Door", $"still closed after the lockpick, try {_doorAttempts + 1}"); } return true; @@ -206,6 +236,58 @@ public sealed partial class RynthAiPlugin _doorState = DoorState.None; _doorAttempts = 0; _doorPausedNav = false; + _doorTargetRequested = false; + } + + /// + /// Nav recovery: open this door on the next tick, whether or not OpenDoors is on. + /// Ignored while another door is being handled (the detour asks again later). + /// + private void RequestDoorOpen(int doorId) + { + if (doorId != 0 && _doorState == DoorState.None) _doorRequestedId = doorId; + } + + /// + /// Nav recovery: the closed door nearest the start of the leg (ax, ay) to (bx, by), in + /// world units, within of it and about the same height as + /// ; 0 when there is none. Doors are static objects with BF_DOOR + /// (or a door-like name when the bitfield isn't available). + /// + private int FindClosedDoorOnLeg(double ax, double ay, double bx, double by, double z, double corridor) + { + if (_objectCache == null || !Host.HasGetObjectPosition) return 0; + bool hasBitfield = Host.HasGetObjectBitfield; + double dx = bx - ax, dy = by - ay; + double len2 = dx * dx + dy * dy; + + int bestId = 0; + double bestT = double.MaxValue; + foreach (var wo in _objectCache.GetLandscapeObjects()) + { + uint uid = unchecked((uint)wo.Id); + if (uid >= 0x80000000u) continue; + if (hasBitfield) + { + if (!Host.TryGetObjectBitfield(uid, out uint bf) || (bf & 0x1000u) == 0) continue; + } + else + { + string nl = (wo.Name ?? string.Empty).ToLowerInvariant(); + if (!nl.Contains("door") && !nl.Contains("gate") && !nl.Contains("hatch") && !nl.Contains("portcullis")) continue; + } + if (IsDoorOpen(wo.Id)) continue; + if (!Host.TryGetObjectPosition(uid, out uint cell, out float x, out float y, out float oz)) continue; + if (Math.Abs(oz - z) > 4.0) continue; + + double px = ((cell >> 24) & 0xFF) * 192.0 + x; + double py = ((cell >> 16) & 0xFF) * 192.0 + y; + double t = len2 < 1e-6 ? 0.0 : Math.Clamp(((px - ax) * dx + (py - ay) * dy) / len2, 0.0, 1.0); + double cx = ax + dx * t - px, cy = ay + dy * t - py; + if (cx * cx + cy * cy > corridor * corridor) continue; + if (t < bestT) { bestT = t; bestId = wo.Id; } + } + return bestId; } private int FindNearestClosedDoor(float rangeYards, long now) diff --git a/Plugins/RynthCore.Plugin.RynthAi/DungeonGeometry.cs b/Plugins/RynthCore.Plugin.RynthAi/DungeonGeometry.cs new file mode 100644 index 0000000..1e3b0a3 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/DungeonGeometry.cs @@ -0,0 +1,382 @@ +// DungeonGeometry: the openings, floors and walls of a dungeon landblock, for laying routes. +// +// DungeonPathfinder walks the EnvCell portal graph. A graph edge says two cells share an +// opening; this class says where that opening is, how wide it is and which way it faces, +// from the portal polygons of the dungeon map geometry DungeonLOS already builds (render +// polygons with the portal flag, one in each of the two cells, at the same spot). With that: +// +// - a NARROW opening (a doorway, a hallway mouth, the joint between two corridor pieces) +// gets an approach point centred in front of it and an exit point centred beyond it, on +// its centre line, so the character lines up and goes through straight; +// - a WIDE opening (8 m or more: a whole 10 m cell side, or the diagonal of one) is no +// opening at all to a player: it joins two cells of one big room. DungeonPathfinder +// merges those cells into one room and crosses it directly. +// +// Floors (physics floor polygons) and walls (upright render polygons) say whether a straight +// line across a room stays on its floor and clear of its walls (an L-shaped room, a pillar). +// +// World units throughout (metres; the nav code calls them yards): x east, y north, z up. +// Pure data and maths; Build takes plain polygon lists, so tests feed it fixtures. + +using System; +using System.Collections.Generic; +using RynthCore.Plugin.RynthAi.Raycasting; + +namespace RynthCore.Plugin.RynthAi; + +/// One opening between two cells. +internal sealed class DungeonDoorway +{ + public uint CellA, CellB; + /// Centre of the opening at floor level (world units; z = its lowest vertex). + public double X, Y, Z; + /// Horizontal unit normal, pointing from CellA into CellB. + public double Nx, Ny; + /// Horizontal width of the opening. + public double Width; + + public bool IsWide => Width >= DungeonGeometry.WideOpeningMeters; + + /// The normal pointing out of through the opening. + public (double Nx, double Ny) NormalFrom(uint fromCell) => fromCell == CellA ? (Nx, Ny) : (-Nx, -Ny); +} + +internal sealed class DungeonGeometry +{ + /// An opening at least this wide joins two cells of one room (a 10 m cell side is + /// open). Corridor and doorway openings in AC dungeons are about 5 m; 0x6346 has 5.3 m + /// (568 pairs), 7 m (2), 10 m (60) and 14 m (35). + public const double WideOpeningMeters = 8.0; + + /// Portal polygons in two cells are the same opening when their centres are this close. + private const double PairTolerance = 1.5; + + // A floor counts under a point when it is at most this far above / below the given height. + private const double FloorAbove = 1.0, FloorBelow = 4.0; + + // Walls that matter for walking: they reach into this band above the floor. Lower lips + // and kerbs are what snags at doorways, so the band starts low. + private const double WallBandLow = 0.25, WallBandHigh = 1.8; + + private readonly Dictionary _doorways = new(); + private readonly Dictionary> _floors = new(); + private readonly Dictionary> _walls = new(); + + private readonly struct WallSeg + { + public readonly double X0, Y0, X1, Y1, ZMin, ZMax; + public WallSeg(double x0, double y0, double x1, double y1, double zMin, double zMax) + { X0 = x0; Y0 = y0; X1 = x1; Y1 = y1; ZMin = zMin; ZMax = zMax; } + } + + public int DoorwayCount => _doorways.Count; + public int FloorCellCount => _floors.Count; + + // ── Building ──────────────────────────────────────────────────────────── + + /// + /// Builds the geometry for a cell graph. are the polygons + /// flagged as portals (render geometry), the upward-facing + /// physics floor polygons, the other render polygons (only + /// the upright ones are used). Any list may be empty: missing data just means fewer + /// doorways (the pathfinder falls back to cell-centre midpoints) or no floor/wall checks. + /// + public static DungeonGeometry Build( + IReadOnlyDictionary graph, + IEnumerable<(uint CellId, Vector3[] Verts)> portalPolys, + IEnumerable<(uint CellId, Vector3[] Verts)> floorPolys, + IEnumerable<(uint CellId, Vector3[] Verts)> wallPolys) + { + var g = new DungeonGeometry(); + + foreach (var (cell, v) in floorPolys) + { + if (v == null || v.Length < 3) continue; + if (!IsUpwardFloor(v)) continue; // the "floor" list holds ceilings too + if (!g._floors.TryGetValue(cell, out var list)) g._floors[cell] = list = new List(); + list.Add(v); + } + + foreach (var (cell, v) in wallPolys) + { + if (v == null || v.Length < 3) continue; + if (!TryWallFootprint(v, out var seg)) continue; + if (!g._walls.TryGetValue(cell, out var list)) g._walls[cell] = list = new List(); + list.Add(seg); + } + + // Portal polygons per cell: centre, horizontal normal, width. + var portals = new Dictionary>(); + foreach (var (cell, v) in portalPolys) + { + if (v == null || v.Length < 3) continue; + if (!TryPortalPoly(v, out var pp)) continue; + if (!portals.TryGetValue(cell, out var list)) portals[cell] = list = new List(); + list.Add(pp); + } + + foreach (var node in graph.Values) + { + foreach (uint nb in node.Neighbors) + { + if (nb <= node.CellId) continue; // each edge once + if (!graph.TryGetValue(nb, out var other)) continue; + if (!portals.TryGetValue(node.CellId, out var aList) || !portals.TryGetValue(nb, out var bList)) continue; + if (TryMatch(g, node, other, aList, bList, out var door)) + g._doorways[EdgeKey(node.CellId, nb)] = door; + } + } + return g; + } + + private readonly struct PortalPoly + { + public readonly double X, Y, Z, CentreZ, Nx, Ny, Width; + public PortalPoly(double x, double y, double z, double cz, double nx, double ny, double w) + { X = x; Y = y; Z = z; CentreZ = cz; Nx = nx; Ny = ny; Width = w; } + } + + private static bool TryPortalPoly(Vector3[] v, out PortalPoly pp) + { + pp = default; + NewellNormal(v, out double nx, out double ny, out double nz); + double len = Math.Sqrt(nx * nx + ny * ny + nz * nz); + if (len < 1e-6) return false; + double hx = nx / len, hy = ny / len; + double h = Math.Sqrt(hx * hx + hy * hy); + // A floor or ceiling portal (a shaft) has no horizontal facing: not a doorway. + if (h < 0.5) return false; + hx /= h; hy /= h; + + // Width along the opening (perpendicular to the normal, horizontal); centre at the + // middle of that span, the mean along the normal, at the lowest vertex. + double px = -hy, py = hx; + double minS = double.MaxValue, maxS = double.MinValue, sumN = 0, minZ = double.MaxValue, sumZ = 0; + foreach (var p in v) + { + double s = p.X * px + p.Y * py; + if (s < minS) minS = s; + if (s > maxS) maxS = s; + sumN += p.X * hx + p.Y * hy; + if (p.Z < minZ) minZ = p.Z; + sumZ += p.Z; + } + double midS = (minS + maxS) * 0.5, meanN = sumN / v.Length; + pp = new PortalPoly(px * midS + hx * meanN, py * midS + hy * meanN, minZ, sumZ / v.Length, hx, hy, maxS - minS); + return true; + } + + private static bool TryMatch(DungeonGeometry g, DungeonNavNode a, DungeonNavNode b, + List aList, List bList, out DungeonDoorway door) + { + door = null!; + double ax = NavToWorld(a.EW), ay = NavToWorld(a.NS), bx = NavToWorld(b.EW), by = NavToWorld(b.NS); + double midX = (ax + bx) * 0.5, midY = (ay + by) * 0.5; + double best = double.MaxValue; + PortalPoly hit = default; + bool found = false; + foreach (var pa in aList) + { + foreach (var pb in bList) + { + double dx = pa.X - pb.X, dy = pa.Y - pb.Y, dz = pa.CentreZ - pb.CentreZ; + if (dx * dx + dy * dy + dz * dz > PairTolerance * PairTolerance) continue; + // If two cells share more than one opening, take the one nearest the line between them. + double dm = (pa.X - midX) * (pa.X - midX) + (pa.Y - midY) * (pa.Y - midY); + if (dm < best) { best = dm; hit = pa; found = true; } + } + } + if (!found) return false; + + double nx = hit.Nx, ny = hit.Ny; + // Orient A -> B. The floors decide when they can (a cell's origin isn't always its + // middle): a step back from the opening must be on A's floor, a step forward on B's. + int vote = 0; + if (g.HasFloor(a.CellId)) vote += g.OnCellFloor(a.CellId, hit.X - nx, hit.Y - ny, hit.Z) ? 1 : g.OnCellFloor(a.CellId, hit.X + nx, hit.Y + ny, hit.Z) ? -1 : 0; + if (g.HasFloor(b.CellId)) vote += g.OnCellFloor(b.CellId, hit.X + nx, hit.Y + ny, hit.Z) ? 1 : g.OnCellFloor(b.CellId, hit.X - nx, hit.Y - ny, hit.Z) ? -1 : 0; + if (vote == 0) vote = (bx - ax) * nx + (by - ay) * ny >= 0 ? 1 : -1; // cell centres + if (vote < 0) { nx = -nx; ny = -ny; } + + door = new DungeonDoorway + { + CellA = a.CellId, CellB = b.CellId, + X = hit.X, Y = hit.Y, Z = hit.Z, + Nx = nx, Ny = ny, + Width = hit.Width, + }; + return true; + } + + private static bool TryWallFootprint(Vector3[] v, out WallSeg seg) + { + seg = default; + NewellNormal(v, out double nx, out double ny, out double nz); + double len = Math.Sqrt(nx * nx + ny * ny + nz * nz); + if (len < 1e-6) return false; + if (Math.Abs(nz) / len > 0.5) return false; // floor / ceiling / ramp, not a wall + double hx = nx, hy = ny, h = Math.Sqrt(hx * hx + hy * hy); + if (h < 1e-9) return false; + double px = -hy / h, py = hx / h; // along the wall + double minS = double.MaxValue, maxS = double.MinValue, minZ = double.MaxValue, maxZ = double.MinValue; + double sx0 = 0, sy0 = 0, sx1 = 0, sy1 = 0; + foreach (var p in v) + { + double s = p.X * px + p.Y * py; + if (s < minS) { minS = s; sx0 = p.X; sy0 = p.Y; } + if (s > maxS) { maxS = s; sx1 = p.X; sy1 = p.Y; } + if (p.Z < minZ) minZ = p.Z; + if (p.Z > maxZ) maxZ = p.Z; + } + if (maxS - minS < 0.05) return false; + seg = new WallSeg(sx0, sy0, sx1, sy1, minZ, maxZ); + return true; + } + + /// + /// A polygon facing up (counter-clockwise seen from above). DungeonLOS's floor polygon list + /// keeps every near-horizontal physics polygon, ceilings included: at 0x6346 the corridor + /// ceilings 3.8 m up are in it, and some cells have only their ceiling there. + /// + internal static bool IsUpwardFloor(Vector3[] v) + { + NewellNormal(v, out double nx, out double ny, out double nz); + double len = Math.Sqrt(nx * nx + ny * ny + nz * nz); + return len > 1e-6 && nz / len >= 0.4; + } + + // ── Queries ───────────────────────────────────────────────────────────── + + public bool TryGetDoorway(uint a, uint b, out DungeonDoorway door) => _doorways.TryGetValue(EdgeKey(a, b), out door!); + + public bool HasFloor(uint cell) => _floors.ContainsKey(cell); + + /// True when (x, y) is on one of the cell's floor polygons, the floor at most 1 m + /// above and 4 m below z. False when the cell has no floor data. + public bool OnCellFloor(uint cell, double x, double y, double z) + { + if (!_floors.TryGetValue(cell, out var list)) return false; + foreach (var v in list) + { + if (!InsidePolygon2D(v, x, y)) continue; + double fz = FloorZAt(v); + double dz = z - fz; + if (dz >= -FloorAbove && dz <= FloorBelow) return true; + } + return false; + } + + /// True when (x, y) is on the floor of any of ; also true + /// when none of them has floor data (nothing to check against). + public bool OnFloorOfAny(IEnumerable cells, double x, double y, double z) + { + bool anyFloor = false; + foreach (uint c in cells) + { + if (!_floors.ContainsKey(c)) continue; + anyFloor = true; + if (OnCellFloor(c, x, y, z)) return true; + } + return !anyFloor; + } + + /// + /// Can a character walk the straight line (x0, y0) to (x1, y1) at floor height z, inside + /// (one room)? The line and two lines + /// to either side must stay on the room's floor (sampled every half metre) and cross none of + /// its walls that reach into knee-to-head height. + /// + public bool SegmentClear(IReadOnlyCollection cells, double x0, double y0, double z0, + double x1, double y1, double z1, double clearance = 0.5) + { + double dx = x1 - x0, dy = y1 - y0; + double len = Math.Sqrt(dx * dx + dy * dy); + if (len < 1e-6) return true; + double ox = -dy / len * clearance, oy = dx / len * clearance; + + // Floor: centre line and both sides. + bool checkFloor = false; + foreach (uint c in cells) if (_floors.ContainsKey(c)) { checkFloor = true; break; } + if (checkFloor) + { + int steps = Math.Max(1, (int)Math.Ceiling(len / 0.5)); + for (int i = 0; i <= steps; i++) + { + double t = (double)i / steps; + double x = x0 + dx * t, y = y0 + dy * t, z = z0 + (z1 - z0) * t; + if (!OnFloorOfAny(cells, x, y, z)) return false; + if (!OnFloorOfAny(cells, x + ox, y + oy, z)) return false; + if (!OnFloorOfAny(cells, x - ox, y - oy, z)) return false; + } + } + + // Walls. + double zLo = Math.Min(z0, z1) + WallBandLow, zHi = Math.Max(z0, z1) + WallBandHigh; + foreach (uint c in cells) + { + if (!_walls.TryGetValue(c, out var list)) continue; + foreach (var w in list) + { + if (w.ZMax < zLo || w.ZMin > zHi) continue; + if (SegmentsCross(x0, y0, x1, y1, w.X0, w.Y0, w.X1, w.Y1)) return false; + if (SegmentsCross(x0 + ox, y0 + oy, x1 + ox, y1 + oy, w.X0, w.Y0, w.X1, w.Y1)) return false; + if (SegmentsCross(x0 - ox, y0 - oy, x1 - ox, y1 - oy, w.X0, w.Y0, w.X1, w.Y1)) return false; + } + } + return true; + } + + // ── Helpers ───────────────────────────────────────────────────────────── + + internal static ulong EdgeKey(uint a, uint b) + => a < b ? ((ulong)a << 32) | b : ((ulong)b << 32) | a; + + internal static double NavToWorld(double navCoord) => (navCoord * 10.0 + 1019.5) * 24.0; + internal static double WorldToNav(double world) => (world / 24.0 - 1019.5) / 10.0; + + private static void NewellNormal(Vector3[] v, out double nx, out double ny, out double nz) + { + nx = 0; ny = 0; nz = 0; + int n = v.Length; + for (int i = 0; i < n; i++) + { + var a = v[i]; var b = v[(i + 1) % n]; + nx += (a.Y - b.Y) * (a.Z + b.Z); + ny += (a.Z - b.Z) * (a.X + b.X); + nz += (a.X - b.X) * (a.Y + b.Y); + } + } + + private static double FloorZAt(Vector3[] v) + { + double z = 0; + foreach (var p in v) z += p.Z; + return z / v.Length; + } + + internal static bool InsidePolygon2D(Vector3[] v, double x, double y) + { + bool inside = false; + for (int i = 0, j = v.Length - 1; i < v.Length; j = i++) + { + double xi = v[i].X, yi = v[i].Y, xj = v[j].X, yj = v[j].Y; + if ((yi > y) != (yj > y) && x < (xj - xi) * (y - yi) / (yj - yi) + xi) + inside = !inside; + } + return inside; + } + + // Proper crossing of two 2D segments (touching at an end point does not count). + private static bool SegmentsCross(double ax, double ay, double bx, double by, + double cx, double cy, double dx, double dy) + { + double d1 = Cross(cx, cy, dx, dy, ax, ay); + double d2 = Cross(cx, cy, dx, dy, bx, by); + double d3 = Cross(ax, ay, bx, by, cx, cy); + double d4 = Cross(ax, ay, bx, by, dx, dy); + return ((d1 > 1e-9 && d2 < -1e-9) || (d1 < -1e-9 && d2 > 1e-9)) && + ((d3 > 1e-9 && d4 < -1e-9) || (d3 < -1e-9 && d4 > 1e-9)); + } + + private static double Cross(double ax, double ay, double bx, double by, double px, double py) + => (bx - ax) * (py - ay) - (by - ay) * (px - ax); +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.Rooms.cs b/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.Rooms.cs new file mode 100644 index 0000000..b7ad61c --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.Rooms.cs @@ -0,0 +1,717 @@ +// DungeonPathfinder, rooms half: routes laid on real openings, rooms crossed directly. +// +// Why: the cell walk put two points (30% and 50% of the way between cell centres) on every +// cell-to-cell step. A big room is several EnvCells joined by wide openings, so the patrol +// (which walks every graph edge once) went cell to cell inside it, around and across: a +// zig-zag. And at real doorways the points were only near the opening, not centred on it, +// and the steering's lookahead and sweep pass cut the corner into the door frame. +// +// Now, when the dungeon map geometry is there (DungeonGeometry): +// - cells joined by a WIDE opening, or sharing one origin (the pieces of a junction), are +// one room (union-find; hazard cells never merge); +// - the patrol walks the ROOM graph: every doorway between rooms of the main route once +// (same coverage goal as before, see GetMainRouteNodes), crossing each room in a straight +// line from the doorway it came in by to the one it leaves by; +// - every NARROW opening gets an approach point centred in front of it and an exit point +// centred beyond it, flagged NavPoint.Doorway: the engine reaches them tightly and does +// not cut corners at them, so the character lines up and goes through straight; +// - a crossing that would leave the room's floor or hit a wall (an L-shaped room, a +// pillar) goes through the room's own cells instead, string-pulled to the fewest points; +// - a big room entered and left by the same doorway, or by two doorways close together +// (a dead end, or one the patrol would only skirt), gets one point in its middle, once +// a lap, so the patrol still looks into it. +// Without the geometry (DungeonLOS not loaded) the old cell walk is used unchanged. + +using System; +using System.Collections.Generic; +using System.Linq; +using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.RynthAi.Raycasting; + +namespace RynthCore.Plugin.RynthAi; + +/// Cells grouped into rooms (cells joined by wide openings). +internal sealed class DungeonRooms +{ + public readonly Dictionary RoomOf = new(); + public readonly List> Cells = new(); +} + +internal static partial class DungeonPathfinder +{ + // Approach / exit points: this far in front of / beyond the opening's centre, shortened + // (down to the last value) until the point is on the cell's floor. + // 4 m (was 2.5): at 2.5 the turn into the opening still began close enough to climb the + // raised sides of a hallway mouth (Tom, 2026-10-04: "plenty of room to get into the hallway"). + private static readonly double[] DoorwayStandoffs = { 4.0, 3.5, 3.0, 2.5, 2.0, 1.5, 1.0 }; + // Room crossings must keep this much room either side of the walking line. + private const double CrossingClearance = 0.5; + // Emitted points closer than this to the previous one are dropped. + private const double MinPointSpacing = 0.3; + // A point within this of the straight line through its neighbours is dropped. + private const double CollinearTolerance = 0.25; + + // ── Geometry cache ─────────────────────────────────────────────────────── + + private static uint _geoLandblock; + private static DungeonGeometry? _cachedGeometry; + + /// + /// The openings, floors and walls of the landblock's dungeon (cached per landblock), from + /// the dungeon map geometry DungeonLOS builds. Null when DungeonLOS is missing. + /// + public static DungeonGeometry? GetGeometry(uint landblockKey, DatDatabase cellDat, DungeonLOS? los) + { + if (los == null) return null; + if (_cachedGeometry != null && _geoLandblock == landblockKey) return _cachedGeometry; + var graph = GetGraph(landblockKey, cellDat); + var portals = new List<(uint, Vector3[])>(); + var walls = new List<(uint, Vector3[])>(); + var floors = new List<(uint, Vector3[])>(); + try + { + foreach (var p in los.GetDungeonMapPolygons(landblockKey)) + { + if (p.Vertices == null) continue; + if (p.IsPortal) portals.Add((p.CellId, p.Vertices)); else walls.Add((p.CellId, p.Vertices)); + } + foreach (var p in los.GetDungeonMapFloorPolygons(landblockKey)) + if (p.Vertices != null && !p.IsPortal) floors.Add((p.CellId, p.Vertices)); + } + catch + { + return null; + } + _cachedGeometry = DungeonGeometry.Build(graph, portals, floors, walls); + _geoLandblock = landblockKey; + return _cachedGeometry; + } + + // ── Rooms ──────────────────────────────────────────────────────────────── + + // Cells whose origins are this close (metres, each axis) are pieces of one junction. + private const double SamePieceMeters = 1.0; + + /// + /// Groups cells joined by wide, walkable openings (or pieces of one junction: cells with + /// the same origin) into rooms. A cell in + /// (a hazard) never merges: it stays a room of its own. + /// + internal static DungeonRooms BuildRooms(Dictionary graph, DungeonGeometry geo, + IReadOnlySet? excluded = null) + { + var parent = new Dictionary(graph.Count); + foreach (uint c in graph.Keys) parent[c] = c; + + uint Find(uint x) + { + while (parent[x] != x) { parent[x] = parent[parent[x]]; x = parent[x]; } + return x; + } + + foreach (var node in graph.Values) + { + if (excluded != null && excluded.Contains(node.CellId)) continue; + foreach (uint nb in node.Neighbors) + { + if (nb <= node.CellId || !graph.TryGetValue(nb, out var other)) continue; + if (excluded != null && excluded.Contains(nb)) continue; + if (IsDropEdge(node, other)) continue; + bool wide = geo.TryGetDoorway(node.CellId, nb, out var d) && d.IsWide; + // Pieces of one junction: AC builds a crossing or a corner from several cells + // with the same origin (0x6544 has clusters of three). Their openings to each + // other are inside the junction; kept apart, the patrol looped round them. + bool samePiece = Math.Abs(node.NS - other.NS) * 240.0 < SamePieceMeters + && Math.Abs(node.EW - other.EW) * 240.0 < SamePieceMeters + && Math.Abs(node.Z - other.Z) < SamePieceMeters; + if (!wide && !samePiece) continue; + uint ra = Find(node.CellId), rb = Find(nb); + if (ra != rb) parent[Math.Max(ra, rb)] = Math.Min(ra, rb); + } + } + + var rooms = new DungeonRooms(); + var index = new Dictionary(); + var ids = new List(graph.Keys); + ids.Sort(); + foreach (uint c in ids) + { + uint root = Find(c); + if (!index.TryGetValue(root, out int r)) + { + r = rooms.Cells.Count; + index[root] = r; + rooms.Cells.Add(new List()); + } + rooms.Cells[r].Add(c); + rooms.RoomOf[c] = r; + } + return rooms; + } + + // ── Patrol over rooms ──────────────────────────────────────────────────── + + private readonly record struct RoomEdge(int Room, ulong Key, uint From, uint To); + + /// + /// The patrol over rooms: a closed walk taking every doorway between the main route's + /// rooms once (greedy, re-treading only to reach the nearest unused doorway), crossing + /// each room directly. Null when there is nothing to walk. + /// + private static NavRouteParser? BuildRoomPatrol( + Dictionary graph, uint startCell, HashSet mainRoute, + IReadOnlySet? hazardCells, DungeonGeometry geo) + { + var rooms = BuildRooms(graph, geo, hazardCells); + var patrolRooms = new HashSet(); + foreach (uint c in mainRoute) + if (rooms.RoomOf.TryGetValue(c, out int r)) patrolRooms.Add(r); + + var adj = new Dictionary>(); + var edges = new HashSet(); + foreach (int r in patrolRooms) + { + foreach (uint c in rooms.Cells[r]) + { + if (hazardCells != null && hazardCells.Contains(c)) continue; + if (!graph.TryGetValue(c, out var cn)) continue; + foreach (uint nb in cn.Neighbors) + { + if (!rooms.RoomOf.TryGetValue(nb, out int rn) || rn == r || !patrolRooms.Contains(rn)) continue; + if (hazardCells != null && hazardCells.Contains(nb)) continue; + if (!graph.TryGetValue(nb, out var nbn) || IsDropEdge(cn, nbn)) continue; + if (!adj.TryGetValue(r, out var list)) adj[r] = list = new List(); + list.Add(new RoomEdge(rn, EdgeKey(c, nb), c, nb)); + edges.Add(EdgeKey(c, nb)); + } + } + } + if (edges.Count == 0) return null; + + // Start in the player's room if it has a doorway on the patrol, else the nearest that does. + int startRoom = rooms.RoomOf.TryGetValue(startCell, out int sr) && adj.ContainsKey(sr) ? sr : -1; + if (startRoom < 0 && graph.TryGetValue(startCell, out var sNode)) + { + double bestD = double.MaxValue; + foreach (int r in adj.Keys) + foreach (uint c in rooms.Cells[r]) + { + if (!graph.TryGetValue(c, out var n)) continue; + double d = Sq(n.NS - sNode.NS) + Sq(n.EW - sNode.EW); + if (d < bestD) { bestD = d; startRoom = r; } + } + } + if (startRoom < 0) return null; + + // Greedy edge-covering closed walk over the room multigraph. + var walk = new List(); + var remaining = new HashSet(edges); + int cur = startRoom; + int guard = edges.Count * 4 + rooms.Cells.Count + 16; + while (remaining.Count > 0 && guard-- > 0) + { + RoomEdge? next = null; + if (adj.TryGetValue(cur, out var list)) + foreach (var e in list) + if (remaining.Contains(e.Key)) { next = e; break; } + + if (next is RoomEdge step) + { + remaining.Remove(step.Key); + walk.Add(step); + cur = step.Room; + } + else + { + var hop = RoomBfs(adj, cur, r => r != cur && HasUnused(adj, r, remaining)); + if (hop == null) break; + walk.AddRange(hop); + cur = hop[hop.Count - 1].Room; + } + } + if (cur != startRoom) + { + var back = RoomBfs(adj, cur, r => r == startRoom); + if (back != null) walk.AddRange(back); + } + if (walk.Count == 0) return null; + + var steps = new List(walk.Count); + foreach (var e in walk) steps.Add(new Step(e.From, e.To, e.Key)); + var route = new NavRouteParser { RouteType = NavRouteType.Circular }; + route.Points.AddRange(EmitSteps(graph, geo, rooms, steps, closed: true, null, 0, null, 0, out _)); + return route; + } + + private static bool HasUnused(Dictionary> adj, int room, HashSet remaining) + { + if (!adj.TryGetValue(room, out var list)) return false; + foreach (var e in list) if (remaining.Contains(e.Key)) return true; + return false; + } + + // Shortest hop path (as the doorway steps taken) from src to the first room passing goal. + private static List? RoomBfs(Dictionary> adj, int src, Func goal) + { + var prev = new Dictionary(); + var seen = new HashSet { src }; + var q = new Queue(); + q.Enqueue(src); + while (q.Count > 0) + { + int c = q.Dequeue(); + if (c != src && goal(c)) + { + var path = new List(); + for (int at = c; at != src; at = prev[at].From) path.Add(prev[at].Step); + path.Reverse(); + return path; + } + if (!adj.TryGetValue(c, out var list)) continue; + foreach (var e in list) + { + if (!seen.Add(e.Room)) continue; + prev[e.Room] = (c, e); + q.Enqueue(e.Room); + } + } + return null; + } + + // ── Paths over rooms (dunnav, recovery detours) ────────────────────────── + + /// + /// Points for walking a cell path from (startNS, startEW) to (destNS, destEW), the + /// destination itself not included: straight on through every narrow opening, straight + /// across rooms. Without geometry, the old cell-centre midpoints. + /// counts the narrow openings given approach and exit points. + /// + public static List BuildPathPoints( + List cellPath, Dictionary graph, DungeonGeometry? geo, + IReadOnlySet? hazardCells, + double startNS, double startEW, double startZ, + double destNS, double destEW, double destZ, + out int doorways) + { + doorways = 0; + var pts = new List(); + if (geo == null) + { + var tmp = new NavRouteParser(); + for (int i = 0; i + 1 < cellPath.Count; i++) + { + if (!graph.TryGetValue(cellPath[i], out var a) || !graph.TryGetValue(cellPath[i + 1], out var b)) continue; + AddPortalWaypoints(tmp, a, b); + } + return tmp.Points; + } + + var rooms = BuildRooms(graph, geo, hazardCells); + var steps = new List(); + for (int i = 0; i + 1 < cellPath.Count; i++) + { + uint a = cellPath[i], b = cellPath[i + 1]; + if (!rooms.RoomOf.TryGetValue(a, out int ra) || !rooms.RoomOf.TryGetValue(b, out int rb) || ra == rb) continue; + steps.Add(new Step(a, b, EdgeKey(a, b))); + } + if (cellPath.Count == 0) return pts; + var start = WorldPoint(DungeonGeometry.NavToWorld(startEW), DungeonGeometry.NavToWorld(startNS), startZ, false); + var dest = WorldPoint(DungeonGeometry.NavToWorld(destEW), DungeonGeometry.NavToWorld(destNS), destZ, false); + return EmitSteps(graph, geo, rooms, steps, closed: false, start, cellPath[0], dest, cellPath[cellPath.Count - 1], out doorways); + } + + // ── Laying points along doorway steps ──────────────────────────────────── + + private readonly record struct Step(uint From, uint To, ulong Key); + + /// + /// Points for a sequence of doorway steps (cell From in one room to cell To in the next). + /// Openings close together in a row (the Olthoi hive puts 0.7 m joint cells between its + /// corridor pieces: three openings in 1.3 m) are one run: one approach point in front of + /// the first, one exit point beyond the last, and the openings' centres in between only + /// when the run turns. Between runs, the room is crossed (). + /// : a loop (the patrol), its last exit crossing back to its first + /// approach. Otherwise / (in startCell / + /// destCell) begin and end it, neither included. counts the + /// runs through narrow openings. + /// + private static List EmitSteps( + Dictionary graph, DungeonGeometry geo, DungeonRooms rooms, List steps, bool closed, + NavPoint? start, uint startCell, NavPoint? dest, uint destCell, out int doorways) + { + doorways = 0; + var pts = new List(); + + if (steps.Count == 0) + { + if (start != null && dest != null && rooms.RoomOf.TryGetValue(startCell, out int r0)) + CrossRoom(pts, graph, geo, rooms, r0, start, startCell, dest, destCell, revisit: false); + return pts; + } + + // A loop starts where a run starts (not halfway along one). + if (closed && steps.Count > 1) + { + int k = 0; + while (k < steps.Count && Continues(geo, steps[(k - 1 + steps.Count) % steps.Count], steps[k])) k++; + if (k > 0 && k < steps.Count) steps = steps.GetRange(k, steps.Count - k).Concat(steps.GetRange(0, k)).ToList(); + } + + NavPoint? prev = start; + uint prevCell = startCell; + NavPoint? firstApproach = null; + var lookedInto = new HashSet(); // rooms already looked into this lap + int i = 0; + while (i < steps.Count) + { + int j = i; + while (j + 1 < steps.Count && Continues(geo, steps[j], steps[j + 1])) j++; + + RunPoints(graph, geo, rooms, steps, i, j, out var approach, out var middle, out var exit, out bool narrow); + if (narrow) doorways++; + if (prev != null) + { + // Only the patrol looks into rooms; a path to somewhere (dunnav, a detour) doesn't. + bool revisit = i > 0 && (closed ? LooksIn(graph, rooms, lookedInto, steps[i - 1], steps[i], prev, approach) : steps[i - 1].Key == steps[i].Key); + CrossRoom(pts, graph, geo, rooms, rooms.RoomOf[steps[i].From], prev, prevCell, approach, steps[i].From, revisit); + } + else firstApproach = approach; + Append(pts, approach); + foreach (var m in middle) Append(pts, m); + Append(pts, exit); + prev = exit; + prevCell = steps[j].To; + i = j + 1; + } + + if (closed && firstApproach != null && prev != null) + { + bool revisit = LooksIn(graph, rooms, lookedInto, steps[steps.Count - 1], steps[0], prev, firstApproach); + CrossRoom(pts, graph, geo, rooms, rooms.RoomOf[steps[0].From], prev, prevCell, firstApproach, steps[0].From, revisit); + } + if (!closed && dest != null && prev != null && rooms.RoomOf.TryGetValue(destCell, out int rd)) + CrossRoom(pts, graph, geo, rooms, rd, prev, prevCell, dest, destCell, revisit: false); + + DropCollinear(pts, closed); + return pts; + } + + // A big room (its cells spread over 10 m or more) left again close to where it was entered is looked into: a + // walk to its middle and back. A straight crossing to a nearby opening would only skirt + // it (the patrol hunts; the old cell walk went all round such rooms). Also any room left + // by the opening it was entered by. + private const double LookInMinSpreadMeters = 10.0; + private const double LookInMaxSkirtMeters = 8.0; + + // Once per room per lap: a hub room with many doorways was otherwise walked to its middle + // again every time the patrol passed between two of its doorways. + private static bool LooksIn(Dictionary graph, DungeonRooms rooms, HashSet lookedInto, + Step inStep, Step outStep, NavPoint entered, NavPoint leaving) + { + if (!rooms.RoomOf.TryGetValue(outStep.From, out int r)) return false; + bool big = RoomSpreadMeters(graph, rooms.Cells[r]) >= LookInMinSpreadMeters; + bool look = (inStep.Key == outStep.Key && (big || rooms.Cells[r].Count == 1)) + || (big && NavPointYd(entered, leaving) < LookInMaxSkirtMeters); + return look && lookedInto.Add(r); + } + + // The diagonal of the box round a room's cell origins: 0 for the pieces of one junction + // (several cells, one origin), 28 m for a 3x3 room of 10 m cells. + private static double RoomSpreadMeters(Dictionary graph, List cells) + { + double minN = double.MaxValue, maxN = double.MinValue, minE = double.MaxValue, maxE = double.MinValue; + foreach (uint c in cells) + { + if (!graph.TryGetValue(c, out var n)) continue; + minN = Math.Min(minN, n.NS); maxN = Math.Max(maxN, n.NS); + minE = Math.Min(minE, n.EW); maxE = Math.Max(maxE, n.EW); + } + if (minN > maxN) return 0; + return Math.Sqrt(Sq(maxN - minN) + Sq(maxE - minE)) * 240.0; + } + + // Openings this close (centre to centre) are taken as one: the room between them is too + // short for an exit point and the next approach point (DoorwayStandoffs[0] each) without + // doubling back. + private const double RunGapMeters = 8.0; + + private static bool Continues(DungeonGeometry geo, Step a, Step b) + { + if (a.Key == b.Key) return false; // turning back through the same opening + if (!geo.TryGetDoorway(a.From, a.To, out var da) || !geo.TryGetDoorway(b.From, b.To, out var db)) return false; + double dx = da.X - db.X, dy = da.Y - db.Y; + if (dx * dx + dy * dy >= RunGapMeters * RunGapMeters || Math.Abs(da.Z - db.Z) >= 2.0) return false; + // A run goes on: through the next opening no more than 90 degrees off the last. Turning + // back (in at one opening, out at another beside it) is a visit to the room between. + var (ax, ay) = da.NormalFrom(a.From); + var (bx, by) = db.NormalFrom(b.From); + return ax * bx + ay * by > 0.0; + } + + // The approach point before steps[i], the exit point after steps[j], and the opening centres + // between them when the run turns (more than 25 degrees between openings). + private static void RunPoints(Dictionary graph, DungeonGeometry geo, DungeonRooms rooms, + List steps, int i, int j, + out NavPoint approach, out List middle, out NavPoint exit, out bool narrow) + { + middle = new List(); + if (i == j) + { + if (!DoorwayPoints(graph, geo, rooms, steps[i].From, steps[i].To, out approach, out exit, out narrow)) narrow = false; + return; + } + + DoorwayPoints(graph, geo, rooms, steps[i].From, steps[i].To, out approach, out _, out bool n0); + DoorwayPoints(graph, geo, rooms, steps[j].From, steps[j].To, out _, out exit, out bool n1); + narrow = n0 || n1; + var doors = new List<(DungeonDoorway Door, uint From)>(); + for (int k = i; k <= j; k++) + { + if (!geo.TryGetDoorway(steps[k].From, steps[k].To, out var d)) continue; + doors.Add((d, steps[k].From)); + narrow |= !d.IsWide; + } + bool turns = false; + for (int k = 1; k < doors.Count && !turns; k++) + { + var (ax, ay) = doors[k - 1].Door.NormalFrom(doors[k - 1].From); + var (bx, by) = doors[k].Door.NormalFrom(doors[k].From); + turns = ax * bx + ay * by < Math.Cos(25.0 * Math.PI / 180.0); + } + if (turns) + foreach (var (d, _) in doors) middle.Add(WorldPoint(d.X, d.Y, d.Z, !d.IsWide)); + if (narrow) { approach.Doorway = true; exit.Doorway = true; } + } + + // ── Doorway points ─────────────────────────────────────────────────────── + + /// + /// The approach point (in a, centred in front of the opening) and exit point (in b, centred + /// beyond it) for stepping from cell a into cell b. True when the opening is known; + /// when it is a doorway (the points are then flagged + /// NavPoint.Doorway). Unknown openings fall back to the old 30% / 50% points. + /// + private static bool DoorwayPoints(Dictionary graph, DungeonGeometry geo, DungeonRooms rooms, + uint a, uint b, out NavPoint approach, out NavPoint exit, out bool narrow) + { + narrow = false; + if (geo.TryGetDoorway(a, b, out var d)) + { + var (nx, ny) = d.NormalFrom(a); + narrow = !d.IsWide; + double sa = PickStandoff(geo, rooms, a, d, -nx, -ny); + double sb = PickStandoff(geo, rooms, b, d, nx, ny); + approach = WorldPoint(d.X - nx * sa, d.Y - ny * sa, d.Z, narrow); + exit = WorldPoint(d.X + nx * sb, d.Y + ny * sb, d.Z, narrow); + return true; + } + + var na = graph[a]; var nb = graph[b]; + double dNS = nb.NS - na.NS, dEW = nb.EW - na.EW, dZ = nb.Z - na.Z; + approach = new NavPoint { Type = NavPointType.Point, NS = na.NS + dNS * 0.3, EW = na.EW + dEW * 0.3, Z = (na.Z + dZ * 0.3) / 240.0 }; + exit = new NavPoint { Type = NavPointType.Point, NS = na.NS + dNS * 0.5, EW = na.EW + dEW * 0.5, Z = (na.Z + dZ * 0.5) / 240.0 }; + return false; + } + + // The longest standoff whose point is on the floor of the cell's room (or the shortest). + private static double PickStandoff(DungeonGeometry geo, DungeonRooms rooms, uint cell, DungeonDoorway d, double dirX, double dirY) + { + var cells = rooms.RoomOf.TryGetValue(cell, out int r) ? (IEnumerable)rooms.Cells[r] : new[] { cell }; + foreach (double s in DoorwayStandoffs) + if (geo.OnFloorOfAny(cells, d.X + dirX * s, d.Y + dirY * s, d.Z)) return s; + return DoorwayStandoffs[DoorwayStandoffs.Length - 1]; + } + + // ── Crossing a room ────────────────────────────────────────────────────── + + /// + /// Adds the points needed to walk from (in cell fromCell) to + /// (in cell toCell) inside one room, neither end included: nothing + /// when the straight line is clear, else the room's cells string-pulled. A revisit (in and + /// out by one doorway) first goes to the room's middle. + /// + private static void CrossRoom(List pts, Dictionary graph, DungeonGeometry geo, + DungeonRooms rooms, int room, NavPoint from, uint fromCell, NavPoint to, uint toCell, + bool revisit) + { + var cells = rooms.Cells[room]; + Trace?.Invoke($"cross room {room} ({cells.Count}) revisit={revisit} from={fromCell:X8} to={toCell:X8}"); + if (revisit) + { + var mid = RoomMiddle(graph, geo, cells, out uint midCell); + if (mid != null) + { + PullThrough(pts, graph, geo, rooms, cells, from, fromCell, mid, midCell); + Append(pts, mid); + PullThrough(pts, graph, geo, rooms, cells, mid, midCell, to, toCell); + return; + } + } + PullThrough(pts, graph, geo, rooms, cells, from, fromCell, to, toCell); + } + + internal static Action? Trace; + + private static void PullThrough(List pts, Dictionary graph, DungeonGeometry geo, + DungeonRooms rooms, List cells, NavPoint from, uint fromCell, NavPoint to, uint toCell) + { + if (Clear(geo, cells, from, to)) return; + + // Through the room's own cells: the openings between them (or cell-centre midpoints). + var cellPath = CellBfs(graph, rooms, fromCell, toCell); + var corners = new List(); + for (int i = 0; i + 1 < cellPath.Count; i++) + { + uint a = cellPath[i], b = cellPath[i + 1]; + if (geo.TryGetDoorway(a, b, out var d)) corners.Add(WorldPoint(d.X, d.Y, d.Z, false)); + else + { + var na = graph[a]; var nb = graph[b]; + corners.Add(new NavPoint { Type = NavPointType.Point, NS = (na.NS + nb.NS) * 0.5, EW = (na.EW + nb.EW) * 0.5, Z = (na.Z + nb.Z) * 0.5 / 240.0 }); + } + } + corners.Add(to); + + // String-pull: from the anchor, the farthest corner in a clear straight line. + NavPoint anchor = from; + int at = 0; + int guard = corners.Count + 2; + while (at < corners.Count - 1 && guard-- > 0) + { + int pick = at; // always move on at least one corner + for (int k = corners.Count - 1; k > at; k--) + if (Clear(geo, cells, anchor, corners[k])) { pick = k; break; } + if (pick == corners.Count - 1) break; // the end is in sight + Append(pts, corners[pick]); + anchor = corners[pick]; + at = pick + 1; + if (Clear(geo, cells, anchor, to)) break; + } + } + + private static bool Clear(DungeonGeometry geo, List cells, NavPoint a, NavPoint b) + => geo.SegmentClear(cells, + DungeonGeometry.NavToWorld(a.EW), DungeonGeometry.NavToWorld(a.NS), a.Z * 240.0, + DungeonGeometry.NavToWorld(b.EW), DungeonGeometry.NavToWorld(b.NS), b.Z * 240.0, + CrossingClearance); + + // Shortest cell path inside one room (inclusive), or just [from, to] when there is none. + private static List CellBfs(Dictionary graph, DungeonRooms rooms, uint from, uint to) + { + if (from == to) return new List { from }; + int room = rooms.RoomOf.TryGetValue(from, out int r) ? r : -1; + var prev = new Dictionary(); + var seen = new HashSet { from }; + var q = new Queue(); + q.Enqueue(from); + while (q.Count > 0) + { + uint c = q.Dequeue(); + if (c == to) return RebuildPath(prev, from, to); + if (!graph.TryGetValue(c, out var n)) continue; + foreach (uint nb in n.Neighbors) + { + if (!rooms.RoomOf.TryGetValue(nb, out int rn) || rn != room) continue; + if (!seen.Add(nb)) continue; + prev[nb] = c; + q.Enqueue(nb); + } + } + return new List { from, to }; + } + + // The point a patrol visits to look into a room: the middle of its cell centres when that + // is on its floor, else the cell centre nearest that middle. + private static NavPoint? RoomMiddle(Dictionary graph, DungeonGeometry geo, List cells, out uint midCell) + { + midCell = 0; + double sx = 0, sy = 0, sz = 0; + int n = 0; + foreach (uint c in cells) + { + if (!graph.TryGetValue(c, out var node)) continue; + sx += DungeonGeometry.NavToWorld(node.EW); sy += DungeonGeometry.NavToWorld(node.NS); sz += node.Z; + n++; + } + if (n == 0) return null; + sx /= n; sy /= n; sz /= n; + + double best = double.MaxValue; + DungeonNavNode? nearest = null; + foreach (uint c in cells) + { + if (!graph.TryGetValue(c, out var node)) continue; + double d = Sq(DungeonGeometry.NavToWorld(node.EW) - sx) + Sq(DungeonGeometry.NavToWorld(node.NS) - sy); + if (d < best) { best = d; nearest = node; } + } + if (nearest == null) return null; + midCell = nearest.CellId; + if (geo.OnCellFloor(nearest.CellId, sx, sy, sz) || geo.OnFloorOfAny(cells, sx, sy, sz) && !geo.HasFloor(nearest.CellId)) + return WorldPoint(sx, sy, sz, false); + return WorldPoint(DungeonGeometry.NavToWorld(nearest.EW), DungeonGeometry.NavToWorld(nearest.NS), nearest.Z, false); + } + + // ── Point list helpers ─────────────────────────────────────────────────── + + private static NavPoint WorldPoint(double wx, double wy, double wz, bool doorway) => new() + { + Type = NavPointType.Point, + EW = DungeonGeometry.WorldToNav(wx), + NS = DungeonGeometry.WorldToNav(wy), + Z = wz / 240.0, + Doorway = doorway, + }; + + // Adds p unless it is on top of the last point (keeping the doorway flag if either has it). + private static void Append(List pts, NavPoint p) + { + if (pts.Count > 0) + { + var last = pts[pts.Count - 1]; + if (NavPointYd(last, p) < MinPointSpacing) + { + last.Doorway |= p.Doorway; + return; + } + } + pts.Add(p); + } + + // Drops points within CollinearTolerance of the straight line through their neighbours: + // e.g. the exit and approach points between two openings in line along a corridor. + private static void DropCollinear(List pts, bool closed) + { + bool changed = true; + while (changed && pts.Count > 2) + { + changed = false; + for (int i = closed ? 0 : 1; i < (closed ? pts.Count : pts.Count - 1); i++) + { + if (pts.Count <= 2) break; + var a = pts[(i - 1 + pts.Count) % pts.Count]; + var p = pts[i]; + var b = pts[(i + 1) % pts.Count]; + if (!NavRouteParser.IsPlainWaypoint(p.Type)) continue; + if (!WithinSegment(a, b, p)) continue; + if (SegDistYards(a, b, p) < CollinearTolerance) + { + pts.RemoveAt(i); + i--; + changed = true; + } + } + } + } + + // p lies between a and b along their line (not beyond either end). + private static bool WithinSegment(NavPoint a, NavPoint b, NavPoint p) + { + double abN = b.NS - a.NS, abE = b.EW - a.EW, apN = p.NS - a.NS, apE = p.EW - a.EW; + double dot = abN * apN + abE * apE, len2 = abN * abN + abE * abE; + return dot >= 0 && dot <= len2; + } + + private static double NavPointYd(NavPoint a, NavPoint b) => Math.Sqrt(Sq(a.NS - b.NS) + Sq(a.EW - b.EW)) * 240.0; + + private static double Sq(double v) => v * v; +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.cs b/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.cs index cae39e2..05bffa7 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/DungeonPathfinder.cs @@ -42,7 +42,7 @@ internal sealed class DungeonNavNode public List Neighbors = new(); // portal-connected cells only } -internal static class DungeonPathfinder +internal static partial class DungeonPathfinder { // Angle threshold (degrees) above which a portal edge is classified as a drop. // A slope has significant horizontal movement relative to its Z change — its @@ -89,6 +89,8 @@ internal static class DungeonPathfinder { _cachedGraph = null; _cachedLandblockKey = 0; + _cachedGeometry = null; + _geoLandblock = 0; } // ── Graph construction ────────────────────────────────────────────────── @@ -353,10 +355,21 @@ internal static class DungeonPathfinder public static NavRouteParser BuildNavRoute( List cellPath, Dictionary graph, - double destNS, double destEW) + double destNS, double destEW, + DungeonGeometry? geo = null, IReadOnlySet? hazardCells = null, + double startNS = double.NaN, double startEW = double.NaN, double startZ = 0, double destZ = 0) { var route = new NavRouteParser { RouteType = NavRouteType.Once }; + // With the dungeon map geometry: straight on through doorways, straight across rooms. + if (geo != null && geo.DoorwayCount > 0 && cellPath.Count > 0 && graph.TryGetValue(cellPath[0], out var s0)) + { + double sNs = double.IsNaN(startNS) ? s0.NS : startNS, sEw = double.IsNaN(startEW) ? s0.EW : startEW; + route.Points.AddRange(BuildPathPoints(cellPath, graph, geo, hazardCells, sNs, sEw, startZ, destNS, destEW, destZ, out _)); + route.Points.Add(new NavPoint { Type = NavPointType.Point, NS = destNS, EW = destEW, Z = destZ / 240.0 }); + return route; + } + for (int i = 0; i + 1 < cellPath.Count; i++) { if (!graph.TryGetValue(cellPath[i], out var a)) continue; @@ -409,7 +422,7 @@ internal static class DungeonPathfinder changed = false; for (int i = 1; i + 1 < route.Points.Count; i++) { - if (route.Points[i].Type != NavPointType.Point) continue; + if (!NavRouteParser.IsPlainWaypoint(route.Points[i].Type)) continue; if (SegDistYards(route.Points[i - 1], route.Points[i + 1], route.Points[i]) < thresholdYards) { route.Points.RemoveAt(i--); @@ -530,10 +543,19 @@ internal static class DungeonPathfinder public static NavRouteParser BuildPatrolRoute( Dictionary graph, uint startCell, - IReadOnlySet? hazardCells = null) + IReadOnlySet? hazardCells = null, + DungeonGeometry? geo = null) { var mainRoute = GetMainRouteNodes(graph, startCell, hazardCells); + // With the dungeon map geometry: the same coverage over rooms instead of cells, rooms + // crossed directly, doorways taken straight on (DungeonPathfinder.Rooms.cs). + if (geo != null && geo.DoorwayCount > 0) + { + var byRoom = BuildRoomPatrol(graph, startCell, mainRoute, hazardCells, geo); + if (byRoom != null && byRoom.Points.Count > 0) return byRoom; + } + // Undirected walkable subgraph over mainRoute (portal-adjacent, non-drop). mainRoute is // already hazard-filtered, so membership there implies non-hazard. var adj = new Dictionary>(); @@ -715,7 +737,8 @@ internal static class DungeonPathfinder double playerNS, double playerEW, float playerZ, double destNS, double destEW, out int nodeCount, out int pathLength, - IReadOnlySet? hazardCells = null) + IReadOnlySet? hazardCells = null, + DungeonLOS? los = null) { nodeCount = 0; pathLength = 0; @@ -736,6 +759,7 @@ internal static class DungeonPathfinder pathLength = path.Count; if (pathLength == 0) return null; - return BuildNavRoute(path, graph, destNS, destEW); + var geo = GetGeometry(landblockKey, cellDat, los); + return BuildNavRoute(path, graph, destNS, destEW, geo, hazardCells, playerNS, playerEW, playerZ, playerZ); } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/DungeonMapUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/DungeonMapUi.cs index 830076a..850c1ff 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/DungeonMapUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/DungeonMapUi.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Numerics; -using ImGuiNET; -using RynthCore.Plugin.RynthAi.Maps; using RynthCore.Plugin.RynthAi.Raycasting; using RynthCore.PluginSdk; using RynthCore.Plugin.RynthAi; @@ -11,22 +8,19 @@ using RynthCore.Plugin.RynthAi; namespace RynthCore.Plugin.RynthAi.LegacyUi; /// -/// Dungeon map: uses physics floor polygons from the dat for accurate corner coverage. -/// Rasterise floor polygons into a typed 2D grid, then: -/// • Fill — merge grid rows into horizontal strips, draw AddRectFilled. -/// • Edges — emit a coloured line on every filled cell face bordering empty space. -/// -/// CellType colouring: -/// Flat → light-blue fill + light-blue edge -/// SlopeUp → green fill + green edge (avg vertex Z > layerZ) -/// SlopeDown → red fill + red edge (avg vertex Z < layerZ) +/// The dungeon geometry cache behind the radar snapshot (RynthRadarUi.BuildSnapshotJson), +/// which feeds the engine's Radar and Dungeon Map faces. Uses physics floor polygons from +/// the dat for accurate corner coverage: they are rasterised into a typed 2D grid, then +/// • Fill — grid rows merged into strips (_fillStrips); +/// • Edges — every filled cell face bordering empty space (_outerEdgesRaw, and merged +/// into the fewest lines in _outerEdges). +/// CellType: Flat, SlopeUp (avg vertex Z above the layer), SlopeDown (below). +/// This was also RynthAi's plugin-drawn Dungeon Map window (with baked D3D9 floor +/// textures); that window is the engine's DungeonMapFace now, so nothing here draws. /// internal sealed class DungeonMapUi { - private readonly RynthCoreHost _host; - private readonly LegacyUiSettings _settings; private MainLogic? _raycast; - private WorldObjectCache? _objectCache; internal uint _cachedLandblock; @@ -40,16 +34,8 @@ internal sealed class DungeonMapUi internal Dictionary>? _fillStrips; // Per-layer floor cell lookup used to build visited strips. internal Dictionary>? _floorCells; - // Flat cells the player has walked through this session (grid coords at GridCell resolution). - private readonly HashSet<(int gx, int gy)> _visitedCells = new(); internal List? _zLayers; - // Per-layer D3D9 textures: fill + edges baked in, O(1) vertices per layer. - internal Dictionary? _layerTextures; - // Visited flat cells merged into strips — rebuilt only when _visitedCells grows, - // so drawing stays O(strips) not O(cells). Shared with RynthRadarUi. - internal Dictionary>? _visitedFillStrips; - private int _lastVisitedCount = -1; - internal int _autoLayerIdx; + /// Force the landblock cache to be built. Used by RynthRadarUi to share walls/fills. internal void EnsureCache(uint landblock) { @@ -59,233 +45,29 @@ internal sealed class DungeonMapUi internal int BestLayerIdxFor(float playerZ) => BestLayerIdx(playerZ); - private readonly HashSet _visibleLayers = new(); - - private float _zoom = 5.0f; - private Vector2 _pan; - private bool _autoFollow = true; - private bool _show1U1D = true; // show current floor ± 1 (default) - private bool _open = true; - private bool _autoHidden; // true when we auto-hid the map because player went outdoors - public bool IsAutoHidden => _autoHidden; - - // Toggle-stabilisation: when toolbar is visible we track both the full window - // rect and the canvas rect. On hide we snap the window to the canvas rect so - // it sits exactly over the map area; on show we restore the full window rect. - private bool _prevHideToolbar; - private Vector2 _fullWindowPos; // window pos when toolbar is visible - private Vector2 _fullWindowSize; // window size when toolbar is visible - private Vector2 _canvasPos; // canvas top-left when toolbar is visible - private Vector2 _canvasSize; // canvas size when toolbar is visible - - // Edge colours - private static readonly uint ColBg = ImGui.ColorConvertFloat4ToU32(new Vector4(0.04f, 0.07f, 0.12f, 1.00f)); - private static readonly uint ColBorder = ImGui.ColorConvertFloat4ToU32(new Vector4(0.20f, 0.30f, 0.40f, 1.00f)); - private static readonly uint ColFlat = ImGui.ColorConvertFloat4ToU32(new Vector4(0.55f, 0.80f, 1.00f, 1.00f)); - private static readonly uint ColSlopeUp = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.35f, 0.25f, 1.00f)); // red — leads to higher floor - private static readonly uint ColSlopeDown = ImGui.ColorConvertFloat4ToU32(new Vector4(0.25f, 1.00f, 0.35f, 1.00f)); // green — leads to lower floor - private static readonly uint ColPlayer = ImGui.ColorConvertFloat4ToU32(new Vector4(0.20f, 1.00f, 0.40f, 1.00f)); - private static readonly uint ColPortal = ImGui.ColorConvertFloat4ToU32(new Vector4(0.90f, 0.45f, 1.00f, 1.00f)); // purple - private static readonly uint ColPortalRing = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.75f, 1.00f, 0.70f)); - private static readonly uint ColPortalLabel = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.88f, 1.00f, 1.00f)); - private static readonly uint ColDoor = ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.55f, 0.25f, 1.00f)); // tan - private static readonly uint ColDoorRing = ImGui.ColorConvertFloat4ToU32(new Vector4(0.90f, 0.75f, 0.50f, 0.70f)); - private static readonly uint ColDoorLabel = ImGui.ColorConvertFloat4ToU32(new Vector4(0.95f, 0.85f, 0.65f, 1.00f)); - private static readonly uint ColMonster = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.25f, 0.20f, 1.00f)); // red - private static readonly uint ColMonsterRing = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.55f, 0.50f, 0.70f)); - private static readonly uint ColNpc = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.85f, 0.20f, 1.00f)); // yellow-gold - private static readonly uint ColNpcRing = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.95f, 0.55f, 0.70f)); - private static readonly uint ColCreatureLabel = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.90f, 0.90f, 1.00f)); - // Fill colours (semi-transparent) - private static readonly uint ColFlatFill = ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.55f, 0.22f, 0.40f)); // green — unvisited - private static readonly uint ColFlatFillVisited = ImGui.ColorConvertFloat4ToU32(new Vector4(0.30f, 0.42f, 0.58f, 0.72f)); // slate blue — visited - private static readonly uint ColSlopeUpFill = ImGui.ColorConvertFloat4ToU32(new Vector4(0.55f, 0.12f, 0.08f, 0.40f)); - private static readonly uint ColSlopeDownFill = ImGui.ColorConvertFloat4ToU32(new Vector4(0.10f, 0.50f, 0.15f, 0.40f)); - private const float GridCell = 0.5f; private const float FloorNormalThreshold = 0.4f; // |Nz|/|N| — must exceed to be floor-like private const float FlatNormalThreshold = 0.95f; // |Nz|/|N| — must exceed to be flat (not a ramp) private const byte NotFloor = 255; // sentinel returned by ClassifyPoly - /// Called immediately whenever a map setting is changed by the user. - public Action? OnSettingChanged { get; set; } - - public DungeonMapUi(RynthCoreHost host, LegacyUiSettings settings) { _host = host; _settings = settings; } - - public void SetWorldObjectCache(WorldObjectCache cache) => _objectCache = cache; - public void SetRaycast(MainLogic raycast) { _raycast = raycast; _outerEdges = null; _fillStrips = null; _floorCells = null; - _visitedCells.Clear(); _cachedLandblock = 0; } - public void Render() - { - // Check indoor/outdoor before creating the ImGui window. - // Auto-hide when outdoors (or in portalspace), auto-show when returning indoors. - bool isIndoor = false; - if (_host.HasGetPlayerPose && _host.TryGetPlayerPose( - out uint preCellId, out _, out _, out _, out _, out _, out _, out _)) - { - isIndoor = (preCellId & 0xFFFF) >= 0x100 && (preCellId >> 16) != 0; - } - - if (!isIndoor) - { - if (!_autoHidden) - { - _autoHidden = true; - DashWindows.ShowDungeonMap = false; - } - return; - } - - if (_autoHidden) - { - _autoHidden = false; - _open = true; - DashWindows.ShowDungeonMap = true; - } - - // Snapshot map-specific settings so we can detect changes and save immediately. - bool snapDoors = _settings.MapShowDoors; - bool snapCreatures = _settings.MapShowCreatures; - bool snapToolbar = _settings.MapShowToolbar; - float snapOpacity = _settings.MapBgOpacity; - bool snapRotate = _settings.MapRotateWithPlayer; - - float op = _settings.MapBgOpacity; - bool hideToolbar = !_settings.MapShowToolbar; - - // FirstUseEver must come BEFORE any Always override — each SetNextWindowSize call - // overwrites the previous one, so Always must be last to win. - ImGui.SetNextWindowSize(new Vector2(480, 520), ImGuiCond.FirstUseEver); - - // On toggle: snap the window to the canvas rect (hide) or full window rect (show). - bool stateChanged = hideToolbar != _prevHideToolbar; - _prevHideToolbar = hideToolbar; - if (stateChanged) - { - if (hideToolbar && _canvasSize.X > 0) - { - // Shrink to exactly where the canvas was — no title bar / toolbar chrome. - ImGui.SetNextWindowPos(_canvasPos, ImGuiCond.Always); - ImGui.SetNextWindowSize(_canvasSize, ImGuiCond.Always); - } - else if (!hideToolbar && _fullWindowSize.X > 0) - { - // Restore the full window including toolbar and title bar. - ImGui.SetNextWindowPos(_fullWindowPos, ImGuiCond.Always); - ImGui.SetNextWindowSize(_fullWindowSize, ImGuiCond.Always); - } - } - - // Remove border and padding when toolbar is hidden so no empty chrome is visible. - int styleVarCount = 0; - if (hideToolbar) - { - ImGui.PushStyleVar(ImGuiStyleVar.WindowBorderSize, 0f); - ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, Vector2.Zero); - styleVarCount = 2; - } - - // Apply opacity to title bar colours too — SetNextWindowBgAlpha only covers the content area. - var titleCol = new Vector4(0.08f, 0.12f, 0.18f, op); - ImGui.PushStyleColor(ImGuiCol.TitleBg, titleCol); - ImGui.PushStyleColor(ImGuiCol.TitleBgActive, new Vector4(0.10f, 0.16f, 0.24f, op)); - - ImGui.SetNextWindowBgAlpha(op); - - ImGuiWindowFlags flags = ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse; - if (hideToolbar) flags |= ImGuiWindowFlags.NoTitleBar; - - bool beginVisible = ImGui.Begin("Dungeon Map##RynthAiDungeonMap", ref _open, flags); - if (styleVarCount > 0) ImGui.PopStyleVar(styleVarCount); - ImGui.PopStyleColor(2); - - if (!beginVisible) { ImGui.End(); return; } - if (!_open) { DashWindows.ShowDungeonMap = false; ImGui.End(); return; } - - // Track full window rect every frame when toolbar is visible. - if (!hideToolbar) - { - _fullWindowPos = ImGui.GetWindowPos(); - _fullWindowSize = ImGui.GetWindowSize(); - } - - if (_raycast is null || !_raycast.IsInitialized) - { - ImGui.TextDisabled(_raycast is null - ? "Raycasting not yet initialised — loading DAT files..." - : $"Raycasting failed: {_raycast.StatusMessage}"); - ImGui.End(); return; - } - - if (!_host.HasGetPlayerPose || !_host.TryGetPlayerPose( - out uint cellId, out float px, out float py, out float pz, - out _, out _, out _, out _)) - { ImGui.TextDisabled("Player position unavailable."); ImGui.End(); return; } - - // Indoor check already handled before window creation — this is a safety fallback. - if ((cellId & 0xFFFF) < 0x100) - { ImGui.End(); return; } - - uint landblock = cellId >> 16; - if (landblock != _cachedLandblock || _outerEdges is null) - RefreshMap(landblock); - - if (_outerEdges is null || _outerEdges.Count == 0) - { ImGui.TextDisabled($"No dungeon geometry for 0x{landblock:X4}."); ImGui.End(); return; } - - float gx = ((landblock >> 8) & 0xFF) * 192.0f; - float gy = (landblock & 0xFF) * 192.0f; - - if (!hideToolbar) - { - if (ImGui.SmallButton("^##tbToggle")) _settings.MapShowToolbar = false; - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Hide settings"); - ImGui.SameLine(0, 8); - RenderToolbar(pz); - } - - RenderCanvas(px + gx, py + gy, pz, hideToolbar); - - // Save immediately when any map setting changes. - if (_settings.MapShowDoors != snapDoors || - _settings.MapShowCreatures != snapCreatures || - _settings.MapShowToolbar != snapToolbar || - _settings.MapRotateWithPlayer != snapRotate || - MathF.Abs(_settings.MapBgOpacity - snapOpacity) > 0.001f) - { - OnSettingChanged?.Invoke(); - } - - ImGui.End(); - } - // ── Data refresh ───────────────────────────────────────────────────────── private void RefreshMap(uint landblock) { _cachedLandblock = landblock; - _pan = Vector2.Zero; _outerEdges = null; _outerEdgesRaw = null; _fillStrips = null; _floorCells = null; - _visitedFillStrips = null; - _visitedCells.Clear(); - _lastVisitedCount = -1; - if (_layerTextures is not null) - { - foreach (var t in _layerTextures.Values) t.Dispose(); - _layerTextures = null; - } var los = _raycast?.GeometryLoader?.DungeonLOS; if (los is null) return; @@ -300,18 +82,6 @@ internal sealed class DungeonMapUi foreach (var p in portalPolys) zSet.Add((float)Math.Round(p.CellZ, 1)); _zLayers = new List(zSet); - _autoLayerIdx = 0; - _visibleLayers.Clear(); - if (_show1U1D) - { - _visibleLayers.Add(0); - if (_zLayers.Count > 1) _visibleLayers.Add(1); - } - else - { - for (int i = 0; i < _zLayers.Count; i++) _visibleLayers.Add(i); - } - _outerEdges = new Dictionary>(_zLayers.Count); _fillStrips = new Dictionary>(_zLayers.Count); @@ -496,25 +266,8 @@ internal sealed class DungeonMapUi if (strips.Count > 0) _fillStrips[layerZ] = strips; } - // ── Per-layer floor textures (fill + edges baked, O(1) vertices each) ── - if (_floorCells is not null && _host.D3DDevice != IntPtr.Zero) - { - var texDict = new Dictionary(_floorCells.Count); - foreach (var (lz, cells) in _floorCells) - { - int idx = _zLayers!.IndexOf(lz); - var tex = DungeonMapTexture.GetOrBuild(_host.D3DDevice, cells, landblock, idx); - if (tex != null) texDict[lz] = tex; - } - _layerTextures = texDict.Count > 0 ? texDict : null; - } } - // Reduce a colour to ~25 % opacity for non-current-floor rendering. - // ImGui packs colours as 0xAABBGGRR; the alpha is in bits 31–24. - private static uint DimCol(uint c) => - ((uint)((c >> 24 & 0xFF) * 0.25f) << 24) | (c & 0x00FFFFFFu); - // Merge collinear/adjacent axis-aligned edge segments into the fewest possible lines. // A 10-unit straight wall built from 20 half-unit grid edges becomes 1 line. private static List<(float ax, float ay, float bx, float by, CellType type)> MergeEdges( @@ -634,29 +387,6 @@ internal sealed class DungeonMapUi return result; } - private void RebuildVisitedStrips() - { - _lastVisitedCount = _visitedCells.Count; - if (_floorCells is null || _visitedCells.Count == 0 || _zLayers is null) - { - _visitedFillStrips = null; - return; - } - - var result = new Dictionary>(_zLayers.Count); - foreach (var (layerZ, cells) in _floorCells) - { - var flatVisited = new List<(int, int)>(); - foreach (var ((gx, gy), ctype) in cells) - if (ctype == CellType.Flat && _visitedCells.Contains((gx, gy))) - flatVisited.Add((gx, gy)); - if (flatVisited.Count == 0) continue; - var strips = BuildVisitedStripsFrom(flatVisited); - if (strips.Count > 0) result[layerZ] = strips; - } - _visitedFillStrips = result.Count > 0 ? result : null; - } - // Classify a polygon as Flat / SlopeUp / SlopeDown, or NotFloor if vertical. private static CellType ClassifyPoly(Raycasting.Vector3[] verts, float layerZ) { @@ -768,537 +498,6 @@ internal sealed class DungeonMapUi // ── Toolbar ────────────────────────────────────────────────────────────── - // Returns true if the last-drawn item's right edge + gap + nextWidth fits before the window's right edge. - private static bool FitsOnLine(float nextWidth, float gap = 8f) - { - float itemRight = ImGui.GetItemRectMax().X; - float windowRight = ImGui.GetWindowPos().X + ImGui.GetWindowSize().X - - ImGui.GetStyle().WindowPadding.X; - return itemRight + gap + nextWidth < windowRight; - } - - private void RenderToolbar(float playerZ) - { - // ── 1U1D toggle ─────────────────────────────────────────────────── - bool was1U1D = _show1U1D; - if (was1U1D) - { - ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0.15f, 0.45f, 0.70f, 1.0f)); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, new Vector4(0.20f, 0.58f, 0.88f, 1.0f)); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, new Vector4(0.10f, 0.34f, 0.58f, 1.0f)); - } - if (ImGui.SmallButton("1U1D##1u1d")) - { - _show1U1D = !_show1U1D; - if (_show1U1D && _zLayers is not null) - { - _visibleLayers.Clear(); - if (_autoLayerIdx > 0) _visibleLayers.Add(_autoLayerIdx - 1); - _visibleLayers.Add(_autoLayerIdx); - if (_autoLayerIdx < _zLayers.Count - 1) _visibleLayers.Add(_autoLayerIdx + 1); - } - } - if (was1U1D) ImGui.PopStyleColor(3); - - // ── Floor buttons ───────────────────────────────────────────────── - if (_zLayers is not null && _zLayers.Count > 1) - { - float floorsWidth = 52f + _zLayers.Count * 26f + 60f; // "Floors:" + Fn buttons + All/Here - if (FitsOnLine(floorsWidth, 10f)) ImGui.SameLine(0, 10); - - ImGui.Text("Floors:"); - ImGui.SameLine(); - for (int i = 0; i < _zLayers.Count; i++) - { - if (i > 0) ImGui.SameLine(); - bool on = _visibleLayers.Contains(i); - bool isCurrent = i == _autoLayerIdx; - if (on && isCurrent) - ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0.10f, 0.65f, 0.30f, 1.0f)); - else if (on) - ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0.15f, 0.45f, 0.70f, 1.0f)); - if (ImGui.SmallButton($"F{i + 1}##floor{i}")) - { - _show1U1D = false; - if (on) _visibleLayers.Remove(i); else _visibleLayers.Add(i); - } - if (on) ImGui.PopStyleColor(); - } - ImGui.SameLine(0, 6); - if (ImGui.SmallButton("All##floorAll")) - { - _show1U1D = false; - _visibleLayers.Clear(); - for (int i = 0; i < _zLayers.Count; i++) _visibleLayers.Add(i); - } - ImGui.SameLine(); - if (ImGui.SmallButton("Here##floorHere")) - { - _show1U1D = false; - _visibleLayers.Clear(); - _visibleLayers.Add(BestLayerIdx(playerZ)); - } - } - - // ── Zoom ────────────────────────────────────────────────────────── - if (FitsOnLine(130f, 12f)) ImGui.SameLine(0, 12); - ImGui.Text("Zoom:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(80); - ImGui.SliderFloat("##mapzoom", ref _zoom, 1.0f, 20.0f, "%.1fx"); - if (!float.IsFinite(_zoom)) _zoom = 5.0f; - - // ── Follow / Rotate / Reset ─────────────────────────────────────── - if (FitsOnLine(180f, 12f)) ImGui.SameLine(0, 12); - ImGui.Checkbox("Follow##mapfollow", ref _autoFollow); - ImGui.SameLine(0, 6); - ImGui.Checkbox("Rotate##maprotate", ref _settings.MapRotateWithPlayer); - ImGui.SameLine(0, 6); - if (ImGui.SmallButton("Reset##mapreset")) - { _pan = Vector2.Zero; _zoom = 5.0f; _autoFollow = true; _show1U1D = true; } - - // ── Doors / Creatures ───────────────────────────────────────────── - if (FitsOnLine(148f, 12f)) ImGui.SameLine(0, 12); - ImGui.Checkbox("Doors##mapDoors", ref _settings.MapShowDoors); - ImGui.SameLine(0, 6); - ImGui.Checkbox("Creatures##mapCreatures", ref _settings.MapShowCreatures); - - // ── Opacity ─────────────────────────────────────────────────────── - if (FitsOnLine(130f, 12f)) ImGui.SameLine(0, 12); - ImGui.Text("Opacity:"); - ImGui.SameLine(0, 4); - ImGui.SetNextItemWidth(70); - ImGui.SliderFloat("##mapOpacity", ref _settings.MapBgOpacity, 0f, 1f, "%.2f"); - _settings.MapBgOpacity = Math.Clamp(_settings.MapBgOpacity, 0f, 1f); - - } - // ── Canvas ──────────────────────────────────────────────────────────────── - private void RenderCanvas(float playerWX, float playerWY, float playerZ, bool showExpandBtn = false) - { - Vector2 canvasSize = ImGui.GetContentRegionAvail(); - if (canvasSize.X < 50 || canvasSize.Y < 50) return; - - Vector2 origin = ImGui.GetCursorScreenPos(); - - // Record canvas screen rect while toolbar is visible so we can snap to it on hide. - if (!showExpandBtn) - { - _canvasPos = origin; - _canvasSize = canvasSize; - } - Vector2 centre = origin + canvasSize * 0.5f; - - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - - // Only the canvas background scales with opacity — fills and edges stay full colour. - uint colBgDyn = SetAlpha(ColBg, _settings.MapBgOpacity); - - dl.AddRectFilled(origin, origin + canvasSize, colBgDyn); - dl.AddRect(origin, origin + canvasSize, ColBorder); - dl.PushClipRect(origin, origin + canvasSize, true); - - if (_autoFollow) _pan = Vector2.Zero; - - if (_zLayers is not null) - { - int best = BestLayerIdx(playerZ); - if (best != _autoLayerIdx) - { - _autoLayerIdx = best; - if (_show1U1D) - { - _visibleLayers.Clear(); - if (best > 0) _visibleLayers.Add(best - 1); - _visibleLayers.Add(best); - if (best < _zLayers.Count - 1) _visibleLayers.Add(best + 1); - } - else if (_autoFollow) { _visibleLayers.Clear(); _visibleLayers.Add(best); } - } - } - - Span visZ = stackalloc float[_zLayers?.Count ?? 0]; - int visCount = 0; - if (_zLayers is not null) - foreach (int idx in _visibleLayers) - if (idx >= 0 && idx < _zLayers.Count) - visZ[visCount++] = _zLayers[idx]; - - float cxMin = origin.X, cxMax = origin.X + canvasSize.X; - float cyMin = origin.Y, cyMax = origin.Y + canvasSize.Y; - const float Margin = 20f; - - float currentLayerZ = (_zLayers is not null && _autoLayerIdx < _zLayers.Count) - ? _zLayers[_autoLayerIdx] : float.NaN; - - bool rotate = _settings.MapRotateWithPlayer; - float sinH = 0f, cosH = 1f; - if (rotate && _host.HasGetPlayerHeading && _host.TryGetPlayerHeading(out float mapHeading)) - { - float hRad = mapHeading * MathF.PI / 180f; - sinH = MathF.Sin(hRad); - cosH = MathF.Cos(hRad); - } - - // ── Paint visited flat cells under player each frame ───────────── - if (!float.IsNaN(currentLayerZ)) - { - const int PaintRadius = 2; - int pgx = (int)MathF.Floor(playerWX / GridCell); - int pgy = (int)MathF.Floor(playerWY / GridCell); - for (int dy = -PaintRadius; dy <= PaintRadius; dy++) - for (int dx = -PaintRadius; dx <= PaintRadius; dx++) - _visitedCells.Add((pgx + dx, pgy + dy)); - } - - // Rebuild visited strips only when new cells were added — O(cells) once, O(1) each frame. - if (_visitedCells.Count != _lastVisitedCount) - RebuildVisitedStrips(); - - // ── Floor texture (fill + edges baked, O(1) vertices per layer) ── - // Falls back to fill-strip geometry when texture creation failed. - if (_layerTextures is not null) - { - for (int vi = 0; vi < visCount; vi++) - { - if (!_layerTextures.TryGetValue(visZ[vi], out var tex)) continue; - if (tex.TexId == IntPtr.Zero) continue; - bool isCurrent = MathF.Abs(visZ[vi] - currentLayerZ) < 0.01f; - uint tint = isCurrent ? 0xFFFFFFFFu : 0x40FFFFFFu; - - // Project the four world corners of the texture (NW/NE/SE/SW) - var pNW = Project(tex.WorldX0, tex.WorldY1, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var pNE = Project(tex.WorldX1, tex.WorldY1, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var pSE = Project(tex.WorldX1, tex.WorldY0, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var pSW = Project(tex.WorldX0, tex.WorldY0, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - - float qxMin = MathF.Min(MathF.Min(pNW.X, pNE.X), MathF.Min(pSE.X, pSW.X)); - float qxMax = MathF.Max(MathF.Max(pNW.X, pNE.X), MathF.Max(pSE.X, pSW.X)); - float qyMin = MathF.Min(MathF.Min(pNW.Y, pNE.Y), MathF.Min(pSE.Y, pSW.Y)); - float qyMax = MathF.Max(MathF.Max(pNW.Y, pNE.Y), MathF.Max(pSE.Y, pSW.Y)); - if (qxMax < cxMin - Margin || qxMin > cxMax + Margin || - qyMax < cyMin - Margin || qyMin > cyMax + Margin) continue; - - // UV: NW=(0,0), NE=(1,0), SE=(1,1), SW=(0,1) (row 0 = northernmost = top of texture) - dl.AddImageQuad(tex.TexId, pNW, pNE, pSE, pSW, - new Vector2(0f, 0f), new Vector2(1f, 0f), new Vector2(1f, 1f), new Vector2(0f, 1f), tint); - } - } - else if (_fillStrips is not null) - { - for (int vi = 0; vi < visCount; vi++) - { - if (!_fillStrips.TryGetValue(visZ[vi], out var strips)) continue; - bool isCurrent = MathF.Abs(visZ[vi] - currentLayerZ) < 0.01f; - - foreach (var (x0, y0, x1, y1, type) in strips) - { - var fp00 = Project(x0, y0, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var fp10 = Project(x1, y0, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var fp11 = Project(x1, y1, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var fp01 = Project(x0, y1, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - float fxMin = MathF.Min(fp00.X, MathF.Min(fp10.X, MathF.Min(fp11.X, fp01.X))); - float fxMax = MathF.Max(fp00.X, MathF.Max(fp10.X, MathF.Max(fp11.X, fp01.X))); - float fyMin = MathF.Min(fp00.Y, MathF.Min(fp10.Y, MathF.Min(fp11.Y, fp01.Y))); - float fyMax = MathF.Max(fp00.Y, MathF.Max(fp10.Y, MathF.Max(fp11.Y, fp01.Y))); - - if (fxMax < cxMin - Margin || fxMin > cxMax + Margin || - fyMax < cyMin - Margin || fyMin > cyMax + Margin) continue; - - uint fillCol = type switch - { - CellType.SlopeUp => ColSlopeUpFill, - CellType.SlopeDown => ColSlopeDownFill, - _ => ColFlatFill, - }; - if (!isCurrent) fillCol = DimCol(fillCol); - - if (rotate) dl.AddQuadFilled(fp00, fp10, fp11, fp01, fillCol); - else dl.AddRectFilled(new Vector2(fxMin, fyMin), new Vector2(fxMax, fyMax), fillCol); - } - } - } - - // ── Visited flat cell overlay (current floor only, drawn as merged strips) ── - // Uses _visitedFillStrips (rebuilt lazily) to keep vertex count O(strips), not O(cells). - if (_visitedFillStrips is not null && !float.IsNaN(currentLayerZ) - && _visitedFillStrips.TryGetValue(currentLayerZ, out var visitedStrips)) - { - foreach (var (x0, y0, x1, y1) in visitedStrips) - { - var vp00 = Project(x0, y0, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var vp10 = Project(x1, y0, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var vp11 = Project(x1, y1, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var vp01 = Project(x0, y1, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - float vxMin = MathF.Min(vp00.X, MathF.Min(vp10.X, MathF.Min(vp11.X, vp01.X))); - float vxMax = MathF.Max(vp00.X, MathF.Max(vp10.X, MathF.Max(vp11.X, vp01.X))); - float vyMin = MathF.Min(vp00.Y, MathF.Min(vp10.Y, MathF.Min(vp11.Y, vp01.Y))); - float vyMax = MathF.Max(vp00.Y, MathF.Max(vp10.Y, MathF.Max(vp11.Y, vp01.Y))); - - if (vxMax < cxMin - Margin || vxMin > cxMax + Margin || - vyMax < cyMin - Margin || vyMin > cyMax + Margin) continue; - - if (rotate) dl.AddQuadFilled(vp00, vp10, vp11, vp01, ColFlatFillVisited); - else dl.AddRectFilled(new Vector2(vxMin, vyMin), new Vector2(vxMax, vyMax), ColFlatFillVisited); - } - } - - // ── Outer edges (fallback only — skipped when textures are available) ── - if (_layerTextures is null && _outerEdges is not null) - { - for (int vi = 0; vi < visCount; vi++) - { - if (!_outerEdges.TryGetValue(visZ[vi], out var edges)) continue; - bool isCurrent = MathF.Abs(visZ[vi] - currentLayerZ) < 0.01f; - - foreach (var (ax, ay, bx, by, type) in edges) - { - var ep0 = Project(ax, ay, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - var ep1 = Project(bx, by, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - - if (MathF.Max(ep0.X, ep1.X) < cxMin - Margin || MathF.Min(ep0.X, ep1.X) > cxMax + Margin || - MathF.Max(ep0.Y, ep1.Y) < cyMin - Margin || MathF.Min(ep0.Y, ep1.Y) > cyMax + Margin) - continue; - - uint col = type switch - { - CellType.SlopeUp => ColSlopeUp, - CellType.SlopeDown => ColSlopeDown, - _ => ColFlat, - }; - if (!isCurrent) col = DimCol(col); - - dl.AddLine(ep0, ep1, col, 1.5f); - } - } - } - - // ── Teleport portals ────────────────────────────────────────────── - if (_objectCache != null && _host.HasGetObjectPosition && _host.HasGetItemType) - { - const uint TypePortal = 0x10000u; - const uint STypePortalDest = 38u; - float gxLB = ((_cachedLandblock >> 8) & 0xFF) * 192f; - float gyLB = (_cachedLandblock & 0xFF) * 192f; - - foreach (var wo in _objectCache.GetLandscapeObjects()) - { - // Static GUIDs only (portals/lifestones are below 0x80000000) - if ((uint)wo.Id >= 0x80000000u) continue; - if (!_host.TryGetItemType((uint)wo.Id, out uint flags)) continue; - if ((flags & TypePortal) == 0) continue; - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint portalCellId, - out float portalX, out float portalY, out _)) continue; - if ((portalCellId >> 16) != _cachedLandblock) continue; - - float worldX = portalX + gxLB; - float worldY = portalY + gyLB; - var ps = Project(worldX, worldY, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - float psx = ps.X, psy = ps.Y; - - if (psx < cxMin - 20 || psx > cxMax + 20 || - psy < cyMin - 20 || psy > cyMax + 20) continue; - - var psc = new Vector2(psx, psy); - dl.AddCircleFilled(psc, 5f, ColPortal); - dl.AddCircle(psc, 7f, ColPortalRing, 12, 1.5f); - - string label = wo.Name; - if (_host.TryGetObjectStringProperty((uint)wo.Id, STypePortalDest, out string dest) - && !string.IsNullOrEmpty(dest)) - label = dest.Length > 22 ? dest.Substring(0, 22) + "…" : dest; - dl.AddText(new Vector2(psx + 9f, psy - 7f), ColPortalLabel, label); - } - } - - // ── Doors ───────────────────────────────────────────────────────── - if (_settings.MapShowDoors && _objectCache != null && _host.HasGetObjectPosition) - { - float gxLBd = ((_cachedLandblock >> 8) & 0xFF) * 192f; - float gyLBd = (_cachedLandblock & 0xFF) * 192f; - - foreach (var wo in _objectCache.GetLandscapeObjects()) - { - if ((uint)wo.Id >= 0x80000000u) continue; - if (!IsDoorName(wo.Name)) continue; - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint dCellId, - out float dox, out float doy, out _)) continue; - if ((dCellId >> 16) != _cachedLandblock) continue; - - float dwx = dox + gxLBd; - float dwy = doy + gyLBd; - var ds = Project(dwx, dwy, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - float dsx = ds.X, dsy = ds.Y; - - if (dsx < cxMin - 20 || dsx > cxMax + 20 || - dsy < cyMin - 20 || dsy > cyMax + 20) continue; - - // Diamond symbol - const float Dr = 5.0f; - dl.AddQuadFilled( - new Vector2(dsx, dsy - Dr), - new Vector2(dsx + Dr, dsy), - new Vector2(dsx, dsy + Dr), - new Vector2(dsx - Dr, dsy), - ColDoor); - dl.AddQuad( - new Vector2(dsx, dsy - Dr - 1.5f), - new Vector2(dsx + Dr + 1.5f, dsy), - new Vector2(dsx, dsy + Dr + 1.5f), - new Vector2(dsx - Dr - 1.5f, dsy), - ColDoorRing, 1.2f); - dl.AddText(new Vector2(dsx + 8f, dsy - 7f), ColDoorLabel, wo.Name.Length > 20 ? wo.Name[..20] + "…" : wo.Name); - } - } - - // ── Creatures & NPCs ────────────────────────────────────────────── - if (_settings.MapShowCreatures && _objectCache != null && _host.HasGetObjectPosition) - { - const uint STypeCreatureType = 2u; - const int CreatureTypeNpc = 14; - bool canQueryCreatureType = _host.HasGetObjectIntProperty; - float gxLBc = ((_cachedLandblock >> 8) & 0xFF) * 192f; - float gyLBc = (_cachedLandblock & 0xFF) * 192f; - - foreach (var wo in _objectCache.GetLandscape()) - { - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint cCellId, - out float cox, out float coy, out _)) continue; - if ((cCellId >> 16) != _cachedLandblock) continue; - - float cwx = cox + gxLBc; - float cwy = coy + gyLBc; - var csp = Project(cwx, cwy, playerWX, playerWY, centre, _zoom, _pan, rotate, sinH, cosH); - float csx = csp.X, csy = csp.Y; - - if (csx < cxMin - 20 || csx > cxMax + 20 || - csy < cyMin - 20 || csy > cyMax + 20) continue; - - bool isNpc = canQueryCreatureType - && _host.TryGetObjectIntProperty((uint)wo.Id, STypeCreatureType, out int ct) - && ct == CreatureTypeNpc; - - var csc = new Vector2(csx, csy); - if (isNpc) - { - dl.AddCircleFilled(csc, 4f, ColNpc); - dl.AddCircle(csc, 6f, ColNpcRing, 10, 1.2f); - } - else - { - dl.AddCircleFilled(csc, 4f, ColMonster); - dl.AddCircle(csc, 6f, ColMonsterRing, 10, 1.0f); - } - - string clabel = wo.Name.Length > 20 ? wo.Name[..20] + "…" : wo.Name; - dl.AddText(new Vector2(csx + 7f, csy - 7f), ColCreatureLabel, clabel); - } - } - - // ── Player dot + heading ────────────────────────────────────────── - var playerScreen = new Vector2(centre.X + _pan.X, centre.Y + _pan.Y); - dl.AddCircleFilled(playerScreen, 4.0f, ColPlayer); - - if (_host.HasGetPlayerHeading && _host.TryGetPlayerHeading(out float heading)) - { - Vector2 tip; - if (rotate) - { - // Map rotates with player — heading arrow always points up. - tip = playerScreen + new Vector2(0f, -10f); - } - else - { - float rad = heading * MathF.PI / 180.0f; - tip = playerScreen + new Vector2(MathF.Cos(rad) * 10f, -MathF.Sin(rad) * 10f); - } - dl.AddLine(playerScreen, tip, ColPlayer, 1.5f); - } - - dl.PopClipRect(); - - // Expand button rendered BEFORE InvisibleButton so ImGui gives it - // input priority over the canvas drag area. SetCursorScreenPos is - // restored afterward so InvisibleButton still covers the full canvas. - if (showExpandBtn) - { - ImGui.SetCursorScreenPos(origin + new Vector2(4, 4)); - if (ImGui.SmallButton("v##tbToggle")) _settings.MapShowToolbar = true; - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Show settings"); - ImGui.SetCursorScreenPos(origin); - } - - // InvisibleButton captures mouse so the window title-bar drag handler - // never sees the click — prevents the window from moving when panning. - ImGui.InvisibleButton("##mapcanvas", canvasSize); - - // Tell the backend to block mouse events from reaching the game when - // the cursor is over the canvas (fixes click-through to AC world). - bool hovered = ImGui.IsItemHovered(); - if (hovered) ImGui.SetNextFrameWantCaptureMouse(true); - - if (ImGui.IsItemActive() && ImGui.IsMouseDragging(ImGuiMouseButton.Left)) - { - Vector2 delta = ImGui.GetIO().MouseDelta; - if (float.IsFinite(delta.X) && float.IsFinite(delta.Y)) - { - _autoFollow = false; - _pan += delta; - } - } - - // Scroll-wheel zoom: check mouse position directly against canvas bounds. - // IsWindowHovered can return false if another item is active, so we bypass it. - { - float wheel = ImGui.GetIO().MouseWheel; - if (float.IsFinite(wheel) && wheel != 0f) - { - var mp = ImGui.GetIO().MousePos; - if (mp.X >= origin.X && mp.X <= origin.X + canvasSize.X && - mp.Y >= origin.Y && mp.Y <= origin.Y + canvasSize.Y) - { - _zoom = Math.Clamp(_zoom + wheel * 0.5f, 1.0f, 20.0f); - ImGui.SetNextFrameWantCaptureMouse(true); - } - } - } - } - - // Project a world point to canvas screen coords, optionally rotating around the player. - // AC convention: heading 0=east, 90=north (CCW from east). - // Rotate mode: player's forward direction points screen-up. - // screen_right = sinH*dx - cosH*dy - // screen_forward = cosH*dx + sinH*dy (negated for screen-Y, which increases downward) - // This matches RynthRadarUi.ProjectWorld exactly. - private static Vector2 Project(float wx, float wy, float playerWX, float playerWY, - Vector2 centre, float zoom, Vector2 pan, bool rotate, float sinH, float cosH) - { - float dx = wx - playerWX; - float dy = wy - playerWY; - if (rotate) - { - float rx = sinH * dx - cosH * dy; // screen-right - float ry = cosH * dx + sinH * dy; // screen-forward (screen-up = -ry) - dx = rx; dy = ry; - } - return new Vector2(centre.X + dx * zoom + pan.X, centre.Y - dy * zoom + pan.Y); - } - - // Sets the alpha byte of an ImGui ABGR colour to the given 0-1 value. - private static uint SetAlpha(uint col, float alpha) - { - uint a = (uint)(Math.Clamp(alpha, 0f, 1f) * 255f); - return (col & 0x00FFFFFF) | (a << 24); - } - - private static bool IsDoorName(string name) - { - if (string.IsNullOrEmpty(name)) return false; - return name.Contains("Door", StringComparison.OrdinalIgnoreCase) - || name.Contains("Gate", StringComparison.OrdinalIgnoreCase) - || name.Contains("Portcullis", StringComparison.OrdinalIgnoreCase) - || name.Contains("Hatch", StringComparison.OrdinalIgnoreCase) - || name.Contains("Trapdoor", StringComparison.OrdinalIgnoreCase); - } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacuLuaUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacuLuaUi.cs deleted file mode 100644 index acf5102..0000000 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacuLuaUi.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using System.IO; -using System.Collections.Generic; -using System.Numerics; -using ImGuiNET; -using RynthCore.PluginSdk; - -namespace RynthCore.Plugin.RynthAi.LegacyUi; - -internal sealed class LegacyLuaUi -{ - private readonly LegacyUiSettings _settings; - private readonly RynthCoreHost _host; - - // Delegates for the main plugin to hook into - public Action? OnSettingsChanged; - public Action? OnExecuteRequested; - public Action? OnStopRequested; - - // Internal State - private readonly string _luaFolder = @"C:\Games\RynthSuite\RynthAi\LuaScripts"; - private string _newLuaFileName = "MyScript"; - private int _selectedLuaIdx = 0; - private readonly List _luaFiles = new(); - - private readonly string _selectedSnippetKey = "--- Select Snippet ---"; - private readonly Dictionary _luaSnippets = new() - { - { "--- Select Snippet ---", "" }, - { "📍 Move to Coord", "RynthAi:GoTo(\"0.0N\", \"0.0E\")" }, - { "🌀 Use Portal/NPC", "RynthAi:UsePortal(\"Portal Name\")" }, - { "📏 Get Distance", "local dist = RynthAi:GetDistance(\"Object Name\")\nprint(\"Distance: \" .. dist)" }, - { "🛑 Emergency Stop", "RynthAi:Stop()" } - }; - - public LegacyLuaUi(LegacyUiSettings settings, RynthCoreHost host) - { - _settings = settings; - _host = host; - RefreshLuaFiles(); - } - - public void RefreshLuaFiles() - { - _luaFiles.Clear(); - _luaFiles.Add("None"); - if (Directory.Exists(_luaFolder)) - { - foreach (string file in Directory.GetFiles(_luaFolder, "*.lua")) - _luaFiles.Add(Path.GetFileNameWithoutExtension(file)); - } - } - - public void Render() - { - if (!DashWindows.ShowLua) - return; - - ImGui.SetNextWindowSize(new Vector2(600, 500), ImGuiCond.FirstUseEver); - - if (!ImGui.Begin("Lua Scripts##RynthAiLua", ref DashWindows.ShowLua)) - { - ImGui.End(); - return; - } - - // Safety Checks - _settings.LuaScript ??= ""; - _settings.LuaConsoleOutput ??= ""; - - // 1. File & Snippet Bar - RenderTopBar(); - - ImGui.Separator(); - - // 2. Toolbar (Run, Stop, Clear) - RenderToolbar(); - - ImGui.Separator(); - - // 3. Editor & Console - RenderEditorAndConsole(); - - ImGui.End(); - } - - private void RenderTopBar() - { - ImGui.SetNextItemWidth(120); - string preview = (_selectedLuaIdx < _luaFiles.Count) ? _luaFiles[_selectedLuaIdx] : "None"; - if (ImGui.BeginCombo("##LoadLua", preview)) - { - for (int i = 0; i < _luaFiles.Count; i++) - { - if (ImGui.Selectable(_luaFiles[i], _selectedLuaIdx == i)) - { - _selectedLuaIdx = i; - if (_luaFiles[i] != "None") - { - string path = Path.Combine(_luaFolder, _luaFiles[i] + ".lua"); - if (File.Exists(path)) - { - _settings.LuaScript = File.ReadAllText(path); - OnSettingsChanged?.Invoke(); - } - } - } - } - ImGui.EndCombo(); - } - - ImGui.SameLine(); - if (ImGui.Button("🔄")) RefreshLuaFiles(); - - ImGui.SameLine(); - ImGui.SetNextItemWidth(120); - ImGui.InputText("##SaveAs", ref _newLuaFileName, 64); - - ImGui.SameLine(); - if (ImGui.Button("💾")) - { - if (!Directory.Exists(_luaFolder)) Directory.CreateDirectory(_luaFolder); - File.WriteAllText(Path.Combine(_luaFolder, _newLuaFileName + ".lua"), _settings.LuaScript); - _host.Log($"Saved Lua script: {_newLuaFileName}.lua"); - RefreshLuaFiles(); - } - - ImGui.SameLine(); - RenderSnippets(); - } - - private void RenderSnippets() - { - ImGui.SetNextItemWidth(150); - if (ImGui.BeginCombo("##Snippets", _selectedSnippetKey)) - { - foreach (var s in _luaSnippets) - { - if (ImGui.Selectable(s.Key)) - { - if (!string.IsNullOrEmpty(_settings.LuaScript) && !_settings.LuaScript.EndsWith('\n')) - _settings.LuaScript += "\n"; - - _settings.LuaScript += s.Value; - OnSettingsChanged?.Invoke(); - } - } - ImGui.EndCombo(); - } - } - - private void RenderToolbar() - { - if (ImGui.Button("▶ Run Script")) OnExecuteRequested?.Invoke(_settings.LuaScript); - - ImGui.SameLine(); - ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0.7f, 0.1f, 0.1f, 1.0f)); - if (ImGui.Button("🛑 Stop")) OnStopRequested?.Invoke(); - ImGui.PopStyleColor(); - - ImGui.SameLine(); - if (ImGui.Button("🧹 Clear Console")) - { - _settings.LuaConsoleOutput = "--- Console Cleared ---"; - OnSettingsChanged?.Invoke(); - } - } - - private void RenderEditorAndConsole() - { - float editorH = ImGui.GetContentRegionAvail().Y - 150; - - ImGui.InputTextMultiline("##LuaEditor", ref _settings.LuaScript, 50000, new Vector2(-1, editorH), ImGuiInputTextFlags.AllowTabInput); - - ImGui.TextDisabled("Console Output:"); - if (ImGui.BeginChild("LuaConsole", new Vector2(-1, 0), ImGuiChildFlags.Borders, ImGuiWindowFlags.HorizontalScrollbar)) - { - ImGui.TextUnformatted(_settings.LuaConsoleOutput); - if (ImGui.GetScrollY() >= ImGui.GetScrollMaxY()) - ImGui.SetScrollHereY(1.0f); - } - ImGui.EndChild(); - } -} \ No newline at end of file diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyAdvancedSettingsUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyAdvancedSettingsUi.cs index 280331e..547fe5f 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyAdvancedSettingsUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyAdvancedSettingsUi.cs @@ -14,7 +14,6 @@ internal sealed class LegacyAdvancedSettingsUi private static readonly string[] AttackHeights = { "Low", "Medium", "High" }; private static readonly string[] LootOwnershipModes = { "My Kills Only", "Fellowship Kills", "All Corpses" }; - private static readonly string[] MovementModes = { "Legacy (Autorun)", "Tier 1 (CM_Movement)", "Tier 2 (MoveToPosition)" }; public LegacyAdvancedSettingsUi(LegacyUiSettings settings) { @@ -26,6 +25,10 @@ internal sealed class LegacyAdvancedSettingsUi private Func? _autoVendorStatus; public void SetAutoVendorStatusProvider(Func status) => _autoVendorStatus = status; + private Func? _autoTradeStatus; + public void SetAutoTradeStatusProvider(Func status) => _autoTradeStatus = status; + private string _newAutoAcceptPattern = ""; + public string MissileCraftingState => _missileCraftingManager?.State.ToString() ?? string.Empty; public bool MissileCraftingActive => _missileCraftingManager?.IsCrafting ?? false; public string MissileCraftingStatus => _missileCraftingManager?.StatusMessage ?? string.Empty; @@ -106,6 +109,78 @@ internal sealed class LegacyAdvancedSettingsUi ImGui.Spacing(); ImGui.TextDisabled("Never sold: equipped, attuned, bonded, retained, tinkered, imbued,"); ImGui.TextDisabled("inscribed, rare, zero value, packs, or anything a Keep rule could match."); + + RenderAutoTrade(); + } + + private void RenderAutoTrade() + { + ImGui.Spacing(); + ImGui.Spacing(); + ImGui.Text("AutoTrade (UtilityBelt)"); + ImGui.Separator(); + ImGui.Spacing(); + + string status = _autoTradeStatus?.Invoke() ?? "Not logged in"; + ImGui.TextDisabled($"Status: {status}"); + ImGui.Spacing(); + + ImGui.Checkbox("Enabled##AT", ref _settings.AutoTradeEnabled); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("When a trade window opens, add the items that match Keep / Keep # rules in\n" + + ".utl or default.utl (your character's AutoTrade folder, the\n" + + "server folder, or " + Trade.AutoTradeManager.MainProfileDir + ")."); + ImGui.Checkbox("Test Mode (only print what it would add)##AT", ref _settings.AutoTradeTestMode); + ImGui.Checkbox("Only Trade From Main Pack##AT", ref _settings.AutoTradeOnlyFromMainPack); + ImGui.Checkbox("Auto Accept After Adding##AT", ref _settings.AutoTradeAutoAccept); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("Accept the trade once every item AutoTrade added shows in the window.\n" + + "Check what the other player offers first: nothing checks their side."); + ImGui.Checkbox("Think When Finished##AT", ref _settings.AutoTradeThink); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("Send 'AutoTrade finished: ' and 'Trade accepted: ' as a /tell\n" + + "to yourself, so a meta's chat condition can wait for it."); + + ImGui.Spacing(); + ImGui.Text("Auto-accept trades from (name patterns, .NET regex)"); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("When one of these players accepts a trade, this character accepts too.\n" + + "The autoAcceptList.json files from /ub autotrade autoaccept add[g|s] count as well."); + var list = _settings.AutoTradeAutoAcceptChars; + int removeAt = -1; + for (int i = 0; i < list.Count; i++) + { + ImGui.Bullet(); + ImGui.SameLine(); + ImGui.TextUnformatted(list[i]); + ImGui.SameLine(); + if (ImGui.SmallButton($"Remove##ATaac{i}")) + removeAt = i; + } + if (removeAt >= 0) + list.RemoveAt(removeAt); + ImGui.SetNextItemWidth(200); + ImGui.InputText("##ATnewpattern", ref _newAutoAcceptPattern, 128); + ImGui.SameLine(); + if (ImGui.Button("Add##ATaddpattern")) + { + string p = _newAutoAcceptPattern.Trim(); + if (p.Length > 0 && !list.Contains(p) && IsValidRegex(p)) + { + list.Add(p); + _newAutoAcceptPattern = ""; + } + } + + ImGui.Spacing(); + ImGui.TextDisabled("Never added: equipped, attuned, retained, tinkered, imbued, inscribed,"); + ImGui.TextDisabled("packs, unidentified items, or items on RynthAi's weapon/consumable lists."); + } + + private static bool IsValidRegex(string pattern) + { + try { _ = System.Text.RegularExpressions.Regex.Match(string.Empty, pattern); return true; } + catch { return false; } } private void RenderTabContent(int tabIndex) @@ -129,7 +204,7 @@ internal sealed class LegacyAdvancedSettingsUi case "UI": ImGui.Text("Radar"); ImGui.Separator(); - ImGui.Checkbox("Get Rid of Retail Radar", ref _settings.SuppressRetailRadar); + ImGui.Checkbox("Hide retail radar", ref _settings.SuppressRetailRadar); if (ImGui.IsItemHovered()) ImGui.SetTooltip("Suppress the game's built-in radar (bezel, compass, coords, blips)."); @@ -155,7 +230,7 @@ internal sealed class LegacyAdvancedSettingsUi ImGui.Spacing(); ImGui.Separator(); ImGui.Text("Power Bar"); - ImGui.Checkbox("Get Rid of Retail Power Bar", ref _settings.SuppressRetailPowerbar); + ImGui.Checkbox("Hide retail power bar", ref _settings.SuppressRetailPowerbar); if (ImGui.IsItemHovered()) ImGui.SetTooltip("Hide the vanilla attack/magic power bar that appears under the cursor while charging.\nThe bar's underlying combat state still works — only the on-screen widget is hidden."); break; @@ -214,8 +289,6 @@ internal sealed class LegacyAdvancedSettingsUi ImGui.SetNextItemWidth(150); ImGui.SliderFloat("Atlatl", ref _settings.AtlatlArcVelocity, 10.0f, 60.0f, "%.1f"); ImGui.SetNextItemWidth(150); - ImGui.SliderFloat("Magic Arc", ref _settings.MagicArcVelocity, 10.0f, 60.0f, "%.1f"); - ImGui.SetNextItemWidth(150); ImGui.SliderFloat("Arc Clearance (m)", ref _settings.MissileArcClearance, 0.0f, 3.0f, "%.1f"); if (ImGui.IsItemHovered()) ImGui.SetTooltip("Extra headroom the arc must have at mid-flight. Raise it if shots\n" + @@ -223,6 +296,13 @@ internal sealed class LegacyAdvancedSettingsUi "Default 0.5."); ImGui.Unindent(); } + ImGui.SetNextItemWidth(150); + ImGui.SliderFloat("Magic Arc", ref _settings.MagicArcVelocity, 10.0f, 60.0f, "%.1f"); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("Arc spells' horizontal speed (m/s). ACE: 40. Lower = higher arc.\n" + + "A rule with Arc on casts an arc only when this path reaches the target\n" + + "(walls, and ceilings in dungeons); otherwise its other shape, or a bolt.\n" + + "Needs Enable Raycasting. /ra lostest magic shows the arc to the selected mob."); ImGui.Checkbox("LoS Debug Log", ref _settings.LosDebugLog); if (ImGui.IsItemHovered()) ImGui.SetTooltip("Log each in-range mob's LoS verdict ([LOS] lines: straight line or arc,\n" + @@ -304,6 +384,15 @@ internal sealed class LegacyAdvancedSettingsUi ImGui.SetNextItemWidth(120); ImGui.SliderInt("Heal At", ref _settings.HealAt, 0, 100); ImGui.SetNextItemWidth(120); + ImGui.SliderInt("Emergency Heal At", ref _settings.EmergencyHealAt, 0, 100); + if (ImGui.IsItemHovered()) ImGui.SetTooltip("At or under this health %, a healing kit goes first out of Magic mode,\nand a kit or potion is used while a cast is pending. 0 = off."); + ImGui.SetNextItemWidth(120); + ImGui.SliderInt("Stamina To Health At", ref _settings.StaminaToHealthAt, 0, 100); + if (ImGui.IsItemHovered()) ImGui.SetTooltip("At or under this health %, cast Stamina to Health Self ahead of Heal At\n(after a kit out of Magic mode). 0 = never cast it."); + ImGui.SetNextItemWidth(120); + ImGui.SliderInt("Stamina To Health Min Stamina", ref _settings.StaminaToHealthMinStamina, 0, 100); + if (ImGui.IsItemHovered()) ImGui.SetTooltip("Don't cast Stamina to Health unless stamina is over this %."); + ImGui.SetNextItemWidth(120); ImGui.SliderInt("Re-stam At", ref _settings.RestamAt, 0, 100); ImGui.SetNextItemWidth(120); ImGui.SliderInt("Get Mana At", ref _settings.GetManaAt, 0, 100); @@ -418,6 +507,8 @@ internal sealed class LegacyAdvancedSettingsUi ImGui.Text("Ring Spell Override"); ImGui.SetNextItemWidth(120); ImGui.InputInt("Min Ring Targets", ref _settings.MinRingTargets); + ImGui.InputInt("Blast Range (0 = off)", ref _settings.BlastRange); + ImGui.InputInt("Min Blast Targets", ref _settings.MinBlastTargets); if (ImGui.IsItemHovered()) ImGui.SetTooltip("If this many monsters are within ring range, ring spells are used instead of arc/bolt/streak."); @@ -470,9 +561,10 @@ internal sealed class LegacyAdvancedSettingsUi case "Navigation": ImGui.Checkbox("Boost Nav Priority", ref _settings.BoostNavPriority); ImGui.SetNextItemWidth(120); - ImGui.InputFloat("Follow/Nav Min", ref _settings.FollowNavMin, 0.1f, 1.0f, "%.1f"); + ImGui.InputFloat("Nav point reach (yd)", ref _settings.FollowNavMin, 0.1f, 1.0f, "%.1f"); + _settings.FollowNavMin = LegacyUiSettings.ClampFollowNavMin(_settings.FollowNavMin); if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Arrival distance in yards. Also sets the nav marker ring radius."); + ImGui.SetTooltip("How close to get to each nav point before moving on to the next (yards). VTank calls it Follow/Nav Min Distance. Follow stops this close to its leader; the nav marker ring shows it."); ImGui.Spacing(); ImGui.Text("Nav Marker Display"); @@ -512,15 +604,26 @@ internal sealed class LegacyAdvancedSettingsUi } ImGui.Spacing(); - ImGui.Text("Movement Engine"); - ImGui.SetNextItemWidth(200); - ImGui.Combo("Mode", ref _settings.MovementMode, MovementModes, MovementModes.Length); + ImGui.Separator(); + ImGui.Text("Getting Back On Route"); + + ImGui.Checkbox("Find A Way Back When Stuck", ref _settings.NavRecoveryEnabled); if (ImGui.IsItemHovered()) + ImGui.SetTooltip("When a jump doesn't free a stuck character, or navigation wanders far off the route, plan a way back to the route around walls and obstacles (the dungeon map indoors, RynthNav outdoors) and open doors on the way. Off = only the jump and side-step escapes, as before."); + + if (_settings.NavRecoveryEnabled) { - ImGui.SetTooltip( - "Legacy: SetAutorun + smooth heading servo (TurnToHeading)\n" + - "Tier 1: SetAutorun + CM_Movement turn commands (DoMovement)\n" + - "Tier 2: Client physics MoveToPosition (not built yet — falls back to Legacy)"); + ImGui.SetNextItemWidth(80); + ImGui.InputFloat("Off Route Distance (yd)", ref _settings.NavOffTrackYards, 5f, 20f, "%.0f"); + _settings.NavOffTrackYards = Math.Clamp(_settings.NavOffTrackYards, 160f, 1000f); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("Navigation counts as off the route only beyond this distance, and only if it got there itself. At least 160: metas can take the character up to about 159 yd away on purpose, and coming back from that is normal."); + + ImGui.SetNextItemWidth(80); + ImGui.InputInt("Tries Per Waypoint", ref _settings.NavMaxDetourAttempts); + _settings.NavMaxDetourAttempts = Math.Clamp(_settings.NavMaxDetourAttempts, 1, 10); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("How many planned ways back to try for one waypoint before giving up and using only the jump and side-step escapes. Reaching a waypoint resets the count."); } ImGui.Spacing(); @@ -553,21 +656,10 @@ internal sealed class LegacyAdvancedSettingsUi if (ImGui.IsItemHovered()) ImGui.SetTooltip("Within this distance of a waypoint, blend the aim point toward the next one to cut corners smoothly. 0 = off (aim straight at each waypoint)."); - ImGui.SetNextItemWidth(80); - ImGui.InputFloat("Shortcut Tolerance (yd)", ref _settings.NavShortcutYards, 0.5f, 1f, "%.1f"); - _settings.NavShortcutYards = Math.Clamp(_settings.NavShortcutYards, 0f, 10f); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("On reaching a waypoint, skip ahead only while the straight line to a later waypoint passes within this distance of every waypoint skipped. Lower keeps closer to the route; 0 = visit every waypoint."); - ImGui.SetNextItemWidth(80); ImGui.InputFloat("Turn Rate (deg/s)", ref _settings.NavTurnRateDegPerSec, 15f, 45f, "%.0f"); if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Mode 0 (heading servo) max turn speed. Higher = snappier turns, lower = gentler. Ignored by Tier 1 / Tier 2."); - - ImGui.SetNextItemWidth(80); - ImGui.InputFloat("Tier1 Turn Speed", ref _settings.NavTier1TurnSpeed, 0.1f, 0.5f, "%.2f"); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Tier 1 (CM_Movement) DoMovement turn-command speed. Only used when Movement Engine = Tier 1."); + ImGui.SetTooltip("Max turn speed while navigating. Higher = snappier turns, lower = gentler."); ImGui.SetNextItemWidth(80); ImGui.InputFloat("Post-Portal Delay (s)", ref _settings.PostPortalDelaySec, 0.25f, 1f, "%.2f"); @@ -651,6 +743,9 @@ internal sealed class LegacyAdvancedSettingsUi ImGui.Checkbox("Enable Looting", ref _settings.EnableLooting); ImGui.Checkbox("Boost Loot Priority", ref _settings.BoostLootPriority); ImGui.Checkbox("Loot Only Rare Corpses", ref _settings.LootOnlyRareCorpses); + ImGui.Checkbox("Learn Unknown Spells", ref _settings.ReadUnknownScrolls); + if (ImGui.IsItemHovered()) + ImGui.SetTooltip("Loots scrolls of spells you don't know and can learn (magic school trained or\nspecialized, skill high enough), and reads them when it's safe. Scrolls already\nin your pack are read too."); ImGui.Checkbox("Jump When Looting", ref _settings.LootJumpEnabled); if (_settings.LootJumpEnabled) { diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardDrawing.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardDrawing.cs deleted file mode 100644 index 408638f..0000000 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardDrawing.cs +++ /dev/null @@ -1,158 +0,0 @@ -using System; -using System.Numerics; -using ImGuiNET; - -namespace RynthCore.Plugin.RynthAi.LegacyUi; - -internal static class LegacyDashboardDrawing -{ - public static void GridBtn(string label, string icon, ref bool flag) - { - bool wasOn = flag; - const float h = 30f; - ImGui.PushStyleColor(ImGuiCol.Button, LegacyDashboardRenderer.ColBtnFill); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, LegacyDashboardRenderer.ColBtnHov); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, LegacyDashboardRenderer.ColBtnAct); - ImGui.PushStyleColor(ImGuiCol.Border, wasOn ? LegacyDashboardRenderer.ColTeal : LegacyDashboardRenderer.ColBtnBord); - ImGui.PushStyleVar(ImGuiStyleVar.FrameBorderSize, 1.0f); - ImGui.PushStyleVar(ImGuiStyleVar.FrameRounding, 4f); - Vector2 start = ImGui.GetCursorScreenPos(); - if (ImGui.Button($"##{label}", new Vector2(-1f, h))) flag = !flag; - ImGui.PopStyleVar(2); - ImGui.PopStyleColor(4); - float w = ImGui.GetItemRectSize().X; - Vector2 text = ImGui.CalcTextSize(label); - DrawIcon(icon, start + new Vector2(8, 6), wasOn ? LegacyDashboardRenderer.ColTeal : LegacyDashboardRenderer.ColTextMute, 16f); - ImGui.SetCursorScreenPos(start + new Vector2(30, (h - text.Y) / 2)); - ImGui.TextColored(wasOn ? LegacyDashboardRenderer.ColTeal : LegacyDashboardRenderer.ColTextDim, label); - ImGui.SetCursorScreenPos(start + new Vector2(0, h + 2)); - ImGui.Dummy(new Vector2(w, 0)); - } - - public static void DrawSquareToggle(string icon, ref bool state, Vector2 pos, string id) - { - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - const float s = 30f; - Vector4 bg = state ? LegacyDashboardRenderer.ColBtnOn : LegacyDashboardRenderer.ColBarBg; - Vector4 iconCol = state ? LegacyDashboardRenderer.ColTeal : LegacyDashboardRenderer.ColTextMute; - dl.AddRectFilled(pos, pos + new Vector2(s, s), ImGui.ColorConvertFloat4ToU32(bg), 4f); - if (state) dl.AddRect(pos, pos + new Vector2(s, s), ImGui.ColorConvertFloat4ToU32(LegacyDashboardRenderer.ColTeal), 4f, ImDrawFlags.None, 1f); - DrawIcon(icon, pos + new Vector2(6, 6), iconCol, 18f); - ImGui.SetCursorScreenPos(pos); - if (ImGui.InvisibleButton($"##{id}", new Vector2(s, s))) state = !state; - } - - public static void DrawWideToggle(string label, string icon, ref bool state, Vector2 pos, string id, float width, float height) - { - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - Vector4 bg = state ? LegacyDashboardRenderer.ColBtnOn : LegacyDashboardRenderer.ColBarBg; - Vector4 iconCol = state ? LegacyDashboardRenderer.ColTeal : LegacyDashboardRenderer.ColTextMute; - dl.AddRectFilled(pos, pos + new Vector2(width, height), ImGui.ColorConvertFloat4ToU32(bg), 4f); - if (state) dl.AddRect(pos, pos + new Vector2(width, height), ImGui.ColorConvertFloat4ToU32(LegacyDashboardRenderer.ColTeal), 4f, ImDrawFlags.None, 1f); - DrawIcon(icon, pos + new Vector2(4, (height - 12) / 2), iconCol, 12f); - Vector2 text = ImGui.CalcTextSize(label); - dl.AddText(pos + new Vector2(18, (height - text.Y) / 2), ImGui.ColorConvertFloat4ToU32(state ? LegacyDashboardRenderer.ColTeal : LegacyDashboardRenderer.ColTextDim), label); - ImGui.SetCursorScreenPos(pos); - if (ImGui.InvisibleButton($"##{id}", new Vector2(width, height))) state = !state; - } - - public static void DrawSegmentedBar(float pct, float width) - { - Vector2 pos = ImGui.GetCursorScreenPos(); - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - const float h = 10f, gap = 2f; - const int segments = 15; - float sw = (width - (segments - 1) * gap) / segments; - for (int i = 0; i < segments; i++) - { - float t = (float)i / (segments - 1); - Vector4 col = i / (float)segments <= pct ? GetGradientCol(t) : LegacyDashboardRenderer.ColBarBg; - dl.AddRectFilled(pos + new Vector2(i * (sw + gap), 0), pos + new Vector2(i * (sw + gap) + sw, h), ImGui.ColorConvertFloat4ToU32(col), 1f); - } - ImGui.Dummy(new Vector2(width, h + 2)); - } - - public static void DrawCompactVitalBar(string label, float pct, Vector4 color, string valText, float width) - { - Vector2 pos = ImGui.GetCursorScreenPos(); - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - const float h = 10f; - float safePct = Math.Clamp(pct, 0f, 1f); - dl.AddRectFilled(pos, pos + new Vector2(width, h), ImGui.ColorConvertFloat4ToU32(LegacyDashboardRenderer.ColBarBg), 3f); - dl.AddRectFilled(pos, pos + new Vector2(width * safePct, h), ImGui.ColorConvertFloat4ToU32(color), 3f); - string text = $"{label} {valText}"; - dl.AddText(pos + new Vector2(4, -2), ImGui.ColorConvertFloat4ToU32(new Vector4(1, 1, 1, 0.9f)), text); - ImGui.Dummy(new Vector2(width, h + 1)); - } - - public static void DrawVitalRow(string icon, string label, float pct, Vector4 color, string valText) - { - float width = ImGui.GetContentRegionAvail().X - 4f; - Vector2 pos = ImGui.GetCursorScreenPos(); - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - const float h = 14f; - dl.AddRectFilled(pos, pos + new Vector2(width, h), ImGui.ColorConvertFloat4ToU32(LegacyDashboardRenderer.ColBarBg), 4f); - float safePct = Math.Clamp(pct, 0f, 1f); - dl.AddRectFilled(pos, pos + new Vector2(width * safePct, h), ImGui.ColorConvertFloat4ToU32(color), 4f); - DrawIcon(icon, pos + new Vector2(4, 0), LegacyDashboardRenderer.ColTextDim, 13f); - dl.AddText(pos + new Vector2(22, -1), ImGui.ColorConvertFloat4ToU32(new Vector4(1, 1, 1, 1)), $"{label}: {(int)(safePct * 100)}% ({valText})"); - ImGui.Dummy(new Vector2(width, h + 1)); - } - - private static Vector4 GetGradientCol(float t) - { - if (t < 0.33f) { float f = t / 0.33f; return new Vector4(1f, f, 0f, 1f); } - if (t < 0.66f) { float f = (t - 0.33f) / 0.33f; return new Vector4(1f - f, 1f, 0f, 1f); } - float g = (t - 0.66f) / 0.34f; - return new Vector4(0f, 1f, g, 1f); - } - - private static void DrawIcon(string type, Vector2 pos, Vector4 color, float s) - { - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - uint col = ImGui.ColorConvertFloat4ToU32(color); - switch (type) - { - case "gear": - dl.AddCircle(pos + new Vector2(s / 2, s / 2), s / 3.5f, col, 12, 1.5f); - for (int i = 0; i < 8; i++) { float a = i * (MathF.PI * 2f / 8f); dl.AddLine(pos + new Vector2(s / 2 + MathF.Cos(a) * s / 3, s / 2 + MathF.Sin(a) * s / 3), pos + new Vector2(s / 2 + MathF.Cos(a) * s / 2, s / 2 + MathF.Sin(a) * s / 2), col, 2f); } - break; - case "target": - dl.AddCircle(pos + new Vector2(s / 2, s / 2), s / 2.5f, col, 12, 1.5f); dl.AddLine(pos + new Vector2(s / 2, 0), pos + new Vector2(s / 2, s), col, 1.5f); dl.AddLine(pos + new Vector2(0, s / 2), pos + new Vector2(s, s / 2), col, 1.5f); - break; - case "wrench": - dl.AddCircle(pos + new Vector2(s * 0.3f, s * 0.3f), s * 0.25f, col, 8, 1.5f); dl.AddLine(pos + new Vector2(s * 0.4f, s * 0.4f), pos + new Vector2(s * 0.9f, s * 0.9f), col, 2f); - break; - case "map": - dl.AddRect(pos, pos + new Vector2(s, s), col, 1.5f); dl.AddLine(pos + new Vector2(s / 2, 2), pos + new Vector2(s / 2, s - 2), col, 1.5f); dl.AddLine(pos + new Vector2(2, s / 2), pos + new Vector2(s - 2, s / 2), col, 1.5f); - break; - case "bag": - dl.AddRectFilled(pos + new Vector2(2, s / 3), pos + new Vector2(s - 2, s), col, 2f); dl.AddCircle(pos + new Vector2(s / 2, s / 4), s / 5, col, 8, 1.5f); - break; - case "shield": - dl.AddLine(pos + new Vector2(s * 0.2f, 0), pos + new Vector2(s * 0.8f, 0), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.8f, 0), pos + new Vector2(s * 0.8f, s * 0.6f), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.8f, s * 0.6f), pos + new Vector2(s * 0.5f, s), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.5f, s), pos + new Vector2(s * 0.2f, s * 0.6f), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.2f, s * 0.6f), pos + new Vector2(s * 0.2f, 0), col, 1.5f); - break; - case "code": - dl.AddLine(pos + new Vector2(s * 0.3f, 2), pos + new Vector2(0, s / 2), col, 1.5f); dl.AddLine(pos + new Vector2(0, s / 2), pos + new Vector2(s * 0.3f, s - 2), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.7f, 2), pos + new Vector2(s, s / 2), col, 1.5f); dl.AddLine(pos + new Vector2(s, s / 2), pos + new Vector2(s * 0.7f, s - 2), col, 1.5f); - break; - case "heart": - dl.AddCircleFilled(pos + new Vector2(s * 0.3f, s * 0.3f), s * 0.25f, col); dl.AddCircleFilled(pos + new Vector2(s * 0.7f, s * 0.3f), s * 0.25f, col); dl.AddTriangleFilled(pos + new Vector2(s * 0.05f, s * 0.4f), pos + new Vector2(s * 0.95f, s * 0.4f), pos + new Vector2(s * 0.5f, s * 0.9f), col); - break; - case "run": - dl.AddCircle(pos + new Vector2(s * 0.5f, s * 0.2f), s * 0.15f, col, 8, 1.5f); dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.35f), pos + new Vector2(s * 0.5f, s * 0.65f), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.65f), pos + new Vector2(s * 0.2f, s * 0.9f), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.65f), pos + new Vector2(s * 0.8f, s * 0.9f), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.2f, s * 0.4f), pos + new Vector2(s * 0.8f, s * 0.4f), col, 1.5f); - break; - case "drop": - dl.AddCircleFilled(pos + new Vector2(s * 0.5f, s * 0.7f), s * 0.25f, col); dl.AddTriangleFilled(pos + new Vector2(s * 0.25f, s * 0.65f), pos + new Vector2(s * 0.75f, s * 0.65f), pos + new Vector2(s * 0.5f, s * 0.1f), col); - break; - case "sword": - dl.AddLine(pos + new Vector2(s * 0.3f, s * 0.7f), pos + new Vector2(s * 0.9f, s * 0.1f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.2f, s * 0.6f), pos + new Vector2(s * 0.4f, s * 0.8f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.1f, s * 0.9f), pos + new Vector2(s * 0.3f, s * 0.7f), col, 2f); - break; - case "shoe": - dl.AddLine(pos + new Vector2(s * 0.3f, s * 0.2f), pos + new Vector2(s * 0.3f, s * 0.8f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.3f, s * 0.8f), pos + new Vector2(s * 0.8f, s * 0.8f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.8f, s * 0.8f), pos + new Vector2(s * 0.8f, s * 0.6f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.8f, s * 0.6f), pos + new Vector2(s * 0.5f, s * 0.5f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.5f), pos + new Vector2(s * 0.5f, s * 0.2f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.2f), pos + new Vector2(s * 0.3f, s * 0.2f), col, 2f); - break; - case "buff": - dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.2f), pos + new Vector2(s * 0.5f, s * 0.8f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.2f, s * 0.5f), pos + new Vector2(s * 0.8f, s * 0.5f), col, 2f); dl.AddLine(pos + new Vector2(s * 0.3f, s * 0.3f), pos + new Vector2(s * 0.5f, s * 0.1f), col, 1.5f); dl.AddLine(pos + new Vector2(s * 0.5f, s * 0.1f), pos + new Vector2(s * 0.7f, s * 0.3f), col, 1.5f); - break; - } - } -} diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardRenderer.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardRenderer.cs index 52f6092..a0fd10c 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardRenderer.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyDashboardRenderer.cs @@ -5,7 +5,6 @@ using System.Runtime.InteropServices; using System.Linq; using System.Numerics; using System.Text.Json; -using ImGuiNET; using RynthCore.PluginSdk; using RynthCore.Plugin.RynthAi; using RynthCore.Plugin.RynthAi.Meta; @@ -43,11 +42,8 @@ internal sealed class LegacyDashboardRenderer private readonly System.Collections.Concurrent.ConcurrentQueue _metaCmdQueue = new(); private readonly LegacyAdvancedSettingsUi _advancedSettingsUi; private readonly LegacyNavigationUi _navigationUi; - private readonly LegacyLuaUi _luaUi; private readonly LegacyWeaponsUi _weaponsUi; private readonly LegacyMetaUi _metaUi; - private readonly LegacyMonstersUi _monstersUi; - public LegacyMonstersUi MonstersUi => _monstersUi; private readonly DungeonMapUi _dungeonMapUi; private readonly RynthRadarUi _rynthRadarUi; private readonly RynthChatUi _rynthChatUi; @@ -66,17 +62,23 @@ internal sealed class LegacyDashboardRenderer private readonly string _navFolder = @"C:\Games\RynthSuite\RynthAi\NavProfiles"; private readonly string _lootFolder = @"C:\Games\RynthSuite\RynthAi\LootProfiles"; private readonly string _metaFolder = @"C:\Games\RynthSuite\RynthAi\MetaFiles"; - private readonly string _settingsRoot = @"C:\Games\RynthSuite\RynthAi\SettingsProfiles\ACEmulator"; - private readonly string _monstersFolder = @"C:\Games\RynthSuite\RynthAi\MonsterProfiles"; + // Profiles are kept per server: SettingsProfiles\\ and + // MonsterProfiles\\.json, the server being the world name + // the server sends at login. Before 2026-09-28 every server shared + // SettingsProfiles\ACEmulator, so the same character name on two servers + // shared one profile; that folder is still used when no name is known. + private const string ProfilesBase = @"C:\Games\RynthSuite\RynthAi\SettingsProfiles"; + private const string MonstersBase = @"C:\Games\RynthSuite\RynthAi\MonsterProfiles"; + private const string LegacyServerFolder = "ACEmulator"; + private string _serverFolder = LegacyServerFolder; + private string _settingsRoot => Path.Combine(ProfilesBase, _serverFolder); + private string _monstersFolder => _serverFolder == LegacyServerFolder ? MonstersBase : Path.Combine(MonstersBase, _serverFolder); private int _selectedNavIdx; private bool _isMinimized; private bool _isLocked; - private bool _wasMinimized; private float _bgOpacity = 0.95f; - public bool CloseRequested { get; internal set; } - /// Wired by RynthAiPlugin to forward force-rebuff / cancel requests to BuffManager. public Action? OnForceRebuffRequested { get; set; } public Action? OnCancelForceRebuffRequested { get; set; } @@ -85,12 +87,7 @@ internal sealed class LegacyDashboardRenderer private string _charFolder = string.Empty; private string _settingsFilePath = string.Empty; private string _lastSavedJson = string.Empty; - private int _saveCheckCounter; - private const int SaveCheckIntervalFrames = 1; // check every frame for immediate save - private Vector2 _lastWindowPos = new(-1, -1); - private bool _windowPosRestored; - private bool _windowSizeRestored; private Vector2 _expandedSize = new(430, 452); private string _targetLabel = "NO TARGET"; private float _targetHealthPercent; @@ -246,22 +243,12 @@ internal sealed class LegacyDashboardRenderer _host = host; _advancedSettingsUi = new LegacyAdvancedSettingsUi(_settings); _navigationUi = new LegacyNavigationUi(_settings, host); - _luaUi = new LegacyLuaUi(_settings, host); _weaponsUi = new LegacyWeaponsUi(_settings, host); _metaUi = new LegacyMetaUi(_settings, _navFiles); - _monstersUi = new LegacyMonstersUi( - _settings, - host, - onMonstersChanged: SaveMonstersFile, - onLaunchExternalEditor: LaunchMonsterEditor, - getCurrentTarget: GetCurrentTargetForMonsterAdd); - _dungeonMapUi = new DungeonMapUi(host, _settings); - _dungeonMapUi.OnSettingChanged = SaveSettings; + _dungeonMapUi = new DungeonMapUi(); _rynthRadarUi = new RynthRadarUi(host, _settings); - _rynthRadarUi.OnSettingChanged = SaveSettings; _rynthRadarUi.SetMapData(_dungeonMapUi); _rynthChatUi = new RynthChatUi(host, _settings); - _rynthChatUi.OnSettingChanged = SaveSettings; RefreshAllLists(); } @@ -277,10 +264,25 @@ internal sealed class LegacyDashboardRenderer /// public string CharFolder => _charFolder; - public void SetWorldFilter(WorldObjectCache cache) => _weaponsUi.SetWorldFilter(cache); + public void SetWorldFilter(WorldObjectCache cache) + { + _weaponsUi.SetWorldFilter(cache); + _weaponCache = cache; + } + + private WorldObjectCache? _weaponCache; + + /// A listed weapon's full name for the panels: "Silver Wand", and with + /// "Silver Wand (Fire)". Display only; rules are keyed by id. + internal string WeaponDisplayName(ItemRule r, bool withElement) + { + string name = WeaponNames.For(_host, _weaponCache, r.Id, r.Name); + return withElement ? WeaponNames.WithElement(name, r.Element) : name; + } public void SetMissileCraftingManager(MissileCraftingManager mgr) => _advancedSettingsUi.SetMissileCraftingManager(mgr); public void SetAutoVendorStatusProvider(Func status) => _advancedSettingsUi.SetAutoVendorStatusProvider(status); + public void SetAutoTradeStatusProvider(Func status) => _advancedSettingsUi.SetAutoTradeStatusProvider(status); // The open vendor's AutoVendor profile path (null when no vendor is open), for the // dashboard snapshot's vendorProfilePath. @@ -290,7 +292,6 @@ internal sealed class LegacyDashboardRenderer public void SetRaycast(Raycasting.MainLogic raycast) { _dungeonMapUi.SetRaycast(raycast); - _rynthRadarUi.SetRaycast(raycast); } public void PushChatLine(string? text, int chatType) => _rynthChatUi.Push(text, chatType); @@ -305,10 +306,16 @@ internal sealed class LegacyDashboardRenderer } public void SetWorldObjectCache(WorldObjectCache cache) { - _dungeonMapUi.SetWorldObjectCache(cache); _rynthRadarUi.SetWorldObjectCache(cache); } + /// Fellowship membership for the radar's fellow and your-corpse markers. + public void SetFellowshipTracker(FellowshipTracker? tracker) + { + _rynthRadarUi.IsFellowId = tracker == null ? null : tracker.IsMember; + _rynthRadarUi.IsFellowName = tracker == null ? null : tracker.IsMember; + } + // ── Settings persistence ───────────────────────────────────────────────── public void LoadSettings(string charName) @@ -316,7 +323,9 @@ internal sealed class LegacyDashboardRenderer if (string.IsNullOrWhiteSpace(charName)) return; string safeChar = SanitizeFileName(charName); + _serverFolder = ResolveServerFolder(); _charFolder = Path.Combine(_settingsRoot, safeChar); + MigrateToServerFolder(safeChar); // Migrate legacy settings.json → Default.json if needed string legacyPath = Path.Combine(_charFolder, "settings.json"); @@ -337,7 +346,17 @@ internal sealed class LegacyDashboardRenderer _settingsFilePath = GetProfileFilePath(activeProfile); } - if (File.Exists(_settingsFilePath)) + // A character with no profile yet starts from defaults, like VTank. The + // settings object lives for the whole client session, so without this a + // new character kept the previous character's weapons and consumables, + // and autosave then wrote them into its Default.json. + bool freshProfile = !File.Exists(_settingsFilePath); + if (freshProfile) + { + CopySettings(new LegacyUiSettings(), _settings); + _lastSavedJson = string.Empty; + } + else { try { @@ -351,6 +370,10 @@ internal sealed class LegacyDashboardRenderer } catch { } } + _packSetup = freshProfile ? PackSetup.FillNew + : _settings.ProfileItemsChecked ? PackSetup.None : PackSetup.CheckExisting; + _packSetupStart = 0; + _packLastCount = -1; _settings.SelectedProfile = activeProfile; ApplyUiStateFromSettings(); @@ -394,8 +417,6 @@ internal sealed class LegacyDashboardRenderer catch { } } - _windowPosRestored = false; // will apply saved position on next render - _windowSizeRestored = false; // force size restore on first render after load RefreshAllLists(); // Load MonsterRules from monsters.json (overrides what was in the profile) @@ -408,6 +429,22 @@ internal sealed class LegacyDashboardRenderer SetupMonsterWatcher(); } + /// + /// Logout: the settings in memory stop belonging to the character that just left. + /// Nothing is saved until the next character's LoadSettings, and an empty CharFolder + /// lets the plugin's late settings retry run if that character's name can't be read + /// at login. Before, the next character ran (and autosaved over) this one's profile. + /// + public void ResetCharacterSession() + { + _charFolder = string.Empty; + _settingsFilePath = string.Empty; + _lastSavedJson = string.Empty; + _settings.IsMacroRunning = false; + _settings.CurrentState = "Default"; + _settings.BotAction = "Default"; + } + public void SaveSettings() { if (string.IsNullOrEmpty(_settingsFilePath)) return; @@ -480,6 +517,127 @@ internal sealed class LegacyDashboardRenderer catch { } } + // ── Profile items from the pack ────────────────────────────────────────── + + private enum PackSetup { None, FillNew, CheckExisting } + private PackSetup _packSetup; + private long _packSetupStart, _packStableSince, _packNextPoll; + private int _packLastCount = -1; + + /// + /// Once per login, after the inventory has stopped arriving: fills a new + /// profile's weapons and consumables from the pack, or (once per older + /// profile) removes entries for items this character doesn't have, copied + /// from another character, filling from the pack if nothing is left. + /// Driven from the plugin tick. + /// + public void TickPackSetup(WorldObjectCache? cache, uint playerId) + { + if (_packSetup == PackSetup.None || cache == null || playerId == 0) return; + long now = Environment.TickCount64; + if (now < _packNextPoll) return; + _packNextPoll = now + 500; + if (_packSetupStart == 0) _packSetupStart = now; + + // Owned items only: main pack, side packs and wielded gear. The cache's + // general inventory set also holds ground items and open corpse contents. + var inv = cache.GetDirectInventory(forceRefresh: true).ToList(); + if (inv.Count != _packLastCount) { _packLastCount = inv.Count; _packStableSince = now; return; } + bool waited = now - _packSetupStart >= 5000 && now - _packStableSince >= 3000; + bool unclassified = inv.Any(w => w.ObjectClass == AcObjectClass.Unknown); + if (!waited || (unclassified && now - _packSetupStart < 30000)) return; + if (inv.Count == 0 && now - _packSetupStart < 60000) return; + + string who = Path.GetFileName(_charFolder); + if (_packSetup == PackSetup.FillNew) + { + var (w, c) = _weaponsUi.FillFromPack(inv, playerId); + _host.WriteToChat($"[RynthAi] New {_settings.SelectedProfile} profile for {who}: added {w} weapon(s) and {c} consumable(s) from your pack.", 1); + } + else + { + var removed = _weaponsUi.PruneNotOwned(inv); + if (removed.Count > 0) + _host.WriteToChat($"[RynthAi] Removed {removed.Count} item(s) {who} doesn't have from the {_settings.SelectedProfile} profile (copied from another character): {string.Join(", ", removed)}", 1); + if (_settings.ItemRules.Count == 0 && _settings.ConsumableRules.Count == 0) + { + var (w, c) = _weaponsUi.FillFromPack(inv, playerId); + if (w + c > 0) + _host.WriteToChat($"[RynthAi] Filled the {_settings.SelectedProfile} profile from your pack: {w} weapon(s), {c} consumable(s).", 1); + } + } + _settings.ProfileItemsChecked = true; + _packSetup = PackSetup.None; + SaveSettings(); + } + + /// /ra items fill: add anything in the pack that isn't listed yet. + public string FillItemsFromPack(WorldObjectCache? cache, uint playerId) + { + if (cache == null || playerId == 0) return "[RynthAi] Not logged in."; + var (w, c) = _weaponsUi.FillFromPack(cache.GetDirectInventory(forceRefresh: true).ToList(), playerId); + SaveSettings(); + return $"[RynthAi] Added {w} weapon(s) and {c} consumable(s) from your pack."; + } + + // ── Per-server profile folders ─────────────────────────────────────────── + + private string ResolveServerFolder() + { + try + { + if (_host.HasGetWorldName && _host.TryGetWorldName(out string world) && !string.IsNullOrWhiteSpace(world)) + { + string safe = SanitizeFileName(world.Trim()); + if (safe.Length > 0) return safe; + } + } + catch { } + return LegacyServerFolder; + } + + /// + /// First login of a character on a server after profiles went per server: + /// copy (not move) its shared ACEmulator profile and monster rules into the + /// server's folder, so it keeps its settings. A copy, because the same name + /// on another server may still be using the shared one. + /// + private void MigrateToServerFolder(string safeChar) + { + if (_serverFolder == LegacyServerFolder) return; + try + { + string legacyChar = Path.Combine(ProfilesBase, LegacyServerFolder, safeChar); + if (!Directory.Exists(_charFolder) && Directory.Exists(legacyChar)) + { + CopyDirectory(legacyChar, _charFolder); + _host.Log($"[RynthAi] Profiles: copied {safeChar}'s profile from {LegacyServerFolder} to {_serverFolder}."); + _host.WriteToChat($"[RynthAi] Settings are now kept per server: copied {safeChar}'s existing settings into the {_serverFolder} folder.", 1); + } + + string legacyMonsters = Path.Combine(MonstersBase, safeChar + ".json"); + string serverMonsters = Path.Combine(_monstersFolder, safeChar + ".json"); + if (!File.Exists(serverMonsters) && File.Exists(legacyMonsters)) + { + Directory.CreateDirectory(_monstersFolder); + File.Copy(legacyMonsters, serverMonsters); + } + } + catch (Exception ex) + { + _host.Log($"[RynthAi] Profiles: copying {safeChar} into {_serverFolder} failed: {ex.Message}"); + } + } + + private static void CopyDirectory(string from, string to) + { + Directory.CreateDirectory(to); + foreach (string file in Directory.GetFiles(from)) + File.Copy(file, Path.Combine(to, Path.GetFileName(file)), overwrite: false); + foreach (string dir in Directory.GetDirectories(from)) + CopyDirectory(dir, Path.Combine(to, Path.GetFileName(dir))); + } + // ── monsters.json support ──────────────────────────────────────────────── private string MonstersFilePath @@ -567,7 +725,7 @@ internal sealed class LegacyDashboardRenderer } /// - /// Call once per render frame. Hot-reloads MonsterRules when the external editor saves. + /// Called every plugin tick (RynthAiPlugin.OnTick, pump thread). Hot-reloads MonsterRules when the external editor saves. /// public void TickMonsterReload() { @@ -576,6 +734,9 @@ internal sealed class LegacyDashboardRenderer LoadMonstersFromFile(); } + /// Saves the Monsters rules after a change made outside the panel (a chat command). + public void SaveMonsterRules() => SaveMonstersFile(); + /// Writes the in-memory MonsterRules to monsters.json so the external editor sees them. private void SaveMonstersFile() { @@ -624,8 +785,9 @@ internal sealed class LegacyDashboardRenderer var payload = new MonstersBridgePayload { Rules = _settings.MonsterRules ?? new List(), + // Full names with the element ("Silver Wand (Fire)"); saved choices are by id. Items = (_settings.ItemRules ?? new List()) - .Select(r => new MonsterBridgeItem { Id = r.Id, Name = r.Name }).ToList(), + .Select(r => new MonsterBridgeItem { Id = r.Id, Name = WeaponDisplayName(r, withElement: true) }).ToList(), CurrentTargetName = _currentTargetId != 0 ? (_targetLabel ?? string.Empty) : string.Empty, }; @@ -672,7 +834,7 @@ internal sealed class LegacyDashboardRenderer { if (!first) sb.Append(','); first = false; - sb.Append("{\"id\":").Append(it.Id).Append(",\"name\":").Append(JsonString(it.Name)).Append('}'); + sb.Append("{\"id\":").Append(it.Id).Append(",\"name\":").Append(JsonString(WeaponDisplayName(it, withElement: true))).Append('}'); } sb.Append(']'); return sb.ToString(); @@ -766,6 +928,7 @@ internal sealed class LegacyDashboardRenderer PeaceModeWhenIdle = s.PeaceModeWhenIdle, StartMacroOnLogin = s.StartMacroOnLogin, PatrolOnLogin = s.PatrolOnLogin, + YieldToVTank = s.YieldToVTank, EnableRaycasting = s.EnableRaycasting, UseArcs = s.UseArcs, BowArcVelocity = s.BowArcVelocity, @@ -781,6 +944,19 @@ internal sealed class LegacyDashboardRenderer GiveQueueIntervalMs = s.GiveQueueIntervalMs, // Recharge HealAt = s.HealAt, + UsePotions = s.UsePotions, + UseBuffItems = s.UseBuffItems, + MakeRationsBelow = s.MakeRationsBelow, + UseKitsInMagicMode = s.UseKitsInMagicMode, + PeaceModeForKits = s.PeaceModeForKits, + KitMinSuccessPct = s.KitMinSuccessPct, + EmergencyHealAt = s.EmergencyHealAt, + StaminaToHealthAt = s.StaminaToHealthAt, + StaminaToHealthMinStamina = s.StaminaToHealthMinStamina, + StopMacroOnDeath = s.StopMacroOnDeath, + StopMacroOnNoComponents = s.StopMacroOnNoComponents, + StopLootingWhenPackFull = s.StopLootingWhenPackFull, + StopMacroWhenPackFull = s.StopMacroWhenPackFull, RestamAt = s.RestamAt, GetManaAt = s.GetManaAt, TopOffHP = s.TopOffHP, @@ -803,6 +979,8 @@ internal sealed class LegacyDashboardRenderer AttackSpellIntervalMs = s.AttackSpellIntervalMs, CastDispelSelf = s.CastDispelSelf, MinRingTargets = s.MinRingTargets, + BlastRange = s.BlastRange, + MinBlastTargets = s.MinBlastTargets, MinSkillLevelTier1 = s.MinSkillLevelTier1, MinSkillLevelTier2 = s.MinSkillLevelTier2, MinSkillLevelTier3 = s.MinSkillLevelTier3, @@ -871,6 +1049,7 @@ internal sealed class LegacyDashboardRenderer LootJumpHeight = s.LootJumpHeight, LootOwnership = s.LootOwnership, EnableAutostack = s.EnableAutostack, + ReadUnknownScrolls = s.ReadUnknownScrolls, EnableCombineSalvage = s.EnableCombineSalvage, CombineBagsDuringSalvage = s.CombineBagsDuringSalvage, LootInterItemDelayMs = s.LootInterItemDelayMs, @@ -898,6 +1077,8 @@ internal sealed class LegacyDashboardRenderer AutoVendorOnlyFromMainPack = s.AutoVendorOnlyFromMainPack, AutoVendorTries = s.AutoVendorTries, AutoVendorTriesTime = s.AutoVendorTriesTime, + OffhandDefault = s.OffhandDefault, + PreferDualWield = s.PreferDualWield, }; return JsonSerializer.Serialize(payload, RynthAiJsonContext.Default.SettingsBridgePayload); } @@ -945,12 +1126,13 @@ internal sealed class LegacyDashboardRenderer s.PeaceModeWhenIdle = p.PeaceModeWhenIdle; s.StartMacroOnLogin = p.StartMacroOnLogin; s.PatrolOnLogin = p.PatrolOnLogin; + s.YieldToVTank = p.YieldToVTank; s.EnableRaycasting = p.EnableRaycasting; s.UseArcs = p.UseArcs; s.BowArcVelocity = p.BowArcVelocity; s.CrossbowArcVelocity = p.CrossbowArcVelocity; s.AtlatlArcVelocity = p.AtlatlArcVelocity; - s.MagicArcVelocity = p.MagicArcVelocity; + if (p.MagicArcVelocity > 0f) s.MagicArcVelocity = p.MagicArcVelocity; if (p.MissileArcClearance >= 0f) s.MissileArcClearance = Math.Min(p.MissileArcClearance, 3f); s.LosDebugLog = p.LosDebugLog; s.BlacklistAttempts = p.BlacklistAttempts; @@ -962,6 +1144,19 @@ internal sealed class LegacyDashboardRenderer s.GiveQueueIntervalMs = p.GiveQueueIntervalMs; // Recharge s.HealAt = p.HealAt; + s.UsePotions = p.UsePotions; + s.UseBuffItems = p.UseBuffItems; + s.MakeRationsBelow = Math.Clamp(p.MakeRationsBelow, 0, 100); + s.UseKitsInMagicMode = p.UseKitsInMagicMode; + s.PeaceModeForKits = p.PeaceModeForKits; + s.KitMinSuccessPct = Math.Clamp(p.KitMinSuccessPct, 0, 100); + s.EmergencyHealAt = Math.Clamp(p.EmergencyHealAt, 0, 100); + s.StaminaToHealthAt = Math.Clamp(p.StaminaToHealthAt, 0, 100); + s.StaminaToHealthMinStamina = Math.Clamp(p.StaminaToHealthMinStamina, 0, 100); + s.StopMacroOnDeath = p.StopMacroOnDeath; + s.StopMacroOnNoComponents = p.StopMacroOnNoComponents; + s.StopLootingWhenPackFull = p.StopLootingWhenPackFull; + s.StopMacroWhenPackFull = p.StopMacroWhenPackFull; s.RestamAt = p.RestamAt; s.GetManaAt = p.GetManaAt; s.TopOffHP = p.TopOffHP; @@ -984,6 +1179,8 @@ internal sealed class LegacyDashboardRenderer s.AttackSpellIntervalMs = p.AttackSpellIntervalMs; s.CastDispelSelf = p.CastDispelSelf; s.MinRingTargets = p.MinRingTargets; + s.BlastRange = p.BlastRange; + s.MinBlastTargets = p.MinBlastTargets; s.MinSkillLevelTier1 = p.MinSkillLevelTier1; s.MinSkillLevelTier2 = p.MinSkillLevelTier2; s.MinSkillLevelTier3 = p.MinSkillLevelTier3; @@ -1010,7 +1207,7 @@ internal sealed class LegacyDashboardRenderer s.OpenDoors = p.OpenDoors; s.OpenDoorRange = p.OpenDoorRange; s.AutoUnlockDoors = p.AutoUnlockDoors; - s.MovementMode = p.MovementMode; + s.MovementMode = p.MovementMode is 1 or 2 ? 0 : p.MovementMode; // Tier 1/2 off for now s.NavStopTurnAngle = p.NavStopTurnAngle; s.NavResumeTurnAngle = p.NavResumeTurnAngle; s.NavDeadZone = p.NavDeadZone; @@ -1049,6 +1246,7 @@ internal sealed class LegacyDashboardRenderer s.LootJumpHeight = p.LootJumpHeight; s.LootOwnership = p.LootOwnership; s.EnableAutostack = p.EnableAutostack; + s.ReadUnknownScrolls = p.ReadUnknownScrolls; s.EnableCombineSalvage = p.EnableCombineSalvage; s.CombineBagsDuringSalvage = p.CombineBagsDuringSalvage; s.LootInterItemDelayMs = p.LootInterItemDelayMs; @@ -1076,6 +1274,9 @@ internal sealed class LegacyDashboardRenderer if (p.AutoVendorOnlyFromMainPack is bool avMain) s.AutoVendorOnlyFromMainPack = avMain; if (p.AutoVendorTries is int avTries) s.AutoVendorTries = Math.Clamp(avTries, 1, 20); if (p.AutoVendorTriesTime is int avTime) s.AutoVendorTriesTime = Math.Clamp(avTime, 500, 30000); + // Off hand: only fields the sender actually included (the engine face doesn't draw them yet) + if (p.OffhandDefault is string od && OffhandRules.TryParse(od, out var odMode)) s.OffhandDefault = OffhandRules.SettingValue(odMode); + if (p.PreferDualWield is bool pdw) s.PreferDualWield = pdw; SaveSettings(); } catch { } @@ -1089,7 +1290,8 @@ internal sealed class LegacyDashboardRenderer { var payload = new ItemsBridgePayload { - Weapons = _settings.ItemRules ?? new List(), + // Copies: the full name, and "Unknown" for an element not known yet (ApplyItemsJson maps them back by id). + Weapons = WeaponList.ForDisplay(_settings.ItemRules ?? new List(), r => WeaponDisplayName(r, withElement: false)), Consumables = _settings.ConsumableRules ?? new List(), EnableManaTapping = _settings.EnableManaTapping, ManaTapMinMana = _settings.ManaTapMinMana, @@ -1111,7 +1313,7 @@ internal sealed class LegacyDashboardRenderer { var p = JsonSerializer.Deserialize(json, RynthAiJsonContext.Default.ItemsBridgePayload); if (p == null) return; - _settings.ItemRules = p.Weapons; + _settings.ItemRules = WeaponList.MergeEdited(_settings.ItemRules ?? new List(), p.Weapons ?? new List()); _settings.ConsumableRules = p.Consumables; _settings.EnableManaTapping = p.EnableManaTapping; _settings.ManaTapMinMana = p.ManaTapMinMana; @@ -1124,17 +1326,10 @@ internal sealed class LegacyDashboardRenderer public void AddSelectedWeapon() { _weaponsUi.AddSelectedWeapon(); SaveSettings(); } public void AddSelectedConsumable() { _weaponsUi.AddSelectedConsumable(); SaveSettings(); } - private (uint Id, string Name)? GetCurrentTargetForMonsterAdd() - { - if (_currentTargetId == 0) return null; - string name = _targetLabel; - if (_host.HasGetObjectName && _host.TryGetObjectName(_currentTargetId, out string resolved) && !string.IsNullOrWhiteSpace(resolved)) - name = resolved; - if (string.IsNullOrWhiteSpace(name) || name == "NO TARGET") return null; - return (_currentTargetId, name); - } - /// Launches the standalone Monster Rules editor for the current char folder. + /// No button calls this since the plugin-drawn Monsters window went: the + /// engine's MonstersFace has no "external editor" button yet. Kept as the handler for + /// one. Saves the editor makes are picked up by TickMonsterReload. private void LaunchMonsterEditor() { if (string.IsNullOrEmpty(_charFolder)) @@ -1313,8 +1508,6 @@ internal sealed class LegacyDashboardRenderer catch { _settings.CurrentNavPath = string.Empty; } } - _windowPosRestored = false; - _windowSizeRestored = false; RefreshAllLists(); } @@ -1345,7 +1538,9 @@ internal sealed class LegacyDashboardRenderer dst.EnableLooting = tmp.EnableLooting; dst.EnableMeta = tmp.EnableMeta; dst.EnableRaycasting = tmp.EnableRaycasting; - dst.MovementMode = tmp.MovementMode; + // Only Legacy movement works for now: a saved Tier 1 or 2 pick becomes + // Legacy. Nothing else in the saved settings is changed. + dst.MovementMode = tmp.MovementMode is 1 or 2 ? 0 : tmp.MovementMode; dst.NavStopTurnAngle = tmp.NavStopTurnAngle; dst.NavResumeTurnAngle = tmp.NavResumeTurnAngle; dst.NavDeadZone = tmp.NavDeadZone; @@ -1355,6 +1550,9 @@ internal sealed class LegacyDashboardRenderer dst.NavTurnRateDegPerSec = tmp.NavTurnRateDegPerSec; dst.NavTier1TurnSpeed = tmp.NavTier1TurnSpeed; dst.PostPortalDelaySec = tmp.PostPortalDelaySec; + dst.NavRecoveryEnabled = tmp.NavRecoveryEnabled; + dst.NavOffTrackYards = Math.Max(160f, tmp.NavOffTrackYards); + dst.NavMaxDetourAttempts = Math.Clamp(tmp.NavMaxDetourAttempts, 1, 10); dst.T2Speed = tmp.T2Speed; dst.T2DistanceTo = tmp.T2DistanceTo; dst.T2ReissueMs = tmp.T2ReissueMs; @@ -1370,6 +1568,7 @@ internal sealed class LegacyDashboardRenderer dst.MetaProfileIdx = tmp.MetaProfileIdx; dst.EnableAutostack = tmp.EnableAutostack; dst.EnableAutocram = tmp.EnableAutocram; + dst.ReadUnknownScrolls = tmp.ReadUnknownScrolls; dst.EnableCombineSalvage = tmp.EnableCombineSalvage; dst.CombineBagsDuringSalvage = tmp.CombineBagsDuringSalvage; dst.ShowTargetStaminaMana = tmp.ShowTargetStaminaMana; @@ -1397,6 +1596,19 @@ internal sealed class LegacyDashboardRenderer dst.AutoFellowMgmt = tmp.AutoFellowMgmt; dst.MChargesWhenOff = tmp.MChargesWhenOff; dst.HealAt = tmp.HealAt; + dst.UsePotions = tmp.UsePotions; + dst.UseBuffItems = tmp.UseBuffItems; + dst.MakeRationsBelow = tmp.MakeRationsBelow; + dst.UseKitsInMagicMode = tmp.UseKitsInMagicMode; + dst.PeaceModeForKits = tmp.PeaceModeForKits; + dst.KitMinSuccessPct = tmp.KitMinSuccessPct; + dst.EmergencyHealAt = tmp.EmergencyHealAt; + dst.StaminaToHealthAt = tmp.StaminaToHealthAt; + dst.StaminaToHealthMinStamina= tmp.StaminaToHealthMinStamina; + dst.StopMacroOnDeath = tmp.StopMacroOnDeath; + dst.StopMacroOnNoComponents = tmp.StopMacroOnNoComponents; + dst.StopLootingWhenPackFull = tmp.StopLootingWhenPackFull; + dst.StopMacroWhenPackFull = tmp.StopMacroWhenPackFull; dst.RestamAt = tmp.RestamAt; dst.GetManaAt = tmp.GetManaAt; dst.TopOffHP = tmp.TopOffHP; @@ -1410,6 +1622,8 @@ internal sealed class LegacyDashboardRenderer dst.RingRange = tmp.RingRange; dst.ApproachRange = tmp.ApproachRange; dst.MinRingTargets = tmp.MinRingTargets; + dst.BlastRange = tmp.BlastRange; + dst.MinBlastTargets = tmp.MinBlastTargets; dst.FollowNavMin = tmp.FollowNavMin; dst.NavRingThickness = tmp.NavRingThickness; dst.NavLineThickness = tmp.NavLineThickness; @@ -1445,13 +1659,16 @@ internal sealed class LegacyDashboardRenderer dst.MissileAttackPower = tmp.MissileAttackPower; dst.UseRecklessness = tmp.UseRecklessness; dst.UseNativeAttack = tmp.UseNativeAttack; + dst.WieldUnlistedWandWhenNoneListed = tmp.WieldUnlistedWandWhenNoneListed; + dst.OffhandDefault = OffhandRules.SettingValue(OffhandRules.Parse(tmp.OffhandDefault, OffhandMode.Auto)); + dst.PreferDualWield = tmp.PreferDualWield; dst.MeleeAttackHeight = tmp.MeleeAttackHeight; dst.MissileAttackHeight = tmp.MissileAttackHeight; dst.UseArcs = tmp.UseArcs; dst.BowArcVelocity = tmp.BowArcVelocity; dst.CrossbowArcVelocity = tmp.CrossbowArcVelocity; dst.AtlatlArcVelocity = tmp.AtlatlArcVelocity; - dst.MagicArcVelocity = tmp.MagicArcVelocity; + dst.MagicArcVelocity = LegacyUiSettings.MigrateMagicArcVelocity(tmp.MagicArcVelocity); dst.MissileArcClearance = tmp.MissileArcClearance >= 0f ? Math.Min(tmp.MissileArcClearance, 3f) : 0.5f; dst.LosDebugLog = tmp.LosDebugLog; dst.EnableFPSLimit = tmp.EnableFPSLimit; @@ -1463,7 +1680,7 @@ internal sealed class LegacyDashboardRenderer dst.ConsumableRules = tmp.ConsumableRules; dst.BuffRules = tmp.BuffRules; dst.MetaRules = tmp.MetaRules; - dst.LuaScript = tmp.LuaScript; + dst.ProfileItemsChecked = tmp.ProfileItemsChecked; dst.SelectedProfile = tmp.SelectedProfile; dst.ActiveNavIndex = tmp.ActiveNavIndex; dst.ShowAdvancedWindow = tmp.ShowAdvancedWindow; @@ -1517,9 +1734,16 @@ internal sealed class LegacyDashboardRenderer dst.AutoVendorOnlyFromMainPack = tmp.AutoVendorOnlyFromMainPack; dst.AutoVendorTries = tmp.AutoVendorTries; dst.AutoVendorTriesTime = tmp.AutoVendorTriesTime; + dst.AutoTradeEnabled = tmp.AutoTradeEnabled; + dst.AutoTradeTestMode = tmp.AutoTradeTestMode; + dst.AutoTradeThink = tmp.AutoTradeThink; + dst.AutoTradeOnlyFromMainPack = tmp.AutoTradeOnlyFromMainPack; + dst.AutoTradeAutoAccept = tmp.AutoTradeAutoAccept; + dst.AutoTradeAutoAcceptChars = tmp.AutoTradeAutoAcceptChars ?? new(); dst.MetaDebug = tmp.MetaDebug; dst.StartMacroOnLogin = tmp.StartMacroOnLogin; dst.PatrolOnLogin = tmp.PatrolOnLogin; + dst.YieldToVTank = tmp.YieldToVTank; dst.ShowTerrainPassability = tmp.ShowTerrainPassability; dst.GiveQueueIntervalMs = tmp.GiveQueueIntervalMs; dst.SpellCastIntervalMs = tmp.SpellCastIntervalMs; @@ -1626,434 +1850,6 @@ internal sealed class LegacyDashboardRenderer } } - public void Render() - { - RefreshPlayerVitals(); - - // Periodic dirty-check: serialize settings every ~2s; save if changed - if (++_saveCheckCounter >= SaveCheckIntervalFrames) - { - _saveCheckCounter = 0; - CheckAndSave(); - } - - // Plugin-wide style overrides: muted slate-blue accents instead of the - // previous vivid sky-blue, which was overpowering in the macro tab. - ImGui.PushStyleColor(ImGuiCol.FrameBg, new Vector4(0.18f, 0.22f, 0.28f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBgHovered, new Vector4(0.24f, 0.30f, 0.38f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBgActive, new Vector4(0.30f, 0.38f, 0.48f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.CheckMark, new Vector4(0.85f, 0.90f, 1.00f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.PopupBg, new Vector4(0.10f, 0.14f, 0.20f, 0.98f)); - ImGui.PushStyleColor(ImGuiCol.Header, new Vector4(0.20f, 0.28f, 0.36f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.HeaderHovered, new Vector4(0.26f, 0.36f, 0.46f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.HeaderActive, new Vector4(0.32f, 0.44f, 0.58f, 1.00f)); - // Title bars — same slate-blue family. TitleBgActive replaces ImGui's - // default vivid yellow that's especially jarring on detached viewports. - ImGui.PushStyleColor(ImGuiCol.TitleBg, new Vector4(0.14f, 0.18f, 0.24f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.TitleBgActive, new Vector4(0.22f, 0.30f, 0.40f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.TitleBgCollapsed,new Vector4(0.10f, 0.14f, 0.20f, 0.85f)); - - try - { - RenderDashboard(); - - _metaUi.Render(); - TickMonsterReload(); - _monstersUi.Render(); - _weaponsUi.Render(); - - // Hooked up the new Lua UI here - _luaUi.Render(); - - if (DashWindows.ShowNavigation) _navigationUi.Render(); - if (_settings.ShowAdvancedWindow) _advancedSettingsUi.Render(); - } - finally - { - ImGui.PopStyleColor(11); - } - } - - // Rendered every frame regardless of whether the main dashboard is visible. - public void RenderMapWindow() - { - ImGui.PushStyleColor(ImGuiCol.FrameBg, new Vector4(0.15f, 0.55f, 0.95f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBgHovered, new Vector4(0.22f, 0.62f, 1.00f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBgActive, new Vector4(0.10f, 0.45f, 0.82f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.CheckMark, new Vector4(0.00f, 0.00f, 0.00f, 1.00f)); - try - { - if (DashWindows.ShowDungeonMap || _dungeonMapUi.IsAutoHidden) - _dungeonMapUi.Render(); - _rynthRadarUi.Render(); - _rynthChatUi.Render(); - } - finally - { - ImGui.PopStyleColor(4); - } - } - - private void RenderDashboard() - { - ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, new Vector2(10, 10)); - ImGui.PushStyleVar(ImGuiStyleVar.WindowRounding, 8.0f); - ImGui.PushStyleVar(ImGuiStyleVar.ChildRounding, 6.0f); - ImGui.PushStyleColor(ImGuiCol.WindowBg, new Vector4(0.04f, 0.06f, 0.08f, _bgOpacity)); - ImGuiWindowFlags flags = ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoCollapse; - if (_isMinimized) { flags |= ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoResize; _wasMinimized = true; } - else if (_isLocked) flags |= ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoMove; - // Restore saved window position on first render after login. Sanity- - // check it against the current main viewport size — if the dashboard - // was dragged partly off-screen on a previous session, or the AC - // client window shrank since, the saved coords would render the - // dashboard somewhere invisible. Snap back to (50, 50) in that case. - if (!_windowPosRestored) - { - Vector2 vpSize = ImGui.GetMainViewport().Size; - float maxX = vpSize.X > 0 ? vpSize.X - 100 : 8000; - float maxY = vpSize.Y > 0 ? vpSize.Y - 100 : 6000; - float posX = _settings.WindowPosX; - float posY = _settings.WindowPosY; - bool inBounds = - posX >= 0 && posX <= maxX && - posY >= 0 && posY <= maxY; - if (!inBounds) - { - posX = 50; - posY = 50; - _settings.WindowPosX = posX; - _settings.WindowPosY = posY; - } - ImGui.SetNextWindowPos(new Vector2(posX, posY), ImGuiCond.Always); - _windowPosRestored = true; - } - - ImGui.SetNextWindowSizeConstraints(new Vector2(400, 0), new Vector2(1200, 2000)); - if (!_isMinimized && !_isLocked) - { - // Force-apply the saved expanded size on the first frame after login — - // imgui.ini may have a stale tiny size from a previous session. - if (!_windowSizeRestored) - { - ImGui.SetNextWindowSize(_expandedSize, ImGuiCond.Always); - ImGui.SetNextWindowCollapsed(false, ImGuiCond.Always); - _windowSizeRestored = true; - } - else if (_wasMinimized) { ImGui.SetNextWindowSize(_expandedSize, ImGuiCond.Always); _wasMinimized = false; } - else ImGui.SetNextWindowSize(_expandedSize, ImGuiCond.FirstUseEver); - } - else if (_isMinimized && !_windowSizeRestored) - { - // Even in minimized mode, defensively un-collapse so an old imgui.ini - // Collapsed=1 entry can't keep the window iconified. - ImGui.SetNextWindowCollapsed(false, ImGuiCond.Always); - _windowSizeRestored = true; - } - if (ImGui.Begin("RynthAi Dashboard##Main", flags)) - { - if (!_isMinimized && !_isLocked) _expandedSize = ImGui.GetWindowSize(); - RenderDashHeader(); - ImGui.PushStyleColor(ImGuiCol.ChildBg, ColPanelBg); - ImGui.PushStyleColor(ImGuiCol.Border, ColBtnBord); - ImGui.PushStyleVar(ImGuiStyleVar.ChildBorderSize, 1.0f); - if (ImGui.BeginChild("CombatPanel", new Vector2(-1, 200), ImGuiChildFlags.Borders, ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse)) { RenderCombatPanel(); ImGui.Dummy(new Vector2(0, 2)); } - ImGui.EndChild(); - ImGui.PopStyleVar(); - ImGui.PopStyleColor(2); - if (!_isMinimized) { ImGui.Spacing(); ImGui.Spacing(); RenderLauncherGrid(); } - } - // Capture window position for persistence - Vector2 curPos = ImGui.GetWindowPos(); - if (curPos != _lastWindowPos) - { - _settings.WindowPosX = curPos.X; - _settings.WindowPosY = curPos.Y; - _lastWindowPos = curPos; - } - - ImGui.End(); - ImGui.PopStyleColor(1); - ImGui.PopStyleVar(3); - } - - private void RenderDashHeader() - { - float width = ImGui.GetContentRegionAvail().X; - float startY = ImGui.GetCursorPosY(); - ImGui.SetWindowFontScale(1.4f); - ImGui.TextColored(ColTeal, "R"); - ImGui.SameLine(0, 2); - ImGui.TextColored(new Vector4(1, 1, 1, 1), "YNTHAI DASHBOARD"); - ImGui.SetWindowFontScale(1.0f); - ImGui.SameLine(); - ImGui.SetCursorPosY(startY + 5); - ImGui.TextColored(ColTextMute, "v4.0"); - ImGui.SameLine(width - 130); - ImGui.SetCursorPosY(startY + 2); - if (ImGui.SmallButton(_isLocked ? "Unlk" : "Lock")) _isLocked = !_isLocked; - if (ImGui.IsItemHovered()) ImGui.SetTooltip(_isLocked ? "Unlock Window" : "Lock Window"); - ImGui.SameLine(); - if (ImGui.SmallButton("-")) _bgOpacity = Math.Max(0.1f, _bgOpacity - 0.1f); - ImGui.SameLine(); - if (ImGui.SmallButton("+")) _bgOpacity = Math.Min(1.0f, _bgOpacity + 0.1f); - ImGui.SameLine(); - if (ImGui.SmallButton(_isMinimized ? "^" : "_")) { _isMinimized = !_isMinimized; SaveSettings(); } - ImGui.SameLine(); - if (ImGui.SmallButton("X")) CloseRequested = true; - ImGui.Dummy(new Vector2(0, 2)); - if (_isMinimized) return; - if (!ImGui.BeginTable("HeaderGrid", 2)) return; - - ImGui.TableSetupColumn("Left", ImGuiTableColumnFlags.WidthFixed, width * 0.40f); - ImGui.TableSetupColumn("Right", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableNextRow(); - - // ── Left column: macro button + status ────────────────────────── - ImGui.TableNextColumn(); - - var btnColor = _settings.IsMacroRunning - ? new Vector4(0.10f, 0.35f, 0.15f, 1.00f) - : new Vector4(0.25f, 0.12f, 0.12f, 1.00f); - var btnHover = _settings.IsMacroRunning - ? new Vector4(0.15f, 0.50f, 0.22f, 1.00f) - : new Vector4(0.40f, 0.18f, 0.18f, 1.00f); - var btnActive = _settings.IsMacroRunning - ? new Vector4(0.08f, 0.28f, 0.12f, 1.00f) - : new Vector4(0.20f, 0.10f, 0.10f, 1.00f); - - ImGui.PushStyleColor(ImGuiCol.Button, btnColor); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, btnHover); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, btnActive); - ImGui.PushStyleVar(ImGuiStyleVar.FrameRounding, 4.0f); - ImGui.SetWindowFontScale(1.2f); - - Vector2 pos = ImGui.GetCursorScreenPos(); - string macroLabel = _settings.IsMacroRunning ? "RUNNING##ToggleMacro" : "STOPPED##ToggleMacro"; - if (ImGui.Button(macroLabel, new Vector2(120, 28))) - _settings.IsMacroRunning = !_settings.IsMacroRunning; - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Click to Start / Stop Macro"); - - ImGui.SetWindowFontScale(1.0f); - ImGui.PopStyleVar(); - ImGui.PopStyleColor(3); - - // Status circle beside the button - ImDrawListPtr dl = ImGui.GetWindowDrawList(); - uint circleColor = _settings.IsMacroRunning ? ImGui.ColorConvertFloat4ToU32(ColGreen) : ImGui.ColorConvertFloat4ToU32(ColTextMute); - Vector2 circlePos = pos + new Vector2(138, 14); - dl.AddCircleFilled(circlePos, 5, circleColor); - if (_settings.IsMacroRunning) dl.AddCircle(circlePos, 8, circleColor, 12, 1.5f); - - ImGui.Spacing(); - ImGui.TextColored(ColTextMute, "Meta State:"); - ImGui.SameLine(0, 8); - ImGui.TextColored(ColAmber, _settings.CurrentState); - ImGui.TextColored(ColTextMute, "Bot Activity:"); - ImGui.SameLine(0, 8); - string botDisplay = string.IsNullOrEmpty(_settings.BotAction) || _settings.BotAction == "Default" ? "Idle" : _settings.BotAction; - ImGui.TextColored(ColAmber, botDisplay); - - // ── Right column: file dropdowns (independent vertical layout) ── - ImGui.TableNextColumn(); - - ImGui.TextColored(ColTextMute, "Profile:"); - ImGui.SameLine(60); - ImGui.SetNextItemWidth(-1); - if (ImGui.BeginCombo("##ProfCombo", TruncateName(_settings.SelectedProfile, 16))) - { - string? pendingSwitch = null; - foreach (string profile in _profiles) - if (ImGui.Selectable(profile, profile == _settings.SelectedProfile)) - pendingSwitch = profile; - ImGui.EndCombo(); - if (pendingSwitch != null) SwitchProfile(pendingSwitch); - } - - ImGui.TextColored(ColTextMute, "Nav:"); - ImGui.SameLine(60); - ImGui.SetNextItemWidth(-1); - string navName = string.IsNullOrEmpty(_settings.CurrentNavPath) ? "None" : Path.GetFileNameWithoutExtension(_settings.CurrentNavPath); - if (ImGui.BeginCombo("##NavCombo", TruncateName(navName, 16))) - { - for (int i = 0; i < _navFiles.Count; i++) - if (ImGui.Selectable(_navFiles[i], _selectedNavIdx == i)) { _selectedNavIdx = i; LoadSelectedNav(); } - ImGui.EndCombo(); - } - - ImGui.TextColored(ColTextMute, "Loot:"); - ImGui.SameLine(60); - ImGui.SetNextItemWidth(-1); - string lootName = string.IsNullOrEmpty(_settings.CurrentLootPath) ? "None" : Path.GetFileNameWithoutExtension(_settings.CurrentLootPath); - if (ImGui.BeginCombo("##LootCombo", TruncateName(lootName, 16))) - { - for (int i = 0; i < _lootFiles.Count; i++) - if (ImGui.Selectable(_lootFiles[i], _settings.LootProfileIdx == i)) - { - _settings.LootProfileIdx = i; - _settings.CurrentLootPath = i == 0 ? string.Empty : Path.Combine(_lootFolder, _lootFiles[i]); - SaveSettings(); - } - ImGui.EndCombo(); - } - - ImGui.TextColored(ColTextMute, "Meta:"); - ImGui.SameLine(60); - ImGui.SetNextItemWidth(-1); - string metaName = string.IsNullOrEmpty(_settings.CurrentMetaPath) ? "None" : Path.GetFileNameWithoutExtension(_settings.CurrentMetaPath); - if (ImGui.BeginCombo("##MetaCombo", TruncateName(metaName, 16))) - { - for (int i = 0; i < _metaFiles.Count; i++) - if (ImGui.Selectable(_metaFiles[i], _settings.MetaProfileIdx == i)) - { - _settings.MetaProfileIdx = i; - string path = i == 0 ? string.Empty : Path.Combine(_metaFolder, _metaFiles[i]); - _metaUi.LoadMacroFile(path); - } - ImGui.EndCombo(); - } - - ImGui.EndTable(); - ImGui.Spacing(); - } - - private void RenderMinimizedMacroButton() - { - var btnColor = _settings.IsMacroRunning - ? new Vector4(0.10f, 0.35f, 0.15f, 1.00f) - : new Vector4(0.25f, 0.12f, 0.12f, 1.00f); - var btnHover = _settings.IsMacroRunning - ? new Vector4(0.15f, 0.50f, 0.22f, 1.00f) - : new Vector4(0.40f, 0.18f, 0.18f, 1.00f); - var btnActive = _settings.IsMacroRunning - ? new Vector4(0.08f, 0.28f, 0.12f, 1.00f) - : new Vector4(0.20f, 0.10f, 0.10f, 1.00f); - - ImGui.PushStyleColor(ImGuiCol.Button, btnColor); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, btnHover); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, btnActive); - ImGui.PushStyleVar(ImGuiStyleVar.FrameRounding, 3.0f); - - string label = _settings.IsMacroRunning ? "Running##MinMacro" : "Stopped##MinMacro"; - if (ImGui.SmallButton(label)) - _settings.IsMacroRunning = !_settings.IsMacroRunning; - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Click to Start / Stop Macro"); - - ImGui.PopStyleVar(); - ImGui.PopStyleColor(3); - } - - private void RenderCombatPanel() - { - if (!ImGui.BeginTable("CombatInnerTable", 2, ImGuiTableFlags.None)) return; - ImGui.TableSetupColumn("Toggles", ImGuiTableColumnFlags.WidthFixed, 68); - ImGui.TableSetupColumn("Vitals", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - if (_isMinimized) - { - var btnColor = _settings.IsMacroRunning - ? new Vector4(0.10f, 0.35f, 0.15f, 1.00f) - : new Vector4(0.25f, 0.12f, 0.12f, 1.00f); - var btnHover = _settings.IsMacroRunning - ? new Vector4(0.15f, 0.50f, 0.22f, 1.00f) - : new Vector4(0.40f, 0.18f, 0.18f, 1.00f); - var btnActive = _settings.IsMacroRunning - ? new Vector4(0.08f, 0.28f, 0.12f, 1.00f) - : new Vector4(0.20f, 0.10f, 0.10f, 1.00f); - ImGui.PushStyleColor(ImGuiCol.Button, btnColor); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, btnHover); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, btnActive); - ImGui.PushStyleVar(ImGuiStyleVar.FrameRounding, 3.0f); - string mLabel = _settings.IsMacroRunning ? "ON##MinMacro" : "OFF##MinMacro"; - if (ImGui.Button(mLabel, new Vector2(64, 20))) - _settings.IsMacroRunning = !_settings.IsMacroRunning; - if (ImGui.IsItemHovered()) ImGui.SetTooltip(_settings.IsMacroRunning ? "Macro Running - Click to Stop" : "Macro Stopped - Click to Start"); - ImGui.PopStyleVar(); - ImGui.PopStyleColor(3); - } - Vector2 togglePos = ImGui.GetCursorScreenPos() + new Vector2(2, _isMinimized ? 6 : 28); - - // Right-click on each main toggle opens the matching settings window/tab — - // a quick shortcut so users don't have to hunt through Advanced Settings. - LegacyDashboardDrawing.DrawSquareToggle("sword", ref _settings.EnableCombat, togglePos, "CombatTgl"); - if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) OpenAdvancedTab("Melee Combat"); - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Combat — left-click to toggle, right-click for settings"); - - LegacyDashboardDrawing.DrawSquareToggle("buff", ref _settings.EnableBuffing, togglePos + new Vector2(34, 0), "BuffTgl"); - if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) OpenAdvancedTab("Buffing"); - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Buffing — left-click to toggle, right-click for settings"); - - LegacyDashboardDrawing.DrawSquareToggle("shoe", ref _settings.EnableNavigation, togglePos + new Vector2(0, 34), "NavTgl"); - if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) DashWindows.ShowNavigation = true; - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Navigation — left-click to toggle, right-click for routes"); - - LegacyDashboardDrawing.DrawSquareToggle("bag", ref _settings.EnableLooting, togglePos + new Vector2(34, 34), "LootTgl"); - if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) OpenAdvancedTab("Looting"); - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Looting — left-click to toggle, right-click for settings"); - - LegacyDashboardDrawing.DrawWideToggle("MACRO", "gear", ref _settings.EnableMeta, togglePos + new Vector2(0, 68), "MetaTgl", 64f, 20f); - if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) DashWindows.ShowMacroRules = true; - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Macro/Meta — left-click to toggle, right-click for rules"); - - // FR (Force Rebuff) — small button, below MACRO toggle - Vector2 frPos = togglePos + new Vector2(0, 92); - ImGui.SetCursorScreenPos(frPos); - ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0.28f, 0.20f, 0.04f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, new Vector4(0.46f, 0.33f, 0.06f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, new Vector4(0.20f, 0.14f, 0.03f, 1.00f)); - ImGui.PushStyleVar(ImGuiStyleVar.FrameRounding, 3.0f); - if (ImGui.Button("FR##ForceRebuff", new Vector2(64, 16))) - OnForceRebuffRequested?.Invoke(); - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Force-recast all buffs.\nRight-click to cancel."); - if (ImGui.BeginPopupContextItem("##FRCtx")) - { - if (ImGui.MenuItem("Cancel Force Rebuff")) - OnCancelForceRebuffRequested?.Invoke(); - ImGui.EndPopup(); - } - ImGui.PopStyleVar(); - ImGui.PopStyleColor(3); - - ImGui.TableNextColumn(); - ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 4); - ImGui.TextColored(ColTextDim, TruncateName(_targetLabel, 32).ToUpperInvariant()); - ImGui.SameLine(); - float targetValueWidth = ImGui.CalcTextSize(_targetHealthDisplay).X; - float targetLineX = ImGui.GetCursorPosX(); - float targetRegionWidth = ImGui.GetContentRegionAvail().X; - ImGui.SetCursorPosX(targetLineX + Math.Max(0, targetRegionWidth - targetValueWidth)); - ImGui.TextColored(new Vector4(1, 1, 1, 1), _targetHealthDisplay); - LegacyDashboardDrawing.DrawSegmentedBar(_targetHealthPercent, ImGui.GetContentRegionAvail().X - 4); - if (_settings.ShowTargetStaminaMana && _targetMaxStamina > 0) - { - float barWidth = ImGui.GetContentRegionAvail().X - 4; - LegacyDashboardDrawing.DrawCompactVitalBar("ST", ToRatio(_targetStamina, _targetMaxStamina), ColGreen, FormatVital(_targetStamina, _targetMaxStamina), barWidth); - LegacyDashboardDrawing.DrawCompactVitalBar("MN", ToRatio(_targetMana, _targetMaxMana), ColMana, FormatVital(_targetMana, _targetMaxMana), barWidth); - } - ImGui.Dummy(new Vector2(0, 2)); - ImGui.TextColored(ColTextMute, "PLAYER VITALS"); - LegacyDashboardDrawing.DrawVitalRow("heart", "HP", ToRatio(_playerHealth, _playerMaxHealth), ColHp, FormatVital(_playerHealth, _playerMaxHealth)); - LegacyDashboardDrawing.DrawVitalRow("run", "ST", ToRatio(_playerStamina, _playerMaxStamina), ColGreen, FormatVital(_playerStamina, _playerMaxStamina)); - LegacyDashboardDrawing.DrawVitalRow("drop", "MN", ToRatio(_playerMana, _playerMaxMana), ColMana, FormatVital(_playerMana, _playerMaxMana)); - ImGui.EndTable(); - } - - private void OpenAdvancedTab(string tabName) - { - for (int i = 0; i < _settings.AdvancedTabs.Length; i++) - { - if (string.Equals(_settings.AdvancedTabs[i], tabName, StringComparison.OrdinalIgnoreCase)) - { - _settings.SelectedAdvancedTab = i; - _settings.ShowAdvancedWindow = true; - return; - } - } - // Tab not found — at least open the window so the user lands somewhere useful. - _settings.ShowAdvancedWindow = true; - } - private void RefreshPlayerVitals() { if (!_host.HasGetPlayerVitals) @@ -2222,48 +2018,6 @@ internal sealed class LegacyDashboardRenderer _killsPerHour = hours > 1.0 / 3600.0 ? System.Threading.Interlocked.Read(ref _sessionKills) / hours : 0; } - private static float ToRatio(uint value, uint maxValue) - { - if (maxValue == 0) - return 0f; - - return Math.Clamp((float)value / maxValue, 0f, 1f); - } - - private static string FormatVital(uint value, uint maxValue) - { - if (maxValue == 0) - return value == 0 ? "--/--" : $"{value}/--"; - - return $"{value}/{maxValue}"; - } - - private void RenderLauncherGrid() - { - if (!ImGui.BeginTable("LauncherGridTable", 3, ImGuiTableFlags.SizingStretchSame)) return; - ImGui.TableNextRow(); - ImGui.TableNextColumn(); LegacyDashboardDrawing.GridBtn("Macro Rules", "gear", ref DashWindows.ShowMacroRules); - ImGui.TableNextColumn(); - LegacyDashboardDrawing.GridBtn("Monsters", "target", ref DashWindows.ShowMonsters); - ImGui.TableNextColumn(); LegacyDashboardDrawing.GridBtn("Settings", "wrench", ref _settings.ShowAdvancedWindow); - ImGui.TableNextRow(); - ImGui.TableNextColumn(); LegacyDashboardDrawing.GridBtn("Navigation", "map", ref DashWindows.ShowNavigation); - ImGui.TableNextColumn(); LegacyDashboardDrawing.GridBtn("Items", "shield", ref DashWindows.ShowWeapons); - ImGui.TableNextColumn(); LegacyDashboardDrawing.GridBtn("Lua Scripts", "code", ref DashWindows.ShowLua); - ImGui.TableNextRow(); - ImGui.TableNextColumn(); LegacyDashboardDrawing.GridBtn("Dungeon Map", "map", ref DashWindows.ShowDungeonMap); - ImGui.TableNextColumn(); - ImGui.EndTable(); - } - - private static void RenderPlaceholderWindow(string title, ref bool open, string message) - { - ImGui.SetNextWindowSize(new Vector2(420, 260), ImGuiCond.FirstUseEver); - if (!ImGui.Begin(title, ref open)) { ImGui.End(); return; } - ImGui.TextWrapped(message); - ImGui.End(); - } - private void RefreshAllLists() { RefreshProfilesList(); @@ -2285,6 +2039,7 @@ internal sealed class LegacyDashboardRenderer if (name.Equals("settings", StringComparison.OrdinalIgnoreCase)) continue; if (name.Equals("Default", StringComparison.OrdinalIgnoreCase)) continue; if (name.Equals("monsters", StringComparison.OrdinalIgnoreCase)) continue; + if (name.Equals("metamanager", StringComparison.OrdinalIgnoreCase)) continue; // the Meta Manager's rules if (!list.Contains(name, StringComparer.OrdinalIgnoreCase)) list.Add(name); } @@ -2318,6 +2073,42 @@ internal sealed class LegacyDashboardRenderer _selectedNavIdx = sel; } + /// Save button and /ra nav save [name]. Returns the chat line. + public string SaveRoute(string? name) + { + string msg = _navigationUi.SaveRoute(name); + RefreshNavFiles(); + SaveSettings(); + return msg; + } + + /// Writes an edited route back to its file (or the meta's embedded nav). + public void AutoSaveRoute() => _navigationUi.TryAutoSaveNav(); + + /// /ra nav load <name>. Returns the chat line. + public string LoadNavByName(string name) + { + RefreshNavFiles(); + string want = name.Trim(); + if (want.EndsWith(".nav", StringComparison.OrdinalIgnoreCase)) want = want[..^4].TrimEnd(); + int idx; + lock (_profileListsLock) + idx = _navFiles.FindIndex(f => f != "None" && f.Equals(want, StringComparison.OrdinalIgnoreCase)); + if (idx < 0) return $"[RynthAi] No nav named '{want}' in NavProfiles. /ra nav list shows them."; + _selectedNavIdx = idx; + LoadSelectedNav(); + SaveSettings(); + return $"[RynthAi] Loaded {want} ({_settings.CurrentRoute.Points.Count} waypoints)."; + } + + /// /ra nav list: the .nav files in NavProfiles. + public List NavFileNames() + { + RefreshNavFiles(); + lock (_profileListsLock) + return _navFiles.FindAll(f => f != "None"); + } + private void RefreshLootFiles() { var list = new System.Collections.Generic.List { "None" }; @@ -2366,6 +2157,50 @@ internal sealed class LegacyDashboardRenderer _settings.MetaProfileIdx = idx; } + /// + /// The Meta Manager's load (plugin tick): is a file in MetaFiles + /// (farm.met / farm.af; without an extension .af is tried, then .met). The same load as + /// picking it in the Meta panel. Returns null when loaded, else why not. + /// + public string? LoadMetaForSchedule(string name) + { + string want = (name ?? string.Empty).Trim(); + if (want.Length == 0) return "no meta named"; + string? path = null; + try + { + string direct = Path.Combine(_metaFolder, Path.GetFileName(want)); + string ext = Path.GetExtension(want); + if ((ext.Equals(".met", StringComparison.OrdinalIgnoreCase) || ext.Equals(".af", StringComparison.OrdinalIgnoreCase)) + && File.Exists(direct)) + path = direct; + else + { + string stem = ext.Equals(".met", StringComparison.OrdinalIgnoreCase) || ext.Equals(".af", StringComparison.OrdinalIgnoreCase) + ? Path.GetFileNameWithoutExtension(want) : Path.GetFileName(want); + foreach (string e in new[] { ".af", ".met" }) + { + string candidate = Path.Combine(_metaFolder, stem + e); + if (File.Exists(candidate)) { path = candidate; break; } + } + } + } + catch (Exception ex) { return ex.Message; } + if (path == null) return "not found in MetaFiles"; + + if (!_metaUi.LoadMacroFile(path)) + return _metaUi.LastLoadStatus.Length > 0 ? _metaUi.LastLoadStatus : "no rules loaded"; + RefreshMetaFiles(); // MetaProfileIdx follows the loaded file + SaveSettings(); + return null; + } + + /// The Meta Manager's "mm_*" ops from the engine panel, run on the plugin tick (set by the plugin). + public Action? ScheduleCommandHandler; + + /// The Meta Manager's snapshot JSON for BuildMetaJson (set by the plugin; built on the tick). + public Func? ScheduleJsonProvider; + private void LoadSelectedNav() { // Same finding #16 class as SelectProfileAtIndex above — this direct @@ -2419,6 +2254,7 @@ internal sealed class LegacyDashboardRenderer Idx = i, Type = p.Type.ToString(), Desc = p.ToString(), + Text = p.Type == NavPointType.Chat ? p.ChatCommand ?? string.Empty : string.Empty, NS = p.NS, EW = p.EW, Z = p.Z, @@ -2435,9 +2271,13 @@ internal sealed class LegacyDashboardRenderer var payload = new NavBridgePayload { + // No extension: the panel matches this against NavFiles (names + // without .nav) to show the loaded file in its Nav picker. ActiveNavName = string.IsNullOrEmpty(_settings.CurrentNavPath) ? "None (Unsaved)" - : Path.GetFileName(_settings.CurrentNavPath), + : _settings.CurrentNavPath.StartsWith("') + " (in meta)" + : Path.GetFileNameWithoutExtension(_settings.CurrentNavPath), NavStatusLine = _settings.NavStatusLine ?? string.Empty, NavIsStuck = _settings.NavIsStuck, MacroRunning = _settings.IsMacroRunning, @@ -2482,7 +2322,7 @@ internal sealed class LegacyDashboardRenderer _host.TryGetPlayerPose(out _, out float wx, out float wy, out float wz, out _, out _, out _, out _) && NavCoordinateHelper.TryGetNavCoords(_host, out double wNS, out double wEW)) { - InsertNavPoint(new NavPoint { NS = wNS, EW = wEW, Z = wz }, cmd.AddMode, cmd.InsertAt); + InsertNavPoint(new NavPoint { NS = wNS, EW = wEW, Z = wz / 240.0 }, cmd.AddMode, cmd.InsertAt); } break; @@ -2491,7 +2331,28 @@ internal sealed class LegacyDashboardRenderer _host.TryGetPlayerPose(out _, out float rx, out float ry, out float rz, out _, out _, out _, out _) && NavCoordinateHelper.TryGetNavCoords(_host, out double rNS, out double rEW)) { - InsertNavPoint(new NavPoint { Type = NavPointType.Recall, NS = rNS, EW = rEW, Z = rz, SpellId = cmd.SpellId }, cmd.AddMode, cmd.InsertAt); + InsertNavPoint(new NavPoint { Type = NavPointType.Recall, NS = rNS, EW = rEW, Z = rz / 240.0, SpellId = cmd.SpellId }, cmd.AddMode, cmd.InsertAt); + } + break; + + case "addChat": + if (!string.IsNullOrWhiteSpace(cmd.Text) && + _host.HasGetPlayerPose && + _host.TryGetPlayerPose(out _, out _, out _, out float cz, out _, out _, out _, out _) && + NavCoordinateHelper.TryGetNavCoords(_host, out double cNS, out double cEW)) + { + InsertNavPoint(new NavPoint { Type = NavPointType.Chat, NS = cNS, EW = cEW, Z = cz / 240.0, ChatCommand = cmd.Text.Trim() }, cmd.AddMode, cmd.InsertAt); + } + break; + + case "editChat": + // Change the text of an existing chat waypoint (Nav panel: select it, edit, Update). + if (cmd.Index >= 0 && cmd.Index < _settings.CurrentRoute.Points.Count + && _settings.CurrentRoute.Points[cmd.Index].Type == NavPointType.Chat + && !string.IsNullOrWhiteSpace(cmd.Text)) + { + _settings.CurrentRoute.Points[cmd.Index].ChatCommand = cmd.Text.Trim(); + _navigationUi.TryAutoSaveNav(); } break; @@ -2500,8 +2361,7 @@ internal sealed class LegacyDashboardRenderer if (di >= 0 && di < _settings.CurrentRoute.Points.Count) { _settings.CurrentRoute.Points.RemoveAt(di); - if (_settings.ActiveNavIndex == di) _settings.ActiveNavIndex = 0; - else if (_settings.ActiveNavIndex > di) _settings.ActiveNavIndex--; + _settings.ActiveNavIndex = LegacyNavigationUi.IndexAfterDelete(_settings.ActiveNavIndex, di, _settings.CurrentRoute.Points.Count); _navigationUi.TryAutoSaveNav(); } break; @@ -2513,10 +2373,7 @@ internal sealed class LegacyDashboardRenderer break; case "saveRoute": - if (!string.IsNullOrEmpty(_settings.CurrentNavPath)) - { - try { _settings.CurrentRoute.Save(_settings.CurrentNavPath); } catch { } - } + _host.WriteToChat(SaveRoute(string.IsNullOrWhiteSpace(cmd.NavName) ? null : cmd.NavName), 1); break; case "setRouteType": @@ -2544,7 +2401,7 @@ internal sealed class LegacyDashboardRenderer if (addMode == 0 || _settings.CurrentRoute.Points.Count == 0 || insertAt < 0) _settings.CurrentRoute.Points.Add(pt); else if (addMode == 1) - _settings.CurrentRoute.Points.Insert(insertAt, pt); + _settings.CurrentRoute.Points.Insert(Math.Min(insertAt, _settings.CurrentRoute.Points.Count), pt); else _settings.CurrentRoute.Points.Insert(Math.Min(insertAt + 1, _settings.CurrentRoute.Points.Count), pt); @@ -2559,7 +2416,7 @@ internal sealed class LegacyDashboardRenderer for (int i = 0; i < route.Points.Count; i++) { NavPoint point = route.Points[i]; - if (point.Type != NavPointType.Point) continue; + if (!NavRouteParser.IsPlainWaypoint(point.Type)) continue; double distance = Math.Sqrt(Math.Pow(point.NS - ns, 2) + Math.Pow(point.EW - ew, 2)); if (distance < bestDistance) { bestDistance = distance; best = i; } } @@ -2859,6 +2716,19 @@ internal sealed class LegacyDashboardRenderer private static readonly string MetaFolder = @"C:\Games\RynthSuite\RynthAi\MetaFiles"; + // Result of the last set_source, reported in BuildMetaJson (under MetaRulesLock). + private long _metaApplySeq; + private bool _metaApplyOk; + private string _metaApplyText = ""; + + private void ReportMetaApply(bool ok, string text) + { + _metaApplySeq++; + _metaApplyOk = ok; + _metaApplyText = text; + _host.WriteToChat("[RynthAi] " + text, 1); + } + public string BuildMetaJson() { // Avalonia dispatcher thread — MetaManager.Think enumerates MetaRules on @@ -2897,6 +2767,18 @@ internal sealed class LegacyDashboardRenderer try { sourceText = AfFileWriter.SaveToString(_settings.MetaRules, _settings.EmbeddedNavs); } catch { } AppendString(sb, "sourceText", sourceText); + // The last Source "Apply" (set_source): the engine shows this instead + // of assuming success. Seq 0 = nothing applied yet this session. + sb.Append(",\"applyResult\":{\"seq\":").Append(_metaApplySeq).Append(','); + AppendBool(sb, "ok", _metaApplyOk); sb.Append(','); + AppendString(sb, "text", _metaApplyText); + sb.Append('}'); + + // The Meta Manager's rules and timers (built on the plugin tick; see MetaScheduler). + string? schedule = ScheduleJsonProvider?.Invoke(); + if (!string.IsNullOrEmpty(schedule)) + sb.Append(",\"schedule\":").Append(schedule); + var snap = MetaSnapshotProvider?.Invoke(); if (snap != null) { @@ -3004,6 +2886,13 @@ internal sealed class LegacyDashboardRenderer var cmd = JsonSerializer.Deserialize(json, RynthAiJsonContext.Default.MetaCommand); if (cmd == null) return; + // The Meta Manager (schedule) owns its own state; not the meta's rules. + if (cmd.Op.StartsWith("mm_", System.StringComparison.Ordinal)) + { + ScheduleCommandHandler?.Invoke(cmd); + return; + } + // Avalonia dispatcher thread — every mutating case races // MetaManager.Think on the plugin-tick thread. lock (_settings.MetaRulesLock) @@ -3047,32 +2936,34 @@ internal sealed class LegacyDashboardRenderer break; case "set_source": - if (!string.IsNullOrEmpty(cmd.Text)) + if (string.IsNullOrEmpty(cmd.Text)) { - try + ReportMetaApply(false, "Source not applied: the source is empty"); + break; + } + try + { + var loaded = AfFileParser.LoadFromText(cmd.Text); + string w = loaded.Warnings.Count > 0 + ? $" — {loaded.Warnings.Count} warning(s): {loaded.Warnings[0]}" : ""; + if (loaded.Rules.Count > 0) { - var loaded = AfFileParser.LoadFromText(cmd.Text); - string w = loaded.Warnings.Count > 0 - ? $" — {loaded.Warnings.Count} warning(s): {loaded.Warnings[0]}" : ""; - if (loaded.Rules.Count > 0) - { - _settings.MetaRules = loaded.Rules; - _settings.EmbeddedNavs.Clear(); - foreach (var kvp in loaded.EmbeddedNavs) _settings.EmbeddedNavs[kvp.Key] = kvp.Value; - _settings.ForceStateReset = true; - TryAutoSaveMetaCmd(); - _host.WriteToChat($"[RynthAi] Applied source: {loaded.Rules.Count} rules{w}", 1); - } - else - { - _host.WriteToChat($"[RynthAi] Source not applied: 0 rules parsed{(w.Length > 0 ? w : " — check syntax")}", 1); - } + _settings.MetaRules = loaded.Rules; + _settings.EmbeddedNavs.Clear(); + foreach (var kvp in loaded.EmbeddedNavs) _settings.EmbeddedNavs[kvp.Key] = kvp.Value; + _settings.ForceStateReset = true; + TryAutoSaveMetaCmd(); + ReportMetaApply(true, $"Applied source: {loaded.Rules.Count} rules{w}"); } - catch (System.Exception ex) + else { - _host.WriteToChat($"[RynthAi] Source apply error: {ex.Message}", 1); + ReportMetaApply(false, $"Source not applied: 0 rules parsed{(w.Length > 0 ? w : " — check syntax")}"); } } + catch (System.Exception ex) + { + ReportMetaApply(false, $"Source apply error: {ex.Message}"); + } break; case "add_rule": @@ -3100,22 +2991,19 @@ internal sealed class LegacyDashboardRenderer break; case "move_up": - if (cmd.Index > 0 && cmd.Index < _settings.MetaRules.Count) - { - var tmp = _settings.MetaRules[cmd.Index - 1]; - _settings.MetaRules[cmd.Index - 1] = _settings.MetaRules[cmd.Index]; - _settings.MetaRules[cmd.Index] = tmp; - TryAutoSaveMetaCmd(); - } - break; - case "move_down": - if (cmd.Index >= 0 && cmd.Index < _settings.MetaRules.Count - 1) + // Within the rule's state: the panels list rules grouped by + // state, so "up" is the previous rule of the SAME state, not + // the previous list entry (which may belong to another state). { - var tmp = _settings.MetaRules[cmd.Index + 1]; - _settings.MetaRules[cmd.Index + 1] = _settings.MetaRules[cmd.Index]; - _settings.MetaRules[cmd.Index] = tmp; - TryAutoSaveMetaCmd(); + int other = SameStateNeighbour(cmd.Index, cmd.Op == "move_up" ? -1 : 1); + if (other >= 0) + { + var tmp = _settings.MetaRules[other]; + _settings.MetaRules[other] = _settings.MetaRules[cmd.Index]; + _settings.MetaRules[cmd.Index] = tmp; + TryAutoSaveMetaCmd(); + } } break; @@ -3140,6 +3028,18 @@ internal sealed class LegacyDashboardRenderer catch { } } + /// The nearest rule before (-1) or after (+1) in the same state, or -1. + private int SameStateNeighbour(int index, int direction) + { + var rules = _settings.MetaRules; + if (index < 0 || index >= rules.Count) return -1; + string state = rules[index].State ?? "Default"; + for (int j = index + direction; j >= 0 && j < rules.Count; j += direction) + if (string.Equals(rules[j].State ?? "Default", state, System.StringComparison.Ordinal)) + return j; + return -1; + } + private void TryAutoSaveMetaCmd() { _settings.MetaRulesStructuralVersion++; // editor mutation → rebuild meta index diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMetaUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMetaUi.cs index 4c883aa..8360a03 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMetaUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMetaUi.cs @@ -324,6 +324,8 @@ internal sealed class LegacyMetaUi ConditionData = rule.ConditionData, Action = rule.Action, ActionData = rule.ActionData, + CallReturnState = rule.CallReturnState, + ChatColors = rule.ChatColors, Children = CloneChildren(rule.Children), ActionChildren = CloneChildren(rule.ActionChildren) }; @@ -413,7 +415,9 @@ internal sealed class LegacyMetaUi { if (ImGui.Selectable(state, _settings.CurrentState == state)) { - if (_settings.CurrentState == state) _settings.ForceStateReset = true; + // Always a fresh entry (like SetState): the seconds-in-state timer + // and the old state's watchdog must not carry over to the new state. + _settings.ForceStateReset = true; _settings.CurrentState = state; } } @@ -436,6 +440,7 @@ internal sealed class LegacyMetaUi if (!string.IsNullOrWhiteSpace(_newStateName)) { _settings.CurrentState = _newStateName; + _settings.ForceStateReset = true; _newStateName = ""; } ImGui.CloseCurrentPopup(); @@ -1015,6 +1020,8 @@ internal sealed class LegacyMetaUi ConditionData = r.ConditionData, Action = r.Action, ActionData = r.ActionData, + CallReturnState = r.CallReturnState, + ChatColors = r.ChatColors, Children = CloneChildren(r.Children), ActionChildren = CloneChildren(r.ActionChildren) }); @@ -1130,7 +1137,8 @@ internal sealed class LegacyMetaUi } } - internal void LoadMacroFile(string filePath) + /// Loads a .met/.af (empty path clears). False when nothing was loaded; says why. + internal bool LoadMacroFile(string filePath) { if (string.IsNullOrEmpty(filePath)) { @@ -1144,7 +1152,7 @@ internal sealed class LegacyMetaUi _settings.ForceStateReset = true; _statusMessage = "Macro cleared."; _statusTime = DateTime.Now; - return; + return true; } try @@ -1160,7 +1168,7 @@ internal sealed class LegacyMetaUi { _statusMessage = "Unsupported file type"; _statusTime = DateTime.Now; - return; + return false; } LastLoadWarnings = loaded.Warnings; @@ -1170,7 +1178,7 @@ internal sealed class LegacyMetaUi ? $"No rules parsed — {loaded.Warnings.Count} warning(s): {loaded.Warnings[0]}" : "No rules found (profile?)"; _statusTime = DateTime.Now; - return; + return false; } lock (_settings.MetaRulesLock) @@ -1180,8 +1188,9 @@ internal sealed class LegacyMetaUi foreach (var kvp in loaded.EmbeddedNavs) _settings.EmbeddedNavs[kvp.Key] = kvp.Value; } - _settings.CurrentState = loaded.Rules[0].State; + _settings.CurrentState = loaded.StartState; _settings.ForceStateReset = true; + _settings.MetaCallStackReset = true; _settings.CurrentMetaPath = filePath; string name = Path.GetFileNameWithoutExtension(filePath); @@ -1190,14 +1199,20 @@ internal sealed class LegacyMetaUi ? $"Loaded {loaded.Rules.Count} rules / {stateCount} states / {loaded.EmbeddedNavs.Count} navs from {name}" : $"Loaded {loaded.Rules.Count} rules / {stateCount} states from {name} — {loaded.Warnings.Count} warning(s): {loaded.Warnings[0]}"; _statusTime = DateTime.Now; + return true; } catch (Exception ex) { _statusMessage = $"Load error: {ex.Message}"; _statusTime = DateTime.Now; + return false; } } + /// The status line of the last load (why it failed, or what it loaded). + internal string LastLoadStatus => _statusMessage ?? string.Empty; + + private void TryAutoSaveMeta() { _settings.MetaRulesStructuralVersion++; // editor mutation → rebuild meta index diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMonstersUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMonstersUi.cs deleted file mode 100644 index a9c1808..0000000 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyMonstersUi.cs +++ /dev/null @@ -1,460 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; -using ImGuiNET; -using RynthCore.PluginSdk; -using RynthCore.Plugin.RynthAi.CreatureData; - -namespace RynthCore.Plugin.RynthAi.LegacyUi; - -internal sealed class LegacyMonstersUi -{ - private readonly LegacyUiSettings _settings; - private readonly RynthCoreHost _host; - private readonly Action _onMonstersChanged; - private readonly Action _onLaunchExternalEditor; - private readonly Func<(uint Id, string Name)?> _getCurrentTarget; - - /// Set by the dashboard so we can show captured stats per monster row. - public Func? CreatureLookup { get; set; } - - private string _newMonsterName = string.Empty; - private string _newMonsterCategory = string.Empty; - private readonly Dictionary _categoryExpanded = new(StringComparer.OrdinalIgnoreCase); - - // Expression popup state - private int _exprEditIndex = -1; - private string _exprEditBuffer = string.Empty; - - // Category rename popup state - private string _catRenameFrom = string.Empty; - private string _catRenameBuffer = string.Empty; - - private static readonly string[] Elements = - { "Slash", "Pierce", "Bludgeon", "Fire", "Cold", "Lightning", "Acid", "Nether" }; - - private static readonly uint OnColor = ImGui.ColorConvertFloat4ToU32(new Vector4(0.2f, 1.0f, 0.2f, 1.0f)); - private static readonly uint OffColor = ImGui.ColorConvertFloat4ToU32(new Vector4(0.3f, 0.3f, 0.3f, 1.0f)); - private static readonly uint ExprOnColor = ImGui.ColorConvertFloat4ToU32(new Vector4(0.2f, 0.85f, 0.4f, 1.0f)); - private static readonly uint CatHeaderBg = ImGui.ColorConvertFloat4ToU32(new Vector4(0.10f, 0.18f, 0.26f, 1.0f)); - - public LegacyMonstersUi( - LegacyUiSettings settings, - RynthCoreHost host, - Action onMonstersChanged, - Action onLaunchExternalEditor, - Func<(uint Id, string Name)?> getCurrentTarget) - { - _settings = settings; - _host = host; - _onMonstersChanged = onMonstersChanged; - _onLaunchExternalEditor = onLaunchExternalEditor; - _getCurrentTarget = getCurrentTarget; - } - - public void Render() - { - if (!DashWindows.ShowMonsters) return; - - ImGui.SetNextWindowSize(new Vector2(860, 480), ImGuiCond.FirstUseEver); - if (!ImGui.Begin("Monsters##RynthAiMonsters", ref DashWindows.ShowMonsters)) - { - ImGui.End(); - return; - } - - if (ImGui.Button("External Editor", new Vector2(130, 24))) - _onLaunchExternalEditor(); - ImGui.SameLine(); - ImGui.TextDisabled("(opens standalone Avalonia editor)"); - - ImGui.Separator(); - - DrawTable(); - - ImGui.Separator(); - DrawAddRow(); - - ImGui.End(); - } - - private void DrawTable() - { - // 19 columns: 10 toggles + Name + P + DmgType + ExVuln + Weapon + Offhand + PetDmg + [E] + Del - if (!ImGui.BeginTable( - "MonstersGrid", 19, - ImGuiTableFlags.NoSavedSettings | ImGuiTableFlags.Borders | - ImGuiTableFlags.RowBg | ImGuiTableFlags.ScrollY, - new Vector2(0, 330))) - return; - - ImGui.TableSetupColumn("F", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("B", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("G", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("I", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("Y", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("V", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("A", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("Bl", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("R", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("S", ImGuiTableColumnFlags.WidthFixed, 15); - ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("P", ImGuiTableColumnFlags.WidthFixed, 30); - ImGui.TableSetupColumn("Dmg type", ImGuiTableColumnFlags.WidthFixed, 80); - ImGui.TableSetupColumn("Ex Vuln", ImGuiTableColumnFlags.WidthFixed, 80); - ImGui.TableSetupColumn("Weapon", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Offhand", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("PetDmg", ImGuiTableColumnFlags.WidthFixed, 70); - ImGui.TableSetupColumn("[E]", ImGuiTableColumnFlags.WidthFixed, 26); - ImGui.TableSetupColumn("Del", ImGuiTableColumnFlags.WidthFixed, 26); - ImGui.TableHeadersRow(); - - int deleteIndex = -1; - string? currentCat = null; - bool currentCatOpen = true; - - for (int i = 0; i < _settings.MonsterRules.Count; i++) - { - var rule = _settings.MonsterRules[i]; - bool isDefault = rule.Name.Equals("Default", StringComparison.OrdinalIgnoreCase); - string cat = string.IsNullOrEmpty(rule.Category) ? "Default" : rule.Category; - - // Category header row - if (!string.Equals(cat, currentCat, StringComparison.OrdinalIgnoreCase)) - { - currentCat = cat; - if (!_categoryExpanded.ContainsKey(cat)) - _categoryExpanded[cat] = true; - currentCatOpen = _categoryExpanded[cat]; - - ImGui.TableNextRow(); - ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg0, CatHeaderBg); - ImGui.TableSetBgColor(ImGuiTableBgTarget.RowBg1, CatHeaderBg); - - ImGui.TableNextColumn(); // col 0: expand toggle - string arrow = currentCatOpen ? "v" : ">"; - ImGui.PushStyleColor(ImGuiCol.Button, Vector4.Zero); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, new Vector4(1,1,1,0.1f)); - if (ImGui.SmallButton($"{arrow}##cat_{cat}")) - { - currentCatOpen = !currentCatOpen; - _categoryExpanded[cat] = currentCatOpen; - } - ImGui.PopStyleColor(2); - - // Name col: category label + right-click rename - ImGui.TableSetColumnIndex(10); - ImGui.TextColored(new Vector4(0.9f, 0.7f, 0.2f, 1f), cat); - if (ImGui.IsItemHovered()) ImGui.SetTooltip("Right-click to rename category"); - if (ImGui.BeginPopupContextItem($"catctx_{cat}")) - { - ImGui.Text("Rename category:"); - if (_catRenameFrom != cat) - { - _catRenameFrom = cat; - _catRenameBuffer = cat; - } - ImGui.SetNextItemWidth(180); - ImGui.InputText("##catren", ref _catRenameBuffer, 64); - if (ImGui.Button("Apply") && !string.IsNullOrWhiteSpace(_catRenameBuffer)) - { - string newName = _catRenameBuffer.Trim(); - foreach (var r in _settings.MonsterRules) - if (string.Equals(r.Category, cat, StringComparison.OrdinalIgnoreCase)) - r.Category = newName; - if (_categoryExpanded.TryGetValue(cat, out bool v)) - { - _categoryExpanded.Remove(cat); - _categoryExpanded[newName] = v; - } - _onMonstersChanged(); - ImGui.CloseCurrentPopup(); - } - ImGui.EndPopup(); - } - } - - if (!currentCatOpen) continue; - - ImGui.TableNextRow(); - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##F{i}", rule.Fester, OnColor, OffColor, "F: Fester (Decrepitude's Grasp / Fester Other I-VIII)")) - { rule.Fester = !rule.Fester; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##B{i}", rule.Broadside, OnColor, OffColor, "B: Broadside (Broadside of a Barn / Missile Weapons Ineptitude I-VIII)")) - { rule.Broadside = !rule.Broadside; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##G{i}", rule.GravityWell, OnColor, OffColor, "G: Gravity Well (Vulnerability Other I-VIII)")) - { rule.GravityWell = !rule.GravityWell; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##I{i}", rule.Imperil, OnColor, OffColor, "I: Imperil (Gossamer Flesh / Imperil Other I-VIII)")) - { rule.Imperil = !rule.Imperil; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##Y{i}", rule.Yield, OnColor, OffColor, "Y: Yield (Magic Yield Other I-VIII)")) - { rule.Yield = !rule.Yield; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##V{i}", rule.Vuln, OnColor, OffColor, "V: Vulnerability (element-matched)")) - { rule.Vuln = !rule.Vuln; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##A{i}", rule.UseArc, OnColor, OffColor, "A: Arc spells\nFor Melee/Missile: Attack toggle")) - { rule.UseArc = !rule.UseArc; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##Bl{i}", rule.UseBolt, OnColor, OffColor, "Bl: Bolt spells (default)\nIf none of A/Bl/R/S = no attack (buff bot)")) - { rule.UseBolt = !rule.UseBolt; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##R{i}", rule.UseRing, OnColor, OffColor, "R: Ring spells")) - { rule.UseRing = !rule.UseRing; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - if (DrawToggleLight($"##S{i}", rule.UseStreak, OnColor, OffColor, "S: Streak spells")) - { rule.UseStreak = !rule.UseStreak; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - CreatureProfile? profile = CreatureLookup?.Invoke(rule.Name); - if (isDefault) ImGui.TextColored(new Vector4(1, 1, 0, 1), rule.Name); - else if (profile != null) ImGui.TextColored(new Vector4(0.55f, 0.95f, 0.65f, 1f), rule.Name); - else ImGui.TextUnformatted(rule.Name); - if (profile != null && ImGui.IsItemHovered()) - ImGui.SetTooltip(BuildProfileTooltip(profile)); - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - int pr = rule.Priority; - if (ImGui.InputInt($"##P{i}", ref pr, 0)) { rule.Priority = pr; _onMonstersChanged(); } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - if (ImGui.BeginCombo($"##Dmg{i}", rule.DamageType, ImGuiComboFlags.NoArrowButton)) - { - if (ImGui.Selectable("Auto", rule.DamageType == "Auto")) { rule.DamageType = "Auto"; _onMonstersChanged(); } - foreach (var el in Elements) - if (ImGui.Selectable(el + $"##d{i}", rule.DamageType == el)) { rule.DamageType = el; _onMonstersChanged(); } - ImGui.EndCombo(); - } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - if (ImGui.BeginCombo($"##Vuln{i}", rule.ExVuln, ImGuiComboFlags.NoArrowButton)) - { - if (ImGui.Selectable("None", rule.ExVuln == "None")) { rule.ExVuln = "None"; _onMonstersChanged(); } - foreach (var el in Elements) - if (ImGui.Selectable(el + $"##v{i}", rule.ExVuln == el)) { rule.ExVuln = el; _onMonstersChanged(); } - ImGui.EndCombo(); - } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - string wepLabel = ""; - if (rule.WeaponId != 0) { var w = _settings.ItemRules.FirstOrDefault(x => x.Id == rule.WeaponId); if (w != null) wepLabel = w.Name; } - if (ImGui.BeginCombo($"##Wep{i}", wepLabel, ImGuiComboFlags.NoArrowButton)) - { - if (ImGui.Selectable("", rule.WeaponId == 0)) { rule.WeaponId = 0; _onMonstersChanged(); } - foreach (var item in _settings.ItemRules) - if (ImGui.Selectable(item.Name + $"##wep{i}_{item.Id}", rule.WeaponId == item.Id)) { rule.WeaponId = item.Id; _onMonstersChanged(); } - ImGui.EndCombo(); - } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - string offLabel = ""; - if (rule.OffhandId != 0) { var o = _settings.ItemRules.FirstOrDefault(x => x.Id == rule.OffhandId); if (o != null) offLabel = o.Name; } - if (ImGui.BeginCombo($"##Off{i}", offLabel, ImGuiComboFlags.NoArrowButton)) - { - if (ImGui.Selectable("", rule.OffhandId == 0)) { rule.OffhandId = 0; _onMonstersChanged(); } - foreach (var item in _settings.ItemRules) - if (ImGui.Selectable(item.Name + $"##off{i}_{item.Id}", rule.OffhandId == item.Id)) { rule.OffhandId = item.Id; _onMonstersChanged(); } - ImGui.EndCombo(); - } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - if (ImGui.BeginCombo($"##PetDmg{i}", rule.PetDamage, ImGuiComboFlags.NoArrowButton)) - { - if (ImGui.Selectable("PAuto", rule.PetDamage == "PAuto")) { rule.PetDamage = "PAuto"; _onMonstersChanged(); } - foreach (var el in Elements) - if (ImGui.Selectable(el + $"##p{i}", rule.PetDamage == el)) { rule.PetDamage = el; _onMonstersChanged(); } - ImGui.EndCombo(); - } - - // [E] expression button - ImGui.TableNextColumn(); - bool hasExpr = !string.IsNullOrWhiteSpace(rule.MatchExpression); - if (hasExpr) ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0.1f, 0.5f, 0.2f, 1f)); - if (ImGui.SmallButton($"E##e{i}")) - { - _exprEditIndex = i; - _exprEditBuffer = rule.MatchExpression ?? ""; - ImGui.OpenPopup($"ExprEdit{i}"); - } - if (hasExpr) - { - ImGui.PopStyleColor(); - if (ImGui.IsItemHovered()) ImGui.SetTooltip($"Expression: {rule.MatchExpression}"); - } - else if (ImGui.IsItemHovered()) - { - ImGui.SetTooltip( - "Set a match expression.\n" + - "Examples:\n" + - " range>5\n" + - " range>5 && name==drudge ravener\n" + - " metastate==combat\n" + - "Variables: name, range, typeid, maxhp, metastate, true, false"); - } - - // Expression edit popup (rendered outside table to avoid clipping) - if (ImGui.BeginPopup($"ExprEdit{i}")) - { - ImGui.Text($"Expression for: {rule.Name}"); - ImGui.TextColored(new Vector4(0.6f, 0.8f, 1f, 1f), - "Variables: name, range, typeid, maxhp, metastate, true, false"); - ImGui.SetNextItemWidth(360); - ImGui.InputText("##exprval", ref _exprEditBuffer, 256); - if (ImGui.Button("Apply", new Vector2(80, 22))) - { - rule.MatchExpression = _exprEditBuffer.Trim(); - _onMonstersChanged(); - ImGui.CloseCurrentPopup(); - } - ImGui.SameLine(); - if (ImGui.Button("Clear", new Vector2(80, 22))) - { - rule.MatchExpression = ""; - _exprEditBuffer = ""; - _onMonstersChanged(); - ImGui.CloseCurrentPopup(); - } - ImGui.EndPopup(); - } - - // Del - ImGui.TableNextColumn(); - if (isDefault) - { - ImGui.TextDisabled("-"); - } - else - { - if (ImGui.SmallButton($"X##del{i}")) - deleteIndex = i; - } - } - - ImGui.EndTable(); - - if (deleteIndex >= 0 && deleteIndex < _settings.MonsterRules.Count) - { - _settings.MonsterRules.RemoveAt(deleteIndex); - _onMonstersChanged(); - } - } - - private void DrawAddRow() - { - if (!ImGui.BeginTable("AddTable", 4)) - return; - - ImGui.TableSetupColumn("NameIn", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("CatIn", ImGuiTableColumnFlags.WidthFixed, 100); - ImGui.TableSetupColumn("AddBtn", ImGuiTableColumnFlags.WidthFixed, 60); - ImGui.TableSetupColumn("AddSelBtn", ImGuiTableColumnFlags.WidthFixed, 80); - ImGui.TableNextRow(); - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - ImGui.InputTextWithHint("##NewMonName", "Monster name...", ref _newMonsterName, 64); - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - ImGui.InputTextWithHint("##NewMonCat", "Category...", ref _newMonsterCategory, 64); - - ImGui.TableNextColumn(); - if (ImGui.Button("Add", new Vector2(60, 22))) - TryAddMonster(_newMonsterName, _newMonsterCategory); - - ImGui.TableNextColumn(); - if (ImGui.Button("Add Sel", new Vector2(80, 22))) - { - var target = _getCurrentTarget(); - if (target.HasValue && !string.IsNullOrWhiteSpace(target.Value.Name)) - TryAddMonster(target.Value.Name, _newMonsterCategory); - } - - ImGui.EndTable(); - } - - private void TryAddMonster(string name, string category) - { - if (string.IsNullOrWhiteSpace(name)) return; - if (_settings.MonsterRules.Any(m => m.Name.Equals(name, StringComparison.OrdinalIgnoreCase))) return; - _settings.MonsterRules.Add(new MonsterRule - { - Name = name.Trim(), - Category = category.Trim(), - DamageType = "Auto", - WeaponId = 0, - }); - _newMonsterName = string.Empty; - _onMonstersChanged(); - } - - private static string BuildProfileTooltip(CreatureProfile p) - { - var sb = new System.Text.StringBuilder(); - sb.Append("Captured: ").Append(p.Name); - if (p.Wcid != 0) sb.Append(" (wcid ").Append(p.Wcid).Append(')'); - sb.Append('\n'); - - if (p.MaxHealth > 0) sb.Append("HP: ").Append(p.MaxHealth).Append('\n'); - if (p.MaxStamina > 0) sb.Append("Stam: ").Append(p.MaxStamina).Append('\n'); - if (p.MaxMana > 0) sb.Append("Mana: ").Append(p.MaxMana).Append('\n'); - if (p.ArmorLevel > 0) sb.Append("Armor: ").Append(p.ArmorLevel).Append('\n'); - - var (weakType, weakVal) = CreatureProfileStore.GetWeakest(p); - if (weakVal < 1.0) - sb.Append("Weak: ").Append(weakType).Append(" (").Append(weakVal.ToString("0.00")).Append(")\n"); - - sb.Append("Resists: ") - .Append("Sl ").Append(p.ResistSlash.ToString("0.00")).Append(" ") - .Append("Pi ").Append(p.ResistPierce.ToString("0.00")).Append(" ") - .Append("Bl ").Append(p.ResistBludgeon.ToString("0.00")).Append('\n') - .Append(" ") - .Append("Fi ").Append(p.ResistFire.ToString("0.00")).Append(" ") - .Append("Co ").Append(p.ResistCold.ToString("0.00")).Append(" ") - .Append("Ac ").Append(p.ResistAcid.ToString("0.00")).Append(" ") - .Append("El ").Append(p.ResistElectric.ToString("0.00")).Append('\n'); - - if (p.KnownSpellIds.Count > 0) - sb.Append("Spells observed: ").Append(p.KnownSpellIds.Count).Append('\n'); - - sb.Append("Samples: ").Append(p.Samples); - if (!string.IsNullOrEmpty(p.LastSeen)) - sb.Append(" (last: ").Append(p.LastSeen).Append(')'); - - return sb.ToString(); - } - - private static bool DrawToggleLight(string id, bool isOn, uint onColor, uint offColor, string? tooltip = null) - { - Vector2 pos = ImGui.GetCursorScreenPos(); - ImGui.GetWindowDrawList().AddRectFilled( - pos + new Vector2(2, 2), - pos + new Vector2(12, 12), - isOn ? onColor : offColor, - 10.0f); - ImGui.InvisibleButton(id, new Vector2(14, 14)); - if (tooltip != null && ImGui.IsItemHovered()) - ImGui.SetTooltip(tooltip); - return ImGui.IsItemClicked(); - } -} diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyNavigationUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyNavigationUi.cs index e185f1a..f78a732 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyNavigationUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyNavigationUi.cs @@ -108,7 +108,7 @@ internal sealed class LegacyNavigationUi { NS = ns, EW = ew, - Z = z + Z = z / 240.0 }; InsertPoint(newPt); } @@ -154,7 +154,7 @@ internal sealed class LegacyNavigationUi Type = NavPointType.Recall, NS = ns, EW = ew, - Z = z, + Z = z / 240.0, SpellId = ids[ri] }; InsertPoint(newPt); @@ -179,18 +179,8 @@ internal sealed class LegacyNavigationUi ImGui.SameLine(); if (ImGui.Button("Save Route", new Vector2(100, 25))) { - if (!string.IsNullOrEmpty(_settings.CurrentNavPath)) - { - try - { - _settings.CurrentRoute.Save(_settings.CurrentNavPath); - _host.Log("Route saved."); - } - catch (Exception ex) - { - _host.Log($"Failed to save route: {ex.Message}"); - } - } + _host.WriteToChat(SaveRoute(), 1); + OnSettingsChanged?.Invoke(); } if (ImGui.BeginListBox("##RoutePoints", new Vector2(-1, 200))) @@ -207,8 +197,7 @@ internal sealed class LegacyNavigationUi if (_selectedRouteIndex == i) _selectedRouteIndex = -1; else if (_selectedRouteIndex > i) _selectedRouteIndex--; - if (_settings.ActiveNavIndex == i) _settings.ActiveNavIndex = 0; - else if (_settings.ActiveNavIndex > i) _settings.ActiveNavIndex--; + _settings.ActiveNavIndex = IndexAfterDelete(_settings.ActiveNavIndex, i, _settings.CurrentRoute.Points.Count); TryAutoSaveNav(); UpdateRouteGraphics(); @@ -241,6 +230,11 @@ internal sealed class LegacyNavigationUi public void InsertPoint(NavPoint newPt) { + // The selection is a row of whatever route was showing when it was clicked; a + // meta or /ra nav load since then can have swapped in a shorter one, and + // Insert past the end threw in the middle of the window. + if (_selectedRouteIndex >= _settings.CurrentRoute.Points.Count) _selectedRouteIndex = -1; + if (_addModeIdx == 0 || _settings.CurrentRoute.Points.Count == 0) _settings.CurrentRoute.Points.Add(newPt); else if (_addModeIdx == 1 && _selectedRouteIndex >= 0) @@ -255,12 +249,86 @@ internal sealed class LegacyNavigationUi OnSettingsChanged?.Invoke(); } + /// + /// The active waypoint after deleting waypoint (the route now + /// has points). Deleting the active one moves on to the one + /// that followed it; this used to jump back to [0], which on a Once route re-ran its + /// opening recall/portal and could walk the bot back across the map. + /// + internal static int IndexAfterDelete(int active, int deleted, int newCount) + { + if (newCount <= 0) return 0; + if (active > deleted) active--; + return Math.Clamp(active, 0, newCount - 1); + } + + public const string NavFolder = @"C:\Games\RynthSuite\RynthAi\NavProfiles"; + public void TryAutoSaveNav() { - if (!string.IsNullOrEmpty(_settings.CurrentNavPath)) + string path = _settings.CurrentNavPath; + if (string.IsNullOrEmpty(path)) return; + try { - try { _settings.CurrentRoute.Save(_settings.CurrentNavPath); } catch { } + if (TryGetEmbeddedKey(path, out string key)) + _settings.EmbeddedNavs[key] = _settings.CurrentRoute.ToLines(); + else + _settings.CurrentRoute.Save(path); } + catch (Exception ex) { _host.Log($"[RynthAi] Nav auto-save to {path} failed: {ex.Message}"); } + } + + /// + /// Saves the current route and returns the line to show in chat. With a name it + /// writes NavProfiles\<name>.nav and makes that the current nav. Without one it + /// writes the current nav file; a nav from the loaded meta is updated in the meta + /// (saving the meta keeps it); a route never saved gets a new "Route N" file. + /// These used to do nothing: the button only wrote to an existing file, and a + /// meta's nav path ("<embedded:name>") failed without a word. + /// + public string SaveRoute(string? name = null) + { + NavRouteParser route = _settings.CurrentRoute; + string path = _settings.CurrentNavPath ?? string.Empty; + try + { + if (!string.IsNullOrWhiteSpace(name)) + { + string file = name.Trim(); + if (file.EndsWith(".nav", StringComparison.OrdinalIgnoreCase)) file = file[..^4].TrimEnd(); + if (file.Length == 0 || file.IndexOfAny(Path.GetInvalidFileNameChars()) >= 0) + return $"[RynthAi] '{name}' can't be used as a file name."; + path = Path.Combine(NavFolder, file + ".nav"); + } + else if (TryGetEmbeddedKey(path, out string key)) + { + _settings.EmbeddedNavs[key] = route.ToLines(); + return $"[RynthAi] '{key}' is a nav inside the loaded meta; updated it there ({route.Points.Count} waypoints). Save the meta to keep it, or /ra nav save for a separate file."; + } + else if (path.Length == 0) + { + if (route.Points.Count == 0) return "[RynthAi] No waypoints to save."; + int n = 1; + do path = Path.Combine(NavFolder, $"Route {n++}.nav"); while (File.Exists(path)); + } + + route.Save(path); + _settings.CurrentNavPath = path; + return $"[RynthAi] Saved {route.Points.Count} waypoints to {Path.GetFileName(path)}."; + } + catch (Exception ex) + { + _host.Log($"[RynthAi] Nav save to {path} failed: {ex}"); + return $"[RynthAi] Nav save failed: {ex.Message}"; + } + } + + private static bool TryGetEmbeddedKey(string path, out string key) + { + key = string.Empty; + if (!path.StartsWith("')) return false; + key = path.Substring(10, path.Length - 11); + return key.Length > 0; } public void UpdateRouteGraphics() diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyUiSettings.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyUiSettings.cs index a15912c..218aebf 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyUiSettings.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyUiSettings.cs @@ -44,6 +44,11 @@ public sealed class LegacyUiSettings public float NavTurnRateDegPerSec = 270f; // mode 0 (heading servo) max turn rate public float NavTier1TurnSpeed = 3.0f; // mode 1 (CM_Movement) DoMovement turn-command speed (magnitude of CMotionInterp turn_speed; 1.0 = native keyboard rate) public float PostPortalDelaySec = 4.0f; + // Route recovery (NavigationEngine detours): when stuck after the jump fails, or when nav + // itself wanders off the route, plan a way back with the dungeon map / RynthNav navmesh. + public bool NavRecoveryEnabled = true; + public float NavOffTrackYards = 170f; // off track beyond this (never below 160: metas pull the bot up to ~159 yd away) + public int NavMaxDetourAttempts = 3; // detours per waypoint before falling back to the escape ladder alone public float T2Speed = 1.0f; public float T2DistanceTo = 0.5f; public float T2ReissueMs = 2000f; @@ -62,6 +67,10 @@ public sealed class LegacyUiSettings public bool EnableAutostack = true; public bool EnableAutocram = true; + // VTank's ReadUnknownScrolls (default on): loot scrolls of spells the character doesn't + // know and can learn (school trained or specialized, ACE's skill rule), then read them + // at a safe moment; scrolls already in the pack too. Needs looting on for corpses. + public bool ReadUnknownScrolls = true; public bool EnableCombineSalvage = true; public bool CombineBagsDuringSalvage = true; @@ -94,6 +103,29 @@ public sealed class LegacyUiSettings public bool MChargesWhenOff; public int HealAt = 60; + // Vitals consumables and safety stops (2026-09-28). Stops are options: most + // metas handle a death themselves (run back), so the macro keeps going unless asked. + public bool UsePotions = true; + // Unlimited buff gems (Asheron's Benediction, Blackmoor's Favor) and field rations (2026-09-29). + public bool UseBuffItems = true; + public int MakeRationsBelow = 5; // 0 = don't cook field rations + public bool UseKitsInMagicMode = true; + public bool PeaceModeForKits = false; + // Use a healing/stamina kit only when its success chance (ACE's own skill check) is at + // least this %, else cast the spell instead, as VTank does. 0 = always use kits. + public int KitMinSuccessPct = 70; + // Emergency heal: at or under this health %, a healing kit (out of Magic mode, ahead of Heal + // At's chain) and, while a cast is pending, a kit or potion. 0 = off. + public int EmergencyHealAt = 30; + // Stamina to Health Self: cast at or under this health % ahead of Heal At's chain, when + // stamina is over StaminaToHealthMinStamina %. 0 = never cast it. Both default to the + // values that were hard-wired to Emergency Heal At before (30 / 20). + public int StaminaToHealthAt = 30; + public int StaminaToHealthMinStamina = 20; + public bool StopMacroOnDeath = false; + public bool StopMacroOnNoComponents = false; + public bool StopLootingWhenPackFull = true; + public bool StopMacroWhenPackFull = false; public int RestamAt = 30; public int GetManaAt = 40; public int TopOffHP = 95; @@ -113,11 +145,19 @@ public sealed class LegacyUiSettings public int RingRange = 5; public int ApproachRange = 4; public int MinRingTargets = 4; + // Blast like a ring: with BlastRange > 0, a rule with Blast on casts a blast only when + // MinBlastTargets monsters are within BlastRange in the blast's fan (3 projectiles over 90 + // degrees) toward the target; otherwise its other shape. 0 = off: Blast is just a shape. + public int BlastRange = 0; + public int MinBlastTargets = 3; + // Nav point reach (VTank "Follow/Nav Min Distance"), yards: how close nav gets to each + // nav point before moving on to the next, and how close Follow gets to its leader. + // Metas set it as FollowNavMin (yards) or VTank's NavCloseStopRange (landblock units, + // x240 = yards; the same VTank setting). Settings ▸ Navigation and the Nav panel show it. public float FollowNavMin = 1.5f; - // VTank navclosestoprange: stop this many LANDBLOCK FRACTIONS short of a finite - // (Once) route's final point (×240 = yards; 0.00625 ≈ 1.5yd). 0 = off. Runtime- - // set by migrated metas; not persisted. - public float NavCloseStopRange = 0f; + public const float FollowNavMinLowest = 0.5f, FollowNavMinHighest = 20f; + public static float ClampFollowNavMin(float yards) => + float.IsNaN(yards) ? 1.5f : Math.Clamp(yards, FollowNavMinLowest, FollowNavMinHighest); public float NavRingThickness = 6.0f; public float NavLineThickness = 6.0f; public float NavHeightOffset = 0.05f; @@ -159,6 +199,12 @@ public sealed class LegacyUiSettings public int RebuffTopOffSecondsRemaining = 1200; public bool StartMacroOnLogin; public bool PatrolOnLogin; + /// + /// Decal bridge only: when VTank's macro starts, RynthAi's macro stops, and it won't start + /// while VTank runs (one bot per client). On by default; a profile saved before this + /// setting existed loads it as on. Without Decal it does nothing. + /// + public bool YieldToVTank = true; public int BlacklistAttempts = 3; public int BlacklistTimeoutSec = 30; @@ -222,6 +268,22 @@ public sealed class LegacyUiSettings /// public bool UseNativeAttack = false; public bool UseRecklessness; + /// + /// Combat and buffing only ever wield weapons from the Items list. With this on (the + /// default), a character whose Items list has no wand at all may still buff and cast with a + /// caster from its pack (by object class, never by name). Any listed wand turns it off. + /// + public bool WieldUnlistedWandWhenNoneListed = true; + /// + /// The off hand (the Shield slot) when the monster rule doesn't choose one: "Auto" (a listed + /// shield with a one-handed melee weapon), "Shield", "Weapon" (dual wield a second listed + /// one-handed weapon; needs the Dual Wield skill) or "None" (never touched). A rule chooses + /// with MonsterRule.OffhandId (OffhandRules.RuleAuto..RuleNone). See OffhandPlanner. + /// + public string OffhandDefault = "Auto"; + /// Auto: dual wield rather than a shield when the Dual Wield skill is trained and a + /// second one-handed melee weapon is listed. Off by default (the shield). + public bool PreferDualWield; public int MeleeAttackHeight = 1; public int MissileAttackHeight = 1; @@ -232,7 +294,20 @@ public sealed class LegacyUiSettings public float BowArcVelocity = 25.0f; public float CrossbowArcVelocity = 40.0f; public float AtlatlArcVelocity = 22.0f; - public float MagicArcVelocity = 25.0f; + /// + /// Arc spells' HORIZONTAL speed (m/s). ACE flies every player arc at a fixed 40 m/s across + /// the ground under gravity 9.8 (MissileBallistics.SolveLateral). Combat casts an Arc only + /// when that path reaches the target, else the rule's other shape (or Bolt). Until + /// 2026-10-04 this was a launch speed for a flat-ground model, default 25: + /// moves that old default to 40. + /// + public float MagicArcVelocity = Raycasting.MissileBallistics.AceArcSpellSpeed; + + /// A saved MagicArcVelocity under today's model: the old default (25, a launch + /// speed for the flat-ground model, which as a horizontal speed would make arcs 2.6x higher + /// than ACE flies them) and nonsense values become 40. + public static float MigrateMagicArcVelocity(float saved) + => float.IsFinite(saved) && saved > 0f && saved != 25.0f ? saved : Raycasting.MissileBallistics.AceArcSpellSpeed; /// /// Extra headroom (meters) a missile's arc must have at mid-flight for LoS to pass, /// on top of the modelled flight path (launch speed above, AC gravity 9.8). Covers @@ -295,6 +370,20 @@ public sealed class LegacyUiSettings /// Milliseconds between /ub vendor open attempts. public int AutoVendorTriesTime = 5000; + // ── AutoTrade (UtilityBelt AutoTrade; /ub autotrade, /ra autotrade) ──────── + /// Fill the trade window from a loot profile when a trade opens (UB default: off). + public bool AutoTradeEnabled = false; + /// Only print what would be added to the trade window. + public bool AutoTradeTestMode = false; + /// Send "AutoTrade finished: ..." and "Trade accepted: ..." as a /tell to yourself, for metas. + public bool AutoTradeThink = false; + public bool AutoTradeOnlyFromMainPack = false; + /// Accept the trade once every item AutoTrade added is in the window. + public bool AutoTradeAutoAccept = false; + /// Name patterns (.NET regex) whose accepted trades this character accepts too. + /// The autoAcceptList.json files (/ub autotrade autoaccept ...) are read as well. + public List AutoTradeAutoAcceptChars { get; set; } = new(); + public List MonsterRules { get; set; } = new(); public List ItemRules { get; set; } = new(); public List ConsumableRules { get; set; } = new(); @@ -337,8 +426,12 @@ public sealed class LegacyUiSettings ? new Dictionary>(value, StringComparer.OrdinalIgnoreCase) : new Dictionary>(StringComparer.OrdinalIgnoreCase); } - public string LuaScript = "-- Enter your Lua script here\nprint('RynthAi Lua Loaded')"; - [JsonIgnore] public string LuaConsoleOutput = "--- RynthAi Lua Console ---"; + /// + /// Set once this profile's weapons and consumables have been checked against + /// the character's own pack (new profiles are filled from it; older ones had + /// entries copied from another character removed). See TickPackSetup. + /// + public bool ProfileItemsChecked; public string SelectedProfile = "Default"; [JsonIgnore] public NavRouteParser CurrentRoute { get; set; } = new(); @@ -417,6 +510,11 @@ public sealed class LegacyUiSettings [JsonIgnore] public bool ForceStateReset { get; set; } + /// Set when a meta file is loaded: the next meta tick empties the + /// CallState/Return stack. + [JsonIgnore] + public bool MetaCallStackReset { get; set; } + [JsonIgnore] public string NavStatusLine = string.Empty; @@ -439,6 +537,8 @@ public sealed class LegacyUiSettings // by the plugin each tick; 0 when not in a fellowship / target not loaded. [JsonIgnore] public uint FollowTargetId = 0; + /// A character picked by name (/ra follow Name, /ub follow[p]); wins over the fellowship leader. Session only. + [JsonIgnore] public uint FollowNamedTargetId; public LegacyUiSettings() { @@ -481,9 +581,18 @@ public sealed class MonsterRule public bool UseRing { get; set; } public bool UseStreak { get; set; } public bool UseBolt { get; set; } = true; + /// Blast spells (Flame Blast, Frost Blast...: a spread of projectiles). Off in files + /// from before 2026-10-03. Wins over Bolt when both are on; see CombatManager.PickBaseShape. + public bool UseBlast { get; set; } public string ExVuln { get; set; } = "None"; + /// The off hand for this rule: 0 = the global setting (OffhandDefault), 1 Auto, + /// 2 Shield, 3 Offhand weapon, 4 None (OffhandRules.Rule*); any other value is a listed + /// item to wield there (the old per-rule picker). public int OffhandId { get; set; } public string PetDamage { get; set; } = "PAuto"; + /// Debuffs the player typed in (Damage panel), comma separated: a spell's base + /// name ("Corrosion Vulnerability Other") casts its best known tier; a full name casts as is. + public string CustomDebuffs { get; set; } = ""; } public sealed class BuffRule @@ -499,6 +608,10 @@ public sealed class ItemRule public string Name { get; set; } = string.Empty; public string Action { get; set; } = "Loot"; public string Element { get; set; } = "Slash"; + /// Where came from: "properties" (DamageType after an identify), + /// "icon" (UiEffects), "rending" (an imbue), "name", "set" (picked in the Items panel), or "" + /// (not known, or an entry from before sources were kept). + public string ElementSource { get; set; } = ""; public bool KeepBuffed { get; set; } = true; } @@ -552,6 +665,7 @@ public sealed class NavBridgePoint public int Idx { get; set; } public string Type { get; set; } = string.Empty; // "Point", "Recall", "Pause", "Chat", "PortalNPC" public string Desc { get; set; } = string.Empty; // NavPoint.ToString() + public string Text { get; set; } = string.Empty; // Chat points: the command, for editing public double NS { get; set; } public double EW { get; set; } public double Z { get; set; } @@ -580,6 +694,7 @@ public sealed class NavCommand public int AddMode { get; set; } // 0=End, 1=Above, 2=Below public int InsertAt { get; set; } = -1; public string NavName { get; set; } = string.Empty; + public string Text { get; set; } = string.Empty; // addChat: the command or text } /// Bridge payload for the engine-side Avalonia SettingsPanel. @@ -604,6 +719,8 @@ public sealed class SettingsBridgePayload public bool PeaceModeWhenIdle { get; set; } public bool StartMacroOnLogin { get; set; } public bool PatrolOnLogin { get; set; } + // Absent from an older engine's payload: must not read as off. + public bool YieldToVTank { get; set; } = true; public bool EnableRaycasting { get; set; } public bool UseArcs { get; set; } public float BowArcVelocity { get; set; } @@ -622,6 +739,19 @@ public sealed class SettingsBridgePayload // Recharge public int HealAt { get; set; } + public bool UsePotions { get; set; } + public bool UseBuffItems { get; set; } = true; + public int MakeRationsBelow { get; set; } = 5; + public bool UseKitsInMagicMode { get; set; } + public bool PeaceModeForKits { get; set; } + public int KitMinSuccessPct { get; set; } = 70; + public int EmergencyHealAt { get; set; } = 30; + public int StaminaToHealthAt { get; set; } = 30; + public int StaminaToHealthMinStamina { get; set; } = 20; + public bool StopMacroOnDeath { get; set; } + public bool StopMacroOnNoComponents { get; set; } + public bool StopLootingWhenPackFull { get; set; } + public bool StopMacroWhenPackFull { get; set; } public int RestamAt { get; set; } public int GetManaAt { get; set; } public int TopOffHP { get; set; } @@ -646,6 +776,8 @@ public sealed class SettingsBridgePayload public int AttackSpellIntervalMs { get; set; } public bool CastDispelSelf { get; set; } public int MinRingTargets { get; set; } + public int BlastRange { get; set; } + public int MinBlastTargets { get; set; } = 3; // absent from an older engine: keep the default public int MinSkillLevelTier1 { get; set; } public int MinSkillLevelTier2 { get; set; } public int MinSkillLevelTier3 { get; set; } @@ -719,6 +851,7 @@ public sealed class SettingsBridgePayload public int LootJumpHeight { get; set; } public int LootOwnership { get; set; } public bool EnableAutostack { get; set; } + public bool ReadUnknownScrolls { get; set; } = true; // absent from an older engine: keep the default public bool EnableCombineSalvage { get; set; } public bool CombineBagsDuringSalvage { get; set; } public int LootInterItemDelayMs { get; set; } @@ -747,6 +880,9 @@ public sealed class SettingsBridgePayload public bool? AutoVendorOnlyFromMainPack { get; set; } public int? AutoVendorTries { get; set; } public int? AutoVendorTriesTime { get; set; } + // The off hand (only when the sender includes them; today's engine Settings face doesn't). + public string? OffhandDefault { get; set; } + public bool? PreferDualWield { get; set; } } public enum MetaConditionType @@ -818,6 +954,14 @@ public sealed class MetaRule public List Children { get; set; } = new(); public List ActionChildren { get; set; } = new(); + /// CallMetaState only: the state pushed on the call stack (VTank's + /// "ret"). Empty means the calling rule's current state, as before. + public string CallReturnState { get; set; } = string.Empty; + + /// ChatMessageCapture only: VTank's colour (chat type) id list, + /// semicolon-separated ("2;4"). Empty matches every chat type. + public string ChatColors { get; set; } = string.Empty; + /// Disabled rules are excluded from the per-state index so they /// never evaluate. Default true; missing in old JSON/.af → stays true /// (the property initializer runs, so backward-compatible). diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyWeaponsUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyWeaponsUi.cs index cada35a..0d17fbf 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyWeaponsUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/LegacyWeaponsUi.cs @@ -1,23 +1,21 @@ using System; +using System.Collections.Generic; using System.Linq; -using System.Numerics; -using ImGuiNET; using RynthCore.PluginSdk; namespace RynthCore.Plugin.RynthAi.LegacyUi; +/// +/// The Items list logic behind the engine's Items panel (ItemsFace): add the selected +/// weapon or consumable, fill from pack, prune. Draws nothing; its ImGui window went +/// with the plugin render path. +/// internal sealed class LegacyWeaponsUi { private readonly LegacyUiSettings _settings; private readonly RynthCoreHost _host; private WorldObjectCache? _worldFilter; - private static readonly string[] Elements = - { "Slash", "Pierce", "Bludgeon", "Fire", "Cold", "Lightning", "Acid", "Nether" }; - - private static readonly string[] ConsumableTypes = - { "General", "Lockpick", "HealthKit", "ManaStone", "Stamina", "Pet" }; - public LegacyWeaponsUi(LegacyUiSettings settings, RynthCoreHost host) { _settings = settings; @@ -26,184 +24,6 @@ internal sealed class LegacyWeaponsUi public void SetWorldFilter(WorldObjectCache cache) => _worldFilter = cache; - public void Render() - { - if (!DashWindows.ShowWeapons) return; - - ImGui.SetNextWindowSize(new Vector2(480, 440), ImGuiCond.FirstUseEver); - if (!ImGui.Begin("Items##RynthAiWeapons", ref DashWindows.ShowWeapons)) - { - ImGui.End(); - return; - } - - // ── Weapons Section ───────────────────────────────────────────────── - ImGui.TextColored(LegacyDashboardRenderer.ColAmber, "Weapons"); - ImGui.Spacing(); - - if (ImGui.BeginTable("WeaponsTable", 3, - ImGuiTableFlags.Borders | ImGuiTableFlags.RowBg | ImGuiTableFlags.Resizable)) - { - ImGui.TableSetupColumn("Item Name", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Element", ImGuiTableColumnFlags.WidthFixed, 100); - ImGui.TableSetupColumn("", ImGuiTableColumnFlags.WidthFixed, 50); - ImGui.TableHeadersRow(); - - for (int i = 0; i < _settings.ItemRules.Count; i++) - { - var rule = _settings.ItemRules[i]; - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - - bool inCache = _worldFilter?[rule.Id] != null; - if (inCache) - { - ImGui.TextUnformatted(rule.Name); - } - else - { - ImGui.TextColored(new Vector4(1f, 0.35f, 0.35f, 1f), rule.Name); - ImGui.SameLine(); - ImGui.TextColored(new Vector4(1f, 0.35f, 0.35f, 0.7f), "(Gone)"); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Item not in inventory.\nRemove and re-add the correct weapon."); - } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - int elemIdx = Array.IndexOf(Elements, rule.Element); - if (elemIdx < 0) elemIdx = 0; - if (ImGui.Combo($"##Elem{i}", ref elemIdx, Elements, Elements.Length)) - rule.Element = Elements[elemIdx]; - - ImGui.TableNextColumn(); - if (ImGui.SmallButton($"Del##w{i}")) - { - foreach (var mr in _settings.MonsterRules) - if (mr.WeaponId == rule.Id) mr.WeaponId = 0; - _settings.ItemRules.RemoveAt(i); - ImGui.EndTable(); - ImGui.End(); - return; - } - } - ImGui.EndTable(); - } - - bool canAdd = _host.HasGetSelectedItemId; - if (!canAdd) ImGui.BeginDisabled(); - - if (ImGui.Button("Add Selected Weapon", new Vector2(160, 24))) - { - AddSelectedWeapon(); - } - - if (!canAdd) ImGui.EndDisabled(); - - ImGui.SameLine(); - ImGui.TextDisabled("(Click a weapon in inventory first)"); - - // ── Consumable Items Section ──────────────────────────────────────── - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - - ImGui.TextColored(LegacyDashboardRenderer.ColAmber, "Consumable Items"); - ImGui.Spacing(); - - if (ImGui.BeginTable("ConsumablesTable", 3, - ImGuiTableFlags.Borders | ImGuiTableFlags.RowBg | ImGuiTableFlags.Resizable)) - { - ImGui.TableSetupColumn("Item Name", ImGuiTableColumnFlags.WidthStretch); - ImGui.TableSetupColumn("Type", ImGuiTableColumnFlags.WidthFixed, 100); - ImGui.TableSetupColumn("", ImGuiTableColumnFlags.WidthFixed, 50); - ImGui.TableHeadersRow(); - - for (int i = 0; i < _settings.ConsumableRules.Count; i++) - { - var rule = _settings.ConsumableRules[i]; - ImGui.TableNextRow(); - ImGui.TableNextColumn(); - - bool inCache = _worldFilter?[rule.Id] != null; - if (inCache) - { - ImGui.TextUnformatted(rule.Name); - } - else - { - ImGui.TextColored(new Vector4(1f, 0.35f, 0.35f, 1f), rule.Name); - ImGui.SameLine(); - ImGui.TextColored(new Vector4(1f, 0.35f, 0.35f, 0.7f), "(Gone)"); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Item not in inventory.\nRemove and re-add the correct item."); - } - - ImGui.TableNextColumn(); - ImGui.SetNextItemWidth(-1); - int typeIdx = Array.IndexOf(ConsumableTypes, rule.Type); - if (typeIdx < 0) typeIdx = 0; - if (ImGui.Combo($"##CType{i}", ref typeIdx, ConsumableTypes, ConsumableTypes.Length)) - rule.Type = ConsumableTypes[typeIdx]; - - ImGui.TableNextColumn(); - if (ImGui.SmallButton($"Del##c{i}")) - { - _settings.ConsumableRules.RemoveAt(i); - ImGui.EndTable(); - ImGui.End(); - return; - } - } - ImGui.EndTable(); - } - - if (!canAdd) ImGui.BeginDisabled(); - - if (ImGui.Button("Add Selected Consumable", new Vector2(180, 24))) - { - AddSelectedConsumable(); - } - - if (!canAdd) ImGui.EndDisabled(); - - ImGui.SameLine(); - ImGui.TextDisabled("(Click an item in inventory first)"); - - // ── Mana Stone Tapping ────────────────────────────────────────────── - ImGui.Spacing(); - ImGui.Separator(); - ImGui.Spacing(); - ImGui.TextColored(LegacyDashboardRenderer.ColAmber, "Mana Stone Tapping"); - ImGui.Spacing(); - ImGui.Text("Keep up to:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(70); - ImGui.DragInt("##StoneKeep", ref _settings.ManaStoneKeepCount, 0.2f, 1, 999); - if (_settings.ManaStoneKeepCount < 1) _settings.ManaStoneKeepCount = 1; - if (_settings.ManaStoneKeepCount > 999) _settings.ManaStoneKeepCount = 999; - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Maximum number of mana stones to keep in inventory.\nStones on corpses are skipped once this count is reached."); - ImGui.SameLine(0, 16); - ImGui.Checkbox("Enable Tapping", ref _settings.EnableManaTapping); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Use mana stones on inventory items with high MaxMana,\nthen apply the charged stone to the player to recharge gear."); - if (_settings.EnableManaTapping) - { - ImGui.SameLine(0, 16); - ImGui.Text("Min MaxMana:"); - ImGui.SameLine(); - ImGui.SetNextItemWidth(90); - ImGui.DragInt("##TapThresh", ref _settings.ManaTapMinMana, 50f, 100, 99999); - if (_settings.ManaTapMinMana < 100) _settings.ManaTapMinMana = 100; - if (_settings.ManaTapMinMana > 99999) _settings.ManaTapMinMana = 99999; - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Only tap items whose MaxMana is at or above this value."); - } - - ImGui.End(); - } - public void AddSelectedWeapon() { uint selId = _host.GetSelectedItemId(); @@ -215,23 +35,44 @@ internal sealed class LegacyWeaponsUi if (_worldFilter == null) { _host.WriteToChat("[RynthAi] Object cache not ready.", 1); return; } var wo = _worldFilter[(int)selId]; + // A class guessed from the name before the item type was known can be wrong: ask the + // game for the real type before refusing (and fix the cached entry for combat too). + if (wo != null && !IsWeapon(wo) && !CombatManager.IsShieldItem(wo)) + wo = _worldFilter.ReclassifyFromItemType(wo.Id) ?? wo; if (wo == null) _host.WriteToChat($"[RynthAi] Item 0x{selId:X8} not in cache — try again.", 1); - else if (!IsWeapon(wo)) - _host.WriteToChat("[RynthAi] Selected item is not a weapon or wand.", 1); + else if (!IsWeapon(wo) && !CombatManager.IsShieldItem(wo)) + _host.WriteToChat("[RynthAi] Selected item is not a weapon, wand or shield.", 1); else if (_settings.ItemRules.Any(x => x.Id == wo.Id)) _host.WriteToChat($"[RynthAi] {wo.Name} is already in the list.", 1); - else + else if (!IsWeapon(wo)) { - string element = DetectWeaponElement(wo); + // A shield: combat wields it in the off hand (the Monsters rule's / global Offhand setting). _settings.ItemRules.Add(new ItemRule { - Id = wo.Id, - Name = wo.Name, - Element = element, - Action = "Weapon", + Id = wo.Id, + Name = wo.Name, + Element = "", + ElementSource = "", + Action = WeaponList.ShieldAction, }); - _host.WriteToChat($"[RynthAi] Added weapon: {wo.Name} (0x{(uint)wo.Id:X8}) [{element}]", 1); + string shown = WeaponNames.For(_host, _worldFilter, wo.Id, wo.Name); + _host.WriteToChat($"[RynthAi] Added shield: {shown} (0x{(uint)wo.Id:X8}) — wielded in the off hand with a one-handed weapon (Offhand: {_settings.OffhandDefault})", 1); + } + else + { + var info = WeaponElementTracker.ReadFrom(_host, wo.Id, wo.Name); + _settings.ItemRules.Add(new ItemRule + { + Id = wo.Id, + Name = wo.Name, + Element = info.Element, + ElementSource = info.Source, + Action = "Weapon", + }); + string shown = WeaponNames.For(_host, _worldFilter, wo.Id, wo.Name); + string elem = info.Unknown ? "element unknown until identified" : $"{info.Element}, from {info.Source}"; + _host.WriteToChat($"[RynthAi] Added weapon: {shown} (0x{(uint)wo.Id:X8}) [{elem}]", 1); } } @@ -263,37 +104,104 @@ internal sealed class LegacyWeaponsUi } } + /// + /// Adds every weapon and usable consumable in that + /// isn't listed yet: weapons (melee, missile, wands; the wielded one first, since + /// combat treats the first weapon as the default), healing kits, lockpicks and + /// pet essences. Mana stones are left out on purpose: listing any switches mana + /// tapping from "every mana stone" to "only these names". + /// + public (int Weapons, int Consumables) FillFromPack(IReadOnlyList inventory, uint playerId) + { + int weapons = 0, consumables = 0; + var ordered = inventory + .OrderByDescending(wo => playerId != 0 && wo.Wielder == unchecked((int)playerId)) + .ThenBy(wo => wo.Name, StringComparer.OrdinalIgnoreCase); + foreach (var wo in ordered) + { + if (IsWeapon(wo)) + { + if (_settings.ItemRules.Any(x => x.Id == wo.Id)) continue; + var info = WeaponElementTracker.ReadFrom(_host, wo.Id, wo.Name); + _settings.ItemRules.Add(new ItemRule { Id = wo.Id, Name = wo.Name, Element = info.Element, ElementSource = info.Source, Action = "Weapon" }); + weapons++; + continue; + } + string? type = PackConsumableType(wo); + if (type == null || _settings.ConsumableRules.Any(x => x.Id == wo.Id)) continue; + _settings.ConsumableRules.Add(new ConsumableRule { Id = wo.Id, Name = wo.Name, Type = type }); + consumables++; + } + return (weapons, consumables); + } + + /// + /// Removes weapons and consumables this character has nothing of, by id or by + /// name: entries a profile picked up from another character. Returns their names. + /// + public List PruneNotOwned(IReadOnlyList inventory) + { + var ids = new HashSet(inventory.Select(w => w.Id)); + var names = new HashSet(inventory.Select(w => w.Name), StringComparer.OrdinalIgnoreCase); + var removed = new List(); + _settings.ItemRules.RemoveAll(r => + { + bool gone = !ids.Contains(r.Id) && !names.Contains(r.Name); + if (gone) removed.Add(r.Name); + return gone; + }); + _settings.ConsumableRules.RemoveAll(r => + { + bool gone = !ids.Contains(r.Id) && !names.Contains(r.Name); + if (gone) removed.Add(r.Name); + return gone; + }); + return removed; + } + + internal static string? PackConsumableType(WorldObject wo) + { + switch (wo.ObjectClass) + { + case AcObjectClass.HealingKit: return "HealthKit"; + case AcObjectClass.Food: return PotionType(wo); + case AcObjectClass.Lockpick: return "Lockpick"; + case AcObjectClass.Misc: + case AcObjectClass.CombatPet: + return wo.Name.Contains("Essence", StringComparison.OrdinalIgnoreCase) ? "Pet" : null; + default: return null; + } + } + + /// HealthPotion / ManaPotion / StaminaPotion for a Food item named for a vital, else null. + internal static string? PotionType(WorldObject wo) + { + if (wo.ObjectClass != AcObjectClass.Food || string.IsNullOrEmpty(wo.Name)) return null; + string n = wo.Name; + // Field Rations restore stamina (BoostEnum 4) but don't say so in the name. + if (n.EndsWith("Field Rations", StringComparison.OrdinalIgnoreCase)) return "StaminaPotion"; + if (n.Contains("Mana", StringComparison.OrdinalIgnoreCase)) return "ManaPotion"; + if (n.Contains("Stamina", StringComparison.OrdinalIgnoreCase)) return "StaminaPotion"; + if (n.Contains("Heal", StringComparison.OrdinalIgnoreCase) || n.Contains("Health", StringComparison.OrdinalIgnoreCase)) return "HealthPotion"; + return null; + } + private static bool IsWeapon(WorldObject wo) => wo.ObjectClass == AcObjectClass.MeleeWeapon || wo.ObjectClass == AcObjectClass.MissileWeapon || wo.ObjectClass == AcObjectClass.WandStaffOrb; - /// Auto-detect weapon element from the DamageType int property. - private static string DetectWeaponElement(WorldObject wo) - { - // DamageType (STypeInt 45) — AC damage type flags - int dt = wo.Values(LongValueKey.DamageType, 0); - if (dt == 0) return "Slash"; // no data — default - - // Check flags in order of specificity (elemental first, then physical) - if ((dt & 1024) != 0) return "Nether"; - if ((dt & 16) != 0) return "Fire"; - if ((dt & 8) != 0) return "Cold"; - if ((dt & 64) != 0) return "Lightning"; - if ((dt & 32) != 0) return "Acid"; - if ((dt & 1) != 0) return "Slash"; - if ((dt & 2) != 0) return "Pierce"; - if ((dt & 4) != 0) return "Bludgeon"; - - return "Slash"; - } - /// Auto-detect consumable type from item name. private static string DetectConsumableType(WorldObject wo) { string name = wo.Name; if (string.IsNullOrEmpty(name)) return "General"; + // Potions and elixirs are Food: typed by the vital they restore. A mana + // potion used to become "ManaStone" from the word "Mana". + string? potion = PotionType(wo); + if (potion != null) return potion; + // Health items if (name.Contains("Heal", StringComparison.OrdinalIgnoreCase) || name.Contains("Health", StringComparison.OrdinalIgnoreCase) || diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/MetaBridgeTypes.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/MetaBridgeTypes.cs index 82e9161..14d48cb 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/MetaBridgeTypes.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/MetaBridgeTypes.cs @@ -22,4 +22,6 @@ internal sealed class MetaCommand public string Path { get; set; } = string.Empty; public string Text { get; set; } = string.Empty; public MetaRuleDto? Rule { get; set; } + /// The Meta Manager's mm_add / mm_update rule. + public RynthCore.Plugin.RynthAi.Meta.MetaScheduleRule? ScheduleRule { get; set; } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/NavRouteParser.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/NavRouteParser.cs index 6c602ef..0a6b84e 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/NavRouteParser.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/NavRouteParser.cs @@ -26,7 +26,10 @@ public enum NavPointType Chat = 4, // trailer: command string OpenVendor = 5, // trailer: vendorId(int), vendorName(string) PortalNPC = 6, // VTank "Portal": use a portal object by name. trailer: name, class, tie, ew, ns, z - Npc = 7 // VTank "NPC": use/talk an NPC by name. trailer: name, class, tie, ew, ns, z + Npc = 7, // VTank "NPC": use/talk an NPC by name. trailer: name, class, tie, ew, ns, z + Checkpoint = 8, // walked like a Point; no trailer (confirmed from a real route, 2026-09-28) + Jump = 9 // walk here, face heading, jump. trailer: heading, shift ("true"/"false"), ms + // (order from UtilityBelt's VTNJump.Parse/Write) } public sealed class NavPoint @@ -39,6 +42,9 @@ public sealed class NavPoint public int SpellId { get; set; } public int PauseTimeMs { get; set; } public string ChatCommand { get; set; } = string.Empty; + public double JumpHeading { get; set; } // Jump: heading to face (degrees) + public bool JumpShift { get; set; } // Jump: shift (walk) jump + public double JumpMs { get; set; } // Jump: spacebar hold time = power (0-1000) // Portal (6) / Npc (7) target name; for OpenVendor (5) the vendor's name. public string TargetName { get; set; } = string.Empty; @@ -61,6 +67,13 @@ public sealed class NavPoint public double PortalLandEW { get; set; } public double PortalLandZ { get; set; } + /// + /// A point the dungeon pathfinder put centred in front of (or beyond) a narrow opening, so + /// the character goes through straight. The engine reaches it within at most 1 yd and does + /// not cut the corner at it. Built in memory only: never read from or written to .nav files. + /// + public bool Doorway { get; set; } + public override string ToString() { return Type switch @@ -72,6 +85,8 @@ public sealed class NavPoint NavPointType.OpenVendor => $"[Vendor] {TargetName}", NavPointType.PortalNPC => $"[Portal] {TargetName}", NavPointType.Npc => $"[NPC] {TargetName}", + NavPointType.Checkpoint => $"[Checkpoint] {NS:F3}, {EW:F3}", + NavPointType.Jump => $"[Jump] {JumpHeading:F0}° {JumpMs:F0}ms{(JumpShift ? " shift" : "")}", _ => $"[Unknown] {(int)Type}" }; } @@ -96,6 +111,7 @@ public sealed class NavRouteParser /// public static int TrailerLineCount(NavPointType t) => t switch { + NavPointType.Jump => 3, NavPointType.Recall => 1, NavPointType.Pause => 1, NavPointType.Chat => 1, @@ -106,7 +122,17 @@ public sealed class NavRouteParser }; public static bool IsKnownType(int t) => - t is 0 or 2 or 3 or 4 or 5 or 6 or 7; + t is 0 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9; + + /// A waypoint that is simply walked to (Point, Checkpoint). + public static bool IsPlainWaypoint(NavPointType t) => t is NavPointType.Point or NavPointType.Checkpoint; + + /// + /// Follow-type nav files (route type 3) name a character to follow instead of + /// listing points: "uTank2 NAV 1.2", 3, name, id. Empty for other routes. + /// + public string FollowTargetName { get; set; } = string.Empty; + public uint FollowTargetId { get; set; } public static NavRouteParser Load(string filePath, Action? warn = null) { @@ -130,6 +156,18 @@ public sealed class NavRouteParser if (lines.Count < 3 || !lines[0].Contains("uTank2 NAV 1.2", StringComparison.OrdinalIgnoreCase)) return route; + // Follow navs: name + id of the character to follow, no points. Line 2 is + // the name, not a point count, so this has to come before the header check. + if (int.TryParse(lines[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out int rt0) + && rt0 == (int)NavRouteType.Follow && !int.TryParse(lines[2], out _)) + { + route.RouteType = NavRouteType.Follow; + route.FollowTargetName = lines[2].Trim(); + if (lines.Count > 3 && uint.TryParse(lines[3].Trim(), NumberStyles.Integer, CultureInfo.InvariantCulture, out uint fid)) + route.FollowTargetId = fid; + return route; + } + if (!int.TryParse(lines[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out int routeType) || !int.TryParse(lines[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out int pointCount)) { @@ -166,6 +204,10 @@ public sealed class NavRouteParser NS = double.Parse(lines[idx++], CultureInfo.InvariantCulture), Z = double.Parse(lines[idx++], CultureInfo.InvariantCulture) }; + // Z is in nav units (metres / 240). Waypoints added from the UI before + // 2026-09-29 stored metres, so they drew hundreds of metres up; no real + // point is 5 units (1.2 km) high, so anything past that is converted. + if (Math.Abs(pt.Z) > 5.0) pt.Z /= 240.0; idx++; // skip the flag / colour line switch (pt.Type) @@ -183,6 +225,11 @@ public sealed class NavRouteParser pt.VendorId = uint.Parse(lines[idx++], CultureInfo.InvariantCulture); pt.TargetName = lines[idx++]; break; + case NavPointType.Jump: + pt.JumpHeading = double.Parse(lines[idx++], CultureInfo.InvariantCulture); + pt.JumpShift = lines[idx++].Trim().Equals("true", StringComparison.OrdinalIgnoreCase); + pt.JumpMs = double.Parse(lines[idx++], CultureInfo.InvariantCulture); + break; case NavPointType.PortalNPC: case NavPointType.Npc: pt.TargetName = lines[idx++]; @@ -220,8 +267,30 @@ public sealed class NavRouteParser Directory.CreateDirectory(Path.GetDirectoryName(filePath) ?? "."); using var writer = new StreamWriter(filePath, false); + WriteTo(writer); + } + + /// The route as uTank2 nav lines, the form a meta's embedded navs are kept in. + public List ToLines() + { + using var writer = new StringWriter(CultureInfo.InvariantCulture); + WriteTo(writer); + var lines = new List(writer.ToString().Split('\n')); + for (int i = 0; i < lines.Count; i++) lines[i] = lines[i].TrimEnd('\r'); + if (lines.Count > 0 && lines[^1].Length == 0) lines.RemoveAt(lines.Count - 1); + return lines; + } + + private void WriteTo(TextWriter writer) + { writer.WriteLine("uTank2 NAV 1.2"); writer.WriteLine((int)RouteType); + if (RouteType == NavRouteType.Follow && FollowTargetName.Length > 0) + { + writer.WriteLine(FollowTargetName); + writer.WriteLine(FollowTargetId.ToString(CultureInfo.InvariantCulture)); + return; + } writer.WriteLine(Points.Count); foreach (NavPoint point in Points) @@ -247,6 +316,11 @@ public sealed class NavRouteParser writer.WriteLine(point.VendorId.ToString(CultureInfo.InvariantCulture)); writer.WriteLine(point.TargetName); break; + case NavPointType.Jump: + writer.WriteLine(point.JumpHeading.ToString(CultureInfo.InvariantCulture)); + writer.WriteLine(point.JumpShift ? "True" : "False"); + writer.WriteLine(point.JumpMs.ToString(CultureInfo.InvariantCulture)); + break; case NavPointType.PortalNPC: case NavPointType.Npc: writer.WriteLine(point.TargetName); diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RadarSnapshot.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RadarSnapshot.cs index add3dff..641dccc 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RadarSnapshot.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RadarSnapshot.cs @@ -68,7 +68,9 @@ internal sealed class RadarVisitedLayer [JsonPropertyName("strips")] public float[] Strips { get; set; } = Array.Empty(); } -// Kind: 0 = monster, 1 = npc, 2 = portal, 3 = door +// Kind (RadarKind in the engine's UI/Data/RadarSnapshotJson.cs): 0 monster, 1 NPC, 2 portal, +// 3 door; appended 2026-10-04: 4 player, 5 fellow, 6 your pet, 7 vendor, 8 corpse, 9 your +// corpse, 10 lifestone, 11 item on the ground. Engines before that drop kinds 4+ (not drawn). internal sealed class RadarMarker { [JsonPropertyName("kind")] public byte Kind { get; set; } @@ -76,6 +78,9 @@ internal sealed class RadarMarker [JsonPropertyName("y")] public float Y { get; set; } [JsonPropertyName("z")] public float Z { get; set; } [JsonPropertyName("label")] public string? Label { get; set; } + // The object's id, so the engine's radar click selects exactly this object + // (engines from 2026-10-01). Older engines skip the unknown field. + [JsonPropertyName("id")] public uint Id { get; set; } } [JsonSerializable(typeof(RadarSnapshotPayload))] diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthAiJsonContext.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthAiJsonContext.cs index 1f69955..d0289ee 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthAiJsonContext.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthAiJsonContext.cs @@ -16,6 +16,7 @@ namespace RynthCore.Plugin.RynthAi; [JsonSerializable(typeof(NavCommand))] [JsonSerializable(typeof(MetaRuleDto))] [JsonSerializable(typeof(MetaCommand))] +[JsonSerializable(typeof(RynthCore.Plugin.RynthAi.Meta.MetaScheduleConfig))] [JsonSourceGenerationOptions( WriteIndented = true, IncludeFields = true, diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthChatUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthChatUi.cs index 54a8764..60073b3 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthChatUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthChatUi.cs @@ -1,16 +1,14 @@ using System; using System.Collections.Generic; -using System.Numerics; -using ImGuiNET; using RynthCore.PluginSdk; namespace RynthCore.Plugin.RynthAi.LegacyUi; /// -/// RynthChat — viewer for incoming chat lines. Subscribes to the plugin's -/// OnChatWindowText handler (via Push). The retail chatbox can be hidden via -/// SuppressRetailChat while AC's chat input/command pipeline still works in the -/// background — typed commands and tells continue to function unchanged. +/// RynthAi's recent-chat buffer: lines arrive through Push (RynthAiPlugin.OnChatWindowText) +/// and SnapshotRecent feeds the dashboard snapshot (the remote status feed). It used to be +/// a plugin-drawn chat window too; the chat window is now the RynthChat plugin's engine +/// face (ChatFace), so nothing here draws. /// internal sealed class RynthChatUi { @@ -20,25 +18,12 @@ internal sealed class RynthChatUi private readonly object _lock = new(); private readonly List _lines = new(512); - private bool _open = true; - private bool _wantScrollToBottom = true; - private bool _prevLDown; - private bool _prevRDown; - - // Input field state — Enter outside any widget focuses the input, - // Enter inside the input submits, Esc clears the buffer. The input row - // is always rendered so the scrollback area has a stable layout. - private bool _focusInputNextFrame; - private bool _swallowFirstEnter; - private string _inputBuffer = string.Empty; - - public Action? OnSettingChanged { get; set; } - /// /// Routes a submitted line. Set by the plugin so /ra, /mt, /ub etc. can be /// handled locally by OnChatBarEnter before falling back to InvokeChatParser. /// Without this, plugin slash commands would be keyboard-simulated into the /// (invisible) retail chatbar — unreliable with ImGui focus in the picture. + /// Nothing calls it since the input line went with the plugin-drawn window. /// public Action? OnSubmit { get; set; } @@ -64,8 +49,6 @@ internal sealed class RynthChatUi if (overflow > 0) _lines.RemoveRange(0, overflow); } - - _wantScrollToBottom = true; } /// Snapshot the most recent lines (text + chat-type) for the remote status feed. Thread-safe. @@ -81,315 +64,4 @@ internal sealed class RynthChatUi return outArr; } } - - public void Render() - { - if (!_settings.ShowRynthChat) return; - - bool snapShowTs = _settings.ChatShowTimestamps; - float snapOp = _settings.ChatOpacity; - int snapMax = _settings.ChatMaxLines; - - ImGui.SetNextWindowSize(new Vector2(520, 220), ImGuiCond.FirstUseEver); - ImGui.SetNextWindowSizeConstraints(new Vector2(220, 110), new Vector2(2400, 1400)); - - // Use ImGui's native WindowBg with the user's opacity so the platform - // layer can translate it into Platform_SetWindowAlpha on detached - // viewports — that gives a uniformly translucent OS window instead of - // a black-cleared one with a transparent paint over the top. - float opCfg = Math.Clamp(_settings.ChatOpacity, 0f, 1f); - ImGui.SetNextWindowBgAlpha(opCfg); - - ImGui.PushStyleVar(ImGuiStyleVar.WindowBorderSize, 0f); - ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, new Vector2(2, 2)); - ImGui.PushStyleColor(ImGuiCol.WindowBg, new Vector4(0.05f, 0.07f, 0.10f, 1f)); - - // NoBringToFrontOnFocus keeps the gear sub-window (rendered after) on top - // even when the user clicks into the main chat (to drag, resize, or select text). - ImGuiWindowFlags flags = ImGuiWindowFlags.NoTitleBar - | ImGuiWindowFlags.NoCollapse - | ImGuiWindowFlags.NoBringToFrontOnFocus; - if (_settings.ChatClickThrough) - { - flags |= ImGuiWindowFlags.NoInputs - | ImGuiWindowFlags.NoMove - | ImGuiWindowFlags.NoResize; - } - - bool visible = ImGui.Begin("##RynthChat", ref _open, flags); - ImGui.PopStyleVar(2); - ImGui.PopStyleColor(); - - if (!visible) { ImGui.End(); return; } - - Vector2 winPos = ImGui.GetWindowPos(); - Vector2 winSize = ImGui.GetWindowSize(); - - // ImGui paints the WindowBg for us (with platform alpha on detached - // viewports). Just add a thin border for drag/resize affordance. - var dl = ImGui.GetWindowDrawList(); - float op = opCfg; - uint br = ImGui.ColorConvertFloat4ToU32(new Vector4(0.30f, 0.34f, 0.40f, 1f)); - dl.AddRect(winPos, winPos + winSize, br, 4f, ImDrawFlags.None, 1.5f); - - // Gear visual is painted directly on the chat's drawlist (so it's always - // visible above the bg, on the same viewport, regardless of z-order). - // Clicks are detected manually below so they work whether the chat has - // NoInputs (click-through) or not, and on detached viewports. - const float btn = 14f; - Vector2 gearPos = new Vector2(winPos.X + winSize.X - btn - 4f, winPos.Y + 4f); - Vector2 gearBR = gearPos + new Vector2(btn, btn); - var io = ImGui.GetIO(); - bool gearHovered = io.MousePos.X >= gearPos.X && io.MousePos.X < gearBR.X - && io.MousePos.Y >= gearPos.Y && io.MousePos.Y < gearBR.Y; - uint gearBg = ImGui.ColorConvertFloat4ToU32(gearHovered - ? new Vector4(0.25f, 0.30f, 0.40f, 0.95f) - : new Vector4(0f, 0f, 0f, 0.65f)); - uint gearBorder = ImGui.ColorConvertFloat4ToU32(new Vector4(0.40f, 0.45f, 0.55f, 0.85f)); - dl.AddRectFilled(gearPos, gearBR, gearBg, 2f); - dl.AddRect(gearPos, gearBR, gearBorder, 2f, ImDrawFlags.None, 1f); - Vector2 gearTs = ImGui.CalcTextSize("*"); - Vector2 gearTextPos = new(gearPos.X + (btn - gearTs.X) * 0.5f, gearPos.Y + (btn - gearTs.Y) * 0.5f); - dl.AddText(gearTextPos, 0xFFFFFFFFu, "*"); - - // Track L/R click transitions via raw IO state (IsMouseClicked is filtered - // by hovered-window logic, which fails when the chat has NoInputs or sits - // on a detached viewport). We compare current to previous frame ourselves. - bool curLDown = io.MouseDown[0]; - bool curRDown = io.MouseDown[1]; - bool lClick = curLDown && !_prevLDown; - bool rClick = curRDown && !_prevRDown; - _prevLDown = curLDown; - _prevRDown = curRDown; - - bool inChatRect = io.MousePos.X >= winPos.X && io.MousePos.X < winPos.X + winSize.X - && io.MousePos.Y >= winPos.Y && io.MousePos.Y < winPos.Y + winSize.Y; - bool wantOpenSettings = (gearHovered && lClick) || (inChatRect && rClick); - if (wantOpenSettings) - ImGui.OpenPopup("##rchat_settings"); - RenderSettingsPopup(); - - // Input row is always rendered at the bottom so the scrollback has a - // stable layout and never gets covered when typing. - const float InputRowH = 24f; - float reservedBottom = InputRowH + 4f; - - // Scrollback child below the gear. Width reserves room for the gear - // button on the right; height reserves room for the input row below. - ImGui.SetCursorScreenPos(new Vector2(winPos.X + 4f, winPos.Y + 4f)); - Vector2 childSize = new Vector2(winSize.X - 8f - btn - 6f, winSize.Y - 8f - reservedBottom); - ImGui.PushStyleColor(ImGuiCol.ChildBg, 0u); - if (ImGui.BeginChild("##rchat_scroll", childSize, - ImGuiChildFlags.None, - ImGuiWindowFlags.NoBackground)) - { - // Snapshot under the lock — the producer is on a different thread. - ChatLine[] snap; - lock (_lock) { snap = _lines.ToArray(); } - - for (int i = 0; i < snap.Length; i++) - { - var line = snap[i]; - var col4 = ColorForType(line.ChatType); - if (snapShowTs) - { - string ts = line.At.ToString("HH:mm:ss "); - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.55f, 0.62f, 0.70f, 1f)); - ImGui.TextUnformatted(ts); - ImGui.PopStyleColor(); - ImGui.SameLine(0, 0); - } - ImGui.PushStyleColor(ImGuiCol.Text, col4); - ImGui.TextWrapped(line.Text); - ImGui.PopStyleColor(); - } - - if (_wantScrollToBottom) - { - ImGui.SetScrollHereY(1.0f); - _wantScrollToBottom = false; - } - } - ImGui.EndChild(); - ImGui.PopStyleColor(); - - // ── Input row (always visible) ────────────────────────────────── - { - float inputY = winPos.Y + winSize.Y - InputRowH - 2f; - ImGui.SetCursorScreenPos(new Vector2(winPos.X + 4f, inputY)); - ImGui.SetNextItemWidth(winSize.X - 8f); - - if (_focusInputNextFrame) - { - ImGui.SetKeyboardFocusHere(); - _focusInputNextFrame = false; - } - - // Use the simple 3-arg overload (no flags) so ImGui.NET's internal - // resize callback handles ref-string growth correctly. Enter detection - // is done manually via IsKeyPressed while the input is focused — this - // avoids both the "callback != NULL" assertion and the buffer-corruption - // that comes from supplying a custom user-callback. - // - // FrameBg is tinted to match the chat body so the input looks like - // part of the same panel at whatever opacity the user picked. - Vector4 frameCol = new Vector4(0.05f, 0.07f, 0.10f, op); - Vector4 frameHovered = new Vector4(0.08f, 0.11f, 0.15f, op); - Vector4 frameActive = new Vector4(0.10f, 0.14f, 0.18f, op); - ImGui.PushStyleColor(ImGuiCol.FrameBg, frameCol); - ImGui.PushStyleColor(ImGuiCol.FrameBgHovered, frameHovered); - ImGui.PushStyleColor(ImGuiCol.FrameBgActive, frameActive); - ImGui.InputText("##rchat_input", ref _inputBuffer, 256u); - ImGui.PopStyleColor(3); - - bool isFocused = ImGui.IsItemFocused(); - bool enterPressed = ImGui.IsKeyPressed(ImGuiKey.Enter, false) - || ImGui.IsKeyPressed(ImGuiKey.KeypadEnter, false); - - // Eat the same Enter that activated the input, so we don't immediately - // submit an empty message on first focus. - if (_swallowFirstEnter) - { - _swallowFirstEnter = false; - enterPressed = false; - } - - if (isFocused && enterPressed) - { - string toSend = _inputBuffer.Trim(); - if (!string.IsNullOrEmpty(toSend)) - { - if (OnSubmit != null) - OnSubmit(toSend); - else if (_host.HasInvokeChatParser) - _host.InvokeChatParser(toSend); - } - _inputBuffer = string.Empty; - // Defocus our window so WASD/key input flows back to the game. - ImGui.SetWindowFocus(null); - } - - // Esc clears the buffer. - if (isFocused && ImGui.IsKeyPressed(ImGuiKey.Escape, false)) - _inputBuffer = string.Empty; - } - - ImGui.End(); - - if (snapShowTs != _settings.ChatShowTimestamps - || snapMax != _settings.ChatMaxLines - || MathF.Abs(snapOp - _settings.ChatOpacity) > 0.001f) - { - OnSettingChanged?.Invoke(); - } - } - - private void RenderSettingsPopup() - { - if (!ImGui.BeginPopup("##rchat_settings")) return; - - ImGui.Text("Chat Settings"); - ImGui.Separator(); - - ImGui.SetNextItemWidth(140); - ImGui.SliderFloat("Opacity", ref _settings.ChatOpacity, 0.15f, 1f, "%.2f"); - - ImGui.SetNextItemWidth(140); - ImGui.SliderInt("Max Lines", ref _settings.ChatMaxLines, 50, 5000); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Scrollback capacity. Older lines are dropped when this limit is hit."); - - ImGui.Checkbox("Timestamps", ref _settings.ChatShowTimestamps); - - ImGui.Checkbox("Click-Through", ref _settings.ChatClickThrough); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Mouse passes through to the game. The gear button stays clickable.\nTurn off again from the gear or Advanced Settings."); - - if (ImGui.Button("Clear##rchat_clear")) - { - lock (_lock) _lines.Clear(); - } - ImGui.SameLine(); - if (ImGui.Button("Copy Recent##rchat_copy")) - { - const int lastN = 100; - ChatLine[] tail; - lock (_lock) - { - int start = Math.Max(0, _lines.Count - lastN); - tail = _lines.GetRange(start, _lines.Count - start).ToArray(); - } - var sb = new System.Text.StringBuilder(); - foreach (var l in tail) sb.AppendLine(l.Text); - ImGui.SetClipboardText(sb.ToString()); - } - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Copy the last 100 lines to the clipboard."); - - ImGui.EndPopup(); - } - - /// Maps an AC eChatTypes value to a display colour. - /// Values come from gmMainChatUI's incoming text dispatch — see - /// Chorizite enum.cs eChatTypes for the canonical list. - private static Vector4 ColorForType(int chatType) => chatType switch - { - // 0x02 Speech, 0x03 SpeechDirect (you-target), 0x04 SpeechDirectSend (you sending) - 2 => new Vector4(0.95f, 0.95f, 0.95f, 1f), // Speech — white - 3 => new Vector4(1.00f, 0.55f, 0.85f, 1f), // SpeechDirect (tells to you) — pink - 4 => new Vector4(1.00f, 0.55f, 0.85f, 1f), // tells you sent — pink - // 0x05 SystemEvent — soft white-blue - 5 => new Vector4(0.85f, 0.90f, 1.00f, 1f), - // 0x06 Combat (general), 0x15 CombatEnemy, 0x16 CombatSelf - 6 => new Vector4(1.00f, 0.80f, 0.50f, 1f), // combat — amber - 0x15 => new Vector4(1.00f, 0.55f, 0.45f, 1f), // enemy hits you — red-orange - 0x16 => new Vector4(0.55f, 1.00f, 0.55f, 1f), // your hits — green - // 0x07 Magic (general), 0x11 MagicCasting - 7 => new Vector4(0.55f, 0.80f, 1.00f, 1f), // magic — light blue - 0x11 => new Vector4(0.55f, 0.80f, 1.00f, 1f), - // Channels - 0x08 => new Vector4(0.70f, 0.95f, 0.90f, 1f), // Channel — teal - 0x09 => new Vector4(0.70f, 0.95f, 0.90f, 1f), - 0x0A => new Vector4(0.85f, 0.85f, 0.55f, 1f), // SocialChannel — pale yellow - 0x0B => new Vector4(0.85f, 0.85f, 0.55f, 1f), - // 0x0C Emote - 0x0C => new Vector4(0.75f, 1.00f, 0.75f, 1f), - // 0x0D Advancement (level up etc.) - 0x0D => new Vector4(1.00f, 0.95f, 0.30f, 1f), - // 0x0E Abuse, 0x0F Help - 0x0E => new Vector4(1.00f, 0.40f, 0.40f, 1f), - 0x0F => new Vector4(0.55f, 1.00f, 1.00f, 1f), - // 0x10 Appraisal — soft cyan - 0x10 => new Vector4(0.65f, 0.90f, 1.00f, 1f), - // 0x12 Allegiance, 0x13 Fellowship - 0x12 => new Vector4(1.00f, 0.55f, 1.00f, 1f), // allegiance — magenta - 0x13 => new Vector4(0.55f, 1.00f, 0.85f, 1f), // fellowship — mint - // 0x14 World broadcast - 0x14 => new Vector4(1.00f, 0.45f, 0.65f, 1f), - // 0x17 Recall - 0x17 => new Vector4(0.85f, 0.70f, 1.00f, 1f), - // 0x18 Craft, 0x19 Salvaging - 0x18 => new Vector4(0.95f, 0.80f, 0.50f, 1f), - 0x19 => new Vector4(0.85f, 0.95f, 0.55f, 1f), - // 0x1A Transient (mouseover etc.) - 0x1A => new Vector4(0.70f, 0.75f, 0.80f, 1f), - // 0x1B General, 0x1C Trade, 0x1D LFG, 0x1E Roleplay - 0x1B => new Vector4(0.85f, 0.95f, 1.00f, 1f), - 0x1C => new Vector4(0.65f, 1.00f, 0.65f, 1f), - 0x1D => new Vector4(1.00f, 0.85f, 0.55f, 1f), - 0x1E => new Vector4(1.00f, 0.75f, 0.95f, 1f), - // 0x1F AdminTell — bright orange so it pops - 0x1F => new Vector4(1.00f, 0.55f, 0.20f, 1f), - // 0x20 Olthoi, 0x21 Society - 0x20 => new Vector4(0.85f, 0.45f, 0.25f, 1f), - 0x21 => new Vector4(0.85f, 0.95f, 1.00f, 1f), - // Default / AllChannels / unknown - _ => new Vector4(0.92f, 0.92f, 0.92f, 1f), - }; - - private static uint SetAlpha(uint col, float alpha) - { - uint a = (uint)(Math.Clamp(alpha, 0f, 1f) * 255f); - return (col & 0x00FFFFFF) | (a << 24); - } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthRadarUi.cs b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthRadarUi.cs index 0b19624..34b5a80 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthRadarUi.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthRadarUi.cs @@ -1,30 +1,24 @@ using System; -using System.Numerics; -using ImGuiNET; -using RynthCore.Plugin.RynthAi.Maps; +using RynthCore.Loot; using RynthCore.Plugin.RynthAi.Raycasting; using RynthCore.PluginSdk; namespace RynthCore.Plugin.RynthAi.LegacyUi; /// -/// RynthRadar — square, movable, resizable radar. Shares the DungeonMapUi's -/// rasterised floor + outer-edge cache so walls look identical to the big map -/// (gap-free portal bridges and all). Outdoors: dot markers only (no walls). -/// Gear icon in the top-right corner opens an inline settings popup; player -/// coords (N/S, E/W, Z) sit below the canvas. +/// The radar's data source: BuildSnapshotJson (RynthPluginGetRadarSnapshot) feeds the +/// engine's Radar and Dungeon Map faces - walls, floors and visited cells from +/// DungeonMapUi's rasterised cache, markers from the object cache, the player pose. +/// Visited-cell tracking advances on each snapshot. This used to be a plugin-drawn +/// radar window as well; nothing here draws now. /// internal sealed class RynthRadarUi { private readonly RynthCoreHost _host; private readonly LegacyUiSettings _settings; private DungeonMapUi? _mapData; - private MainLogic? _raycast; private WorldObjectCache? _objectCache; - private bool _open = true; - private bool _placementRestored; - // Per-session explored state (grid cells at the DungeonMapUi rasteriser's // resolution). Cleared whenever the player transitions landblocks, so // re-entering a dungeon resets the coloring. @@ -35,35 +29,42 @@ internal sealed class RynthRadarUi private System.Collections.Generic.Dictionary>? _visitedFillStrips; private int _lastVisitedCount = -1; - // Colours - private static readonly uint ColFrameOuter = ImGui.ColorConvertFloat4ToU32(new Vector4(0.04f, 0.05f, 0.08f, 1.00f)); - private static readonly uint ColFrameInner = ImGui.ColorConvertFloat4ToU32(new Vector4(0.62f, 0.52f, 0.24f, 1.00f)); - private static readonly uint ColFrameAccent = ImGui.ColorConvertFloat4ToU32(new Vector4(0.90f, 0.78f, 0.40f, 1.00f)); - private static readonly uint ColCardinal = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 1.00f, 1.00f, 1.00f)); - private static readonly uint ColCanvasBg = ImGui.ColorConvertFloat4ToU32(new Vector4(0.04f, 0.07f, 0.11f, 1.00f)); - private static readonly uint ColCrosshair = ImGui.ColorConvertFloat4ToU32(new Vector4(0.30f, 0.40f, 0.50f, 0.60f)); - private static readonly uint ColCoordText = ImGui.ColorConvertFloat4ToU32(new Vector4(0.95f, 0.97f, 1.00f, 1.00f)); - private static readonly uint ColTextOutline = ImGui.ColorConvertFloat4ToU32(new Vector4(0.00f, 0.00f, 0.00f, 0.95f)); + // Radar kind per static world object (portal 2, door 3, 0 = not drawn) with its label, + // decided once per object and name instead of on every 30 Hz snapshot (item-type read, + // five name searches, portal label tokenising for each of hundreds of dungeon objects). + // Static objects (ids below 0x80000000) don't move or change type. Only settled answers + // are kept: an object whose item type isn't readable yet is asked again next snapshot. + // Cleared with the visited cells on a landblock change. (2026-10-02 flood work.) + private readonly System.Collections.Generic.Dictionary _staticKinds = new(); + private int _creatureNpcLandblock; + // Radar kind per creature (monster, NPC, player, vendor, your pet), settled answers only, + // per landblock. Fellows are players looked up live (membership changes). + private readonly System.Collections.Generic.Dictionary _creatureKinds = new(); + // Dynamic (0x8...) non-creature objects: summoned portal, lifestone or item on the ground. + private readonly System.Collections.Generic.Dictionary _dynamicKinds = new(); + // Corpse killer from its LongDesc ("Killed by X."), "" until the corpse is identified; asked + // again at most once a second per corpse until then. + private readonly System.Collections.Generic.Dictionary _corpseKillers = new(); + // Creatures already drawn this snapshot (the landscape pass skips them). + private readonly System.Collections.Generic.HashSet _drawnCreatures = new(); + private string _playerName = string.Empty; + private long _playerNameAt; - // Wall colours — white by default, blue when the source cell has been visited this session. - private static readonly uint ColWallUnseen = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 1.00f, 1.00f, 1.00f)); - private static readonly uint ColWallVisited = ImGui.ColorConvertFloat4ToU32(new Vector4(0.25f, 0.60f, 1.00f, 1.00f)); + // Marker kinds: RadarKind in the engine (RynthCore.Engine, UI/Data/RadarSnapshotJson.cs). + // 0-3 are the original four; the rest were appended 2026-10-04 (older engines drop them). + internal const byte KindMonster = 0, KindNpc = 1, KindPortal = 2, KindDoor = 3, KindPlayer = 4, + KindFellow = 5, KindPet = 6, KindVendor = 7, KindCorpse = 8, KindOwnCorpse = 9, + KindLifestone = 10, KindGroundItem = 11; - // Floor fill colours. - private static readonly uint ColFloorFlatUnvisited = ImGui.ColorConvertFloat4ToU32(new Vector4(0.18f, 0.55f, 0.22f, 0.55f)); // green — unvisited flat - private static readonly uint ColFloorFill = ImGui.ColorConvertFloat4ToU32(new Vector4(0.12f, 0.18f, 0.28f, 0.55f)); // dim blue — slopes / non-flat - // Visited flat floor overlay — slate blue matching the UI accent family. - private static readonly uint ColFloorVisited = ImGui.ColorConvertFloat4ToU32(new Vector4(0.30f, 0.42f, 0.58f, 0.65f)); + // PublicWeenieDesc._bitfield flags (as ExpressionEngine.ResolveEffectiveObjectClass). + private const uint BfPlayer = 0x8, BfAttackable = 0x10, BfVendor = 0x200; + private const uint TypeCreature = 0x10u, TypePortal = 0x10000u, TypeLifeStone = 0x10000000u; + private const uint STypeLongDesc = 16u; - // Marker colours — all distinct so they read at a glance. - private static readonly uint ColPlayer = ImGui.ColorConvertFloat4ToU32(new Vector4(0.20f, 1.00f, 0.40f, 1.00f)); // green - private static readonly uint ColMonster = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.20f, 0.20f, 1.00f)); // red - private static readonly uint ColNpc = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.85f, 0.20f, 1.00f)); // yellow - private static readonly uint ColPortal = ImGui.ColorConvertFloat4ToU32(new Vector4(0.75f, 0.30f, 1.00f, 1.00f)); // magenta/purple - private static readonly uint ColDoor = ImGui.ColorConvertFloat4ToU32(new Vector4(1.00f, 0.55f, 0.10f, 1.00f)); // vivid orange - private static readonly uint ColDoorEdge = ImGui.ColorConvertFloat4ToU32(new Vector4(0.40f, 0.20f, 0.00f, 1.00f)); - - public Action? OnSettingChanged { get; set; } + /// Fellowship membership by character id (FellowshipTracker.IsMember); null = no fellows. + internal Func? IsFellowId { get; set; } + /// Fellowship membership by name, for a corpse's killer; null = no fellows. + internal Func? IsFellowName { get; set; } public RynthRadarUi(RynthCoreHost host, LegacyUiSettings settings) { @@ -72,759 +73,8 @@ internal sealed class RynthRadarUi } internal void SetMapData(DungeonMapUi mapData) => _mapData = mapData; - public void SetRaycast(MainLogic raycast) => _raycast = raycast; public void SetWorldObjectCache(WorldObjectCache cache) => _objectCache = cache; - public void Render() - { - if (!_settings.ShowRynthRadar) return; - if (!_host.HasGetPlayerPose) return; - if (!_host.TryGetPlayerPose(out uint cellId, out float px, out float py, out float pz, - out _, out _, out _, out _)) - return; - - bool snapRotate = _settings.RadarRotateWithPlayer; - bool snapShowM = _settings.RadarShowMonsters; - bool snapShowN = _settings.RadarShowNpcs; - bool snapShowP = _settings.RadarShowPortals; - bool snapShowD = _settings.RadarShowDoors; - float snapOp = _settings.RadarOpacity; - float snapZoom = _settings.RadarZoom; - int snapPaint = _settings.RadarWallPaintRadius; - bool snapCirc = _settings.RadarCircular; - - // Restore the window where the user left it last. A fresh RynthRadarUi - // (AC restart or RL hot-reload) starts with _placementRestored=false, so - // saved coords are re-applied on the first frame the radar shows. Sanity- - // check against the viewport so a radar dragged off-screen — or a smaller - // AC client window than last session — can't make it vanish. - if (!_placementRestored) - { - float sw = _settings.RadarSizeX > 0f ? _settings.RadarSizeX : 260f; - float sh = _settings.RadarSizeY > 0f ? _settings.RadarSizeY : 284f; - ImGui.SetNextWindowSize(new Vector2(sw, sh), ImGuiCond.Always); - - Vector2 vp = ImGui.GetMainViewport().Size; - float maxX = vp.X > 0 ? vp.X - 60f : 8000f; - float maxY = vp.Y > 0 ? vp.Y - 60f : 6000f; - float rpx = _settings.RadarPosX; - float rpy = _settings.RadarPosY; - if (rpx < 0 || rpy < 0 || rpx > maxX || rpy > maxY) - { - rpx = 60f; - rpy = 60f; - } - ImGui.SetNextWindowPos(new Vector2(rpx, rpy), ImGuiCond.Always); - _settings.RadarPosX = rpx; - _settings.RadarPosY = rpy; - _placementRestored = true; - } - ImGui.SetNextWindowSizeConstraints(new Vector2(140, 160), new Vector2(900, 932)); - ImGui.SetNextWindowBgAlpha(0f); - - ImGui.PushStyleVar(ImGuiStyleVar.WindowBorderSize, 0f); - ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, Vector2.Zero); - ImGui.PushStyleColor(ImGuiCol.WindowBg, 0u); - - // NoBringToFrontOnFocus keeps the gear sub-window (rendered after) on top - // when the user clicks the main window to drag or resize. - ImGuiWindowFlags flags = ImGuiWindowFlags.NoTitleBar - | ImGuiWindowFlags.NoScrollbar - | ImGuiWindowFlags.NoScrollWithMouse - | ImGuiWindowFlags.NoCollapse - | ImGuiWindowFlags.NoBringToFrontOnFocus; - if (_settings.RadarClickThrough) - { - // Mouse / keyboard events pass straight through to the game. The - // gear popup is unreachable while this is on — the Advanced Settings - // panel is the escape hatch. - flags |= ImGuiWindowFlags.NoInputs - | ImGuiWindowFlags.NoMove - | ImGuiWindowFlags.NoResize; - } - - bool visible = ImGui.Begin("##RynthRadar", ref _open, flags); - ImGui.PopStyleVar(2); - ImGui.PopStyleColor(); - - if (!visible) { ImGui.End(); return; } - - Vector2 winPos = ImGui.GetWindowPos(); - Vector2 winSize = ImGui.GetWindowSize(); - - // Keep canvas square; footer sits below and is sized for the 16pt coord text. - const float FooterH = 30f; - float sq = MathF.Min(winSize.X, winSize.Y - FooterH); - if (MathF.Abs(winSize.X - sq) > 0.5f || MathF.Abs(winSize.Y - (sq + FooterH)) > 0.5f) - ImGui.SetWindowSize(new Vector2(sq, sq + FooterH)); - - // Persist placement so the radar reopens exactly here next session. - // LegacyDashboardRenderer's per-frame CheckAndSave writes the JSON when - // these change — the same path the main dashboard uses for its own pos. - // Store the canonical (squared) size so the restored frame is stable. - _settings.RadarPosX = winPos.X; - _settings.RadarPosY = winPos.Y; - _settings.RadarSizeX = sq; - _settings.RadarSizeY = sq + FooterH; - - Vector2 canvasPos = winPos; - Vector2 canvasSize = new Vector2(sq, sq); - Vector2 centre = canvasPos + canvasSize * 0.5f; - float radius = sq * 0.5f - 6f; - - // Reserve the full window extent so later cursor moves (gear button) and - // drawlist calls that extend past the implicit cursor don't trip ImGui's - // "SetCursorPos extends parent boundary" assertion in End. - ImGui.Dummy(new Vector2(sq, sq + FooterH)); - - var dl = ImGui.GetWindowDrawList(); - bool circular = _settings.RadarCircular; - - DrawFrame(dl, canvasPos, canvasSize, circular); - - var clipMin = new Vector2(canvasPos.X + 4, canvasPos.Y + 4); - var clipMax = new Vector2(canvasPos.X + canvasSize.X - 4, canvasPos.Y + canvasSize.Y - 4); - dl.PushClipRect(clipMin, clipMax, intersect_with_current_clip_rect: true); - - // Per-element circular clip: content outside this radius is skipped in circle mode. - float innerRadius = radius; - float innerRadiusSq = innerRadius * innerRadius; - - // Crosshair — shortened to the visible area so it doesn't poke out of the circle. - if (circular) - { - dl.AddLine(new Vector2(centre.X, centre.Y - innerRadius), new Vector2(centre.X, centre.Y + innerRadius), ColCrosshair, 1f); - dl.AddLine(new Vector2(centre.X - innerRadius, centre.Y), new Vector2(centre.X + innerRadius, centre.Y), ColCrosshair, 1f); - } - else - { - dl.AddLine(new Vector2(centre.X, clipMin.Y), new Vector2(centre.X, clipMax.Y), ColCrosshair, 1f); - dl.AddLine(new Vector2(clipMin.X, centre.Y), new Vector2(clipMax.X, centre.Y), ColCrosshair, 1f); - } - - // Local helper — used to cull content that lies outside the circle in circle mode. - bool InsideShape(Vector2 p) - { - if (!circular) return true; // square mode uses rect clip already - float dx = p.X - centre.X; - float dy = p.Y - centre.Y; - return dx * dx + dy * dy <= innerRadiusSq; - } - - // Heading setup. AC convention: heading 0° = east, 90° = north (math CCW from east). - float heading = 0f; - _host.TryGetPlayerHeading(out heading); - float hRad = heading * MathF.PI / 180f; - float sinH = MathF.Sin(hRad); - float cosH = MathF.Cos(hRad); - bool rotate = _settings.RadarRotateWithPlayer; - - float zoom = MathF.Max(0.5f, _settings.RadarZoom); - uint landblock = cellId >> 16; - float gxLB = ((landblock >> 8) & 0xFF) * 192f; - float gyLB = (landblock & 0xFF) * 192f; - float playerWX = px + gxLB; - float playerWY = py + gyLB; - bool isIndoor = (cellId & 0xFFFF) >= 0x100 && landblock != 0; - - // Reset per-landblock explored state so re-entering a dungeon starts fresh. - if (landblock != _visitedLandblock) - { - _visitedLandblock = landblock; - _visitedCells.Clear(); - _visitedFillStrips = null; - _lastVisitedCount = -1; - } - - // Mark the player's current grid cell as visited (plus a user-tunable - // radius around it so walls light up well before the player is on top). - if (isIndoor) - { - int pgx = (int)MathF.Floor(playerWX / GridCell); - int pgy = (int)MathF.Floor(playerWY / GridCell); - int r = Math.Clamp(_settings.RadarWallPaintRadius, 0, 40); - for (int oy = -r; oy <= r; oy++) - for (int ox = -r; ox <= r; ox++) - _visitedCells.Add((pgx + ox, pgy + oy)); - } - - // Rebuild visited strips only when new cells were added. - if (_visitedCells.Count != _lastVisitedCount && _mapData != null) - { - _lastVisitedCount = _visitedCells.Count; - RebuildRadarVisitedStrips(); - } - - // ── Floor fill + outer edges (indoor, from shared big-map cache) ─ - // We draw three layers: current − 1, current + 1, and current. The ±1 layers - // are drawn first and dimmed so the current floor stays visually dominant. - if (isIndoor && _mapData != null) - { - _mapData.EnsureCache(landblock); - var zLayers = _mapData._zLayers; - if (zLayers is { Count: > 0 }) - { - int curIdx = _mapData.BestLayerIdxFor(pz); - - // Render order: below, above, current (current drawn last → on top). - Span<(int idx, float alpha, bool isCurrent)> order = stackalloc (int, float, bool)[3]; - int n = 0; - if (curIdx - 1 >= 0) order[n++] = (curIdx - 1, 0.30f, false); - if (curIdx + 1 < zLayers.Count) order[n++] = (curIdx + 1, 0.30f, false); - order[n++] = (curIdx, 1.00f, true); - - for (int li = 0; li < n; li++) - { - float layerZ = zLayers[order[li].idx]; - float a = order[li].alpha; - bool current = order[li].isCurrent; - - // ── Floor texture (fill + edges baked) or fallback strips ── - if (_mapData._layerTextures != null && - _mapData._layerTextures.TryGetValue(layerZ, out var floorTex) && - floorTex.TexId != IntPtr.Zero) - { - uint tint = ((uint)(a * 255f) << 24) | 0x00FFFFFFu; - - // World view: player ± innerRadius/zoom. We always render to the - // full circle / square bounding box and bake the world-view extent - // into the UVs. Earlier code clamped vx*/vy* to the texture's own - // world bounds, which shrank the screen rect when the texture - // didn't reach the full radar view, producing a "square inside - // the circle" at moderate zoom. Sampler clamp at texture edges - // is acceptable; ImGui's DX9 backend uses CLAMP, so UVs outside - // [0,1] sample the edge pixels (transparent for our atlas). - float worldR = innerRadius / zoom; - float vx0 = playerWX - worldR; - float vx1 = playerWX + worldR; - float vy0 = playerWY - worldR; - float vy1 = playerWY + worldR; - - float texW = floorTex.WorldX1 - floorTex.WorldX0; - float texH = floorTex.WorldY1 - floorTex.WorldY0; - float uvX0 = (vx0 - floorTex.WorldX0) / texW; - float uvX1 = (vx1 - floorTex.WorldX0) / texW; - float uvY0 = (floorTex.WorldY1 - vy1) / texH; // row 0 = north - float uvY1 = (floorTex.WorldY1 - vy0) / texH; - - if (!rotate && circular) - { - // Non-rotating circular radar: rect is the full circle bbox so - // AddImageRounded(rounding=innerRadius) clips to a true circle. - var sNW = new Vector2(centre.X - innerRadius, centre.Y - innerRadius); - var sSE = new Vector2(centre.X + innerRadius, centre.Y + innerRadius); - dl.AddImageRounded(floorTex.TexId, sNW, sSE, - new Vector2(uvX0, uvY0), new Vector2(uvX1, uvY1), - tint, innerRadius, ImDrawFlags.RoundCornersAll); - } - else if (!rotate) - { - // Square non-rotating radar: full square bbox, sampler-clamped UVs. - var sNW = new Vector2(centre.X - innerRadius, centre.Y - innerRadius); - var sSE = new Vector2(centre.X + innerRadius, centre.Y + innerRadius); - dl.AddImage(floorTex.TexId, sNW, sSE, - new Vector2(uvX0, uvY0), new Vector2(uvX1, uvY1), tint); - } - else - { - // Rotating radar: project 4 corners of the world view rect. - // Circular clipping is not applied here — the rotated quad - // can poke out of the circle. (Acceptable: rotate mode is - // tightly bound to the radar canvas anyway.) - var pNW = ProjectWorld(vx0, vy1, playerWX, playerWY, centre, zoom, true, sinH, cosH); - var pNE = ProjectWorld(vx1, vy1, playerWX, playerWY, centre, zoom, true, sinH, cosH); - var pSE = ProjectWorld(vx1, vy0, playerWX, playerWY, centre, zoom, true, sinH, cosH); - var pSW = ProjectWorld(vx0, vy0, playerWX, playerWY, centre, zoom, true, sinH, cosH); - dl.AddImageQuad(floorTex.TexId, pNW, pNE, pSE, pSW, - new Vector2(uvX0, uvY0), new Vector2(uvX1, uvY0), - new Vector2(uvX1, uvY1), new Vector2(uvX0, uvY1), tint); - } - } - else if (_mapData._fillStrips != null && - _mapData._fillStrips.TryGetValue(layerZ, out var strips)) - { - // Fallback fill strips - foreach (var (x0, y0, x1, y1, stripType) in strips) - { - var p00 = ProjectWorld(x0, y0, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var p10 = ProjectWorld(x1, y0, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var p11 = ProjectWorld(x1, y1, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var p01 = ProjectWorld(x0, y1, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - float sxMin = MathF.Min(p00.X, MathF.Min(p10.X, MathF.Min(p11.X, p01.X))); - float sxMax = MathF.Max(p00.X, MathF.Max(p10.X, MathF.Max(p11.X, p01.X))); - float syMin = MathF.Min(p00.Y, MathF.Min(p10.Y, MathF.Min(p11.Y, p01.Y))); - float syMax = MathF.Max(p00.Y, MathF.Max(p10.Y, MathF.Max(p11.Y, p01.Y))); - var min = new Vector2(sxMin, syMin); - var max = new Vector2(sxMax, syMax); - if (max.X < clipMin.X || min.X > clipMax.X || - max.Y < clipMin.Y || min.Y > clipMax.Y) continue; - // Disc is convex — all four corners inside ⇒ whole strip inside. - if (circular && - (!InsideShape(p00) || !InsideShape(p10) || - !InsideShape(p11) || !InsideShape(p01))) continue; - - uint stripFill = SetAlpha( - stripType == DungeonMapUi.CellType.Flat ? ColFloorFlatUnvisited : ColFloorFill, - a * 0.55f); - if (rotate) dl.AddQuadFilled(p00, p10, p11, p01, stripFill); - else dl.AddRectFilled(min, max, stripFill); - } - - // Fallback walls - uint wallUnseen = SetAlpha(ColWallUnseen, a); - uint wallSeen = SetAlpha(ColWallVisited, a); - if (_mapData._outerEdgesRaw != null && - _mapData._outerEdgesRaw.TryGetValue(layerZ, out var rawEdges)) - { - foreach (var (ax, ay, bx, by, _, cellGx, cellGy) in rawEdges) - { - var p0 = ProjectWorld(ax, ay, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var p1 = ProjectWorld(bx, by, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - if (MathF.Max(p0.X, p1.X) < clipMin.X || MathF.Min(p0.X, p1.X) > clipMax.X || - MathF.Max(p0.Y, p1.Y) < clipMin.Y || MathF.Min(p0.Y, p1.Y) > clipMax.Y) continue; - if (!InsideShape(p0) || !InsideShape(p1)) continue; - uint col = (current && _visitedCells.Contains((cellGx, cellGy))) - ? wallSeen : wallUnseen; - dl.AddLine(p0, p1, col, current ? 1.5f : 1.0f); - } - } - } - - // Visited flat floor overlay — drawn as pre-merged strips (current floor only). - if (current && _visitedFillStrips != null && - _visitedFillStrips.TryGetValue(layerZ, out var vStrips)) - { - uint visitedFillCol = SetAlpha(ColFloorVisited, a); - foreach (var (wx0, wy0, wx1, wy1) in vStrips) - { - // Project all four corners of the world rect. We need them - // anyway for the rotate path, and using all four for the - // circle-cull keeps the visited overlay from bleeding past - // the radar boundary when zoomed (which the old centre-only - // check allowed). The disc is convex, so all-corners-inside - // implies the whole strip is inside. - var sp0 = ProjectWorld(wx0, wy0, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var sp1 = ProjectWorld(wx1, wy1, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var sp2 = ProjectWorld(wx1, wy0, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - var sp3 = ProjectWorld(wx0, wy1, playerWX, playerWY, centre, zoom, rotate, sinH, cosH); - - float sxMin = MathF.Min(MathF.Min(sp0.X, sp1.X), MathF.Min(sp2.X, sp3.X)); - float sxMax = MathF.Max(MathF.Max(sp0.X, sp1.X), MathF.Max(sp2.X, sp3.X)); - float syMin = MathF.Min(MathF.Min(sp0.Y, sp1.Y), MathF.Min(sp2.Y, sp3.Y)); - float syMax = MathF.Max(MathF.Max(sp0.Y, sp1.Y), MathF.Max(sp2.Y, sp3.Y)); - - if (sxMax < clipMin.X || sxMin > clipMax.X || - syMax < clipMin.Y || syMin > clipMax.Y) continue; - if (circular && - (!InsideShape(sp0) || !InsideShape(sp1) || - !InsideShape(sp2) || !InsideShape(sp3))) - continue; - - if (rotate) - dl.AddQuadFilled(sp0, sp2, sp1, sp3, visitedFillCol); - else - dl.AddRectFilled(new Vector2(sxMin, syMin), new Vector2(sxMax, syMax), visitedFillCol); - } - } - - } - } - } - - // ── Dot markers (indoor + outdoor) ─────────────────────────────── - if (_objectCache != null && _host.HasGetObjectPosition && landblock != 0) - { - const uint STypeCreatureType = 2u; - const int CreatureTypeNpc = 14; - const uint TypePortal = 0x10000u; - - if (_settings.RadarShowMonsters || _settings.RadarShowNpcs) - { - foreach (var wo in _objectCache.GetLandscape()) - { - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint cCellId, - out float cox, out float coy, out _)) continue; - if ((cCellId >> 16) != landblock) continue; - - bool isNpc = _host.HasGetObjectIntProperty - && _host.TryGetObjectIntProperty((uint)wo.Id, STypeCreatureType, out int ct) - && ct == CreatureTypeNpc; - if (isNpc && !_settings.RadarShowNpcs) continue; - if (!isNpc && !_settings.RadarShowMonsters) continue; - - var p = ProjectWorld(cox, coy, px, py, centre, zoom, rotate, sinH, cosH); - if (!InRect(p, clipMin, clipMax)) continue; - if (!InsideShape(p)) continue; - dl.AddCircleFilled(p, 3f, isNpc ? ColNpc : ColMonster); - } - } - - if (_settings.RadarShowPortals || _settings.RadarShowDoors) - { - foreach (var wo in _objectCache.GetLandscapeObjects()) - { - if ((uint)wo.Id >= 0x80000000u) continue; - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint oCellId, - out float oox, out float ooy, out _)) continue; - if ((oCellId >> 16) != landblock) continue; - - bool isPortal = _host.HasGetItemType - && _host.TryGetItemType((uint)wo.Id, out uint typeFlags) - && (typeFlags & TypePortal) != 0; - bool isDoor = !isPortal && IsDoorName(wo.Name); - if (isPortal && !_settings.RadarShowPortals) continue; - if (isDoor && !_settings.RadarShowDoors) continue; - if (!isPortal && !isDoor) continue; - - var p = ProjectWorld(oox, ooy, px, py, centre, zoom, rotate, sinH, cosH); - if (!InRect(p, clipMin, clipMax)) continue; - if (!InsideShape(p)) continue; - if (isPortal) - { - // Portal: purple diamond. - const float s = 4f; - dl.AddQuadFilled( - new Vector2(p.X, p.Y - s), - new Vector2(p.X + s, p.Y), - new Vector2(p.X, p.Y + s), - new Vector2(p.X - s, p.Y), ColPortal); - - // Destination label directly above the diamond. - string label = GetPortalLabel(wo); - if (!string.IsNullOrEmpty(label)) - { - ImFontPtr font = ImGui.GetFont(); - const float lblSize = 13f; - Vector2 ts = font.CalcTextSizeA(lblSize, float.MaxValue, 0f, label); - var lp = new Vector2(p.X - ts.X * 0.5f, p.Y - s - ts.Y - 1f); - DrawTextOutlined(dl, font, lblSize, lp, label, ColCardinal, ColTextOutline); - } - } - else - { - // Door: orange square with a dark outline — very different silhouette - // from the monster/NPC circles so it reads at a glance. - const float s = 3.5f; - dl.AddRectFilled(new Vector2(p.X - s, p.Y - s), new Vector2(p.X + s, p.Y + s), ColDoor); - dl.AddRect(new Vector2(p.X - s, p.Y - s), new Vector2(p.X + s, p.Y + s), ColDoorEdge, 0f, ImDrawFlags.None, 1f); - } - } - } - } - - // ── Player centre + heading arrow ──────────────────────────────── - dl.AddCircleFilled(centre, 3.5f, ColPlayer); - { - float ax, ay; - if (rotate) - { - ax = 0f; ay = -12f; // player's facing is always screen-up - } - else - { - // North-up: arrow follows actual world heading. - // Heading 0° = east → (+x, 0); 90° = north → (0, -y) on screen. - ax = cosH * 12f; - ay = -sinH * 12f; - } - dl.AddLine(centre, new Vector2(centre.X + ax, centre.Y + ay), ColPlayer, 2f); - } - - // In rotate+circular mode, mask any texture bleed outside the circle boundary - // by overdrawing the 4 corner areas (inside clip rect, outside circle) with the - // canvas background colour. Without this, AddImageQuad corners poke past the ring. - if (circular && rotate) - { - uint maskCol = SetAlpha(ColCanvasBg, Math.Clamp(_settings.RadarOpacity, 0f, 1f)); - DrawCircleCornerMasks(dl, centre, innerRadius, clipMin, clipMax, maskCol); - } - - dl.PopClipRect(); - - // Re-draw the circle outline rings after content so they always appear on top, - // covering any residual bleed right at the circle edge. - if (circular) - { - float ringR = sq * 0.5f - 2f; - dl.AddCircle(centre, ringR, ColFrameOuter, 64, 2f); - dl.AddCircle(centre, ringR - 3, ColFrameInner, 64, 1f); - } - - // Cardinals — ride the inner edge of the frame (square or circular). - DrawCardinals(dl, centre, sq * 0.5f - 10f, rotate ? (hRad - MathF.PI * 0.5f) : 0f, circular); - - // Gear button + popup — hoisted into a separate always-interactive sub-window - // so it stays clickable even when the main radar window has NoInputs (click-through). - { - const float btn = 14f; - Vector2 bPos; - if (circular) - { - float R = innerRadius; - const float k = 0.82f; - bPos = new Vector2( - centre.X + R * 0.707f * k - btn * 0.5f, - centre.Y - R * 0.707f * k - btn * 0.5f); - } - else - { - bPos = new Vector2(canvasPos.X + canvasSize.X - btn - 6f, canvasPos.Y + 6f); - } - RenderGearWindow("##rradar_gear_win", "*##rradar_gear", "##rradar_settings", bPos, btn); - } - - // Footer — outdoor shows world coords (N/S, E/W, Z); indoor hides N/S and E/W - // since they barely change inside a single landblock, and shows the landblock - // ID + Z instead. - { - string? coords = null; - if (isIndoor) - { - coords = $"LB {landblock:X4} Z {pz:0.0}"; - } - else if (NavCoordinateHelper.TryGetNavCoords(_host, out double ns, out double ew)) - { - coords = $"{MathF.Abs((float)ns):0.0}{(ns >= 0 ? "N" : "S")} {MathF.Abs((float)ew):0.0}{(ew >= 0 ? "E" : "W")} Z {pz:0.0}"; - } - - if (coords != null) - { - ImFontPtr font = ImGui.GetFont(); - const float coordSize = 16f; - Vector2 ts = font.CalcTextSizeA(coordSize, float.MaxValue, 0f, coords); - Vector2 tp = new Vector2(canvasPos.X + (canvasSize.X - ts.X) * 0.5f, - canvasPos.Y + canvasSize.Y + (FooterH - ts.Y) * 0.5f); - DrawTextOutlined(dl, font, coordSize, tp, coords, ColCoordText, ColTextOutline); - } - } - - // Scroll-wheel zoom over the canvas area. - // Note: we deliberately do NOT use an InvisibleButton here, because it would block - // the window's edge-resize grips and drag-to-move behaviour. - if (ImGui.IsWindowHovered()) - { - var mp = ImGui.GetIO().MousePos; - if (mp.X >= clipMin.X && mp.X <= clipMax.X && mp.Y >= clipMin.Y && mp.Y <= clipMax.Y) - { - float wheel = ImGui.GetIO().MouseWheel; - if (float.IsFinite(wheel) && wheel != 0f) - { - _settings.RadarZoom = Math.Clamp(_settings.RadarZoom + wheel * 0.25f, 0.5f, 20f); - ImGui.SetNextFrameWantCaptureMouse(true); - } - } - } - - ImGui.End(); - - if (snapRotate != _settings.RadarRotateWithPlayer - || snapShowM != _settings.RadarShowMonsters - || snapShowN != _settings.RadarShowNpcs - || snapShowP != _settings.RadarShowPortals - || snapShowD != _settings.RadarShowDoors - || snapPaint != _settings.RadarWallPaintRadius - || snapCirc != _settings.RadarCircular - || MathF.Abs(snapOp - _settings.RadarOpacity) > 0.001f - || MathF.Abs(snapZoom - _settings.RadarZoom) > 0.001f) - { - OnSettingChanged?.Invoke(); - } - } - - // ── Frame drawing ─────────────────────────────────────────────────── - - private void DrawFrame(ImDrawListPtr dl, Vector2 pos, Vector2 size, bool circular) - { - float op = Math.Clamp(_settings.RadarOpacity, 0f, 1f); - uint bg = SetAlpha(ColCanvasBg, op); - - Vector2 a = pos; - Vector2 b = pos + size; - - if (circular) - { - Vector2 c = (a + b) * 0.5f; - float r = MathF.Min(size.X, size.Y) * 0.5f - 2f; - const int seg = 64; - - dl.AddCircleFilled(c, r, bg, seg); - // Ring outlines are drawn AFTER content (see Render) so they always appear on top. - - // Four compass tick marks just inside the rim (N/E/S/W) in the accent colour. - float ti = r - 8f; - float to = r - 2f; - dl.AddLine(new Vector2(c.X, c.Y - ti), new Vector2(c.X, c.Y - to), ColFrameAccent, 2f); - dl.AddLine(new Vector2(c.X, c.Y + ti), new Vector2(c.X, c.Y + to), ColFrameAccent, 2f); - dl.AddLine(new Vector2(c.X - ti, c.Y), new Vector2(c.X - to, c.Y), ColFrameAccent, 2f); - dl.AddLine(new Vector2(c.X + ti, c.Y), new Vector2(c.X + to, c.Y), ColFrameAccent, 2f); - return; - } - - float rr = 4f; - dl.AddRectFilled(a, b, bg, rr); - dl.AddRect(new Vector2(a.X + 1, a.Y + 1), new Vector2(b.X - 1, b.Y - 1), ColFrameOuter, rr, ImDrawFlags.None, 2f); - dl.AddRect(new Vector2(a.X + 3, a.Y + 3), new Vector2(b.X - 3, b.Y - 3), ColFrameInner, rr, ImDrawFlags.None, 1f); - - float cl = 8f; - float co = 2f; - dl.AddLine(new Vector2(a.X - co, a.Y + cl), new Vector2(a.X - co, a.Y - co), ColFrameAccent, 2f); - dl.AddLine(new Vector2(a.X - co, a.Y - co), new Vector2(a.X + cl, a.Y - co), ColFrameAccent, 2f); - dl.AddLine(new Vector2(b.X - cl, a.Y - co), new Vector2(b.X + co, a.Y - co), ColFrameAccent, 2f); - dl.AddLine(new Vector2(b.X + co, a.Y - co), new Vector2(b.X + co, a.Y + cl), ColFrameAccent, 2f); - dl.AddLine(new Vector2(a.X - co, b.Y - cl), new Vector2(a.X - co, b.Y + co), ColFrameAccent, 2f); - dl.AddLine(new Vector2(a.X - co, b.Y + co), new Vector2(a.X + cl, b.Y + co), ColFrameAccent, 2f); - dl.AddLine(new Vector2(b.X - cl, b.Y + co), new Vector2(b.X + co, b.Y + co), ColFrameAccent, 2f); - dl.AddLine(new Vector2(b.X + co, b.Y + co), new Vector2(b.X + co, b.Y - cl), ColFrameAccent, 2f); - } - - private static void DrawCardinals(ImDrawListPtr dl, Vector2 centre, float halfSize, float rotationRad, bool circular) - { - ReadOnlySpan labels = new[] { "N", "E", "S", "W" }; - // Clockwise angles from screen-up, when rotationRad = 0 (north-up). - ReadOnlySpan angles = new[] { 0f, MathF.PI * 0.5f, MathF.PI, MathF.PI * 1.5f }; - - ImFontPtr font = ImGui.GetFont(); - const float size = 18f; - - for (int i = 0; i < 4; i++) - { - float a = angles[i] + rotationRad; - // Direction vector from centre: (sin a, -cos a) so angle 0 = up. - float dx = MathF.Sin(a); - float dy = -MathF.Cos(a); - - float x, y; - if (circular) - { - // Ride the circle of radius = halfSize. - x = centre.X + dx * halfSize; - y = centre.Y + dy * halfSize; - } - else - { - // Project onto the SQUARE of half-side `halfSize`: scale dir so - // that max(|dx|,|dy|) equals halfSize → label sits on the perimeter. - float m = MathF.Max(MathF.Abs(dx), MathF.Abs(dy)); - if (m < 1e-4f) continue; - float k = halfSize / m; - x = centre.X + dx * k; - y = centre.Y + dy * k; - } - - Vector2 ts = font.CalcTextSizeA(size, float.MaxValue, 0f, labels[i]); - var pos = new Vector2(x - ts.X * 0.5f, y - ts.Y * 0.5f); - DrawTextOutlined(dl, font, size, pos, labels[i], ColCardinal, ColTextOutline); - } - } - - /// Draws text with a 1px black outline (4-way offset) for legibility - /// over varied backgrounds. - private static void DrawTextOutlined(ImDrawListPtr dl, ImFontPtr font, float size, - Vector2 pos, string text, uint fg, uint outline) - { - dl.AddText(font, size, new Vector2(pos.X + 1, pos.Y), outline, text); - dl.AddText(font, size, new Vector2(pos.X - 1, pos.Y), outline, text); - dl.AddText(font, size, new Vector2(pos.X, pos.Y + 1), outline, text); - dl.AddText(font, size, new Vector2(pos.X, pos.Y - 1), outline, text); - dl.AddText(font, size, new Vector2(pos.X + 1, pos.Y + 1), outline, text); - dl.AddText(font, size, new Vector2(pos.X - 1, pos.Y - 1), outline, text); - dl.AddText(font, size, new Vector2(pos.X + 1, pos.Y - 1), outline, text); - dl.AddText(font, size, new Vector2(pos.X - 1, pos.Y + 1), outline, text); - dl.AddText(font, size, pos, fg, text); - } - - /// - /// Renders the gear button and its settings popup in a separate, always- - /// interactive ImGui sub-window, so the gear stays clickable even when the - /// main radar window has NoInputs (click-through). - /// - private void RenderGearWindow(string winId, string btnId, string popupId, Vector2 pos, float size) - { - ImGui.SetNextWindowPos(pos); - ImGui.SetNextWindowSize(new Vector2(size, size)); - ImGui.PushStyleVar(ImGuiStyleVar.WindowBorderSize, 0f); - ImGui.PushStyleVar(ImGuiStyleVar.WindowPadding, Vector2.Zero); - ImGui.PushStyleColor(ImGuiCol.WindowBg, 0u); - - const ImGuiWindowFlags flags = ImGuiWindowFlags.NoTitleBar - | ImGuiWindowFlags.NoResize - | ImGuiWindowFlags.NoMove - | ImGuiWindowFlags.NoCollapse - | ImGuiWindowFlags.NoBackground - | ImGuiWindowFlags.NoSavedSettings - | ImGuiWindowFlags.NoBringToFrontOnFocus; - - bool open = true; - if (ImGui.Begin(winId, ref open, flags)) - { - ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0f, 0f, 0f, 0.55f)); - ImGui.PushStyleColor(ImGuiCol.ButtonHovered, new Vector4(0.25f, 0.30f, 0.40f, 0.85f)); - ImGui.PushStyleColor(ImGuiCol.ButtonActive, new Vector4(0.20f, 0.25f, 0.35f, 1f)); - if (ImGui.Button(btnId, new Vector2(size, size))) - ImGui.OpenPopup(popupId); - ImGui.PopStyleColor(3); - RenderSettingsPopup(); - } - ImGui.End(); - - ImGui.PopStyleColor(); - ImGui.PopStyleVar(2); - } - - private void RenderSettingsPopup() - { - // Push RynthAi dark-navy palette so the popup matches the rest of the UI - ImGui.PushStyleColor(ImGuiCol.PopupBg, new Vector4(0.08f, 0.10f, 0.16f, 0.97f)); - ImGui.PushStyleColor(ImGuiCol.Text, new Vector4(0.90f, 0.92f, 0.96f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBg, new Vector4(0.14f, 0.18f, 0.28f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBgHovered, new Vector4(0.20f, 0.27f, 0.40f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.FrameBgActive, new Vector4(0.17f, 0.23f, 0.35f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.CheckMark, new Vector4(0.90f, 0.78f, 0.40f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.SliderGrab, new Vector4(0.62f, 0.52f, 0.24f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.SliderGrabActive, new Vector4(0.90f, 0.78f, 0.40f, 1.00f)); - ImGui.PushStyleColor(ImGuiCol.Separator, new Vector4(0.25f, 0.35f, 0.52f, 1.00f)); - - if (!ImGui.BeginPopup("##rradar_settings")) - { - ImGui.PopStyleColor(9); - return; - } - - ImGui.Text("Radar Settings"); - ImGui.Separator(); - - ImGui.Checkbox("Rotate with Player", ref _settings.RadarRotateWithPlayer); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("On: player facing points up and compass rotates.\nOff: north is always up."); - - ImGui.Checkbox("Circular Radar", ref _settings.RadarCircular); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Off: square frame. On: circular frame (content outside the circle is culled)."); - - ImGui.Checkbox("Click-Through", ref _settings.RadarClickThrough); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Mouse events pass through to the game. Move/resize/gear are disabled while on.\nTurn it back off from Advanced Settings → Navigation → Radar."); - - ImGui.SetNextItemWidth(140); - ImGui.SliderFloat("Opacity", ref _settings.RadarOpacity, 0.15f, 1f, "%.2f"); - ImGui.SetNextItemWidth(140); - ImGui.SliderFloat("Zoom", ref _settings.RadarZoom, 0.5f, 20f, "%.1f"); - ImGui.SetNextItemWidth(140); - ImGui.SliderInt("Paint Radius", ref _settings.RadarWallPaintRadius, 1, 20); - if (ImGui.IsItemHovered()) - ImGui.SetTooltip("Distance (in 0.5m grid cells) around the player that\nmarks walls as explored. Higher = walls light up from further away."); - - ImGui.Separator(); - ImGui.Text("Show:"); - ImGui.Checkbox("Monsters##rradar", ref _settings.RadarShowMonsters); - ImGui.Checkbox("NPCs##rradar", ref _settings.RadarShowNpcs); - ImGui.Checkbox("Portals##rradar", ref _settings.RadarShowPortals); - ImGui.Checkbox("Doors##rradar", ref _settings.RadarShowDoors); - - ImGui.EndPopup(); - ImGui.PopStyleColor(9); - } - // ── Visited strip cache ───────────────────────────────────────────── private void RebuildRadarVisitedStrips() @@ -850,49 +100,6 @@ internal sealed class RynthRadarUi _visitedFillStrips = result.Count > 0 ? result : null; } - // ── Projection ────────────────────────────────────────────────────── - - /// - /// Project a world-space XY point (landblock-local is fine as long as playerX/playerY - /// are expressed in the same basis) to radar screen coords. - /// - /// AC convention: +X = east, +Y = north, heading 0° = east, 90° = north (CCW from east). - /// - private static Vector2 ProjectWorld( - float wx, float wy, float playerX, float playerY, - Vector2 centre, float zoom, bool rotate, float sinH, float cosH) - { - float dx = wx - playerX; // east offset - float dy = wy - playerY; // north offset - - float sx, sy; - if (rotate) - { - // Rotate world by (90° - heading) so facing → screen-up. - // newX = sin(h)*dx - cos(h)*dy (screen right) - // newY = cos(h)*dx + sin(h)*dy (screen up → screen -Y) - float right = sinH * dx - cosH * dy; - float forward = cosH * dx + sinH * dy; - sx = centre.X + right * zoom; - sy = centre.Y - forward * zoom; - } - else - { - sx = centre.X + dx * zoom; - sy = centre.Y - dy * zoom; - } - return new Vector2(sx, sy); - } - - private static bool InRect(Vector2 p, Vector2 min, Vector2 max) - => p.X >= min.X && p.X <= max.X && p.Y >= min.Y && p.Y <= max.Y; - - private static uint SetAlpha(uint col, float alpha) - { - uint a = (uint)(Math.Clamp(alpha, 0f, 1f) * 255f); - return (col & 0x00FFFFFF) | (a << 24); - } - /// /// Best-effort portal display name. STypePortalDest (38) holds the raw destination /// when available, otherwise we fall back to the object name. The label is then @@ -984,48 +191,9 @@ internal sealed class RynthRadarUi || name.Contains("Trapdoor", StringComparison.OrdinalIgnoreCase); } - // ── Circular-clip helpers ─────────────────────────────────────────── - - /// - /// Covers the 4 corner areas (inside clipMin/clipMax square but outside the circle) - /// with via triangle fans, masking any content that bled - /// outside the circle boundary (e.g. AddImageQuad corners in rotate mode). - /// Angle convention: (cos a, sin a) in screen coords where +Y is down. - /// NW arc: PI → 3PI/2 (left→top, through upper-left) - /// NE arc: -PI/2 → 0 (top→right, through upper-right) - /// SE arc: 0 → PI/2 (right→bottom, through lower-right) - /// SW arc: PI/2 → PI (bottom→left, through lower-left) - /// - private static void DrawCircleCornerMasks(ImDrawListPtr dl, Vector2 centre, - float radius, Vector2 clipMin, Vector2 clipMax, uint color) - { - MaskCornerFan(dl, new Vector2(clipMin.X, clipMin.Y), centre, radius, MathF.PI, MathF.PI * 1.5f, color); - MaskCornerFan(dl, new Vector2(clipMax.X, clipMin.Y), centre, radius, -MathF.PI * 0.5f, 0f, color); - MaskCornerFan(dl, new Vector2(clipMax.X, clipMax.Y), centre, radius, 0f, MathF.PI * 0.5f, color); - MaskCornerFan(dl, new Vector2(clipMin.X, clipMax.Y), centre, radius, MathF.PI * 0.5f, MathF.PI, color); - } - - private static void MaskCornerFan(ImDrawListPtr dl, Vector2 corner, Vector2 centre, - float radius, float startAngle, float endAngle, uint color) - { - const int Segs = 8; - var prev = new Vector2(centre.X + MathF.Cos(startAngle) * radius, - centre.Y + MathF.Sin(startAngle) * radius); - for (int i = 1; i <= Segs; i++) - { - float a = startAngle + (endAngle - startAngle) * i / Segs; - var cur = new Vector2(centre.X + MathF.Cos(a) * radius, - centre.Y + MathF.Sin(a) * radius); - dl.AddTriangleFilled(corner, prev, cur, color); - prev = cur; - } - } - - // ── Snapshot bridge for the engine-side Avalonia radar panel ──────────── - // Mirrors the data Render() consumes, but never touches ImGui — safe to - // call whether or not the ImGui radar is showing. Visited-cell tracking - // advances here too, so the visited overlay populates even when the user - // has the ImGui radar hidden in favour of the Avalonia panel. + // ── Snapshot bridge for the engine's radar and dungeon map faces ──────── + // Visited-cell tracking advances here, so the visited overlay fills in + // while a radar or map face is polling. /// /// Build a JSON snapshot for the Avalonia radar. @@ -1069,6 +237,9 @@ internal sealed class RynthRadarUi _visitedCells.Clear(); _visitedFillStrips = null; _lastVisitedCount = -1; + _staticKinds.Clear(); + _dynamicKinds.Clear(); + _corpseKillers.Clear(); } if (isIndoor) @@ -1182,49 +353,261 @@ internal sealed class RynthRadarUi } if (_objectCache != null && _host.HasGetObjectPosition && landblock != 0) - { - const uint STypeCreatureType = 2u; - const int CreatureTypeNpc = 14; - const uint TypePortal = 0x10000u; - - foreach (var wo in _objectCache.GetLandscape()) - { - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint cCellId, - out float cox, out float coy, out float coz)) continue; - if ((cCellId >> 16) != landblock) continue; - - bool isNpc = _host.HasGetObjectIntProperty - && _host.TryGetObjectIntProperty((uint)wo.Id, STypeCreatureType, out int ct) - && ct == CreatureTypeNpc; - payload.Markers.Add(new RadarMarker - { - Kind = isNpc ? (byte)1 : (byte)0, - X = cox + gxLB, Y = coy + gyLB, Z = coz, - }); - } - - foreach (var wo in _objectCache.GetLandscapeObjects()) - { - if ((uint)wo.Id >= 0x80000000u) continue; - if (!_host.TryGetObjectPosition((uint)wo.Id, out uint oCellId, - out float oox, out float ooy, out float ooz)) continue; - if ((oCellId >> 16) != landblock) continue; - - bool isPortal = _host.HasGetItemType - && _host.TryGetItemType((uint)wo.Id, out uint typeFlags) - && (typeFlags & TypePortal) != 0; - bool isDoor = !isPortal && IsDoorName(wo.Name); - if (!isPortal && !isDoor) continue; - - payload.Markers.Add(new RadarMarker - { - Kind = isPortal ? (byte)2 : (byte)3, - X = oox + gxLB, Y = ooy + gyLB, Z = ooz, - Label = isPortal ? GetPortalLabel(wo) : null, - }); - } - } + AddMarkers(payload, landblock, gxLB, gyLB); return payload; } + + // ── Markers ───────────────────────────────────────────────────────────── + // Every kind is sent; the engine filters by its per-kind settings. Each object's kind is + // decided once and kept (per object id and name) wherever the answer is settled, because + // this runs on every radar poll (10-30 Hz) over every creature and world object nearby. + + private void AddMarkers(RadarSnapshotPayload payload, uint landblock, float gxLB, float gyLB) + { + var cache = _objectCache!; + if (_creatureNpcLandblock != (int)landblock) + { + _creatureNpcLandblock = (int)landblock; + _creatureKinds.Clear(); + } + + string me = PlayerName(); + string petPrefix = me.Length > 0 ? me + "'s " : string.Empty; + string myCorpse = me.Length > 0 ? "Corpse of " + me : string.Empty; + long now = Environment.TickCount64; + _drawnCreatures.Clear(); + + foreach (var wo in cache.GetLandscape()) + { + if (!_host.TryGetObjectPosition((uint)wo.Id, out uint cCellId, + out float cox, out float coy, out float coz)) continue; + if ((cCellId >> 16) != landblock) continue; + _drawnCreatures.Add(wo.Id); + AddCreature(payload, wo, petPrefix, cox + gxLB, coy + gyLB, coz); + } + + foreach (var wo in cache.GetLandscapeObjects()) + { + uint uid = (uint)wo.Id; + string woName = wo.Name ?? string.Empty; + + // Creatures outside the cache's creature set: players and NPCs its rescue pass + // promoted are filed by class only (Monster-class ones are in the set). + if (wo.ObjectClass is AcObjectClass.Monster or AcObjectClass.Player or AcObjectClass.Npc + or AcObjectClass.Vendor or AcObjectClass.CombatPet) + { + if (wo.ObjectClass == AcObjectClass.Monster || _drawnCreatures.Contains(wo.Id)) continue; + if (!_host.TryGetObjectPosition(uid, out uint cc, out float cx, out float cy, out float cz)) continue; + if ((cc >> 16) != landblock) continue; + AddCreature(payload, wo, petPrefix, cx + gxLB, cy + gyLB, cz); + continue; + } + + if (wo.ObjectClass == AcObjectClass.Corpse) + { + if (!_host.TryGetObjectPosition(uid, out uint kc, out float kx, out float ky, out float kz)) continue; + if ((kc >> 16) != landblock) continue; + bool own = IsOwnCorpse(wo, woName, me, myCorpse, now); + payload.Markers.Add(new RadarMarker + { + Kind = own ? KindOwnCorpse : KindCorpse, + X = kx + gxLB, Y = ky + gyLB, Z = kz, + Label = woName, + Id = uid, + }); + continue; + } + + if (uid >= 0x80000000u) + { + AddDynamicObject(payload, wo, woName, landblock, gxLB, gyLB); + continue; + } + + // Settled answer for this object and name: skip the reads and the name work. + if (_staticKinds.TryGetValue(wo.Id, out var known) && known.Name == woName && known.Kind == 0) + continue; + + if (!_host.TryGetObjectPosition(uid, out uint oCellId, + out float oox, out float ooy, out float ooz)) continue; + if ((oCellId >> 16) != landblock) continue; + + byte kind; + string label; + if (known.Name == woName && known.Kind != 0 && _staticKinds.ContainsKey(wo.Id)) + { + kind = known.Kind; + // A portal's label can come from a property that arrives later: build it + // each time (portals are few). A door's or lifestone's label is its name. + label = kind == KindPortal ? GetPortalLabel(wo) : known.Label; + } + else + { + uint typeFlags = 0; + bool typeRead = _host.HasGetItemType && _host.TryGetItemType(uid, out typeFlags); + bool isPortal = typeRead && (typeFlags & TypePortal) != 0; + bool isLifestone = !isPortal && typeRead && (typeFlags & TypeLifeStone) != 0; + bool isDoor = !isPortal && !isLifestone && IsDoorName(woName); + kind = isPortal ? KindPortal : isLifestone ? KindLifestone : isDoor ? KindDoor : (byte)0; + label = isPortal ? GetPortalLabel(wo) : kind != 0 ? woName : string.Empty; + // Keep it once the item type was readable (portal or not is then known). + if (typeRead) _staticKinds[wo.Id] = (woName, kind, label); + if (kind == 0) continue; + } + + payload.Markers.Add(new RadarMarker + { + Kind = kind, + X = oox + gxLB, Y = ooy + gyLB, Z = ooz, + Label = label, + Id = uid, + }); + } + + // Corpses come and go within one landblock: forget them past a few hundred (re-read is cheap). + if (_corpseKillers.Count > 512) _corpseKillers.Clear(); + } + + private void AddCreature(RadarSnapshotPayload payload, WorldObject wo, string petPrefix, float x, float y, float z) + { + string name = wo.Name ?? string.Empty; + byte kind; + if (_creatureKinds.TryGetValue(wo.Id, out var known) && known.Name == name) + kind = known.Kind; + else + { + kind = ClassifyCreature(wo, name, petPrefix, out bool settled); + if (settled) _creatureKinds[wo.Id] = (name, kind); + } + // Fellowship membership changes while you stand there: asked live (a cached id lookup). + if (kind == KindPlayer && IsFellowId?.Invoke(wo.Id) == true) + kind = KindFellow; + payload.Markers.Add(new RadarMarker + { + Kind = kind, + X = x, Y = y, Z = z, + Label = wo.Name, // Dungeon Map labels; the Radar's hover tooltip + Id = (uint)wo.Id, + }); + } + + /// + /// Monster, NPC, player, vendor or your pet. Your pet: the server names a summon + /// "<you>'s <pet>" (PetManager detects it the same way). Otherwise the weenie + /// bitfield: player, vendor, attackable (monster) or not (NPC). A zero bitfield isn't + /// trusted (the engine answers 0 when it can't read the object): then the cache's class or + /// the attackable check answers for now and the bitfield is asked again next poll. + /// (This replaces a CreatureType == 14 "NPC" test: 14 is Undead, so undead showed as NPCs.) + /// + private byte ClassifyCreature(WorldObject wo, string name, string petPrefix, out bool settled) + { + settled = true; + if (petPrefix.Length > 0 && name.StartsWith(petPrefix, StringComparison.Ordinal)) + return KindPet; + uint uid = (uint)wo.Id; + if (_host.HasGetObjectBitfield && _host.TryGetObjectBitfield(uid, out uint bf) && bf != 0) + { + if ((bf & BfPlayer) != 0) return KindPlayer; + if ((bf & BfVendor) != 0) return KindVendor; + return (bf & BfAttackable) != 0 ? KindMonster : KindNpc; + } + settled = false; + switch (wo.ObjectClass) + { + case AcObjectClass.Player: return KindPlayer; + case AcObjectClass.Vendor: return KindVendor; + case AcObjectClass.Npc: return KindNpc; + } + if (_host.HasObjectIsAttackable) + return _host.ObjectIsAttackable(uid) ? KindMonster : KindNpc; + return KindMonster; + } + + /// A summoned portal, a lifestone or an item on the ground; other dynamic objects aren't drawn. + private void AddDynamicObject(RadarSnapshotPayload payload, WorldObject wo, string woName, uint landblock, float gxLB, float gyLB) + { + byte kind; + if (_dynamicKinds.TryGetValue(wo.Id, out var known) && known.Name == woName) + kind = known.Kind; + else + { + uint typeFlags = 0; + bool typeRead = _host.HasGetItemType && _host.TryGetItemType((uint)wo.Id, out typeFlags); + if (wo.ObjectClass == AcObjectClass.Portal || (typeRead && (typeFlags & TypePortal) != 0)) + kind = KindPortal; + else if (!typeRead || typeFlags == 0 || (typeFlags & TypeCreature) != 0) + return; // not known yet, or a creature on its way into the creature set: ask again + else if ((typeFlags & TypeLifeStone) != 0) + kind = KindLifestone; + else + kind = KindGroundItem; + _dynamicKinds[wo.Id] = (woName, kind); + } + if (!_host.TryGetObjectPosition((uint)wo.Id, out uint cell, out float x, out float y, out float z)) return; + if ((cell >> 16) != landblock) return; + payload.Markers.Add(new RadarMarker + { + Kind = kind, + X = x + gxLB, Y = y + gyLB, Z = z, + Label = kind == KindPortal ? GetPortalLabel(wo) : woName, + Id = (uint)wo.Id, + }); + } + + /// + /// A corpse you may loot: your own ("Corpse of <you>"), or one whose LongDesc says it was + /// killed by you or a fellow. LongDesc only arrives once the corpse is identified (looting or + /// selecting it requests that; the radar never does), so until then it counts as someone else's. + /// + private bool IsOwnCorpse(WorldObject wo, string name, string me, string myCorpse, long now) + { + if (myCorpse.Length > 0 && name.Equals(myCorpse, StringComparison.OrdinalIgnoreCase)) return true; + if (!_corpseKillers.TryGetValue(wo.Id, out var ck) || ck.Name != name) + ck = (name, string.Empty, 0); + if (ck.Killer.Length == 0 && now >= ck.NextCheckMs) + { + string killer = string.Empty; + if (_host.HasGetObjectStringProperty + && _host.TryGetObjectStringProperty((uint)wo.Id, STypeLongDesc, out string longDesc)) + killer = ExtractKiller(longDesc); + ck = (name, killer, now + 1000); + _corpseKillers[wo.Id] = ck; + } + if (ck.Killer.Length == 0) return false; + if (me.Length > 0 && NormalizeCharName(ck.Killer).Equals(NormalizeCharName(me), StringComparison.OrdinalIgnoreCase)) + return true; + return IsFellowName?.Invoke(ck.Killer) == true; + } + + /// "Killed by X." in a corpse's LongDesc: X, or "" (read as CorpseOpenController reads it). + internal static string ExtractKiller(string? longDesc) + { + if (string.IsNullOrWhiteSpace(longDesc)) return string.Empty; + const string prefix = "Killed by "; + int idx = longDesc.IndexOf(prefix, StringComparison.OrdinalIgnoreCase); + if (idx < 0) return string.Empty; + return longDesc[(idx + prefix.Length)..].TrimEnd('.', ' ', '\n', '\r').Trim(); + } + + /// Without GM sigils (+, @, #): the server leaves them out of "Killed by X". + private static string NormalizeCharName(string name) + { + string t = name.Trim(); + while (t.Length > 0 && (t[0] == '+' || t[0] == '@' || t[0] == '#')) t = t.Substring(1); + return t.Trim(); + } + + private string PlayerName() + { + long now = Environment.TickCount64; + if (_playerName.Length > 0 && now - _playerNameAt < 30_000) return _playerName; + uint pid = _host.HasGetPlayerId ? _host.GetPlayerId() : 0; + if (pid != 0 && _host.TryGetObjectName(pid, out string n) && !string.IsNullOrEmpty(n)) + { + _playerName = n; + _playerNameAt = now; + } + return _playerName; + } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/InventoryManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/InventoryManager.cs index 4506835..c8d57a1 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Loot/InventoryManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/InventoryManager.cs @@ -70,9 +70,24 @@ public sealed class InventoryManager // 500 ms after an action, so external "dirty" signals aren't needed. public void MarkDirty() { } + // /ub autostack and /ub autocram: run that pass for up to a minute even with + // the macro stopped or the setting off; ends as soon as there's nothing to do. + private DateTime _manualCramUntil = DateTime.MinValue; + private DateTime _manualStackUntil = DateTime.MinValue; + + public void RunManual(bool cram, bool stack) + { + if (cram) _manualCramUntil = DateTime.Now.AddSeconds(60); + if (stack) _manualStackUntil = DateTime.Now.AddSeconds(60); + _nextInventoryActionTime = DateTime.MinValue; + } + + private bool ManualCram => DateTime.Now < _manualCramUntil; + private bool ManualStack => DateTime.Now < _manualStackUntil; + public void OnHeartbeat(int busyCount) { - if (!_settings.IsMacroRunning) return; + if (!_settings.IsMacroRunning && !ManualCram && !ManualStack) return; if (busyCount != 0) return; // don't move items while the client is busy (casting, crafting, etc.) // Age-prune the per-entry backoff/pending maps (replaces the old wholesale @@ -108,7 +123,8 @@ public sealed class InventoryManager return; } - // Nothing to do — back off re-scan for a bit. + // Nothing to do — back off re-scan for a bit, and end a manual run. + _manualCramUntil = _manualStackUntil = DateTime.MinValue; _nextInventoryActionTime = DateTime.Now.AddMilliseconds(2000); } @@ -116,7 +132,7 @@ public sealed class InventoryManager private bool ProcessAutoCram(List inv, int playerId) { - if (!_settings.EnableAutocram) return false; + if (!_settings.EnableAutocram && !ManualCram) return false; int crammable = 0; foreach (var item in inv) @@ -227,7 +243,7 @@ public sealed class InventoryManager private bool ProcessAutoStack(List inv, int playerId) { - if (!_settings.EnableAutostack) return false; + if (!_settings.EnableAutostack && !ManualStack) return false; // Build candidate list — items belonging to the player (directly or in a sub-pack). var playerItems = new List(); diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEditorBridge.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEditorBridge.cs new file mode 100644 index 0000000..27339dc --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEditorBridge.cs @@ -0,0 +1,146 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.IO; +using System.Text.Json; +using RynthCore.Loot.Editing; + +namespace RynthCore.Plugin.RynthAi.Loot; + +/// +/// RynthAi's side of the engine's ImGui Loot Editor (RynthCore +/// docs/IMGUI_LOOT_EDITOR.md): one LootEditSession, the profile paths, and the +/// hot reload after a save. The engine calls the exports (PluginExports, "Loot +/// editor bridge") from its UI data hub on the plugin pump thread, the same +/// thread as the plugin tick; the lock only guards against any other caller. +/// Nothing here touches AC. +/// +internal sealed class LootEditorBridge +{ + public const string LootFolder = @"C:\Games\RynthSuite\RynthAi\LootProfiles"; + + private readonly object _sync = new(); + private readonly LootEditSession _session = new(); + private readonly Func _inUsePath; + private readonly Action _onSaved; + private readonly string[] _vendorFolders; + + // Follow RynthAi's loot profile while the editor shows it and has no edits. + private bool _followInUse = true; + private long _nextDiskCheck; + private string? _vocabJson; + + public LootEditorBridge(Func inUsePath, Action onSaved, params string[] vendorFolders) + { + _inUsePath = inUsePath; + _onSaved = onSaved; + _vendorFolders = vendorFolders; + } + + private string InUse => (_inUsePath() ?? string.Empty).Trim().Trim('"'); + + /// + /// Cheap: the session's revision. Every ~2 s it also looks at the file on + /// disk and follows a change of RynthAi's loot profile. + /// + public int Revision() + { + lock (_sync) + { + long now = Stopwatch.GetTimestamp(); + if (now >= _nextDiskCheck) + { + _nextDiskCheck = now + Stopwatch.Frequency * 2; + _session.CheckDisk(); + string inUse = InUse; + if (_followInUse && !_session.IsDirty && inUse.Length > 0 && !LootEditSession.SamePath(inUse, _session.Path)) + _session.Open(inUse); + } + return unchecked((int)_session.Revision); + } + } + + public string StateJson() + { + lock (_sync) + { + string inUse = InUse; + if (!_session.IsOpen && _followInUse && inUse.Length > 0) _session.Open(inUse); + LootEditState state = _session.BuildState(inUse, ListFiles()); + return JsonSerializer.Serialize(state, LootEditJsonContext.Default.LootEditState); + } + } + + public string RuleJson(int index) + { + lock (_sync) + { + LootEditRule? rule = _session.BuildRule(index); + return rule == null ? "{\"Index\":-1}" : JsonSerializer.Serialize(rule, LootEditJsonContext.Default.LootEditRule); + } + } + + public string VocabJson() => + _vocabJson ??= JsonSerializer.Serialize(LootRuleText.BuildVocab(), LootEditJsonContext.Default.LootEditVocab); + + public void Command(string json) + { + LootEditCommand? cmd = JsonSerializer.Deserialize(json, LootEditJsonContext.Default.LootEditCommand); + if (cmd == null) return; + string? saved = null; + lock (_sync) + { + if (cmd.Op == "open") + { + string inUse = InUse; + string path = cmd.Path.Trim().Trim('"'); + if (path.Length == 0) path = inUse; + // Showing the panel again on the profile already open keeps its edits. + if (_session.IsOpen && !cmd.Force && LootEditSession.SamePath(path, _session.Path)) + return; + cmd.Path = path; + if (path.Length == 0) + { + _followInUse = true; + _session.Apply(cmd); // "No loot profile selected." + return; + } + if (_session.Apply(cmd) == LootEditSession.Outcome.Opened) + _followInUse = LootEditSession.SamePath(path, inUse); + return; + } + if (_session.Apply(cmd) == LootEditSession.Outcome.Saved) + saved = _session.Path; + } + if (saved != null) _onSaved(saved); + } + + /// LootProfiles (*.utl, *.json), then AutoVendor profiles, then the open file if it is elsewhere. + private List ListFiles() + { + var files = new List(); + try + { + if (Directory.Exists(LootFolder)) + { + var names = new List(); + names.AddRange(Directory.GetFiles(LootFolder, "*.utl")); + names.AddRange(Directory.GetFiles(LootFolder, "*.json")); + names.Sort(StringComparer.OrdinalIgnoreCase); + foreach (string f in names) files.Add(new LootEditFile { Path = f, Display = Path.GetFileName(f) }); + } + foreach (string folder in _vendorFolders) + { + if (!Directory.Exists(folder)) continue; + var names = new List(Directory.GetFiles(folder, "*.utl", new EnumerationOptions { RecurseSubdirectories = true, MaxRecursionDepth = 2 })); + names.Sort(StringComparer.OrdinalIgnoreCase); + foreach (string f in names) + files.Add(new LootEditFile { Path = f, Display = "AutoVendor: " + Path.GetRelativePath(folder, f) }); + } + } + catch { } + if (_session.IsOpen && !files.Exists(f => LootEditSession.SamePath(f.Path, _session.Path))) + files.Add(new LootEditFile { Path = _session.Path, Display = Path.GetFileName(_session.Path) }); + return files; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEvaluator.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEvaluator.cs index 8cb3156..8e7c7ed 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEvaluator.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootEvaluator.cs @@ -14,7 +14,7 @@ public static class LootEvaluator public static bool Evaluate(LootCondition condition, WorldObject item, CharacterSkills? skills) => condition switch { - ObjectClassCondition c => item.ObjectClass == (AcObjectClass)(int)c.ObjectClass, + ObjectClassCondition c => ScrollLearner.ClassMatches(item, (int)c.ObjectClass), LongValKeyGECondition c => item.Values(c.Key, 0) >= c.Value, LongValKeyLECondition c => item.Values(c.Key, 0) <= c.Value, LongValKeyECondition c => item.Values(c.Key, 0) == c.Value, @@ -55,8 +55,12 @@ public static class LootEvaluator private static bool EvalString(WorldObject item, StringValueCondition c) { string value = item.Values((StringValueKey)c.Key, string.Empty); - return Regex.IsMatch(value, c.Pattern, - RegexOptions.IgnoreCase | RegexOptions.CultureInvariant); + // Through the shared cache, like the VTank path: an invalid pattern in a JSON + // profile threw out of the tick on every pass while a corpse was open (combat + // and nav skipped until the corpse timed out). A bad pattern now never matches. + // An empty pattern matched everything before; the cache treats it as no match. + if (string.IsNullOrEmpty(c.Pattern)) return true; + return Meta.RegexCache.IsMatch(value, c.Pattern, RegexOptions.IgnoreCase); } private static int EvalTotalRatings(WorldObject item) diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/LootKeepCap.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootKeepCap.cs new file mode 100644 index 0000000..fbf7d57 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootKeepCap.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; + +namespace RynthCore.Plugin.RynthAi.Loot; + +/// +/// Keep # (KeepUpTo) arithmetic, split out of RynthAiPlugin.UnderKeepCap so it can be +/// tested offline. The plugin passes in the live pack snapshot and its per-corpse "approved +/// but not in the pack yet" table; nothing here touches the host. +/// +internal static class LootKeepCap +{ + /// How much one item counts toward a cap: its stack size, never less than 1. + internal static int StackOf(WorldObject item) => Math.Max(1, item.Values(LongValueKey.StackCount, 1)); + + /// + /// How many of what a Keep # rule matches the player already has: whole stacks of every + /// named pack item the rule matches (a matcher that throws counts as no match), plus items + /// approved on this corpse that are not in the pack yet. An approved item that is already in + /// the pack snapshot, or that no longer exists (a looted stack merged into a pack stack and + /// was deleted), is not counted twice. + /// + internal static int CountHave( + IEnumerable? inventory, + Func matches, + IReadOnlyDictionary pending, + Func stillExists) + { + int have = 0; + var liveIds = new HashSet(); + if (inventory != null) + { + foreach (var inv in inventory) + { + liveIds.Add(inv.Id); + if (string.IsNullOrEmpty(inv.Name)) continue; + bool m; + try { m = matches(inv); } catch { m = false; } + if (m) have += StackOf(inv); + } + } + foreach (var kv in pending) + if (!liveIds.Contains(kv.Key) && stillExists(kv.Key)) have += kv.Value; + return have; + } + + /// True while the player holds fewer than ; a cap of 0 or less never loots. + internal static bool UnderCap(int have, int cap) => have < cap; +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/LootPickup.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootPickup.cs new file mode 100644 index 0000000..c905f5e --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/LootPickup.cs @@ -0,0 +1,65 @@ +using RynthCore.PluginSdk; +using RynthCore.Plugin.Shared; + +namespace RynthCore.Plugin.RynthAi.Loot; + +/// What did. +internal enum LootPickupResult +{ + /// MoveItemExternal into one of our packs was sent. + Moved, + /// UseObject was sent (no move call on this engine, and the item can't be worn). + Used, + /// No pack of ours has a free slot. + NoRoom, + /// No move call, and a use could put the item on the character, so nothing was sent. + Refused, + /// The engine turned the call down. + Failed, +} + +/// +/// Picks a corpse item up into a pack. Looting used to send UseObject (a double-click). On +/// a wearable item outside the pack the client turns a use into get-and-wield when the slot +/// is free, so jewellery looted for salvage went onto the character whenever its ring, +/// bracelet or necklace slot was empty (2026-10-02 tester report). A move into a pack never +/// wields anything, so it is the only call used when the engine has it. +/// +internal static class LootPickup +{ + public static LootPickupResult Send(RynthCoreHost host, WorldObjectCache? cache, uint itemId, uint playerId, + out uint destination) + { + destination = 0; + if (itemId == 0) return LootPickupResult.Failed; + + if (host.HasMoveItemExternal) + { + if (playerId == 0) return LootPickupResult.Failed; + int pid = unchecked((int)playerId); + int dest = cache == null + ? pid + : WorldObjectCache.FindLootDestination(cache.GetDirectInventory(forceRefresh: false), pid, host); + if (dest == 0) return LootPickupResult.NoRoom; + destination = unchecked((uint)dest); + return host.MoveItemExternal(itemId, destination, 0) ? LootPickupResult.Moved : LootPickupResult.Failed; + } + + if (CouldBeWorn(cache?[unchecked((int)itemId)])) + return LootPickupResult.Refused; + return host.HasUseObject && host.UseFor(itemId, "Loot", "pick up from the open corpse") ? LootPickupResult.Used : LootPickupResult.Failed; + } + + /// + /// True when a use on could wield it: it has equip slots, or it is + /// a kind of thing that is worn or wielded. Unknown items count as wearable. + /// + public static bool CouldBeWorn(WorldObject? wo) + { + if (wo == null) return true; + if (wo.Values(LongValueKey.Locations, 0) != 0) return true; + return wo.ObjectClass is AcObjectClass.Unknown or AcObjectClass.Jewelry or AcObjectClass.Armor + or AcObjectClass.Clothing or AcObjectClass.MeleeWeapon or AcObjectClass.MissileWeapon + or AcObjectClass.WandStaffOrb; + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/SalvageManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/SalvageManager.cs index e06715c..ae58016 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Loot/SalvageManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/SalvageManager.cs @@ -1,41 +1,96 @@ using System; using System.Collections.Generic; +using System.Linq; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.PluginSdk; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi.Loot; /// /// Drives the salvage state machine for loot-rule items marked Salvage. -/// Items are enqueued by CorpseOpenController after pickup confirmation. /// -/// Flow per item: -/// Idle → call OpenSalvagePanel(ustId), wait OpenDelay -/// → call AddNewItem(itemId), wait AddDelay -/// → call Salvage(), wait SalvageDelay -/// → wait ResultDelay → Idle (next item or CombineSalvage) +/// Items come from looting: when the pickup is sent and +/// when it is confirmed. Every such item is TRACKED until it has +/// been salvaged or has left the pack, and a sweep every couple of seconds queues tracked +/// items that are in the pack. Before 2026-10-02 the queue was the only record: a pickup +/// whose confirm was lost (busy reset, corpse closed), an item salvaged before it reached +/// the pack, a missing UST, or three failed tries dropped the item for good, and it sat in +/// the pack. /// -/// First-open delays (400ms/600ms) let the panel animate open and the -/// gmSalvageUI singleton hook fire before we make thiscall instance calls. -/// Fast delays (50ms) apply once the panel has been opened at least once. +/// Flow per batch (up to items in one panel cycle): +/// Idle → UseObject(UST), wait OpenDelay +/// → SalvagePanelAddItem each item (AddDelayFast apart), plus matching under-full bags +/// → SalvagePanelExecute, wait SalvageDelay +/// → poll until the items leave the pack (or ResultMaxWaitMs) → one summary log line +/// Items that are worn, retained, on the Items list or the UST itself are skipped with the +/// reason in the log; RynthAi never takes off anything the character is wearing. +/// +/// First-open delays (400ms/600ms) let the panel animate open and the gmSalvageUI singleton +/// hook fire before we make thiscall instance calls. Fast delays (50ms) apply once the panel +/// has been opened at least once. /// public sealed class SalvageManager { - private enum Phase { Idle, OpeningPanel, AddingItem, Salvaging, WaitingForResult, CombiningSalvage } + private enum Phase { Idle, OpeningPanel, AddingItems, ReadyToExecute, Salvaging, WaitingForResult, CombiningSalvage } private readonly RynthCoreHost _host; private readonly LegacyUiSettings _settings; private readonly WorldObjectCache? _cache; + // ── Single-item salvage: queue, tracking, batch ────────────────────────── private readonly Queue _queue = new(); + private readonly HashSet _queued = new(); private Phase _phase = Phase.Idle; private long _phaseReadyAt; - private uint _currentItemId; private uint _currentUstId; private bool _panelEverOpened; private bool _firstResultCycle = true; private bool _pendingCombineScan; + /// Most items added to the panel for one Salvage press. + internal const int MaxBatchItems = 20; + /// A batch starts this long after the last item was queued (or when a full batch is + /// waiting), so one corpse's salvage goes in one panel cycle instead of one cycle per item. + internal const long GatherMs = 1_000; + private const long SweepIntervalMs = 2_000; + /// A tracked item that never shows up in the pack is forgotten after this. + internal const long ArrivalGraceMs = 60_000; + /// After failed tries in a row an item rests this long... + internal const long GiveUpCooldownMs = 60_000; + /// ...and after this many rests it is left in the pack for good (logged). + internal const int MaxGiveUpRounds = 3; + private const long NoUstRetryMs = 10_000; + + private sealed class TrackedItem + { + public string Name = string.Empty; + public long NotedAt; + public bool SeenInPack; + public long CooldownUntil; + public int GiveUps; + } + + private readonly Dictionary _tracked = new(); + private long _lastEnqueueAt; + private long _lastSweepAt; + private long _noUstWarnedAt = long.MinValue / 2; + + // The batch in flight: what we meant to add, what the panel took, and per-batch notes. + private readonly List _batch = new(); + private readonly List _batchAdded = new(); + private readonly Dictionary _batchNames = new(); + private int _batchAddIdx; + private int _batchBagsAdded; + private int _batchNumber; + private int _batchAddFailures; + private readonly SkipNotes _batchSkips = new(); + + // Session totals for /ra salvstate. + private int _itemsSalvagedThisSession; + private int _itemsSkippedThisSession; + private int _batchesThisSession; + // Combine-salvage state — process one material group per cycle by opening // the salvage panel, adding all under-full bags of that material, and hitting // Salvage so the server merges them server-side. Far more reliable than the @@ -68,16 +123,15 @@ public sealed class SalvageManager private int _bagsMergedThisSession; // Per-item retry counter so a failed salvage gets re-queued a few times - // before we give up. AC sometimes drops a Salvage execute when the bot is + // before it rests. AC sometimes drops a Salvage execute when the bot is // busy with other actions; the item stays in the pack and we want to try // again when the queue gets back to idle. private readonly Dictionary _itemRetryCount = new(); private const int MaxItemRetries = 3; // Backoff after a refused panel step. Without it a failed UseObject/AddItem - // re-queues the item and TickIdle dequeues it again on the very next tick, - // so one busy hiccup burns all three attempts inside ~50ms and the item is - // dropped. A second is long enough for the action queue to clear. + // re-queues the items and TickIdle dequeues them again on the very next tick, + // so one busy hiccup burns all three attempts inside ~50ms. private long _idleRetryReadyAt; private const long RetryBackoffMs = 1000; @@ -100,7 +154,9 @@ public sealed class SalvageManager private long _lastCombineSweepAt; private const long CombineSweepIntervalMs = 30_000; - private static long NowMs => DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); + /// Milliseconds clock. Tests replace it to step time; the game uses wall time. + internal Func Clock { get; set; } = () => DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); + private long NowMs => Clock(); /// /// Set by the plugin to point at the currently-loaded loot profile's @@ -120,6 +176,17 @@ public sealed class SalvageManager /// Returns true while a salvage operation is in flight. public bool IsBusy => _phase != Phase.Idle || _queue.Count > 0; + /// + /// Looting sent the pickup of an item whose rule says Salvage. Tracks it without queueing: + /// the sweep queues it once it is in the pack, even if the pickup confirm never comes. + /// + public void NoteLootedForSalvage(uint itemId, string? name = null) + { + if (itemId == 0) return; + if (IsSalvageBag(name ?? _cache?[unchecked((int)itemId)]?.Name)) return; + Track(itemId, name); + } + /// Enqueue an item to be salvaged. Called by CorpseOpenController after pickup. public void EnqueueItem(uint itemId) { @@ -140,10 +207,42 @@ public sealed class SalvageManager return; } + Track(itemId, name); + QueueItem(itemId); + } + + private void Track(uint itemId, string? name) + { + long now = NowMs; + if (!_tracked.TryGetValue(itemId, out TrackedItem? t)) + { + t = new TrackedItem { NotedAt = now }; + _tracked[itemId] = t; + } + if (!string.IsNullOrWhiteSpace(name)) t.Name = name!; + } + + private void Untrack(uint itemId) + { + _tracked.Remove(itemId); + _itemRetryCount.Remove(itemId); + } + + private void QueueItem(uint itemId) + { + if (!_queued.Add(itemId)) return; _queue.Enqueue(itemId); + _lastEnqueueAt = NowMs; _pendingCombineScan = false; // reset; will be set again when queue drains } + private uint DequeueItem() + { + uint id = _queue.Dequeue(); + _queued.Remove(id); + return id; + } + /// Called every game tick from RynthAiPlugin.OnTick. public void OnTick(int busyCount) { @@ -160,10 +259,20 @@ public sealed class SalvageManager case Phase.OpeningPanel: if (now >= _phaseReadyAt) - BeginAddingItem(now); + { + _batchAddIdx = 0; + _phase = Phase.AddingItems; + _phaseReadyAt = now; + TickAddingItems(now); + } break; - case Phase.AddingItem: + case Phase.AddingItems: + if (now >= _phaseReadyAt) + TickAddingItems(now); + break; + + case Phase.ReadyToExecute: if (now >= _phaseReadyAt) BeginSalvaging(now); break; @@ -175,16 +284,12 @@ public sealed class SalvageManager case Phase.WaitingForResult: if (now < _phaseReadyAt) break; - // Poll: if the item is still in inventory and we're under the - // deadline, wait for the next tick. Server delete events for - // salvage-consumed items can lag the result delay by 500ms+. - if (_currentItemId != 0 - && now < _waitingResultDeadline - && IsItemInDirectInventory(_currentItemId)) - { + // Poll: while any added item is still in the pack and we're under the + // deadline, wait. Server delete events for salvage-consumed items can + // lag the result delay by 500ms+. + if (now < _waitingResultDeadline && AnyStillInPack(_batchAdded)) break; - } - OnResultReady(now); + OnBatchResult(now); break; case Phase.CombiningSalvage: @@ -197,6 +302,8 @@ public sealed class SalvageManager private void TickIdle(long now, int busyCount) { + SweepTracked(now); + if (_queue.Count == 0) { if (_pendingCombineScan && _settings.EnableCombineSalvage) @@ -229,43 +336,41 @@ public sealed class SalvageManager if (now < _idleRetryReadyAt) return; - uint itemId = _queue.Dequeue(); - if (itemId == 0) + // Let a corpse's worth of salvage gather so it goes in one panel cycle. + if (_queue.Count < MaxBatchItems && now - _lastEnqueueAt < GatherMs) return; - // Backstop for the EnqueueItem guard: the item's name may not have been - // cached at enqueue time. Never run the single-item salvage flow on a - // bag — it's already salvage; the combine sweep consolidates it. - string? dqName = _cache?[unchecked((int)itemId)]?.Name; - if (IsSalvageBag(dqName)) - { - Log($"[Salvage] Dequeued a salvage bag 0x{itemId:X8} ({dqName}) — skipping solo salvage; combine sweep will consolidate it."); - if (_settings.EnableCombineSalvage) _pendingCombineScan = true; + if (!BuildBatch(now)) return; - } uint ustId = FindUst(); if (ustId == 0) { - _host.WriteToChat("[RynthAi] Salvage: No UST found in inventory — item skipped. Add a Ust to your pack.", 2); - NoteError("no UST in inventory — item skipped"); - Log($"[Salvage] No UST found in inventory — skipping 0x{itemId:X8}."); + // Keep the items (they used to be dropped here for good) and look again later. + if (now - _noUstWarnedAt >= 5 * 60_000) + { + _noUstWarnedAt = now; + _host.WriteToChat("[RynthAi] Salvage: no UST in your pack — salvage is waiting. Add a Ust to your pack.", 2); + } + NoteError("no UST in inventory — salvage waiting"); + Log($"[Salvage] No UST found — {_batch.Count} item(s) wait; trying again in {NoUstRetryMs / 1000}s."); + ReturnBatchToQueue(); + _idleRetryReadyAt = now + NoUstRetryMs; return; } - _currentItemId = itemId; _currentUstId = ustId; // UseObject on the UST mimics a double-click — this is the reliable path to // trigger gmSalvageUI::OpenSalvagePanel (our hook captures the instance there). // SendNotice_OpenSalvagePanel does not reliably call the hooked function. - if (!_host.UseObject(_currentUstId)) + if (!_host.UseFor(_currentUstId, "Salvage", "open the salvage panel (UST)")) { - Log($"[Salvage] UseObject(UST) failed for 0x{_currentUstId:X8} — re-queuing item."); + Log($"[Salvage] UseObject(UST) failed for 0x{_currentUstId:X8} — {_batch.Count} item(s) back in the queue."); NoteError($"UseObject(UST) failed for 0x{_currentUstId:X8}"); - _currentItemId = 0; _currentUstId = 0; - RequeueOrDrop(itemId, "UseObject(UST) failed"); + foreach (uint id in _batch) RequeueOrDrop(id, "UseObject(UST) failed"); + ClearBatch(); _idleRetryReadyAt = now + RetryBackoffMs; return; } @@ -275,38 +380,191 @@ public sealed class SalvageManager _phase = Phase.OpeningPanel; } - private void BeginAddingItem(long now) + /// + /// Takes up to items off the queue that can be salvaged now. + /// Items not in the pack yet stay tracked (the sweep queues them on arrival); items that + /// can't be salvaged are skipped with a reason. False when nothing is left to salvage. + /// + private bool BuildBatch(long now) { - if (!_host.SalvagePanelAddItem(_currentItemId)) + ClearBatch(); + if (_cache == null) { - Log($"[Salvage] SalvagePanelAddItem failed for 0x{_currentItemId:X8} (panel instance not ready — re-queuing)."); - NoteError($"SalvagePanelAddItem failed for 0x{_currentItemId:X8} (panel not ready)"); - // Re-queue the item so we retry on the next idle cycle. Reset panel-ever-opened - // so the longer first-open delays are applied on retry. - uint failedItemId = _currentItemId; - _currentItemId = 0; - _currentUstId = 0; - _panelEverOpened = false; - _phase = Phase.Idle; - RequeueOrDrop(failedItemId, "SalvagePanelAddItem failed"); - _idleRetryReadyAt = now + RetryBackoffMs; + while (_queue.Count > 0) DequeueItem(); + return false; + } + + var inPack = new Dictionary(); + foreach (WorldObject wo in _cache.GetDirectInventory(forceRefresh: true)) + inPack[unchecked((uint)wo.Id)] = wo; + + int waiting = 0; + while (_queue.Count > 0 && _batch.Count < MaxBatchItems) + { + uint id = DequeueItem(); + _tracked.TryGetValue(id, out TrackedItem? t); + + if (!inPack.TryGetValue(id, out WorldObject? wo)) + { + string name = t?.Name ?? _cache[unchecked((int)id)]?.Name ?? string.Empty; + if (IsWornByPlayer(_cache[unchecked((int)id)])) + { + SkipForGood(id, name, SkipWorn); + continue; + } + if (t != null && !t.SeenInPack && now - t.NotedAt < ArrivalGraceMs) + { + waiting++; // still on its way; the sweep queues it when it lands + continue; + } + // Already gone (salvaged, sold, dropped) or never arrived. + Untrack(id); + continue; + } + + if (t != null) t.SeenInPack = true; + string itemName = wo.Name; + string? reason = SkipReasonFor(id, wo); + if (reason != null) + { + SkipForGood(id, itemName, reason); + continue; + } + + _batch.Add(id); + _batchNames[id] = itemName; + } + + if (_batch.Count == 0) + { + // Nothing to send: say why once (this runs only when items were queued, and + // skipped/waiting items leave the queue, so it can't repeat every tick). + if (_batchSkips.Count > 0 || waiting > 0) + Log($"[Salvage] Nothing to salvage this round: {_batchSkips.Describe()}" + + (waiting > 0 ? $"{(_batchSkips.Count > 0 ? "; " : "")}{waiting} not in the pack yet (will salvage when they arrive)" : "") + + "."); + _batchSkips.Clear(); + return false; + } + + if (waiting > 0) + _batchSkips.Add("not in the pack yet (will salvage when they arrive)", $"{waiting} item(s)", countOnly: true, n: waiting); + return true; + } + + // Skip reasons (also the log wording). + internal const string SkipWorn = "worn (RynthAi never takes off what the character is wearing)"; + internal const string SkipRetained = "retained"; + internal const string SkipItemsList = "on the Items list"; + internal const string SkipUst = "it is the UST"; + internal const string SkipBag = "already a salvage bag (the combine sweep handles bags)"; + internal const string SkipGaveUp = "salvage failed too often"; + + /// Why (in the pack) must not be salvaged, or null. + private string? SkipReasonFor(uint id, WorldObject wo) + { + if (IsSalvageBag(wo.Name)) return SkipBag; + if (IsWornByPlayer(wo)) return SkipWorn; + if (wo.ObjectClass == AcObjectClass.Ust || IsUst(wo.Name) + || (_host.HasGetObjectWcid && _host.TryGetObjectWcid(id, out uint wcid) && wcid == UstWcid)) + return SkipUst; + int sid = unchecked((int)id); + if (_settings.ItemRules.Any(r => r.Id == sid)) return SkipItemsList; + // ACE skips a Retained item without a word (Player_Crafting.HandleSalvaging). + if (_host.TryGetObjectBoolProperty(id, StypeBoolRetained, out bool retained) && retained) return SkipRetained; + return null; + } + + private const uint StypeBoolRetained = 91; + + private bool IsWornByPlayer(WorldObject? wo) + { + if (wo == null) return false; + if (wo.WieldedLocation > 0) return true; + uint pid = _host.GetPlayerId(); + if (pid != 0 && wo.Wielder == unchecked((int)pid)) return true; + return WorldObjectCache.IsWieldedByPlayer(_host, wo); + } + + private void SkipForGood(uint id, string name, string reason) + { + _batchSkips.Add(reason, string.IsNullOrWhiteSpace(name) ? $"0x{id:X8}" : name); + _itemsSkippedThisSession++; + Untrack(id); + if (reason == SkipWorn) + _host.WriteToChat($"[RynthAi] Salvage: left {(string.IsNullOrWhiteSpace(name) ? "an item" : $"'{name}'")} alone — the character is wearing it. Take it off by hand if it should be salvaged.", 2); + } + + private void ReturnBatchToQueue() + { + foreach (uint id in _batch) QueueItem(id); + ClearBatch(); + } + + private void ClearBatch() + { + _batch.Clear(); + _batchAdded.Clear(); + _batchNames.Clear(); + _batchSkips.Clear(); + _batchAddIdx = 0; + _batchBagsAdded = 0; + _batchAddFailures = 0; + } + + /// Adds the batch to the open panel one item per step, then matching bags. + private void TickAddingItems(long now) + { + bool wasFirstOpen = !_panelEverOpened; + if (_batchAddIdx < _batch.Count) + { + uint id = _batch[_batchAddIdx]; + if (_host.SalvagePanelAddItem(id)) + { + _batchAdded.Add(id); + } + else if (_batchAdded.Count == 0 && _batchAddIdx == 0) + { + // The first add failing means the panel instance isn't ready: put the + // whole batch back and retry on the longer first-open delays. + Log($"[Salvage] SalvagePanelAddItem failed (panel instance not ready) — {_batch.Count} item(s) back in the queue."); + NoteError("SalvagePanelAddItem failed (panel not ready)"); + foreach (uint b in _batch) RequeueOrDrop(b, "SalvagePanelAddItem failed"); + ClearBatch(); + _currentUstId = 0; + _panelEverOpened = false; + _phase = Phase.Idle; + _idleRetryReadyAt = now + RetryBackoffMs; + return; + } + else + { + _batchAddFailures++; + RequeueOrDrop(id, "SalvagePanelAddItem failed"); + } + _batchAddIdx++; + _phaseReadyAt = now + _settings.SalvageAddDelayFastMs; return; } - // Combine-during-salvage: add ALL under-full bags of the same material - // (and workmanship band, if configured) alongside the new item so the - // server merges everything in one operation. - int extraBags = 0; - if (_settings.CombineBagsDuringSalvage) - extraBags = AddAllMatchingUnderFullBags(_currentItemId); + if (_batchAdded.Count == 0) + { + _phase = Phase.Idle; + ClearBatch(); + return; + } + + // Combine-during-salvage: add ALL under-full bags of the batch's materials + // (and workmanship bands, if configured) so the server merges everything in + // one operation. + if (_settings.CombineBagsDuringSalvage) + _batchBagsAdded = AddAllMatchingUnderFullBags(_batchAdded); - bool wasFirstOpen = !_panelEverOpened; _panelEverOpened = true; - // Allow 50 ms per extra bag so AC can register each add before Execute fires. - int addDelay = (wasFirstOpen ? _settings.SalvageAddDelayFirstMs : _settings.SalvageAddDelayFastMs) - + extraBags * _settings.SalvageAddDelayFastMs; - _phaseReadyAt = now + addDelay; - _phase = Phase.AddingItem; + int settle = (wasFirstOpen ? _settings.SalvageAddDelayFirstMs : _settings.SalvageAddDelayFastMs) + + _batchBagsAdded * _settings.SalvageAddDelayFastMs; + _phaseReadyAt = now + settle; + _phase = Phase.ReadyToExecute; } // STypes (canonical values from Chorizite STypes.cs — verified against @@ -323,54 +581,55 @@ public sealed class SalvageManager /// /// Scans inventory for every under-full salvage bag whose material (and - /// workmanship band, if configured) matches , adds - /// each one to the open salvage panel, and returns how many were added. + /// workmanship band, if configured) matches one of , + /// adds each one to the open salvage panel, and returns how many were added. /// Adding them all at once lets the server merge everything in one Salvage /// operation instead of leaving partial bags for the periodic sweep. /// - private int AddAllMatchingUnderFullBags(uint itemId) + private int AddAllMatchingUnderFullBags(IReadOnlyCollection itemIds) { - if (_cache == null) return 0; - if (!_host.TryGetObjectIntProperty(itemId, StypeMaterialType, out int itemMat) || itemMat == 0) - return 0; + if (_cache == null || itemIds.Count == 0) return 0; RynthCore.Loot.SalvageCombineSettings? cfg = CombineConfigProvider?.Invoke(); bool useBands = cfg != null && cfg.Enabled; - // The freshly-looted ITEM carries a true 1-10 ItemWorkmanship(#105) — + // A freshly-looted ITEM carries a true 1-10 ItemWorkmanship(#105) — // unlike a bag, whose #105 is a cumulative sum. So the item's band is // read directly here; bag keys come from TryGetBagCombineKey (average). - string itemKey; - if (useBands) + var keys = new HashSet(StringComparer.Ordinal); + foreach (uint itemId in itemIds) { - if (!_host.TryGetObjectIntProperty(itemId, StypeItemWorkmanship, out int itemWm) || itemWm <= 0) - return 0; - string? itemBand = cfg!.GetBandKey(itemMat, itemWm); - if (itemBand == null) return 0; - itemKey = $"{itemMat}|{itemBand}"; - } - else - { - itemKey = itemMat.ToString(); + if (!_host.TryGetObjectIntProperty(itemId, StypeMaterialType, out int itemMat) || itemMat == 0) + continue; + if (useBands) + { + if (!_host.TryGetObjectIntProperty(itemId, StypeItemWorkmanship, out int itemWm) || itemWm <= 0) + continue; + string? itemBand = cfg!.GetBandKey(itemMat, itemWm); + if (itemBand == null) continue; + keys.Add($"{itemMat}|{itemBand}"); + } + else + { + keys.Add(itemMat.ToString()); + } } + if (keys.Count == 0) return 0; + var batch = new HashSet(itemIds); int added = 0; foreach (WorldObject bag in _cache.GetDirectInventory(forceRefresh: true)) { uint bagId = unchecked((uint)bag.Id); - if (bagId == itemId) continue; + if (batch.Contains(bagId)) continue; if (!IsSalvageBag(bag.Name)) continue; if (!IsBagUnderFull(bagId, bag.Name)) continue; if (!TryGetBagCombineKey(bagId, bag.Name, cfg, useBands, out string bagKey, out _)) continue; - if (bagKey != itemKey) continue; + if (!keys.Contains(bagKey)) continue; if (_host.SalvagePanelAddItem(bagId)) - { - Log($"[Salvage] Combine-during-salvage: added bag {bag.Name} 0x{bagId:X8} ({added + 1})."); added++; - } } - return added; } @@ -378,10 +637,12 @@ public sealed class SalvageManager { if (!_host.SalvagePanelExecute()) { - Log($"[Salvage] SalvagePanelExecute failed for 0x{_currentItemId:X8} — re-queuing."); - RequeueOrDrop(_currentItemId, "execute failed"); - _currentItemId = 0; + Log($"[Salvage] SalvagePanelExecute failed — {_batchAdded.Count} item(s) back in the queue."); + NoteError("SalvagePanelExecute failed"); + foreach (uint id in _batchAdded) RequeueOrDrop(id, "execute failed"); + ClearBatch(); _phase = Phase.Idle; + _idleRetryReadyAt = now + RetryBackoffMs; return; } @@ -400,34 +661,49 @@ public sealed class SalvageManager _phase = Phase.WaitingForResult; } - private void OnResultReady(long now) + private void OnBatchResult(long now) { - // If the item we tried to salvage is STILL in the player's actual - // inventory after the result delay, the salvage didn't consume it - // (panel closed mid-execute, bot got busy, AC dropped the request, - // etc.). Re-queue so we try again. - // - // We use GetDirectInventory(forceRefresh: true) — a live walk of the - // player's containers — instead of _cache[id] because salvage-consumed - // items don't reliably trigger OnDeleteObject in the cache, leading to - // false positives where successfully-salvaged items get re-queued. - uint itemId = _currentItemId; - bool itemStillPresent = itemId != 0 && IsItemInDirectInventory(itemId); + // An item still in the player's actual inventory after the result wait wasn't + // consumed (panel closed mid-execute, bot got busy, AC dropped the request, ...): + // it goes back in the queue. GetDirectInventory(forceRefresh: true) — a live walk + // of the player's containers — is the ground truth; salvage-consumed items don't + // reliably trigger OnDeleteObject in the cache. + var live = SnapshotDirectInventoryIds(); + var salvagedNames = new List(); + int stillThere = 0, requeued = 0; + foreach (uint id in _batchAdded) + { + string name = _batchNames.TryGetValue(id, out string? n) ? n : $"0x{id:X8}"; + if (live.Contains(id)) + { + stillThere++; + if (RequeueOrDrop(id, "still in the pack after Salvage")) requeued++; + } + else + { + salvagedNames.Add(name); + Untrack(id); + } + } - _currentItemId = 0; + _batchNumber++; + _batchesThisSession++; + _itemsSalvagedThisSession += salvagedNames.Count; + + string line = $"[Salvage] Batch {_batchNumber}: salvaged {salvagedNames.Count}/{_batchAdded.Count}" + + (salvagedNames.Count > 0 ? $" ({SkipNotes.NameList(salvagedNames)})" : "") + + (_batchBagsAdded > 0 ? $", +{_batchBagsAdded} bag(s) combined" : "") + + (stillThere > 0 ? $"; {stillThere} still in the pack ({requeued} queued again" + + (stillThere > requeued ? $", {stillThere - requeued} resting or given up, see above" : "") + ")" : "") + + (_batchAddFailures > 0 ? $"; panel refused {_batchAddFailures} (queued again)" : "") + + (_batchSkips.Count > 0 ? $"; skipped: {_batchSkips.Describe()}" : "") + + $". Session: {_itemsSalvagedThisSession} salvaged, {_itemsSkippedThisSession} skipped, {_tracked.Count} still tracked."; + Log(line); + + ClearBatch(); + _currentUstId = 0; _phase = Phase.Idle; - if (itemStillPresent) - { - Log($"[Salvage] Item 0x{itemId:X8} still in inventory after salvage cycle — re-queuing."); - RequeueOrDrop(itemId, "item still present after result"); - } - else - { - // Successful salvage — clear retry counter for this id. - _itemRetryCount.Remove(itemId); - } - // Always trigger a combine scan on the next idle tick when the queue // drains — both to consolidate any newly-merged bags and so combine // doesn't depend on the busyCount==0 gate of the periodic timer (which @@ -437,28 +713,127 @@ public sealed class SalvageManager } /// - /// Re-queue an item that failed a salvage step. Counts retries per id and - /// drops the item once it's failed MaxItemRetries times in a row, so a - /// truly un-salvageable item doesn't trap the queue forever. + /// Every : queue tracked items that are in the pack, forget + /// ones that left it (or never arrived), and skip ones the character is wearing. One log + /// line when it queues or skips something; nothing when there's nothing to say. /// - private void RequeueOrDrop(uint itemId, string reason) + private void SweepTracked(long now) { - if (itemId == 0) return; + if (_tracked.Count == 0 || _cache == null) return; + if (now - _lastSweepAt < SweepIntervalMs) return; + _lastSweepAt = now; + + var inPack = new Dictionary(); + foreach (WorldObject wo in _cache.GetDirectInventory(forceRefresh: true)) + inPack[unchecked((uint)wo.Id)] = wo; + + int queuedNow = 0, resting = 0; + List? forget = null; + List<(uint Id, string Name)>? worn = null; + foreach (var kv in _tracked) + { + uint id = kv.Key; + TrackedItem t = kv.Value; + if (inPack.TryGetValue(id, out WorldObject? wo)) + { + t.SeenInPack = true; + if (string.IsNullOrEmpty(t.Name)) t.Name = wo.Name; + if (_queued.Contains(id) || _batch.Contains(id)) continue; // BuildBatch checks it + if (IsWornByPlayer(wo)) { (worn ??= new()).Add((id, wo.Name)); continue; } + if (now < t.CooldownUntil) { resting++; continue; } + QueueItem(id); + queuedNow++; + continue; + } + + if (_queued.Contains(id) || _batch.Contains(id)) continue; + WorldObject? cached = _cache[unchecked((int)id)]; + if (IsWornByPlayer(cached)) { (worn ??= new()).Add((id, cached?.Name ?? t.Name)); continue; } + if (t.SeenInPack || now - t.NotedAt >= ArrivalGraceMs) + (forget ??= new()).Add(id); + } + + if (forget != null) + foreach (uint id in forget) Untrack(id); + if (worn != null) + { + foreach (var (id, name) in worn) SkipForGood(id, name, SkipWorn); + Log($"[Salvage] Sweep: skipped {_batchSkips.Describe()}."); + _batchSkips.Clear(); + } + if (queuedNow > 0) + Log($"[Salvage] Sweep: queued {queuedNow} looted-for-salvage item(s) found in the pack" + + (resting > 0 ? $", {resting} resting after failures" : "") + + $" ({_tracked.Count} tracked)."); + } + + /// + /// Re-queue an item that failed a salvage step. After MaxItemRetries failures in a row + /// the item rests for GiveUpCooldownMs (the sweep queues it again after that); after + /// MaxGiveUpRounds rests it is left in the pack for good, with a log line saying so. + /// True when the item went straight back in the queue. + /// + private bool RequeueOrDrop(uint itemId, string reason) + { + if (itemId == 0) return false; int prior = _itemRetryCount.TryGetValue(itemId, out int n) ? n : 0; int next = prior + 1; - if (next > MaxItemRetries) + if (next < MaxItemRetries) { - _itemRetryCount.Remove(itemId); - Log($"[Salvage] Giving up on 0x{itemId:X8} after {MaxItemRetries} attempts ({reason})."); - NoteError($"gave up on 0x{itemId:X8} after {MaxItemRetries} attempts ({reason})"); - // Trigger a combine scan if dropping this item left the queue empty. - if (_queue.Count == 0) _pendingCombineScan = true; - return; + _itemRetryCount[itemId] = next; + QueueItem(itemId); + return true; + } + + _itemRetryCount.Remove(itemId); + string name = _tracked.TryGetValue(itemId, out TrackedItem? t) && t.Name.Length > 0 ? t.Name : $"0x{itemId:X8}"; + if (t != null && t.GiveUps + 1 < MaxGiveUpRounds) + { + t.GiveUps++; + t.CooldownUntil = NowMs + GiveUpCooldownMs; + Log($"[Salvage] '{name}' 0x{itemId:X8} failed {MaxItemRetries} times ({reason}) — trying again in {GiveUpCooldownMs / 1000}s (round {t.GiveUps}/{MaxGiveUpRounds})."); + } + else + { + Untrack(itemId); + _itemsSkippedThisSession++; + Log($"[Salvage] Giving up on '{name}' 0x{itemId:X8}: {SkipGaveUp} ({reason}). It stays in the pack."); + NoteError($"gave up on 0x{itemId:X8} ({reason})"); + } + // Trigger a combine scan if this left the queue empty. + if (_queue.Count == 0) _pendingCombineScan = true; + return false; + } + + /// Per-batch skip notes, grouped by reason, for one bounded log line. + private sealed class SkipNotes + { + private readonly List<(string Reason, List Names, int Extra)> _byReason = new(); + public int Count { get; private set; } + + public void Add(string reason, string name, bool countOnly = false, int n = 1) + { + int i = _byReason.FindIndex(e => e.Reason == reason); + if (i < 0) { _byReason.Add((reason, new List(), 0)); i = _byReason.Count - 1; } + var e = _byReason[i]; + if (countOnly) _byReason[i] = (e.Reason, e.Names, e.Extra + n); + else e.Names.Add(name); + Count += n; + } + + public void Clear() { _byReason.Clear(); Count = 0; } + + public string Describe() + => string.Join("; ", _byReason.Select(e => + e.Names.Count == 0 ? $"{e.Extra} {e.Reason}" : $"{e.Reason}: {NameList(e.Names)}")); + + /// "A, B x2, C" — at most 8 distinct names, then "+N more". + public static string NameList(List names) + { + var groups = names.GroupBy(x => x).Select(g => g.Count() > 1 ? $"{g.Key} x{g.Count()}" : g.Key).ToList(); + return groups.Count <= 8 ? string.Join(", ", groups) : string.Join(", ", groups.Take(8)) + $", +{groups.Count - 8} more"; } - _itemRetryCount[itemId] = next; - _queue.Enqueue(itemId); - Log($"[Salvage] Re-queued 0x{itemId:X8} ({reason}) — attempt {next}/{MaxItemRetries}."); } // ── Combine salvage bags ────────────────────────────────────────────────── @@ -553,7 +928,7 @@ public sealed class SalvageManager _phase = Phase.Idle; return; } - if (!_host.UseObject(ust)) + if (!_host.UseFor(ust, "Salvage", "combine salvage: open the salvage panel (UST)")) { _combineOpenAttempts++; if (_combineOpenAttempts < MaxCombineOpenAttempts) @@ -815,21 +1190,12 @@ public sealed class SalvageManager // ── Helpers ─────────────────────────────────────────────────────────────── /// - /// True if appears in a fresh walk of the player's + /// True if any of appears in a fresh walk of the player's /// inventory containers. Ground truth for "did the server actually destroy /// this item" — the cache's _byId can hold stale entries for salvage- /// consumed items because OnDeleteObject doesn't fire on every merge path. /// - private bool IsItemInDirectInventory(uint id) - { - if (_cache == null) return false; - var inv = _cache.GetDirectInventory(forceRefresh: true); - foreach (var item in inv) - { - if (unchecked((uint)item.Id) == id) return true; - } - return false; - } + private bool AnyStillInPack(List ids) => ids.Count > 0 && AnySnapshotBagStillInInventory(ids); /// /// Snapshots the ids currently in the player's direct inventory as a @@ -1036,7 +1402,7 @@ public sealed class SalvageManager Phase = _phase.ToString(), PhaseReadyInMs = Math.Max(0, _phaseReadyAt - now), QueueCount = _queue.Count, - CurrentItemId = _currentItemId, + CurrentItemId = _batch.Count > 0 ? _batch[0] : 0, CurrentUstId = _currentUstId, PanelEverOpened = _panelEverOpened, PendingCombineScan = _pendingCombineScan, @@ -1053,6 +1419,11 @@ public sealed class SalvageManager BagsMerged = _bagsMergedThisSession, LastError = _lastError, MsSinceLastError = _lastErrorAt == 0 ? -1 : now - _lastErrorAt, + TrackedItems = _tracked.Count, + BatchSize = _batch.Count, + Batches = _batchesThisSession, + ItemsSalvaged = _itemsSalvagedThisSession, + ItemsSkipped = _itemsSkippedThisSession, }; } @@ -1080,5 +1451,10 @@ public sealed class SalvageManager public int BagsMerged; public string LastError; public long MsSinceLastError; + public int TrackedItems; + public int BatchSize; + public int Batches; + public int ItemsSalvaged; + public int ItemsSkipped; } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/ScrollLearner.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/ScrollLearner.cs new file mode 100644 index 0000000..4515c77 --- /dev/null +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/ScrollLearner.cs @@ -0,0 +1,618 @@ +// ============================================================================ +// RynthSuite - Plugins/RynthCore.Plugin.RynthAi/Loot/ScrollLearner.cs +// VTank's "ReadUnknownScrolls" ("Loots and reads unknown scrolls (looting must +// be enabled)", default on): loot scrolls of spells the character doesn't know +// and can learn, then read them at a safe moment. Also reads such scrolls that +// are already in the pack, and every item a loot profile's Read action looted. +// +// "Can learn" is ACE's own rule (ACE.Server Scroll.ActOnUse + +// Player.CanReadScroll), so nothing is looted that the server will refuse: +// - the spell must not be known ("You already know that spell!"); +// - power < 50 (level I) or power >= 300 (VII, VIII): anyone may read it; +// - otherwise the spell's school must be trained or specialized and the +// buffed skill at least power - 50 ("You are not trained in ..." / +// "You are not skilled enough in ... to learn this spell."). +// On top of that RynthAi always wants the school trained (VTank's rule: an +// untrained school can't cast the spell anyway). +// +// Data: the scroll's spell is data id 28 (Spell) from its CreateObject header +// (no appraisal needed); school and power from the portal.dat SpellTable +// (ComponentDatabase); known spells from the spellbook snapshot; skills read +// straight from the host (CharacterSkills' "assume capable" fallback would +// loot scrolls we can't read). +// ============================================================================ + +using System; +using System.Collections.Generic; +using RynthCore.Plugin.RynthAi.LegacyUi; +using RynthCore.Plugin.Shared; +using RynthCore.PluginSdk; + +namespace RynthCore.Plugin.RynthAi.Loot; + +internal enum ScrollVerdict +{ + Learnable, + /// No spell id on it: not a spell scroll (or the client doesn't know yet). + NoSpell, + Known, + /// The spellbook can't be read yet (cold snapshot, no engine call). + KnownUnreadable, + /// The spell isn't in the dat's SpellTable (or the dat couldn't be read). + SchoolUnknown, + SkillUnreadable, + Untrained, + TooDifficult, + /// A read of this spell failed earlier this session. + FailedBefore, +} + +internal readonly record struct ScrollJudgement( + ScrollVerdict Verdict, int SpellId, string SpellName, string SkillName, int Training, int Skill, int Power) +{ + public bool Learnable => Verdict == ScrollVerdict.Learnable; + public int MinSkill => Power - ScrollLearner.AceSkillMargin; + public string TrainingName => Training >= 3 ? "specialized" : Training == 2 ? "trained" : "untrained"; + + /// Why, in a few plain words (log lines). + public string Why => Verdict switch + { + ScrollVerdict.Learnable => $"unknown, {SkillName} {TrainingName}", + ScrollVerdict.NoSpell => "no spell on it", + ScrollVerdict.Known => "already known", + ScrollVerdict.KnownUnreadable => "spellbook not readable yet", + ScrollVerdict.SchoolUnknown => "the spell's school is unknown", + ScrollVerdict.SkillUnreadable => $"{SkillName} not readable yet", + ScrollVerdict.Untrained => $"{SkillName} untrained", + ScrollVerdict.TooDifficult => $"{SkillName} {Skill}, needs {MinSkill}", + ScrollVerdict.FailedBefore => "a read failed earlier this session", + _ => Verdict.ToString(), + }; +} + +internal sealed class ScrollLearner +{ + /// ACE Player_Skills.magicSkillCheckMargin: the skill may be this far below the spell's power. + internal const int AceSkillMargin = 50; + /// PropertyDataId.Spell: the inscribed spell (CreateObject header, SpellDID). + internal const uint STypeDidSpell = 28; + /// The loot rule label corpse looting shows for the built-in rule. + internal const string RuleLabel = "Learn unknown spell"; + internal const string ReadAction = "Read"; + + /// How long a looted scroll may take to show up in the pack. + internal const long ArrivalGraceMs = 15_000; + /// Read animation + 1 s read + return to ready is ~3-4 s on ACE; give up after this. + internal const long ReadTimeoutMs = 8_000; + /// Pause between two reads. + internal const long ReadGapMs = 1_500; + /// How often the pack is looked through for unknown scrolls. + internal const long PackSweepMs = 5_000; + /// A scroll approved for looting holds its spell this long (one copy per spell). + internal const long ApprovedTtlMs = 60_000; + /// Reads that time out or are refused as busy before the scroll is given up. + internal const int MaxReadAttempts = 2; + /// A spell counts as learned from the spellbook only after this long (a stale snapshot). + internal const long KnownConfirmMinMs = 1_500; + /// A pending scroll whose facts can't be read yet is retried this long, then dropped. + internal const long UnreadableGiveUpMs = 120_000; + + private const long LogWindowMs = 10_000; + private const int MaxLogLinesPerWindow = 30; + + private enum ChatOutcome { None, Learned, AlreadyKnown, Untrained, TooDifficult, Busy } + + private sealed class Pending + { + public string Name = ""; + public int SpellId; + public bool FromProfile; // a loot profile's Read action (read even with the setting off) + public long NotedAt; + public bool SeenInPack; + public int Attempts; + public long NotBefore; + } + + private readonly RynthCoreHost _host; + private readonly LegacyUiSettings _settings; + private readonly WorldObjectCache? _cache; + + /// Clock (ms); tests replace it. + public Func NowMs = () => Environment.TickCount64; + /// Is the spell in the character's spellbook? null = can't tell. + public Func KnownSpell = _ => null; + /// The player's id (0 before login). + public Func PlayerId = () => 0; + /// A chat line for the player (success only). + public Action? Chat; + + private readonly HashSet _failedSpells = new(); + private readonly Dictionary _approved = new(); + private readonly Dictionary _pending = new(); + private readonly Dictionary _lastLine = new(); + private long _lastSweepAt = long.MinValue / 2; + private long _lastReadEndedAt = long.MinValue / 2; + private long _logWindowStart = long.MinValue / 2; + private int _logWindowLines; + private Dictionary>? _nameToIds; + + // The read in flight. + private int _readItemId; + private int _readSpellId; + private string _readName = ""; + private string _readSpellName = ""; + private long _readStartedAt; + private ChatOutcome _chat; + private string _chatText = ""; + private bool _readItemDeleted; + + public ScrollLearner(RynthCoreHost host, LegacyUiSettings settings, WorldObjectCache? cache) + { + _host = host; + _settings = settings; + _cache = cache; + } + + public bool IsReading => _readItemId != 0; + public int PendingCount => _pending.Count; + public bool IsPending(int itemId) => _pending.ContainsKey(itemId); + public bool HasFailed(int spellId) => _failedSpells.Contains(spellId); + + // ── Facts ───────────────────────────────────────────────────────────────── + + /// Could this be a spell scroll? RynthAi files writables as Book; Decal calls them Scroll. + internal static bool LooksLikeScroll(WorldObject? item) + { + if (item == null) return false; + if (item.ObjectClass == AcObjectClass.Scroll || item.ObjectClass == AcObjectClass.Book) return true; + return item.Name != null && item.Name.StartsWith("Scroll", StringComparison.OrdinalIgnoreCase); + } + + /// + /// Decal's ObjectClass.Scroll (42). RynthAi files every writable as Book (33); Decal splits + /// out scrolls, and VTank loot profiles say "ObjectClass == Scroll". A writable with an + /// inscribed spell (data id 28), or named "Scroll ...", is a scroll. + /// + internal static bool IsDecalScroll(WorldObject? item) + { + if (item == null) return false; + if (item.ObjectClass == AcObjectClass.Scroll) return true; + if (item.ObjectClass != AcObjectClass.Book) return false; + if ((item.Cache?.GetDataIdProperty(item.Id, STypeDidSpell) ?? 0) != 0) return true; + return item.Name != null && item.Name.StartsWith("Scroll", StringComparison.OrdinalIgnoreCase); + } + + /// ObjectClass test for loot rules: Decal's Scroll class matches RynthAi's scroll Books. + /// Spell scrolls are classed Scroll at the source now (2026-10-04); a rule written for Book, from + /// when they were filed as Book, still matches them. + internal static bool ClassMatches(WorldObject item, int objectClass) + => (int)item.ObjectClass == objectClass + || (objectClass == (int)AcObjectClass.Scroll && IsDecalScroll(item)) + || (objectClass == (int)AcObjectClass.Book && item.ObjectClass == AcObjectClass.Scroll); + + /// + /// The scroll's spell id: data id 28 from its CreateObject header (no appraisal needed), + /// else the one spell an appraisal lists, else a name ("Scroll of X" / "X") that only one + /// spell has. 0 when none. + /// + internal int ReadSpellId(WorldObject item) + { + uint id = unchecked((uint)item.Id); + try + { + if (_host.TryGetObjectDataIdProperty(id, STypeDidSpell, out uint did) && did != 0 && did < 0x10000) + return (int)did; + } + catch { } + + try + { + if (_host.HasGetObjectSpellIds) + { + uint[] buf = new uint[8]; + if (_host.GetObjectSpellIds(id, buf, buf.Length) == 1 && buf[0] != 0) + return (int)buf[0]; + } + } + catch { } + + string name = item.Name ?? ""; + if (name.StartsWith("Scroll of ", StringComparison.OrdinalIgnoreCase)) + name = name.Substring("Scroll of ".Length); + if (name.Length == 0) return 0; + _nameToIds ??= SpellDatabase.BuildNameToIdsMap(); + return _nameToIds.TryGetValue(name.Trim(), out var ids) && ids.Count == 1 ? ids[0] : 0; + } + + internal static (uint SType, string Name) SchoolSkill(int school) => school switch + { + 1 => (34u, "War Magic"), + 2 => (33u, "Life Magic"), + 3 => (32u, "Item Enchantment"), + 4 => (31u, "Creature Enchantment"), + 5 => (43u, "Void Magic"), + _ => (0u, "an unknown school"), + }; + + /// ACE Player.CanReadScroll, plus RynthAi's "school trained" (see the file note). + internal static bool AceCanRead(int training, int buffedSkill, int power) + { + if (training < 2) return false; // RynthAi: the school must be trained + if (power < 50 || power >= 300) return true; // ACE: level I and VII/VIII, anyone + return buffedSkill >= power - AceSkillMargin; // ACE: trained and Current >= power - 50 + } + + internal ScrollJudgement Judge(WorldObject item) => Judge(ReadSpellId(item)); + + internal ScrollJudgement Judge(int spellId) + { + if (spellId <= 0) return new(ScrollVerdict.NoSpell, 0, "", "", 0, 0, 0); + string spellName = SpellDatabase.GetSpellName(spellId); + if (_failedSpells.Contains(spellId)) return new(ScrollVerdict.FailedBefore, spellId, spellName, "", 0, 0, 0); + + bool? known = null; + try { known = KnownSpell(spellId); } catch { } + if (known == true) return new(ScrollVerdict.Known, spellId, spellName, "", 0, 0, 0); + if (known == null) return new(ScrollVerdict.KnownUnreadable, spellId, spellName, "", 0, 0, 0); + + if (!ComponentDatabase.TryGetSpellSchoolAndPower(spellId, out int school, out int power)) + return new(ScrollVerdict.SchoolUnknown, spellId, spellName, "", 0, 0, 0); + var (stype, skillName) = SchoolSkill(school); + if (stype == 0) return new(ScrollVerdict.SchoolUnknown, spellId, spellName, skillName, 0, 0, power); + + uint player = PlayerId(); + if (player == 0 || !_host.HasGetObjectSkill + || !_host.TryGetObjectSkill(player, stype, out int buffed, out int training) + || (training >= 2 && buffed <= 0)) // engine qualities artifact (see CharacterSkills) + return new(ScrollVerdict.SkillUnreadable, spellId, spellName, skillName, 0, 0, power); + + if (training < 2) return new(ScrollVerdict.Untrained, spellId, spellName, skillName, training, buffed, power); + if (!AceCanRead(training, buffed, power)) + return new(ScrollVerdict.TooDifficult, spellId, spellName, skillName, training, buffed, power); + return new(ScrollVerdict.Learnable, spellId, spellName, skillName, training, buffed, power); + } + + // ── Looting ─────────────────────────────────────────────────────────────── + + /// + /// The built-in loot rule (VTank treats it as one, ahead of the loot profile): with the + /// setting on, a scroll on a corpse whose spell the character doesn't know and can learn. + /// One copy per spell. + /// + public bool ShouldLootFromCorpse(WorldObject item, out string ruleLabel) + { + ruleLabel = string.Empty; + if (!_settings.ReadUnknownScrolls || !LooksLikeScroll(item)) return false; + + ScrollJudgement j = Judge(item); + if (j.Verdict == ScrollVerdict.NoSpell) return false; // a book, a note: not ours to judge + if (!j.Learnable) + { + LogItem(item.Id, $"[Learn] leaving '{item.Name}' ({j.SpellName}: {j.Why})"); + return false; + } + + long now = NowMs(); + if (OtherCopyTaken(j.SpellId, item.Id, now)) + { + LogItem(item.Id, $"[Learn] leaving '{item.Name}' ({j.SpellName}: another copy is already on its way)"); + return false; + } + _approved[j.SpellId] = (item.Id, now); + LogItem(item.Id, $"[Learn] looting '{item.Name}' ({j.SpellName}: {j.Why})"); + ruleLabel = RuleLabel; + return true; + } + + private bool OtherCopyTaken(int spellId, int itemId, long now) + { + if (_approved.TryGetValue(spellId, out var a) && a.ItemId != itemId && now - a.At < ApprovedTtlMs + && (_cache == null || _cache[a.ItemId] != null)) + return true; + foreach (var kv in _pending) + if (kv.Key != itemId && kv.Value.SpellId == spellId) return true; + return false; + } + + /// + /// A Read item's pickup was sent (the built-in rule, or a loot profile's Read action). + /// It is read once it is in the pack. + /// + public void NoteLooted(int itemId, string? name, bool fromProfile) + { + if (itemId == 0) return; + WorldObject? wo = _cache?[itemId]; + if (!_pending.TryGetValue(itemId, out Pending? p)) + { + p = new Pending { NotedAt = NowMs() }; + _pending[itemId] = p; + } + p.Name = !string.IsNullOrWhiteSpace(name) ? name! : wo?.Name ?? p.Name; + p.FromProfile |= fromProfile; + if (p.SpellId == 0 && wo != null) p.SpellId = ReadSpellId(wo); + } + + // ── Reading ─────────────────────────────────────────────────────────────── + + /// + /// One tick. : macro on, no monster within MonsterRange, not + /// buffing, looting a corpse, salvaging or vendoring. Returns true while a read is in + /// flight and it is still safe: the caller then holds the bot still. + /// + public bool Tick(bool safe, int busyCount) + { + long now = NowMs(); + if (IsReading) + { + if (ResolveRead(now)) return false; + return safe; + } + + if (!_settings.IsMacroRunning) return false; + if (!_settings.ReadUnknownScrolls && _pending.Count == 0) return false; + + IReadOnlyList? inv = null; + if (now - _lastSweepAt >= PackSweepMs) + { + _lastSweepAt = now; + inv = Inventory(); + SweepPack(inv, now); + } + + if (!safe || busyCount > 0 || _pending.Count == 0) return false; + if (now - _lastReadEndedAt < ReadGapMs) return false; + if (inv == null) + { + if (now - _lastStartCheckAt < StartCheckMs) return false; // one pack walk a second at most + inv = Inventory(); + } + _lastStartCheckAt = now; + return TryStartRead(inv, now); + } + + /// How often a waiting scroll is looked for in the pack. + internal const long StartCheckMs = 1_000; + private long _lastStartCheckAt = long.MinValue / 2; + + /// The pack, freshly walked (the cache's unforced list can be seconds old). + private IReadOnlyList Inventory() + { + IReadOnlyList all; + try { all = _cache?.GetDirectInventory(forceRefresh: true) ?? Array.Empty(); } + catch { return Array.Empty(); } + + // Without the engine's container walk the cache falls back to every non-landscape + // object it knows, corpse contents included. Leave out what is known to sit elsewhere. + int player = unchecked((int)PlayerId()); + if (player == 0 || _host.HasGetContainerContents) return all; // the engine's walk is the player's packs only + var mine = new List(all.Count); + foreach (WorldObject wo in all) + { + int c = wo.Container; + if (c == 0 || c == player || _cache?[c]?.Container == player) mine.Add(wo); + } + return mine; + } + + /// Unknown, learnable scrolls already in the pack join the queue (setting on). + private void SweepPack(IReadOnlyList inv, long now) + { + if (!_settings.ReadUnknownScrolls) return; + foreach (WorldObject wo in inv) + { + if (!LooksLikeScroll(wo) || _pending.ContainsKey(wo.Id) || wo.Id == _readItemId) continue; + ScrollJudgement j = Judge(wo); + if (j.Verdict == ScrollVerdict.NoSpell) continue; + if (!j.Learnable) + { + LogItem(wo.Id, $"[Learn] skipped '{wo.Name}' in the pack ({j.SpellName}: {j.Why})"); + continue; + } + if (OtherCopyTaken(j.SpellId, wo.Id, now)) + continue; // a second copy of a spell already queued: the first one teaches it + _pending[wo.Id] = new Pending { Name = wo.Name, SpellId = j.SpellId, NotedAt = now, SeenInPack = true }; + LogItem(wo.Id, $"[Learn] found '{wo.Name}' in the pack ({j.SpellName}: {j.Why}) - will read it"); + } + } + + private bool TryStartRead(IReadOnlyList inv, long now) + { + var inPack = new Dictionary(inv.Count); + foreach (WorldObject wo in inv) inPack[wo.Id] = wo; + + List? drop = null; + int pickId = 0; + WorldObject? pick = null; + foreach (var kv in _pending) + { + Pending p = kv.Value; + if (!p.FromProfile && !_settings.ReadUnknownScrolls) { (drop ??= new()).Add(kv.Key); continue; } + if (!inPack.TryGetValue(kv.Key, out WorldObject? wo)) + { + if (!p.SeenInPack && now - p.NotedAt < ArrivalGraceMs) continue; // still on its way + LogItem(kv.Key, $"[Learn] '{p.Name}' never reached the pack (or left it) - dropped"); + (drop ??= new()).Add(kv.Key); + continue; + } + p.SeenInPack = true; + if (now < p.NotBefore) continue; + pickId = kv.Key; + pick = wo; + break; + } + if (drop != null) foreach (int id in drop) _pending.Remove(id); + if (pick == null) return false; + + Pending pp = _pending[pickId]; + int spellId = ReadSpellId(pick); + if (spellId == 0 && !LooksLikeScroll(pick)) + { + // VTank: "Lootplugin attempted to classify item ... for reading, but that item does + // not appear to be a scroll. Ignoring it." + LogItem(pickId, $"[Learn] '{pick.Name}' was looted to read, but it isn't a scroll - kept, not read"); + _pending.Remove(pickId); + return false; + } + + ScrollJudgement j = Judge(spellId); + if (!j.Learnable) + { + bool waitable = j.Verdict is ScrollVerdict.KnownUnreadable or ScrollVerdict.SkillUnreadable or ScrollVerdict.SchoolUnknown; + if (waitable && now - pp.NotedAt < UnreadableGiveUpMs) + { + pp.NotBefore = now + PackSweepMs; + LogItem(pickId, $"[Learn] waiting to read '{pick.Name}' ({j.SpellName}: {j.Why})"); + return false; + } + LogItem(pickId, $"[Learn] skipped '{pick.Name}' ({(j.SpellName.Length > 0 ? j.SpellName + ": " : "")}{j.Why}) - kept in the pack"); + _pending.Remove(pickId); + return false; + } + + pp.Attempts++; + _readItemId = pickId; + _readSpellId = j.SpellId; + _readName = pick.Name; + _readSpellName = j.SpellName; + _readStartedAt = now; + _chat = ChatOutcome.None; + _chatText = ""; + _readItemDeleted = false; + + bool sent = false; + try { sent = _host.UseFor(unchecked((uint)pickId), "Learn", $"read the scroll to learn {j.SpellName} ({j.Why})"); } + catch { } + if (!sent) + { + EndRead(now); + if (pp.Attempts >= MaxReadAttempts) Fail(pickId, pp, "the use was refused"); + else pp.NotBefore = now + 3_000; + return false; + } + LogLine($"[Learn] reading '{pick.Name}' ({j.SpellName}: {j.Why})"); + return true; + } + + /// True when the read in flight is over (learned, refused, or timed out). + private bool ResolveRead(long now) + { + _pending.TryGetValue(_readItemId, out Pending? p); + long age = now - _readStartedAt; + + bool knownNow = false; + if (age >= KnownConfirmMinMs) + { + try { knownNow = KnownSpell(_readSpellId) == true; } catch { } + } + + if (_chat == ChatOutcome.Learned || _readItemDeleted || knownNow) + { + string how = _chat == ChatOutcome.Learned ? "the scroll is destroyed" : _readItemDeleted ? "the scroll is gone" : "it is in the spellbook"; + LogLine($"[Learn] read '{_readName}' - learned {_readSpellName} ({how})"); + try { Chat?.Invoke($"[RynthAi] Learned {_readSpellName} from a scroll."); } catch { } + _pending.Remove(_readItemId); + EndRead(now); + return true; + } + + if (_chat is ChatOutcome.AlreadyKnown or ChatOutcome.Untrained or ChatOutcome.TooDifficult) + { + if (p != null) Fail(_readItemId, p, $"the server said: {_chatText}"); + else _failedSpells.Add(_readSpellId); + EndRead(now); + return true; + } + + if (_chat == ChatOutcome.Busy || age >= ReadTimeoutMs) + { + string why = _chat == ChatOutcome.Busy ? "too busy" : $"no answer in {ReadTimeoutMs / 1000} s"; + if (p != null) + { + if (p.Attempts >= MaxReadAttempts) Fail(_readItemId, p, why); + else + { + p.NotBefore = now + 3_000; + LogLine($"[Learn] read of '{_readName}' not confirmed ({why}) - will try again"); + } + } + EndRead(now); + return true; + } + return false; + } + + private void Fail(int itemId, Pending p, string why) + { + int spellId = p.SpellId != 0 ? p.SpellId : _readSpellId; + if (spellId != 0) _failedSpells.Add(spellId); + _pending.Remove(itemId); + LogLine($"[Learn] read '{p.Name}' failed ({why}) - not looted or read again this session"); + } + + private void EndRead(long now) + { + _readItemId = 0; + _readSpellId = 0; + _readName = ""; + _readSpellName = ""; + _chat = ChatOutcome.None; + _chatText = ""; + _readItemDeleted = false; + _lastReadEndedAt = now; + } + + /// ACE's answers to a scroll read (Scroll.ActOnUse, Player.LearnSpellWithNetworking). + public void OnChat(string? text) + { + if (!IsReading || string.IsNullOrEmpty(text)) return; + string t = text.Trim(); + ChatOutcome o = + t == "The scroll is destroyed." ? ChatOutcome.Learned + : t == "You already know that spell!" ? ChatOutcome.AlreadyKnown + : t.StartsWith("You are not trained in ", StringComparison.Ordinal) && t.EndsWith("!", StringComparison.Ordinal) ? ChatOutcome.Untrained + : t.StartsWith("You are not skilled enough in ", StringComparison.Ordinal) && t.EndsWith(" to learn this spell.", StringComparison.Ordinal) ? ChatOutcome.TooDifficult + : t.StartsWith("You're too busy", StringComparison.Ordinal) ? ChatOutcome.Busy + : ChatOutcome.None; + if (o == ChatOutcome.None) return; + _chat = o; + _chatText = t; + } + + /// The scroll is consumed on success (TryConsumeFromInventoryWithNetworking). + public void OnObjectDeleted(uint objectId) + { + int id = unchecked((int)objectId); + if (IsReading && id == _readItemId) _readItemDeleted = true; + else if (!IsReading) _pending.Remove(id); + _lastLine.Remove(id); + } + + /// Logout: the session memory goes with the character. + public void Reset() + { + _failedSpells.Clear(); + _approved.Clear(); + _pending.Clear(); + _lastLine.Clear(); + EndRead(NowMs()); + } + + // ── Logging ─────────────────────────────────────────────────────────────── + + /// One line per scroll decision: an item's line is written again only when it changes. + private void LogItem(int itemId, string line) + { + if (_lastLine.TryGetValue(itemId, out string? last) && last == line) return; + if (_lastLine.Count > 2000) _lastLine.Clear(); + _lastLine[itemId] = line; + LogLine(line); + } + + private void LogLine(string line) + { + long now = NowMs(); + if (now - _logWindowStart >= LogWindowMs) { _logWindowStart = now; _logWindowLines = 0; } + if (++_logWindowLines > MaxLogLinesPerWindow) return; + try { _host.Log(line); } catch { } + } +} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Loot/VTankLootEvaluator.cs b/Plugins/RynthCore.Plugin.RynthAi/Loot/VTankLootEvaluator.cs index e51fc03..608f102 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Loot/VTankLootEvaluator.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Loot/VTankLootEvaluator.cs @@ -158,6 +158,25 @@ public static class VTankLootEvaluator } } + /// + /// The first rule, in list order, that matches the item (rule Priority is not consulted), + /// or null when none does; is its position, or -1. + /// Corpse looting classifies items with this. + /// + public static VTankLootRule? FirstMatch(VTankLootProfile profile, WorldObject? item, VTankLootContext? ctx, out int index) + { + for (int i = 0; i < profile.Rules.Count; i++) + { + if (Match(profile.Rules[i], item, ctx)) + { + index = i; + return profile.Rules[i]; + } + } + index = -1; + return null; + } + /// /// One condition on its own, same semantics as inside . /// AutoVendor judges conditions one at a time so it can tell "no" from "can't tell". @@ -178,7 +197,7 @@ public static class VTankLootEvaluator VTankNodeTypes.DoubleValKeyLE => Double(d) is var (val,key) && item.Values((DoubleValueKey)key, 0.0) <= val, VTankNodeTypes.DoubleValKeyGE => Double(d) is var (val,key) && item.Values((DoubleValueKey)key, 0.0) >= val, VTankNodeTypes.DamagePercentGE => false, // VTank source returns false unconditionally - VTankNodeTypes.ObjectClass => (int)item.ObjectClass == ReadInt(d, 0), + VTankNodeTypes.ObjectClass => ScrollLearner.ClassMatches(item, ReadInt(d, 0)), // Scroll (42) also matches scroll Books VTankNodeTypes.SpellCountGE => ctx is null || ctx.GetItemSpellIds(itemId).Length >= ReadInt(d, 0), VTankNodeTypes.SpellMatch => MatchSpellMatch(itemId, ctx, d), VTankNodeTypes.MinDamageGE => MatchMinDamageGE(item, d), diff --git a/Plugins/RynthCore.Plugin.RynthAi/MagToolsCommands.cs b/Plugins/RynthCore.Plugin.RynthAi/MagToolsCommands.cs index 1274795..a4bfed4 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/MagToolsCommands.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/MagToolsCommands.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.PluginSdk; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -194,6 +195,7 @@ public sealed partial class RynthAiPlugin // set via /ub opt / /mt opt resolve the same as /vt opt set). ["autocram"] = "EnableAutocram", ["autostack"] = "EnableAutostack", + ["readunknownscrolls"] = "ReadUnknownScrolls", // VTank: loots and reads unknown scrolls ["usedispelitems"] = "UseDispelItems", ["castdispelself"] = "CastDispelSelf", ["opendoorrange"] = "OpenDoorRange", @@ -209,6 +211,7 @@ public sealed partial class RynthAiPlugin ["manastonelootcount"] = "ManaStoneKeepCount", ["rebuftimeremainingseconds"] = "RebuffSecondsRemaining", ["navclosestoprange"] = "NavCloseStopRange", + ["follownavmin"] = "FollowNavMin", // UtilityBelt AutoVendor options (/ub opt set AutoVendor.TestMode true) ["autovendor.enabled"] = "AutoVendorEnabled", ["autovendor.enablebuying"] = "AutoVendorEnableBuying", @@ -219,6 +222,12 @@ public sealed partial class RynthAiPlugin ["autovendor.onlyfrommainpack"] = "AutoVendorOnlyFromMainPack", ["autovendor.tries"] = "AutoVendorTries", ["autovendor.triestime"] = "AutoVendorTriesTime", + // UtilityBelt AutoTrade options (/ub opt set AutoTrade.AutoAccept true) + ["autotrade.enabled"] = "AutoTradeEnabled", + ["autotrade.testmode"] = "AutoTradeTestMode", + ["autotrade.think"] = "AutoTradeThink", + ["autotrade.onlyfrommainpack"] = "AutoTradeOnlyFromMainPack", + ["autotrade.autoaccept"] = "AutoTradeAutoAccept", }; private string? GetOptionValue(string optName) @@ -386,7 +395,12 @@ public sealed partial class RynthAiPlugin // Special targets: closestnpc, closestvendor, closestportal string lower = argStr.ToLower(); - if (lower == "closestnpc" || lower == "closestvendor" || lower == "closestportal") + if (lower == "closestportal") + { + UseClosestPortal(); + return true; + } + if (lower == "closestnpc" || lower == "closestvendor") { return HandleMtUseClosest(lower); } @@ -436,7 +450,7 @@ public sealed partial class RynthAiPlugin return true; } - Host.UseObject(unchecked((uint)best.Id)); + Host.UseFor(unchecked((uint)best.Id), "Command", $"/mt use {type}", UseKind.Asked); Host.Log($"[RynthAi] /mt use {type}: {best.Name} (0x{(uint)best.Id:X8}) at {bestDist:F1}m"); return true; } @@ -588,7 +602,7 @@ public sealed partial class RynthAiPlugin if (found == null) return; // items may not be available yet — try again next tick Host.SelectItem(found.Value.Id); - Host.UseObject(found.Value.Id); + Host.UseFor(found.Value.Id, "Command", "/mt loot (waited for the container)", UseKind.Asked); Host.Log($"[RynthAi] /mt loot (deferred): {found.Value.Name} (0x{found.Value.Id:X8}) from container 0x{(uint)container:X8}"); _pendingMtLootName = null; } @@ -609,7 +623,7 @@ public sealed partial class RynthAiPlugin if (found != null) { Host.SelectItem(found.Value.Id); - Host.UseObject(found.Value.Id); + Host.UseFor(found.Value.Id, "Command", "/mt loot", UseKind.Asked); Host.Log($"[RynthAi] /mt loot: {found.Value.Name} (0x{found.Value.Id:X8}) from container 0x{(uint)container:X8}"); _pendingMtLootName = null; return true; @@ -668,7 +682,7 @@ public sealed partial class RynthAiPlugin var item = FindObject(name, inv: true, land: false, partial: partial); if (item == null) { ChatLine($"[RynthAi] Item not found: '{name}'"); return true; } - Host.UseObject(unchecked((uint)item.Id)); + Host.UseFor(unchecked((uint)item.Id), "Command", "/mt use item", UseKind.Asked); Host.Log($"[RynthAi] /mt equip: {item.Name} (0x{(uint)item.Id:X8})"); return true; } diff --git a/Plugins/RynthCore.Plugin.RynthAi/ManaStoneManager.cs b/Plugins/RynthCore.Plugin.RynthAi/ManaStoneManager.cs index d30ee97..d32a253 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/ManaStoneManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/ManaStoneManager.cs @@ -4,6 +4,7 @@ using System.Linq; using RynthCore.Loot; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.PluginSdk; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi; @@ -13,8 +14,9 @@ namespace RynthCore.Plugin.RynthAi; /// Each think tick from Idle picks one of two actions: /// 1. If any worn item has CurrentMana below the threshold AND we have a /// charged stone in inventory, use the stone on the player. -/// 2. Otherwise, if we have an empty stone and an inventory item with at -/// least the threshold of CurrentMana, drain it. +/// 2. Otherwise, if we have an empty stone and an item the looter picked up +/// as "ManaTap" (looted only to be drained) still holds at least the +/// threshold of CurrentMana, drain it. Nothing else is ever drained. /// /// Single-shot semantics: /// - Using an empty stone on an item destroys the item and charges the stone. @@ -63,12 +65,36 @@ internal sealed class ManaStoneManager // below this fraction of its MaxMana. Prevents the bot from continually // dumping stones on the player just because an item dipped slightly. private const double WornRefillPctOfMax = 0.25; + // With an Eternal Mana Charge (never used up) there's no reason to wait for 25%: top + // gear up below 75% (Lucy carried one on her Items list and it was never used, 2026-09-30). + private const double WornRefillPctOfMaxEternal = 0.75; + private long _lastGearDiagAt; + private readonly Dictionary _manaIdRequestedAt = new(); private const long ThinkIntervalMs = 600; private const long ActionTimeoutMs = 8000; private static long NowMs => Environment.TickCount64; + /// + /// Set by the plugin: true when a Keep or Keep # rule in the active loot profile + /// matches the item. Draining destroys the item, so kept loot is never a tap target. + /// + public Func? IsLootKept { get; set; } + + // Items the looter picked up as "ManaTap" (looted only to be drained), with the + // time each was recorded. Draining destroys the item, so these are the ONLY tap + // targets: gear, quest items, bought items and loot kept by a rule are never in + // here. Session memory only: a hot reload or relog builds a new manager and the + // set starts empty, so anything looted for tapping before that just stays in + // the pack undrained (the safe direction). + private readonly Dictionary _lootedForTap = new(); + // An entry is not pruned for "not in the pack" this soon after it was recorded: + // the pickup is recorded when it is sent, before the item arrives. + private const long LootedForTapGraceMs = 30_000; + private const long LootedForTapPruneIntervalMs = 1_000; + private long _lootedForTapPrunedAt; + public ManaStoneManager(RynthCoreHost host, LegacyUiSettings settings, WorldObjectCache objectCache) { _host = host; @@ -80,7 +106,12 @@ internal sealed class ManaStoneManager public void OnHeartbeat(int busyCount) { - if (!_settings.EnableManaTapping) { Reset(); return; } + // Before the early returns: items sold, given away or dropped while tapping is + // off or the macro is stopped must leave the set too. + PruneLootedForTap(NowMs); + + // An Eternal Mana Charge refills gear for free, so it works with tapping off too. + if (!_settings.EnableManaTapping && !HasEternalCharge()) { Reset(); return; } if (!_settings.IsMacroRunning) { Reset(); return; } long now = NowMs; @@ -96,6 +127,7 @@ internal sealed class ManaStoneManager if (itemGone || stoneGone) { _host.Log($"[RynthAi] ManaStone: tap completion detected (itemGone={itemGone} stoneGone={stoneGone})."); + if (itemGone) _lootedForTap.Remove(_activeItemId); // drained and destroyed GoIdle(); } } @@ -174,6 +206,7 @@ internal sealed class ManaStoneManager || text.Contains("is destroyed") || text.Contains("has been destroyed")) { + if (_activeItemId != 0) _lootedForTap.Remove(_activeItemId); // drained and destroyed GoIdle(); return; } @@ -206,20 +239,64 @@ internal sealed class ManaStoneManager } } + /// + /// CorpseOpenController calls this when it picks an item up as "ManaTap" (no loot + /// rule matched, it holds enough mana and an empty stone is free): when the pickup + /// is sent, and again when it is confirmed. Only these items are ever drained. + /// + public void MarkLootedForTap(int itemId) + { + if (itemId != 0) _lootedForTap[itemId] = NowMs; + } + + /// + /// Drops entries whose item has left the pack: drained (destroyed), sold, given + /// away, salvaged, dropped, or never arrived. Also drops items the player has + /// since put on or added to the Weapons tab: that is the player choosing to keep + /// it, so it stops being tap fodder for good. + /// + private void PruneLootedForTap(long now) + { + if (_lootedForTap.Count == 0) return; + if (now - _lootedForTapPrunedAt < LootedForTapPruneIntervalMs) return; + _lootedForTapPrunedAt = now; + + int playerId = unchecked((int)_host.GetPlayerId()); + List? drop = null; + foreach (var kv in _lootedForTap) + { + WorldObject? item = _objectCache[kv.Key]; + bool keptByPlayer = item != null + && ((playerId != 0 && item.Wielder == playerId) + || WorldObjectCache.IsWieldedByPlayer(_host, item) + || _settings.ItemRules.Any(r => r.Id == item.Id)); + if (!keptByPlayer) + { + if (now - kv.Value < LootedForTapGraceMs) continue; // pickup may still be arriving + if (item != null && IsOwnedByPlayer(item, playerId)) continue; + } + (drop ??= new List()).Add(kv.Key); + } + if (drop == null) return; + foreach (int id in drop) + _lootedForTap.Remove(id); + _host.Log($"[RynthAi] ManaStone: {drop.Count} looted-for-tap item(s) left the pack or were kept by the player; {_lootedForTap.Count} left to drain."); + } + // ── Private helpers ─────────────────────────────────────────────────────── private void TryBeginAction() { int threshold = _settings.ManaTapMinMana; - // Priority 1 (was 2): drain a tappable looted item into an empty stone. + // Priority 1 (was 2): drain an item looted for tapping into an empty stone. // This wins over refilling worn gear because: // * draining is the user's primary goal (loot-for-tap behavior), // * the use-on-player path only accepts certain equipment slots and // can loop forever on items like wielded weapons that AC won't // refill via stone — that loop blacklists stones one by one and // starves the drain path entirely. - int stoneId = FindEmptyStone(); + int stoneId = _settings.EnableManaTapping ? FindEmptyStone() : 0; int targetId = stoneId != 0 ? FindTapTarget(threshold) : 0; if (stoneId != 0 && targetId != 0) @@ -251,7 +328,7 @@ internal sealed class ManaStoneManager { _state = TapState.TappingItem; _actionIssuedAt = NowMs; - _host.UseObjectOn(unchecked((uint)stoneId), unchecked((uint)itemId)); + _host.UseOnFor(unchecked((uint)stoneId), unchecked((uint)itemId), "ManaStone", "tap an item into a mana stone"); } private void IssueUseOnPlayer() @@ -265,7 +342,7 @@ internal sealed class ManaStoneManager _host.Log($"[RynthAi] ManaStone: using charged stone 0x{(uint)_activeStoneId:X8} on player"); _state = TapState.UsingOnPlayer; _actionIssuedAt = NowMs; - _host.UseObjectOn(unchecked((uint)_activeStoneId), playerId); + _host.UseOnFor(unchecked((uint)_activeStoneId), playerId, "ManaStone", "charged mana stone on yourself"); } private void GoIdle() @@ -317,8 +394,9 @@ internal sealed class ManaStoneManager } /// - /// Items already in the player's inventory that match the tap-target criteria - /// (mana ≥ threshold, not equipped, not loot-kept, not blacklisted). Each one + /// Items looted for tapping that are in the player's inventory and match the + /// tap-target criteria (mana ≥ threshold, not equipped, not on the Weapons tab, + /// not loot-kept, not blacklisted). Each one /// will eventually consume one empty stone, so they count against the /// "free slots" quota that CorpseOpenController uses for ManaTap pickup. /// @@ -331,8 +409,10 @@ internal sealed class ManaStoneManager long now = NowMs; int count = 0; - foreach (var item in _objectCache.AllKnownObjects()) + foreach (int id in _lootedForTap.Keys) // keep in sync with FindTapTarget { + WorldObject? item = _objectCache[id]; + if (item == null) continue; if (IsManaStone(item)) continue; if (!IsOwnedByPlayer(item, playerId)) continue; if (IsWandLike(item)) continue; // wands are never tap targets — keep this in sync with FindTapTarget @@ -341,11 +421,33 @@ internal sealed class ManaStoneManager && wield != 0) continue; if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.CurrentMana, out int curMana) || curMana < threshold) continue; + if (IsProtectedFromTap(item, playerId)) continue; // keep in sync with FindTapTarget count++; } return count; } + /// + /// Items a drain must never touch (the drain destroys the item): gear the player + /// is wearing or wielding, weapons and wands on the Weapons tab (the bow sits in + /// the pack while the wand buffs), and loot the profile keeps. Stype 10 can read 0 + /// for a wielded item, so worn gear is also checked by its wielder. + /// + private bool IsProtectedFromTap(WorldObject item, int playerId) + { + if (playerId != 0 && item.Wielder == playerId) return true; + if (WorldObjectCache.IsWieldedByPlayer(_host, item)) return true; + foreach (var rule in _settings.ItemRules) + if (rule.Id == item.Id) return true; + var kept = IsLootKept; + if (kept != null) + { + try { if (kept(item)) return true; } + catch { return true; } + } + return false; + } + /// /// Free empty-stone slots = empty stones in inventory minus drain candidates /// already in inventory waiting to be tapped. CorpseOpenController only @@ -369,6 +471,7 @@ internal sealed class ManaStoneManager /// public bool IsManaStone(WorldObject item) { + if (IsEternal(item)) return true; bool hasRule = false; foreach (var rule in _settings.ConsumableRules) { @@ -384,14 +487,57 @@ internal sealed class ManaStoneManager if (item.ObjectClass == AcObjectClass.ManaStone) return true; return !string.IsNullOrEmpty(item.Name) - && item.Name.Contains("Mana Stone", StringComparison.OrdinalIgnoreCase); + && (item.Name.Contains("Mana Stone", StringComparison.OrdinalIgnoreCase) + || item.Name.Contains("Mana Charge", StringComparison.OrdinalIgnoreCase)); + } + + /// + /// An unlimited mana charge (Eternal Mana Charge: 10,000 mana, never used up). Always + /// "charged", never an empty stone to drain into, and preferred for refilling gear. + /// + private static bool IsEternal(WorldObject item) => + !string.IsNullOrEmpty(item.Name) && item.Name.StartsWith("Eternal Mana", StringComparison.OrdinalIgnoreCase); + + private bool HasEternalCharge() + { + int playerId = unchecked((int)_host.GetPlayerId()); + foreach (var item in _objectCache.GetDirectInventory(forceRefresh: false)) + if (IsEternal(item) && IsOwnedByPlayer(item, playerId)) return true; + return false; } /// True if the item's container chain roots at the player's pack. + // What the player owns, rebuilt at most every 600 ms: the pack walk (GetContainerContents, + // what kits and potions already use) plus the cache's inventory set (wielded items too). + // The per-object container/wielder fields below read 0 off AC's thread, so every item + // looked like it lay on the ground: gear-check logged worn=0 and eternal=False for a + // character wearing gear with an Eternal Mana Charge in the pack (2026-09-30). + private readonly HashSet _ownedIds = new(); + private long _ownedIdsAt; + + private HashSet OwnedIds() + { + long now = NowMs; + if (now - _ownedIdsAt < ThinkIntervalMs && _ownedIds.Count > 0) return _ownedIds; + _ownedIdsAt = now; + _ownedIds.Clear(); + foreach (var wo in _objectCache.GetDirectInventory(forceRefresh: false)) _ownedIds.Add(wo.Id); + foreach (var wo in _objectCache.GetInventory()) _ownedIds.Add(wo.Id); + return _ownedIds; + } + private bool IsOwnedByPlayer(WorldObject item, int playerId) { if (item.ObjectClass == AcObjectClass.Corpse) return false; + if (OwnedIds().Contains(item.Id)) return true; if (item.Wielder != 0 && playerId != 0 && item.Wielder != playerId) return false; + // In no container and wielded by nobody = lying on the ground. Those passed as + // owned (the scans walk every known object), so a Mana Stone on a dungeon floor + // became the "empty stone": the tap could never complete, timed out after 8 s + // and shelved the real tap target for 5 minutes. Only when the engine can read + // ownership; without it every object reads 0 and the old behaviour stays. + if (item.Container == 0 && item.Wielder == 0 && playerId != 0 && _host.HasGetObjectOwnershipInfo) + return false; if (item.Container != 0 && playerId != 0 && item.Container != playerId) { var owner = _objectCache[item.Container]; @@ -410,7 +556,7 @@ internal sealed class ManaStoneManager foreach (var item in _objectCache.AllKnownObjects()) { - if (!IsManaStone(item)) continue; + if (!IsManaStone(item) || IsEternal(item)) continue; if (!IsOwnedByPlayer(item, playerId)) continue; // Stones AC has explicitly told us are charged ("already full of @@ -467,6 +613,10 @@ internal sealed class ManaStoneManager if (_stoneUseOnPlayerCooldownUntil.TryGetValue(item.Id, out long until) && now < until) continue; + // Eternal: always charged (its mana often can't be read), never used up — first choice. + if (IsEternal(item)) return item.Id; + if (!_settings.EnableManaTapping) continue; // tapping off: only the free charge + if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.CurrentMana, out int cur)) continue; if (cur <= 0) continue; @@ -477,14 +627,22 @@ internal sealed class ManaStoneManager return bestId; } + /// + /// The next item to drain. Only items the looter picked up as "ManaTap" are + /// candidates (the drain destroys the item); every check below is a second + /// safety net on top of that. + /// private int FindTapTarget(int threshold) { if (!_host.HasGetObjectIntProperty) return 0; + if (_lootedForTap.Count == 0) return 0; int playerId = unchecked((int)_host.GetPlayerId()); long now = NowMs; - foreach (var item in _objectCache.AllKnownObjects()) + foreach (int id in _lootedForTap.Keys) { + WorldObject? item = _objectCache[id]; + if (item == null) continue; if (IsManaStone(item)) continue; if (!IsOwnedByPlayer(item, playerId)) continue; @@ -510,6 +668,10 @@ internal sealed class ManaStoneManager || curMana < threshold) continue; + // Worn gear (stype 10 can read 0), Weapons-tab items and kept loot. + if (IsProtectedFromTap(item, playerId)) + continue; + return item.Id; } @@ -550,34 +712,72 @@ internal sealed class ManaStoneManager { if (!_host.HasGetObjectIntProperty) return false; int playerId = unchecked((int)_host.GetPlayerId()); + bool eternal = HasEternalCharge(); + double pct = eternal ? WornRefillPctOfMaxEternal : WornRefillPctOfMax; + int worn = 0, readable = 0, lowestPct = 101; + string lowestName = ""; + bool needs = false; + bool requestedThisPass = false; foreach (var item in _objectCache.AllKnownObjects()) { if (IsManaStone(item)) continue; if (!IsOwnedByPlayer(item, playerId)) continue; - if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.WieldedSlot, out int wield) - || wield == 0) + // The live slot read can fail off AC's thread; the cache's copy (what /ra wielded + // uses) is the fallback. + if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.WieldedSlot, out int wield) || wield == 0) + wield = item.Values(LongValueKey.CurrentWieldedLocation, 0); + if (wield == 0) continue; + worn++; - // Only items that actually consume mana matter - if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.MaxMana, out int maxMana) - || maxMana <= 0) + // Only items that actually consume mana matter. Off AC's thread an item's mana is + // only known once it has been identified (appraisal cache); worn gear often never + // is, so nothing ever read as low and no stone or charge was used. Identify one such + // item per check, each at most every 5 minutes (a request bumps the busy count). + if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.MaxMana, out int maxMana)) + { + long nowMs = NowMs; + if (!requestedThisPass && _host.HasRequestId + && (!_manaIdRequestedAt.TryGetValue(item.Id, out long at) || nowMs - at > 300_000)) + { + _manaIdRequestedAt[item.Id] = nowMs; + _host.RequestId(unchecked((uint)item.Id)); + requestedThisPass = true; + } + continue; + } + if (maxMana <= 0) continue; if (!_host.TryGetObjectIntProperty(unchecked((uint)item.Id), (uint)AcIntProperty.CurrentMana, out int curMana)) continue; + readable++; + _manaIdRequestedAt.Remove(item.Id); + int p = (int)(curMana * 100L / maxMana); + if (p < lowestPct) { lowestPct = p; lowestName = item.Name ?? ""; } - // Refill only when an item has dropped to a small fraction of its - // MaxMana. The configured threshold is for *draining* loose items, - // not for "the player's robe is at 88% of full" — using min(threshold, - // maxMana) caused the bot to dump charged stones constantly on + // Refill only when an item has dropped to a fraction of its MaxMana (25%, or + // 75% with an Eternal charge). The configured threshold is for *draining* loose + // items, not for "the player's robe is at 88% of full" — using + // min(threshold, maxMana) caused the bot to dump charged stones constantly on // near-full equipment. - int floor = (int)(maxMana * WornRefillPctOfMax); + int floor = (int)(maxMana * pct); if (curMana < floor) - return true; + needs = true; } - return false; + // Once a minute: what it can see, so "the charge is never used" can be told apart + // from "the gear's mana can't be read". + long now = NowMs; + if (now - _lastGearDiagAt > 60_000) + { + _lastGearDiagAt = now; + _host.Log($"[RynthAi] ManaStone: gear check - worn={worn} manaReadable={readable} lowest={(readable > 0 ? $"{lowestPct}% ({lowestName})" : "n/a")} " + + $"refillBelow={(int)(pct * 100)}% eternal={eternal} needs={needs} tapping={_settings.EnableManaTapping}"); + } + + return needs; } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Maps/DungeonMapTexture.cs b/Plugins/RynthCore.Plugin.RynthAi/Maps/DungeonMapTexture.cs deleted file mode 100644 index a505690..0000000 --- a/Plugins/RynthCore.Plugin.RynthAi/Maps/DungeonMapTexture.cs +++ /dev/null @@ -1,236 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Runtime.InteropServices; -using RynthCore.Plugin.RynthAi.LegacyUi; - -namespace RynthCore.Plugin.RynthAi.Maps; - -/// -/// One D3D9 POOL_MANAGED A8R8G8B8 texture baked from a single Z-layer's floor cells. -/// Each texel covers one GridCell (0.5 AC units). Edge cells (cells bordering empty space) -/// use the bright wall colour; interior cells use the semi-transparent fill colour; -/// empty cells are fully transparent (alpha=0). -/// -/// Displayed via dl.AddImageQuad — O(1) vertices per layer vs O(strips + edges) otherwise. -/// Disk-cached to C:\Games\RynthSuite\RynthAi\Maps\{landblock:X8}_{layerIdx}.bin so -/// re-entering a dungeon skips the rasterise step. -/// -internal sealed class DungeonMapTexture : IDisposable -{ - private const float GridCell = 0.5f; - private const string CacheDir = @"C:\Games\RynthSuite\RynthAi\Maps"; - private const uint Magic = 0x524D5458u; // "XTMR" - - // D3D9 vtable indices on IDirect3DDevice9 / IDirect3DTexture9 - private const int VtCreateTexture = 23; - private const int VtLockRect = 19; - private const int VtUnlockRect = 20; - private const int VtRelease = 2; - - private const uint D3DFMT_A8R8G8B8 = 21; - private const uint D3DPOOL_MANAGED = 1; - - [UnmanagedFunctionPointer(CallingConvention.StdCall)] - private delegate int CreateTextureD(IntPtr dev, uint w, uint h, uint levels, uint usage, uint fmt, uint pool, out IntPtr ppTex, IntPtr shared); - - [UnmanagedFunctionPointer(CallingConvention.StdCall)] - private delegate int LockRectD(IntPtr tex, uint level, ref D3DLockedRect locked, IntPtr pRect, uint flags); - - [UnmanagedFunctionPointer(CallingConvention.StdCall)] - private delegate int UnlockRectD(IntPtr tex, uint level); - - [UnmanagedFunctionPointer(CallingConvention.StdCall)] - private delegate uint ReleaseD(IntPtr obj); - - [StructLayout(LayoutKind.Sequential)] - private struct D3DLockedRect { public int Pitch; public IntPtr pBits; } - - // ── D3D9 A8R8G8B8 colour helpers (ARGB uint: A<<24|R<<16|G<<8|B) ───── - private static uint Argb(float r, float g, float b, float a) => - ((uint)(a * 255f) << 24) | ((uint)(r * 255f) << 16) | ((uint)(g * 255f) << 8) | (uint)(b * 255f); - - // Match DungeonMapUi colour definitions - private static readonly uint FillFlat = Argb(0.18f, 0.55f, 0.22f, 0.40f); - private static readonly uint FillSlopeUp = Argb(0.55f, 0.12f, 0.08f, 0.40f); - private static readonly uint FillSlopeDown = Argb(0.10f, 0.50f, 0.15f, 0.40f); - private static readonly uint EdgeFlat = Argb(0.55f, 0.80f, 1.00f, 1.00f); - private static readonly uint EdgeSlopeUp = Argb(1.00f, 0.35f, 0.25f, 1.00f); - private static readonly uint EdgeSlopeDown = Argb(0.25f, 1.00f, 0.35f, 1.00f); - - // World bounds of the baked area - public float WorldX0, WorldY0, WorldX1, WorldY1; - public IntPtr TexId => _tex; - - private IntPtr _tex; - - private DungeonMapTexture() {} - - /// - /// Returns a texture for the given floor-cell grid. Checks the disk cache first; - /// if absent, rasterises, uploads to D3D9, and saves to disk. - /// Returns null if device is invalid or texture upload fails. - /// - public static DungeonMapTexture? GetOrBuild( - IntPtr device, - Dictionary<(int gx, int gy), DungeonMapUi.CellType> cells, - uint landblock, int layerIdx) - { - if (device == IntPtr.Zero || cells.Count == 0) return null; - - // Bounding box - int xMin = int.MaxValue, xMax = int.MinValue; - int yMin = int.MaxValue, yMax = int.MinValue; - foreach (var (gx, gy) in cells.Keys) - { - if (gx < xMin) xMin = gx; if (gx > xMax) xMax = gx; - if (gy < yMin) yMin = gy; if (gy > yMax) yMax = gy; - } - int w = xMax - xMin + 1, h = yMax - yMin + 1; - if (w <= 0 || h <= 0 || w > 8192 || h > 8192) return null; - - // Try disk cache first (only valid when dimensions match the dat-computed bounds) - var cached = TryLoadFromDisk(device, landblock, layerIdx, xMin, yMin, w, h); - if (cached != null) return cached; - - // Rasterise → upload → cache - var pixels = Rasterise(cells, xMin, yMax, w, h); - IntPtr tex = Upload(device, w, h, pixels); - if (tex == IntPtr.Zero) return null; - - SaveToDisk(landblock, layerIdx, xMin, yMin, w, h, pixels); - - return new DungeonMapTexture - { - _tex = tex, - WorldX0 = xMin * GridCell, - WorldY0 = yMin * GridCell, - WorldX1 = (xMax + 1) * GridCell, - WorldY1 = (yMax + 1) * GridCell, - }; - } - - public void Dispose() - { - if (_tex == IntPtr.Zero) return; - try { GetVtFunc(_tex, VtRelease)(_tex); } catch { } - _tex = IntPtr.Zero; - } - - // ── Rasterisation ───────────────────────────────────────────────────── - - private static uint[] Rasterise( - Dictionary<(int gx, int gy), DungeonMapUi.CellType> cells, - int xMin, int yMax, int w, int h) - { - var pixels = new uint[w * h]; // 0 = transparent - foreach (var ((gx, gy), ctype) in cells) - { - bool isEdge = !cells.ContainsKey((gx + 1, gy)) - || !cells.ContainsKey((gx - 1, gy)) - || !cells.ContainsKey((gx, gy + 1)) - || !cells.ContainsKey((gx, gy - 1)); - uint col = isEdge - ? ctype switch - { - DungeonMapUi.CellType.SlopeUp => EdgeSlopeUp, - DungeonMapUi.CellType.SlopeDown => EdgeSlopeDown, - _ => EdgeFlat, - } - : ctype switch - { - DungeonMapUi.CellType.SlopeUp => FillSlopeUp, - DungeonMapUi.CellType.SlopeDown => FillSlopeDown, - _ => FillFlat, - }; - // Row 0 = northernmost cells (highest gy), so flip Y - pixels[(yMax - gy) * w + (gx - xMin)] = col; - } - return pixels; - } - - // ── D3D9 upload ─────────────────────────────────────────────────────── - - private static unsafe IntPtr Upload(IntPtr device, int w, int h, uint[] pixels) - { - try - { - int hr = GetVtFunc(device, VtCreateTexture)( - device, (uint)w, (uint)h, 1, 0, D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, out IntPtr tex, IntPtr.Zero); - if (hr < 0 || tex == IntPtr.Zero) return IntPtr.Zero; - - var locked = new D3DLockedRect(); - hr = GetVtFunc(tex, VtLockRect)(tex, 0, ref locked, IntPtr.Zero, 0); - if (hr < 0) { GetVtFunc(tex, VtRelease)(tex); return IntPtr.Zero; } - - // Copy row by row — pitch may be wider than w*4 - for (int row = 0; row < h; row++) - { - IntPtr dst = IntPtr.Add(locked.pBits, row * locked.Pitch); - fixed (uint* src = &pixels[row * w]) - Buffer.MemoryCopy(src, (void*)dst, (nuint)(w * 4), (nuint)(w * 4)); - } - - GetVtFunc(tex, VtUnlockRect)(tex, 0); - return tex; - } - catch { return IntPtr.Zero; } - } - - // ── Disk cache ──────────────────────────────────────────────────────── - - private static DungeonMapTexture? TryLoadFromDisk( - IntPtr device, uint lb, int layerIdx, - int expXMin, int expYMin, int expW, int expH) - { - try - { - string path = Path.Combine(CacheDir, $"{lb:X8}_{layerIdx}.bin"); - if (!File.Exists(path)) return null; - using var br = new BinaryReader(File.OpenRead(path)); - if (br.ReadUInt32() != Magic) return null; - int xMin = br.ReadInt32(), yMin = br.ReadInt32(); - int w = br.ReadInt32(), h = br.ReadInt32(); - // Invalidate if bounds no longer match the dat - if (w != expW || h != expH || xMin != expXMin || yMin != expYMin) return null; - if (br.BaseStream.Length < 20L + (long)w * h * 4) return null; - - var pixels = new uint[w * h]; - for (int i = 0; i < pixels.Length; i++) pixels[i] = br.ReadUInt32(); - - IntPtr tex = Upload(device, w, h, pixels); - if (tex == IntPtr.Zero) return null; - - return new DungeonMapTexture - { - _tex = tex, - WorldX0 = xMin * GridCell, - WorldY0 = yMin * GridCell, - WorldX1 = (xMin + w) * GridCell, - WorldY1 = (yMin + h) * GridCell, - }; - } - catch { return null; } - } - - private static void SaveToDisk(uint lb, int layerIdx, int xMin, int yMin, int w, int h, uint[] pixels) - { - try - { - Directory.CreateDirectory(CacheDir); - string path = Path.Combine(CacheDir, $"{lb:X8}_{layerIdx}.bin"); - using var bw = new BinaryWriter(File.Open(path, FileMode.Create)); - bw.Write(Magic); bw.Write(xMin); bw.Write(yMin); bw.Write(w); bw.Write(h); - foreach (uint px in pixels) bw.Write(px); - } - catch { } - } - - // ── VTable helper ───────────────────────────────────────────────────── - - private static unsafe TDelegate GetVtFunc(IntPtr obj, int idx) where TDelegate : Delegate - { - void** vt = *(void***)obj; - return Marshal.GetDelegateForFunctionPointer((IntPtr)vt[idx]); - } -} diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileParser.cs b/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileParser.cs index 35486d2..1d0d3ae 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileParser.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileParser.cs @@ -410,9 +410,11 @@ internal static class AfFileParser case MetaConditionType.ChatMessageCapture: { - // ChatCapture {pattern} {replacement} — we only use the pattern + // ChatCapture {pattern} {colour id list, e.g. 2;4} string pattern = ExtractBraceContent(rest, out int endPos); rule.ConditionData = pattern; + string r1 = endPos > 0 && endPos < rest.Length ? rest.Substring(endPos).Trim() : ""; + rule.ChatColors = r1.StartsWith('{') ? ExtractBraceContent(r1, out _).Trim() : ""; break; } @@ -523,8 +525,17 @@ internal static class AfFileParser switch (actionType) { - case MetaActionType.SetMetaState: case MetaActionType.CallMetaState: + { + // CallState {ToState} {ReturnState}: the second brace is what gets + // pushed on the call stack (it was dropped, so Return went back to the caller). + rule.ActionData = ExtractBraceContent(rest, out int e1); + string r1 = e1 < rest.Length ? rest.Substring(e1).Trim() : ""; + rule.CallReturnState = r1.StartsWith('{') ? ExtractBraceContent(r1, out _) : ""; + break; + } + + case MetaActionType.SetMetaState: case MetaActionType.ChatCommand: case MetaActionType.ExpressionAction: case MetaActionType.ChatExpression: @@ -571,9 +582,11 @@ internal static class AfFileParser case MetaActionType.GetRAOption: { - string variable = ExtractBraceContent(rest, out int e1); + // metaf: GetOpt {Option} {Variable} (GetOpt {OpenDoors} {doors}). + // ActionData stays "variable;option". + string option = ExtractBraceContent(rest, out int e1); string r1 = e1 < rest.Length ? rest.Substring(e1).Trim() : ""; - string option = ExtractBraceContent(r1, out _); + string variable = ExtractBraceContent(r1, out _); rule.ActionData = $"{variable};{option}"; break; } @@ -706,8 +719,20 @@ internal static class AfFileParser } break; - case "pau": // pau seconds - if (tokens.Length >= 2) + case "pau": // metaf: pau X Y Z PauseMs (old RynthAi form: pau seconds) + if (tokens.Length >= 5) + { + // The metaf form was read as "pau seconds": the X coordinate became + // the pause (e.g. -62144 ms) and the point moved to 0,0,0. + navFileLines.Add("3"); // type 3 = Pause + navFileLines.Add(tokens[1]); // EW + navFileLines.Add(tokens[2]); // NS + navFileLines.Add(tokens[3]); // Z + navFileLines.Add("0"); + double.TryParse(tokens[4], NumberStyles.Any, CultureInfo.InvariantCulture, out double pauseMs); + navFileLines.Add(((int)pauseMs).ToString(CultureInfo.InvariantCulture)); + } + else if (tokens.Length >= 2) { navFileLines.Add("3"); // type 3 = Pause navFileLines.Add("0"); @@ -731,35 +756,49 @@ internal static class AfFileParser } break; - case "ptl": // ptl EW NS Z destEW destNS destZ objectClass {PortalName} + // The trailer for type 6 is exactly the 6 lines NavRouteParser reads: name, + // class, tie, targetEW, targetNS, targetZ. ptl wrote 5 extra "0" lines and + // vnd/tlk 5 more too, which NavRouteParser (and CountNavPoints) then read as + // an extra Point at 0,0,0 after every portal, vendor or NPC: after using a + // portal the bot headed for the middle of Dereth. + case "ptl": // metaf: ptl X Y Z TargetX TargetY TargetZ ObjectClass {Name} + case "tlk": // metaf: tlk X Y Z TargetX TargetY TargetZ ObjectClass {Name} if (tokens.Length >= 8) { - navFileLines.Add("6"); // type 6 = PortalNPC + navFileLines.Add("6"); // type 6 = PortalNPC (used by name; NPC talk too) navFileLines.Add(tokens[1]); // EW navFileLines.Add(tokens[2]); // NS navFileLines.Add(tokens[3]); // Z navFileLines.Add("0"); - string portalName = tokens.Length >= 9 ? tokens[8] : tokens[7]; - int objClass = 14; // Portal class - int.TryParse(tokens[7], out objClass); - navFileLines.Add(portalName); + string targetName = tokens.Length >= 9 ? tokens[8] : tokens[7]; + if (!int.TryParse(tokens[7], out int objClass)) + objClass = nodeType == "tlk" ? 37 : 14; // NPC / Portal + navFileLines.Add(targetName); navFileLines.Add(objClass.ToString()); navFileLines.Add("False"); - navFileLines.Add(tokens[4]); // dest EW - navFileLines.Add(tokens[5]); // dest NS - navFileLines.Add(tokens[6]); // dest Z - navFileLines.Add("0"); - navFileLines.Add("0"); // land EW - navFileLines.Add("0"); // land NS - navFileLines.Add("0"); // land Z + navFileLines.Add(tokens[4]); // target EW + navFileLines.Add(tokens[5]); // target NS + navFileLines.Add(tokens[6]); // target Z + } + else if (nodeType == "tlk" && tokens.Length >= 5) + { + // Old RynthAi form: tlk EW NS Z objectId {NPCName} + navFileLines.Add("6"); + navFileLines.Add(tokens[1]); + navFileLines.Add(tokens[2]); + navFileLines.Add(tokens[3]); navFileLines.Add("0"); + navFileLines.Add(tokens.Length >= 6 ? tokens[5] : "NPC"); + navFileLines.Add("37"); // NPC class + navFileLines.Add("False"); + navFileLines.Add(tokens[1]); navFileLines.Add(tokens[2]); navFileLines.Add(tokens[3]); } break; - case "vnd": // vnd EW NS Z vendorId {VendorName} + case "vnd": // metaf: vnd X Y Z TargetGUID {TargetName} if (tokens.Length >= 5) { - navFileLines.Add("6"); // treat vendor as PortalNPC type + navFileLines.Add("6"); // treat vendor as PortalNPC type (used by name) navFileLines.Add(tokens[1]); // EW navFileLines.Add(tokens[2]); // NS navFileLines.Add(tokens[3]); // Z @@ -768,25 +807,7 @@ internal static class AfFileParser navFileLines.Add(vndName); navFileLines.Add("12"); // NPC class navFileLines.Add("False"); - navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); - navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); - } - break; - - case "tlk": // tlk EW NS Z objectId {NPCName} - if (tokens.Length >= 5) - { - navFileLines.Add("6"); - navFileLines.Add(tokens[1]); - navFileLines.Add(tokens[2]); - navFileLines.Add(tokens[3]); - navFileLines.Add("0"); - string tlkName = tokens.Length >= 6 ? tokens[5] : "NPC"; - navFileLines.Add(tlkName); - navFileLines.Add("37"); // NPC class - navFileLines.Add("False"); - navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); - navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); navFileLines.Add("0"); + navFileLines.Add(tokens[1]); navFileLines.Add(tokens[2]); navFileLines.Add(tokens[3]); } break; diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileWriter.cs b/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileWriter.cs index 9518ed6..888679f 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileWriter.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/AfFileWriter.cs @@ -144,7 +144,7 @@ internal static class AfFileWriter break; case MetaConditionType.ChatMessageCapture: - writer.Write($"{keyword} {{{data}}} {{}}"); + writer.Write($"{keyword} {{{data}}} {{{rule.ChatColors}}}"); break; case MetaConditionType.InventoryItemCount_LE: @@ -228,7 +228,7 @@ internal static class AfFileWriter case MetaActionType.CallMetaState: // Format: CallState {} {} - writer.Write($"{keyword} {{{data}}} {{{rule.State}}}"); + writer.Write($"{keyword} {{{data}}} {{{(string.IsNullOrEmpty(rule.CallReturnState) ? rule.State : rule.CallReturnState)}}}"); break; case MetaActionType.EmbeddedNavRoute: @@ -263,7 +263,7 @@ internal static class AfFileWriter var parts = data.Split(';'); string variable = parts.Length > 0 ? parts[0] : ""; string option = parts.Length > 1 ? parts[1] : ""; - writer.Write($"{keyword} {{{variable}}} {{{option}}}"); + writer.Write($"{keyword} {{{option}}} {{{variable}}}"); // metaf order break; } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/CommandReference.txt b/Plugins/RynthCore.Plugin.RynthAi/Meta/CommandReference.txt index 443a946..ff83544 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/CommandReference.txt +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/CommandReference.txt @@ -112,6 +112,22 @@ META / SCRIPTING myCount (number) = 5 myName (string) = Aluvian Warrior +/ra metamgr on|off|status + The Meta Manager: loads another meta when a timer runs out. Rules are + set up in the Meta panel's Schedule view (see Docs\META_MANAGER.md). + Triggers: a quest's /myquests timer running out, N minutes on the + current meta, every N minutes, or a countdown you start. The first + due rule wins; the switch waits for combat, looting and buffing to end + (60 s at most) and never happens while the macro is stopped. + status lists every rule with its time left. +/ra metamgr poll [minutes] + Check /myquests now, or set how often it checks (default 5, minimum 1). +/ra metamgr start <#> [minutes] | stop <#> + Start (or stop) countdown rule number #, optionally for a different time. + Example: /ra metamgr start 2 45 +/ra metamgr reset <#|all> + Re-arm a rule: clears "fired" (one-shot), "holding" and an error. + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ DIAGNOSTICS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/ExpressionEngine.cs b/Plugins/RynthCore.Plugin.RynthAi/Meta/ExpressionEngine.cs index 12fd795..658b660 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/ExpressionEngine.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/ExpressionEngine.cs @@ -9,6 +9,7 @@ using RynthCore.Plugin.RynthAi.CreatureData; using RynthCore.Plugin.RynthAi.LegacyUi; using RynthCore.Plugin.RynthAi.Loot; using RynthCore.Loot.VTank; +using RynthCore.Plugin.Shared; namespace RynthCore.Plugin.RynthAi.Meta; @@ -58,9 +59,15 @@ internal sealed class ExpressionEngine = new(StringComparer.OrdinalIgnoreCase); private readonly Dictionary _giveNativeProfileCache = new(StringComparer.OrdinalIgnoreCase); - private static readonly string ItemGiverDir + // The three data paths are settable only so offline tests can point them at a scratch + // folder before anything reads or writes them; the plugin never changes them. + internal static string ItemGiverDir { get; set; } = Path.Combine(@"C:\Games\RynthSuite\RynthAi", "ItemGiver"); + /// Millisecond tick for delayexec and the var-flush throttle. Tests swap it for a + /// fake clock; the plugin never changes it. + internal Func TickMs { get; set; } = static () => Environment.TickCount64; + // Stopwatch store: handle → Stopwatch. Persistent (not cleared per eval) — handles are stored in variables. private readonly Dictionary _stopwatches = new(StringComparer.Ordinal); private int _nextSwId; @@ -100,8 +107,8 @@ internal sealed class ExpressionEngine private long _lastVarFlushMs; private string? _pvarPathCached; private const long VarFlushIntervalMs = 2000; - private static readonly string PvarsDir = Path.Combine(@"C:\Games\RynthSuite\RynthAi", "pvars"); - private static readonly string GvarsPath = Path.Combine(@"C:\Games\RynthSuite\RynthAi", "gvars.txt"); + internal static string PvarsDir { get; set; } = Path.Combine(@"C:\Games\RynthSuite\RynthAi", "pvars"); + internal static string GvarsPath { get; set; } = Path.Combine(@"C:\Games\RynthSuite\RynthAi", "gvars.txt"); private Dictionary Get, Action Set)>? _settingsMap; public IReadOnlyDictionary Variables => _variables; @@ -416,9 +423,9 @@ internal sealed class ExpressionEngine "cstrf" => EvalCstrf(A(0), Tmpl(1)), "cnumber" => ToDouble(A(0)).ToString("G", CultureInfo.InvariantCulture), "strlen" => A(0).Length.ToString(CultureInfo.InvariantCulture), - "floor" => Math.Floor(ToDouble(A(0))).ToString("G", CultureInfo.InvariantCulture), - "ceiling" => Math.Ceiling(ToDouble(A(0))).ToString("G", CultureInfo.InvariantCulture), - "round" => Math.Round(ToDouble(A(0)), MidpointRounding.AwayFromZero).ToString("G", CultureInfo.InvariantCulture), + "floor" => Fmt(Math.Floor(ToDouble(A(0)))), + "ceiling" => Fmt(Math.Ceiling(ToDouble(A(0)))), + "round" => Fmt(Math.Round(ToDouble(A(0)), MidpointRounding.AwayFromZero)), "abs" => Math.Abs(ToDouble(A(0))).ToString("G", CultureInfo.InvariantCulture), "ord" => EvalOrd(A(0)), "chr" => EvalChr(A(0)), @@ -485,7 +492,10 @@ internal sealed class ExpressionEngine // ── RynthAi settings / meta state (VTank-compatible names) ──────── "rasetmetastate" or "vtsetmetastate" or "setmetastate" => EvalVtSetMetaState(Tmpl(0)), - "ragetmetastate" => _settings?.CurrentState ?? "", + "ragetmetastate" or "vtgetmetastate" or "getmetastate" => _settings?.CurrentState ?? "", + // UB vtgetmeta[]: the loaded meta's name (file name without extension). + "vtgetmeta" or "ragetmeta" => string.IsNullOrEmpty(_settings?.CurrentMetaPath) + ? "" : Path.GetFileNameWithoutExtension(_settings!.CurrentMetaPath), "rasetsetting" or "vtsetsetting" => EvalVtSetSetting(Tmpl(0), A(1)), "ragetsetting" or "vtgetsetting" or "vtankgetsetting" => EvalVtGetSetting(Tmpl(0)), @@ -649,7 +659,7 @@ internal sealed class ExpressionEngine public void FlushVars(bool force = false) { if (!_pvarsDirty && !_gvarsDirty) return; - long now = Environment.TickCount64; + long now = TickMs(); if (!force && now - _lastVarFlushMs < VarFlushIntervalMs) return; if (_pvarsDirty && _pvars != null) { SaveVarFile(GetPvarPath(), _pvars); _pvarsDirty = false; } if (_gvarsDirty && _gvars != null) { SaveVarFile(GvarsPath, _gvars); _gvarsDirty = false; } @@ -1314,7 +1324,9 @@ internal sealed class ExpressionEngine private string EvalVitae() { - if (!_host.HasGetVitae || _playerId == 0) return "100"; + // Unreadable (no engine call, or before login): no known penalty. It returned + // 100, a full penalty, while a real "no vitae" reading is 0. + if (!_host.HasGetVitae || _playerId == 0) return "0"; float v = _host.GetVitae(_playerId); // Convert multiplier to penalty: 1.0 → 0 (no penalty), 0.95 → 5 (5% penalty). int penalty = 100 - (int)Math.Round(v * 100.0f); @@ -2044,10 +2056,40 @@ internal sealed class ExpressionEngine return free < 0 ? "0" : free.ToString(CultureInfo.InvariantCulture); } + // Last automatic ID request per object (TickCount64), see EnsureIdentified. + private readonly Dictionary _autoIdAt = new(); + + /// + /// Asks the server to identify an object a meta or script reads properties + /// from, if it hasn't been identified this session. Many properties (uses + /// left on a pet essence, workmanship, spells ...) only arrive with an ID: + /// before this, a meta reading them got 0 until the item was identified by + /// hand, e.g. endlessly "refilling" a full essence. At most once per 10 s + /// per object; the value is right on the next read once the ID lands. + /// + private void EnsureIdentified(uint uid) + { + if (uid == 0 || !_host.HasHasAppraisalData || !_host.HasRequestId) return; + // Used (or used on) since its last identify: the identified values may be + // stale, e.g. an essence's uses after a summon or refill. Re-identify. + bool stale = ObjectChangeTracker.IsStale(uid, _host.HasGetLastIdTime ? _host.GetLastIdTime(uid) : 0); + if (!stale && _host.HasAppraisalData(uid)) return; + long now = Environment.TickCount64; + long gap = stale ? 2_000 : 10_000; + lock (_autoIdAt) + { + if (_autoIdAt.TryGetValue(uid, out long last) && now - last < gap) return; + if (_autoIdAt.Count > 500) _autoIdAt.Clear(); + _autoIdAt[uid] = now; + } + _host.RequestId(uid); + } + private string EvalWobjectGetIntProp(string objArg, string propArg) { if (!TryParseWobjectHandle(objArg, out uint uid, out _)) return "0"; if (!uint.TryParse(propArg.Trim(), out uint prop)) return "0"; + EnsureIdentified(uid); // UB extended property 218103808 (0xD000000) = TEMPLATE_TYPE → reads WCID from PublicWeenieDesc if (prop == 218103808u) @@ -2066,6 +2108,7 @@ internal sealed class ExpressionEngine { if (!TryParseWobjectHandle(objArg, out uint uid, out _)) return "0"; if (!uint.TryParse(propArg.Trim(), out uint prop)) return "0"; + EnsureIdentified(uid); // UB extended double property constants use their own index, not AC STypeFloat values. // Map each known UB extended constant to the correct AC STypeFloat (or special path). @@ -2085,6 +2128,7 @@ internal sealed class ExpressionEngine { if (!TryParseWobjectHandle(objArg, out uint uid, out _)) return "0"; if (!uint.TryParse(propArg.Trim(), out uint prop)) return "0"; + EnsureIdentified(uid); if (!_host.HasGetObjectBoolProperty) return "0"; return _host.TryGetObjectBoolProperty(uid, prop, out bool value) ? (value ? "1" : "0") : "0"; } @@ -2093,6 +2137,7 @@ internal sealed class ExpressionEngine { if (!TryParseWobjectHandle(objArg, out uint uid, out _)) return ""; if (!uint.TryParse(propArg.Trim(), out uint prop)) return ""; + EnsureIdentified(uid); if (!_host.HasGetObjectStringProperty) return ""; return _host.TryGetObjectStringProperty(uid, prop, out string? value) ? value ?? "" : ""; } @@ -2160,31 +2205,52 @@ internal sealed class ExpressionEngine : "0"; } - private string EvalCreatureGetResist(string arg, string typeArg) + // Resists come from CreatureWeakness (the shipped server table, else the creature + // type's average): ACE never sends them on appraisal, so the profile's were all 1.0 + // and creaturegetweakest always said "slash" (2026-09-29). Values are damage taken. + private CreatureWeakness.Ranking? ResolveWeakness(string arg) { - var p = ResolveCreatureProfile(arg); - if (p == null) return "1"; - string t = (typeArg ?? "").Trim().ToLowerInvariant(); - double v = t switch + uint wcid = 0; + string? name = null; + if (TryParseWobjectHandle(arg, out uint uid, out _) && uid != 0) { - "slash" or "sl" => p.ResistSlash, - "pierce" or "pi" => p.ResistPierce, - "bludgeon" or "bl" or "b" => p.ResistBludgeon, - "fire" or "fi" or "f" => p.ResistFire, - "cold" or "co" or "c" => p.ResistCold, - "acid" or "ac" or "a" => p.ResistAcid, - "electric" or "lightning" or "el" or "li" => p.ResistElectric, - _ => 1.0, - }; - return v.ToString("G", CultureInfo.InvariantCulture); + if (_host.HasGetObjectName && _host.TryGetObjectName(uid, out string n)) name = n; + if (_host.HasGetObjectWcid) _host.TryGetObjectWcid(uid, out wcid); + } + if (string.IsNullOrEmpty(name)) name = arg; + int ctype = ResolveCreatureProfile(arg)?.CreatureType ?? 0; + return CreatureWeakness.Rank(wcid, name, ctype, null); } + private string EvalCreatureGetResist(string arg, string typeArg) + { + string t = (typeArg ?? "").Trim().ToLowerInvariant(); + string element = t switch + { + "slash" or "sl" => "Slash", + "pierce" or "pi" => "Pierce", + "bludgeon" or "bl" or "b" => "Bludgeon", + "fire" or "fi" or "f" => "Fire", + "cold" or "co" or "c" => "Cold", + "acid" or "ac" or "a" => "Acid", + "electric" or "lightning" or "el" or "li" => "Lightning", + "nether" or "ne" or "n" => "Nether", + _ => "", + }; + var r = ResolveWeakness(arg); + if (r != null && element.Length > 0) + foreach (var (e, m) in r.Order) + if (e == element && !double.IsNaN(m)) return m.ToString("G", CultureInfo.InvariantCulture); + return "1"; + } + + /// The element the creature takes most damage from, spelled as before ("electric" for lightning); "" when unknown. private string EvalCreatureGetWeakest(string arg) { - var p = ResolveCreatureProfile(arg); - if (p == null) return ""; - var (type, _) = CreatureProfileStore.GetWeakest(p); - return type; + var r = ResolveWeakness(arg); + if (r == null || r.Order.Count == 0) return ""; + string e = r.Order[0].Element.ToLowerInvariant(); + return e == "lightning" ? "electric" : e; } private string EvalCreatureGetArmor(string arg) @@ -2354,7 +2420,7 @@ internal sealed class ExpressionEngine { if (!TryParseWobjectHandle(arg, out uint uid, out _) || uid == 0) return "0"; if (!_host.HasUseObject) return "0"; - _host.UseObject(uid); + _host.UseFor(uid, "Meta", "actiontryuseitem", UseKind.Asked); return "0"; } @@ -2363,7 +2429,7 @@ internal sealed class ExpressionEngine if (!TryParseWobjectHandle(useArg, out uint useId, out _) || useId == 0) return "0"; if (!TryParseWobjectHandle(onArg, out uint onId, out _) || onId == 0) return "0"; if (!_host.HasUseObjectOn) return "0"; - return _host.UseObjectOn(useId, onId) ? "1" : "0"; + return _host.UseOnFor(useId, onId, "Meta", "actiontryapplyitem", UseKind.Asked) ? "1" : "0"; } private string EvalActionTryCastByIdOnTarget(string spellArg, string targetArg) @@ -2512,7 +2578,7 @@ internal sealed class ExpressionEngine _castBowDequipPendingId = 0; // bow confirmed unwielded — fall through to wield the wand } - _host.UseObject((uint)wandId); + _host.UseFor((uint)wandId, "Meta", "meta cast: wield the wand", UseKind.Asked); _castWieldPendingId = wandId; _castWieldPendingAt = now; return false; // yield — let the server equip the wand @@ -2539,7 +2605,7 @@ internal sealed class ExpressionEngine _castStanceLastRecoverAt = now; _castStanceReEquips++; _host.Log($"[MetaCast] stance STUCK {stuckMs:0}ms (wielded, mode≠Magic) — re-equip {_castStanceReEquips}/{CastStanceReEquipMax} 0x{(uint)wandId:X8}"); - _host.UseObject((uint)wandId); + _host.UseFor((uint)wandId, "Meta", "meta cast: stance stuck, wield the wand again", UseKind.Asked); return false; } @@ -2566,7 +2632,7 @@ internal sealed class ExpressionEngine } else if (bowId != 0 && !IsCastWielded(bowId) && _host.HasUseObject) { - _host.UseObject((uint)bowId); // re-wield the bow we dequipped + _host.UseFor((uint)bowId, "Meta", "meta cast done: wield the bow again", UseKind.Asked); // re-wield the bow we dequipped } _castWieldPendingId = 0; _castBowDequipPendingId = 0; @@ -2593,7 +2659,7 @@ internal sealed class ExpressionEngine if (id == 0 || _worldObjectCache == null) return false; foreach (var wo in _worldObjectCache.GetDirectInventory(forceRefresh: true)) if (wo.Id == id) - return wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0; + return WorldObjectCache.IsWieldedByPlayer(_host, wo); if (_host.HasGetObjectWielderInfo) { uint pid = _host.GetPlayerId(); @@ -2611,9 +2677,10 @@ internal sealed class ExpressionEngine { if (wo.Id == wandId) continue; if (IsCastWandObject(wo)) continue; - if (wo.Values(LongValueKey.CurrentWieldedLocation, 0) > 0 - && (wo.ObjectClass == AcObjectClass.MeleeWeapon - || wo.ObjectClass == AcObjectClass.MissileWeapon)) + if (WorldObjectCache.IsAmmo(wo)) continue; // arrows stay on; only the bow blocks the wand + if ((wo.ObjectClass == AcObjectClass.MeleeWeapon + || wo.ObjectClass == AcObjectClass.MissileWeapon) + && WorldObjectCache.IsWieldedByPlayer(_host, wo)) return wo.Id; } return 0; @@ -2668,7 +2735,7 @@ internal sealed class ExpressionEngine } if (unequipped != null) - _host.UseObject(unchecked((uint)unequipped.Id)); + _host.UseFor(unchecked((uint)unequipped.Id), "Meta", "actiontryequipanywand", UseKind.Asked); return "0"; } @@ -2955,7 +3022,7 @@ internal sealed class ExpressionEngine { if (string.Equals(item.Name, "Ust", StringComparison.OrdinalIgnoreCase)) { - _host.UseObject((uint)item.Id); + _host.UseFor((uint)item.Id, "Meta", "ustopen", UseKind.Asked); return "1"; } } @@ -3173,6 +3240,8 @@ internal sealed class ExpressionEngine if (_settings == null || string.IsNullOrEmpty(name)) return ""; var map = BuildSettingsMap(); if (map.TryGetValue(name, out var entry)) return entry.Get(); + // VTank option names (EnableNav, NavPriorityBoost, Recharge-Norm-Hitp...) → RynthAi setting. + if (MetaManager.TryMapVtOption(name, out string raName) && map.TryGetValue(raName, out entry)) return entry.Get(); return _options.TryGetValue(name, out string? v) ? v : ""; } @@ -3180,7 +3249,14 @@ internal sealed class ExpressionEngine { if (_settings == null || string.IsNullOrEmpty(name)) return "0"; var map = BuildSettingsMap(); - if (map.TryGetValue(name, out var entry)) { entry.Set(value); return "1"; } + // VTank option names map to RynthAi settings, and bool text (True/false/on/off) + // becomes 1/0: the bool setters read a number, so 'True' used to switch it OFF. + if (map.TryGetValue(name, out var entry) + || (MetaManager.TryMapVtOption(name, out string raName) && map.TryGetValue(raName, out entry))) + { + entry.Set(MetaManager.NormalizeVtValue(value)); + return "1"; + } _options[name] = value; return "1"; } @@ -3213,9 +3289,23 @@ internal sealed class ExpressionEngine ["MissileArcClearance"] = (() => F(s.MissileArcClearance), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f) && float.IsFinite(f)) s.MissileArcClearance = Math.Clamp(f, 0f, 3f); }), ["EnableAutostack"] = (() => B(s.EnableAutostack), v => s.EnableAutostack = ToDouble(v) != 0), ["EnableAutocram"] = (() => B(s.EnableAutocram), v => s.EnableAutocram = ToDouble(v) != 0), + ["ReadUnknownScrolls"] = (() => B(s.ReadUnknownScrolls), v => s.ReadUnknownScrolls = ToDouble(v) != 0), ["EnableCombineSalvage"]= (() => B(s.EnableCombineSalvage),v => s.EnableCombineSalvage= ToDouble(v) != 0), ["PeaceModeWhenIdle"] = (() => B(s.PeaceModeWhenIdle), v => s.PeaceModeWhenIdle = ToDouble(v) != 0), ["RebuffWhenIdle"] = (() => B(s.RebuffWhenIdle), v => s.RebuffWhenIdle = ToDouble(v) != 0), + ["UsePotions"] = (() => B(s.UsePotions), v => s.UsePotions = ToDouble(v) != 0), + ["UseBuffItems"] = (() => B(s.UseBuffItems), v => s.UseBuffItems = ToDouble(v) != 0), + ["MakeRationsBelow"] = (() => s.MakeRationsBelow.ToString(CultureInfo.InvariantCulture), v => s.MakeRationsBelow = Math.Clamp((int)ToDouble(v), 0, 100)), + ["UseKitsInMagicMode"] = (() => B(s.UseKitsInMagicMode), v => s.UseKitsInMagicMode = ToDouble(v) != 0), + ["PeaceModeForKits"] = (() => B(s.PeaceModeForKits), v => s.PeaceModeForKits = ToDouble(v) != 0), + ["KitMinSuccessPct"] = (() => s.KitMinSuccessPct.ToString(CultureInfo.InvariantCulture), v => s.KitMinSuccessPct = Math.Clamp((int)ToDouble(v), 0, 100)), + ["EmergencyHealAt"] = (() => s.EmergencyHealAt.ToString(CultureInfo.InvariantCulture), v => s.EmergencyHealAt = Math.Clamp((int)ToDouble(v), 0, 100)), + ["StaminaToHealthAt"] = (() => s.StaminaToHealthAt.ToString(CultureInfo.InvariantCulture), v => s.StaminaToHealthAt = Math.Clamp((int)ToDouble(v), 0, 100)), + ["StaminaToHealthMinStamina"] = (() => s.StaminaToHealthMinStamina.ToString(CultureInfo.InvariantCulture), v => s.StaminaToHealthMinStamina = Math.Clamp((int)ToDouble(v), 0, 100)), + ["StopMacroOnDeath"] = (() => B(s.StopMacroOnDeath), v => s.StopMacroOnDeath = ToDouble(v) != 0), + ["StopMacroOnNoComponents"] = (() => B(s.StopMacroOnNoComponents), v => s.StopMacroOnNoComponents = ToDouble(v) != 0), + ["StopLootingWhenPackFull"] = (() => B(s.StopLootingWhenPackFull), v => s.StopLootingWhenPackFull = ToDouble(v) != 0), + ["StopMacroWhenPackFull"] = (() => B(s.StopMacroWhenPackFull), v => s.StopMacroWhenPackFull = ToDouble(v) != 0), ["SummonPets"] = (() => B(s.SummonPets), v => s.SummonPets = ToDouble(v) != 0), ["MineOnly"] = (() => B(s.MineOnly), v => s.MineOnly = ToDouble(v) != 0), ["UseDispelItems"] = (() => B(s.UseDispelItems), v => s.UseDispelItems = ToDouble(v) != 0), @@ -3223,10 +3313,16 @@ internal sealed class ExpressionEngine ["AutoFellowMgmt"] = (() => B(s.AutoFellowMgmt), v => s.AutoFellowMgmt = ToDouble(v) != 0), ["UseRecklessness"] = (() => B(s.UseRecklessness), v => s.UseRecklessness = ToDouble(v) != 0), ["UseNativeAttack"] = (() => B(s.UseNativeAttack), v => s.UseNativeAttack = ToDouble(v) != 0), + ["WieldUnlistedWandWhenNoneListed"] = (() => B(s.WieldUnlistedWandWhenNoneListed), v => s.WieldUnlistedWandWhenNoneListed = ToDouble(v) != 0), + // The off hand when a monster rule doesn't choose: Auto, Shield, Weapon or None (or 0-3). + ["OffhandDefault"] = (() => s.OffhandDefault, v => { if (OffhandRules.TryParse(v, out var m)) s.OffhandDefault = OffhandRules.SettingValue(m); }), + ["PreferDualWield"] = (() => B(s.PreferDualWield), v => s.PreferDualWield = ToDouble(v) != 0), ["MonsterRange"] = (() => I(s.MonsterRange), v => { if (int.TryParse(v, out int i)) s.MonsterRange = i; }), ["RingRange"] = (() => I(s.RingRange), v => { if (int.TryParse(v, out int i)) s.RingRange = i; }), ["ApproachRange"] = (() => I(s.ApproachRange), v => { if (int.TryParse(v, out int i)) s.ApproachRange = i; }), ["MinRingTargets"] = (() => I(s.MinRingTargets), v => { if (int.TryParse(v, out int i)) s.MinRingTargets = i; }), + ["BlastRange"] = (() => I(s.BlastRange), v => { if (int.TryParse(v, out int i)) s.BlastRange = i; }), + ["MinBlastTargets"] = (() => I(s.MinBlastTargets), v => { if (int.TryParse(v, out int i)) s.MinBlastTargets = i; }), ["HealAt"] = (() => I(s.HealAt), v => { if (int.TryParse(v, out int i)) s.HealAt = i; }), ["RestamAt"] = (() => I(s.RestamAt), v => { if (int.TryParse(v, out int i)) s.RestamAt = i; }), ["GetManaAt"] = (() => I(s.GetManaAt), v => { if (int.TryParse(v, out int i)) s.GetManaAt = i; }), @@ -3254,7 +3350,20 @@ internal sealed class ExpressionEngine ["AutoVendorOnlyFromMainPack"] = (() => B(s.AutoVendorOnlyFromMainPack), v => s.AutoVendorOnlyFromMainPack = ToDouble(v) != 0), ["AutoVendorTries"] = (() => I(s.AutoVendorTries), v => { if (int.TryParse(v, out int i)) s.AutoVendorTries = Math.Clamp(i, 1, 20); }), ["AutoVendorTriesTime"] = (() => I(s.AutoVendorTriesTime), v => { if (int.TryParse(v, out int i)) s.AutoVendorTriesTime = Math.Clamp(i, 500, 30000); }), - ["NavCloseStopRange"] = (() => F(s.NavCloseStopRange), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f)) s.NavCloseStopRange = f; }), + // AutoTrade (UB names map here through /ub opt: AutoTrade.Enabled -> AutoTradeEnabled, ...) + ["AutoTradeEnabled"] = (() => B(s.AutoTradeEnabled), v => s.AutoTradeEnabled = ToDouble(v) != 0), + ["AutoTradeTestMode"] = (() => B(s.AutoTradeTestMode), v => s.AutoTradeTestMode = ToDouble(v) != 0), + ["AutoTradeThink"] = (() => B(s.AutoTradeThink), v => s.AutoTradeThink = ToDouble(v) != 0), + ["AutoTradeOnlyFromMainPack"] = (() => B(s.AutoTradeOnlyFromMainPack), v => s.AutoTradeOnlyFromMainPack = ToDouble(v) != 0), + ["AutoTradeAutoAccept"] = (() => B(s.AutoTradeAutoAccept), v => s.AutoTradeAutoAccept = ToDouble(v) != 0), + // Nav point reach: how close nav gets to each nav point before moving on (yards). + ["FollowNavMin"] = (() => F(s.FollowNavMin), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f)) s.FollowNavMin = LegacyUiSettings.ClampFollowNavMin(f); }), + // VTank's NavCloseStopRange IS its "Follow/Nav Min Distance" box (the box shows it x240 + // in yards; utank2-i.dll fills txtWPRange from it). It used to be read here as a + // separate "stop short of a Once route's last point" range, so a meta's + // navclosestoprange never changed how close nav got to each point. Same setting now, + // in VTank's landblock units: 0.00625 = 1.5 yd. + ["NavCloseStopRange"] = (() => F(s.FollowNavMin / 240f), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f) && f > 0f) s.FollowNavMin = LegacyUiSettings.ClampFollowNavMin(f * 240f); }), ["NavShortcutYards"] = (() => F(s.NavShortcutYards), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f)) s.NavShortcutYards = Math.Clamp(f, 0f, 10f); }), ["MaxMonRange"] = (() => D(s.MaxMonRange), v => { if (double.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out double d)) s.MaxMonRange = d; }), ["NavRingThickness"] = (() => F(s.NavRingThickness), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f)) s.NavRingThickness = f; }), @@ -3263,6 +3372,9 @@ internal sealed class ExpressionEngine ["CurrentLootPath"] = (() => s.CurrentLootPath, v => s.CurrentLootPath = v), ["CurrentMetaPath"] = (() => s.CurrentMetaPath, v => s.CurrentMetaPath = v), ["OpenDoors"] = (() => B(s.OpenDoors), v => s.OpenDoors = ToDouble(v) != 0), + ["NavRecoveryEnabled"] = (() => B(s.NavRecoveryEnabled), v => s.NavRecoveryEnabled = ToDouble(v) != 0), + ["NavOffTrackYards"] = (() => F(s.NavOffTrackYards), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f)) s.NavOffTrackYards = Math.Clamp(f, 160f, 1000f); }), + ["NavMaxDetourAttempts"] = (() => I(s.NavMaxDetourAttempts), v => { if (int.TryParse(v, out int i)) s.NavMaxDetourAttempts = Math.Clamp(i, 1, 10); }), ["OpenDoorRange"] = (() => F(s.OpenDoorRange), v => { if (float.TryParse(v, System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture, out float f)) s.OpenDoorRange = f; }), ["BoostNavPriority"] = (() => B(s.BoostNavPriority), v => s.BoostNavPriority = ToDouble(v) != 0), ["BoostLootPriority"] = (() => B(s.BoostLootPriority), v => s.BoostLootPriority = ToDouble(v) != 0), @@ -3278,7 +3390,7 @@ internal sealed class ExpressionEngine CultureInfo.InvariantCulture, out double delayMs)) delayMs = 0; long ms = (long)Math.Max(0, delayMs); - _delayedExecs.Add((Environment.TickCount64 + ms, exprArg)); + _delayedExecs.Add((TickMs() + ms, exprArg)); return "1"; } @@ -3292,7 +3404,7 @@ internal sealed class ExpressionEngine public void PumpDelayedExecs() { if (_delayedExecs.Count == 0) return; - long now = Environment.TickCount64; + long now = TickMs(); List? due = null; for (int i = _delayedExecs.Count - 1; i >= 0; i--) { @@ -3419,7 +3531,7 @@ internal sealed class ExpressionEngine /// "0" and "" are false; everything else is true. internal static bool ToBool(string s) - => s.Length > 0 && s != "0" + => s.Length > 0 && s != "0" && s != "-0" && !string.Equals(s, "false", StringComparison.OrdinalIgnoreCase) // An evaluation error / depth-guard sentinel is never "true" — keeps // if[]/iif[]/&&/|| on a broken sub-expression failing closed too. @@ -3434,7 +3546,8 @@ internal sealed class ExpressionEngine return (long)ToDouble(s); } - private static string Fmt(double d) => d.ToString("G", CultureInfo.InvariantCulture); + // -0 (ceiling[-0.5], round[-0.4], 0*-1) printed "-0", and "-0" counted as true. + private static string Fmt(double d) => (d == 0 ? 0.0 : d).ToString("G", CultureInfo.InvariantCulture); private static string Fmt(long l) => l.ToString(CultureInfo.InvariantCulture); /// Equality: numeric if both sides parse as numbers, otherwise case-INSENSITIVE @@ -3682,13 +3795,60 @@ internal sealed class ExpressionEngine Ws(); while (Try("#")) { - var pattern = ParseUnary(); + var pattern = ParseRegexOperand(); l = RegexCache.IsMatch(l, pattern, RegexOptions.IgnoreCase) ? "1" : "0"; Ws(); } return l; } + /// + /// The right side of #. A backtick string, $var, (group), function call, number or + /// plain word is parsed as before. Anything else is taken as raw pattern text, as + /// the reference documents (getcharstringprop[1] # ^Virindi, + /// getvar[lastchat] # killed.*olthoi): up to whitespace, a ',' or an unmatched + /// ')' / ']', or ==, !=, &&, ||. Only the unquoted pattern read as an expression + /// before (^ as XOR, * as multiply), so it never matched. + /// + private string ParseRegexOperand() + { + Ws(); + if (_p >= _s.Length) return ""; + char c = _s[_p]; + if (c is '`' or '$' or '(' or '~' or '-') return ParseUnary(); + + int wordEnd = _p; + while (wordEnd < _s.Length && (char.IsLetterOrDigit(_s[wordEnd]) || _s[wordEnd] == '_' || _s[wordEnd] == '.')) + wordEnd++; + if (wordEnd > _p && wordEnd < _s.Length && _s[wordEnd] == '[') return ParseUnary(); // function call + + int start = _p, q = _p, depth = 0; + while (q < _s.Length) + { + char ch = _s[q]; + if (ch is ' ' or '\t' or '\r' or '\n') break; + if (ch == '\\' && q + 1 < _s.Length) { q += 2; continue; } // escaped char stays in the pattern + if (ch is '[' or '(') depth++; + else if (ch is ']' or ')') { if (depth == 0) break; depth--; } + else if (depth == 0) + { + if (ch == ',') break; + if (q + 1 < _s.Length) + { + char n = _s[q + 1]; + if ((ch == '=' && n == '=') || (ch == '!' && n == '=') + || (ch == '&' && n == '&') || (ch == '|' && n == '|')) break; + } + } + q++; + } + + // A plain word (or number) reads exactly as before. + if (q <= wordEnd) return ParseUnary(); + _p = q; + return _s.Substring(start, q - start); + } + // Priority 12: unary ~ (also unary - on non-digit expressions) private string ParseUnary() { @@ -3760,7 +3920,9 @@ internal sealed class ExpressionEngine while (_p < _s.Length && (char.IsLetterOrDigit(_s[_p]) || _s[_p] == '_')) _p++; string varName = _s.Substring(vs, _p - vs); - return _eng._variables.TryGetValue(varName, out string? vv) ? vv ?? "" : ""; + // Same as getvar[name]: an unset variable reads "0" (it read "", so + // '$kills == 0' was false until kills was first set). + return _eng._variables.TryGetValue(varName, out string? vv) ? vv ?? "" : "0"; } // Hex literal: 0x / 0X (positive or negative) diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/LoadedMeta.cs b/Plugins/RynthCore.Plugin.RynthAi/Meta/LoadedMeta.cs index 5476cee..af33344 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/LoadedMeta.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/LoadedMeta.cs @@ -22,4 +22,22 @@ internal sealed class LoadedMeta /// silently producing zero or partial rules. /// public List Warnings { get; } = new(); + + /// + /// The state a freshly loaded meta starts in. VTank always starts a meta in + /// "Default"; RynthAi used the first rule's state, and its writer sorts + /// states by name, so a saved meta began mid-sequence (e.g. ApostateFinal + /// in '1.0 To Sparkling Apostate Shard'). Falls back to the first rule's + /// state when there is no Default. + /// + public string StartState + { + get + { + foreach (var r in Rules) + if (string.Equals(r.State, "Default", StringComparison.OrdinalIgnoreCase)) + return r.State; + return Rules.Count > 0 ? Rules[0].State : "Default"; + } + } } diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/MetFileParser.cs b/Plugins/RynthCore.Plugin.RynthAi/Meta/MetFileParser.cs index 0741e75..057536a 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/MetFileParser.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/MetFileParser.cs @@ -44,7 +44,8 @@ internal static class MetFileParser /* 24 */ MetaConditionType.BurdenPercentage_GE, /* 25 */ MetaConditionType.DistAnyRoutePT_GE, /* 26 */ MetaConditionType.Expression, - /* 27 */ MetaConditionType.ChatMessageCapture, + /* 27 */ null, // VTank "Client Dialog Popup" (unsupported → Never) + /* 28 */ MetaConditionType.ChatMessageCapture, // TABLE {p: pattern, c: colour id list} }; // ── VTank AType → RynthAi MetaActionType ──────────────────────────────── @@ -240,10 +241,11 @@ internal static class MetFileParser break; case 26: // Expression - case 27: // ChatMessageCapture rule.ConditionData = ReadExpressionTable(r); - if (vtCType == 27 && string.IsNullOrEmpty(rule.ConditionData)) - rule.ConditionData = ReadTypedString(r); + break; + + case 28: // ChatMessageCapture + ParseChatCaptureTable(rule, r); break; case 4: // ChatMessage @@ -350,6 +352,34 @@ internal static class MetFileParser return expression; } + /// ChatCapture data: TABLE {p: regex pattern, c: colour id list "2;4"}. + private static void ParseChatCaptureTable(MetaRule rule, MetReader r) + { + string type = r.PeekLine().Trim(); + if (type != "TABLE") + { + rule.ConditionData = ReadTypedString(r); + return; + } + + r.ReadLine(); // TABLE + int colCount = ParseInt(r.ReadLine()); + for (int i = 0; i < colCount; i++) r.ReadLine(); + for (int i = 0; i < colCount; i++) r.ReadLine(); + int rowCount = ParseInt(r.ReadLine()); + + for (int row = 0; row < rowCount && r.HasMore; row++) + { + string k = ReadTypedString(r); + switch (k) + { + case "p": rule.ConditionData = ReadTypedString(r); break; + case "c": rule.ChatColors = ReadTypedString(r); break; + default: SkipTypedValue(r); break; + } + } + } + private static void ParseInventoryCountData(MetaRule rule, MetReader r) { string type = r.PeekLine().Trim(); @@ -550,10 +580,13 @@ internal static class MetFileParser break; case 1: // SetMetaState - case 5: // CallMetaState rule.ActionData = ReadTypedString(r); break; + case 5: // CallMetaState — VTank stores TABLE {st: to, ret: return} + ParseCallStateTable(rule, r); + break; + case 2: // ChatCommand rule.ActionData = ReadTypedString(r); break; @@ -772,6 +805,38 @@ internal static class MetFileParser rule.ActionData = $"{state};{range.ToString(CultureInfo.InvariantCulture)};{time.ToString(CultureInfo.InvariantCulture)}"; } + /// + /// CallState data is a TABLE with keys st (the state to call) and ret (the + /// state pushed for Return). Reading it as a string skipped the table and + /// left the action empty, so it never called anything. + /// + private static void ParseCallStateTable(MetaRule rule, MetReader r) + { + string type = r.PeekLine().Trim(); + if (type != "TABLE") + { + rule.ActionData = ReadTypedString(r); + return; + } + + r.ReadLine(); // TABLE + int colCount = ParseInt(r.ReadLine()); + for (int i = 0; i < colCount; i++) r.ReadLine(); + for (int i = 0; i < colCount; i++) r.ReadLine(); + int rowCount = ParseInt(r.ReadLine()); + + for (int row = 0; row < rowCount && r.HasMore; row++) + { + string k = ReadTypedString(r); + switch (k) + { + case "st": rule.ActionData = ReadTypedString(r); break; + case "ret": rule.CallReturnState = ReadTypedString(r); break; + default: SkipTypedValue(r); break; + } + } + } + private static void ParseSetOptionTable(MetaRule rule, MetReader r) { string type = r.PeekLine().Trim(); diff --git a/Plugins/RynthCore.Plugin.RynthAi/Meta/MetaManager.cs b/Plugins/RynthCore.Plugin.RynthAi/Meta/MetaManager.cs index 7302e39..1d1d1a2 100644 --- a/Plugins/RynthCore.Plugin.RynthAi/Meta/MetaManager.cs +++ b/Plugins/RynthCore.Plugin.RynthAi/Meta/MetaManager.cs @@ -31,7 +31,13 @@ internal sealed class MetaManager // ── State tracking ─────────────────────────────────────────────────────── private string _lastState = ""; private DateTime _stateStartTime = DateTime.Now; + + /// Wall clock for seconds-in-state, the watchdog and the chat window. Tests swap it + /// for a fake clock; the plugin never changes it. + internal Func Clock { get; set; } = static () => DateTime.Now; private bool _lastMacroRunning; + // PSecsInStateGE's clock: restarts on a real state entry, not on macro stop/start. + private DateTime _statePStartTime = DateTime.Now; // Observability (GetStateSnapshot / §3.4). Written on the plugin-tick thread // inside the locked rule-eval pass; read by the bridge under the same lock. @@ -51,8 +57,15 @@ internal sealed class MetaManager private int _idxVersion = -1; // ── Chat tracking ──────────────────────────────────────────────────────── - private string _lastChatText = ""; - private DateTime _lastChatTime = DateTime.MinValue; + // Every line from the last second is kept (it used to be one slot, so the + // earlier lines of a burst were never checked). A rule consumes the line it + // fired on, so re-entering its state can't fire it again on the same line. + private readonly record struct ChatLine(long Seq, DateTime At, string Text, int Type); + private readonly List _chatLines = new(); + private long _chatSeq; + private readonly Dictionary _chatConsumed = new(); + private MetaRule? _evalRule; // top-level rule being evaluated + private long _evalChatSeq; // newest chat line its condition matched private Match? _lastChatMatch; // ── Call stack (CallMetaState / ReturnFromCall) ────────────────────────── @@ -74,6 +87,14 @@ internal sealed class MetaManager // ── Vendor state tracking ───────────────────────────────────────────────── private uint _openVendorId; private bool _vendorClosedThisTick; + private bool _vendorClosedNow; // the edge this tick's rule pass sees + + // ── Death (one-shot) ───────────────────────────────────────────────────── + // The plugin holds every tick from a death until 5 s after the respawn, so + // Think never runs while health reads 0. The death is latched here and the + // first meta tick after the hold sees it. + private bool _deathPending; + private bool _deathNow; // ── Enchantment read buffers (reused per tick to avoid allocation) ──────── private readonly uint[] _enchSpellIds = new uint[256]; @@ -139,7 +160,7 @@ internal sealed class MetaManager for (int i = 0; i < route.Points.Count; i++) { NavPoint point = route.Points[i]; - if (point.Type != NavPointType.Point) + if (!NavRouteParser.IsPlainWaypoint(point.Type)) continue; double distance = Math.Sqrt(Math.Pow(point.NS - ns, 2) + Math.Pow(point.EW - ew, 2)); @@ -182,12 +203,21 @@ internal sealed class MetaManager return engine; } - public void HandleChat(string text) + public void HandleChat(string text, int chatType = -1) { - _lastChatText = text; - _lastChatTime = DateTime.Now; + DateTime now = Clock(); + while (_chatLines.Count > 0 && ((now - _chatLines[0].At).TotalSeconds > 1.0 || _chatLines.Count >= 64)) + _chatLines.RemoveAt(0); + _chatLines.Add(new ChatLine(++_chatSeq, now, text ?? "", chatType)); } + /// Writes pending setpvar/setgvar values now (they are otherwise + /// throttled to one write every 2 s). Called when the session is torn down. + public void FlushPendingVars() => _expressions?.FlushVars(force: true); + + /// The player died (called every tick while dead; one-shot for the meta). + public void OnPlayerDeath() => _deathPending = true; + public void OnVendorOpen(uint vendorId) { if (vendorId == 0) return; @@ -215,9 +245,16 @@ internal sealed class MetaManager if (_lastMacroRunning && !_settings.IsMacroRunning) _expressions?.FlushVars(force: true); // persist pending vars on stop _lastMacroRunning = _settings.IsMacroRunning; + _vendorClosedThisTick = false; // a close while stopped never fires later + _deathPending = false; // nor does a death return; } + // A real state entry (anything but a bare macro stop/start) restarts the + // persistent seconds-in-state clock too. + bool realStateEntry = _settings.ForceStateReset + || !string.Equals(_settings.CurrentState, _lastState, StringComparison.OrdinalIgnoreCase); + // Macro just started — force reset so rules re-evaluate even if state // name matches where we stopped. Otherwise HasFired stays latched across // a stop/start cycle and IF:Always rules like EmbedNav never re-fire. @@ -225,6 +262,14 @@ internal sealed class MetaManager _settings.ForceStateReset = true; _lastMacroRunning = true; + // A freshly loaded meta starts with an empty call stack; a Return must + // not pop a state name left over from the previous meta. + if (_settings.MetaCallStackReset) + { + _settings.MetaCallStackReset = false; + _stateStack.Clear(); + } + // ── State change / forced reset ────────────────────────────────────── // Only reset HasFired on ForceStateReset (set by meta actions: SetState, // CallState, ReturnFromCall, macro start, meta load, watchdog). @@ -233,15 +278,18 @@ internal sealed class MetaManager // otherwise EmbedNav reloads the nav route from index 0 on every cycle. if (_settings.ForceStateReset) { - _stateStartTime = DateTime.Now; + if (realStateEntry) + _host.Log($"[Meta] state '{_lastState}' -> '{_settings.CurrentState}' after {(Clock() - _stateStartTime).TotalSeconds:0}s"); + _stateStartTime = Clock(); _watchdogActive = false; + if (realStateEntry) _statePStartTime = Clock(); _settings.ForceStateReset = false; lock (_settings.MetaRulesLock) foreach (var r in _settings.MetaRules) r.HasFired = false; } _lastState = _settings.CurrentState; - double secondsInState = (DateTime.Now - _stateStartTime).TotalSeconds; + double secondsInState = (Clock() - _stateStartTime).TotalSeconds; // ── Portal state edge detection ─────────────────────────────────────── bool currentPortal = _host.HasIsPortaling && _host.IsPortaling(); @@ -249,8 +297,14 @@ internal sealed class MetaManager _portalExitedThisTick = !currentPortal && _lastPortalState; _lastPortalState = currentPortal; - // ── Vendor edge detection (reset one-shot flag each tick) ───────────── + // ── Vendor edge detection (one-shot) ────────────────────────────────── + // OnVendorClose arrives between ticks. Hand the edge to this tick's + // rule pass, then clear it; clearing it before the pass (as before) + // meant VendorClosed could never be true. + _vendorClosedNow = _vendorClosedThisTick; _vendorClosedThisTick = false; + _deathNow = _deathPending; + _deathPending = false; // ── Watchdog ───────────────────────────────────────────────────────── if (_watchdogActive && @@ -262,9 +316,11 @@ internal sealed class MetaManager if (distMoved < _watchdogMetersRequired) { - if (DateTime.Now > _watchdogExpiration) + if (Clock() > _watchdogExpiration) { _watchdogActive = false; + // VTank calls the watchdog state: a Return in it re-enters this one. + _stateStack.Push(_settings.CurrentState); _settings.CurrentState = _watchdogState; _settings.ForceStateReset = true; _host.WriteToChat($"[RynthAi] WATCHDOG TRIGGERED \u2192 {_watchdogState}", 1); @@ -274,7 +330,7 @@ internal sealed class MetaManager else { _lastWatchdogPos = currentPos; - _watchdogExpiration = DateTime.Now.AddSeconds(_watchdogSecondsConfig); + _watchdogExpiration = Clock().AddSeconds(_watchdogSecondsConfig); } } @@ -299,16 +355,23 @@ internal sealed class MetaManager // clear before each rule so a ChatMessageCapture match can't bleed // its {0}/{1} groups into a later rule's action (or the next tick). _lastChatMatch = null; + _evalRule = rule; + _evalChatSeq = 0; if (EvaluateCondition(rule, secondsInState)) { + if (_evalChatSeq > 0) _chatConsumed[rule] = _evalChatSeq; rule.HasFired = true; - rule.LastFiredAt = DateTime.Now; + rule.LastFiredAt = Clock(); _lastFiredState = rule.State; _lastFiredCond = DescribeCondition(rule); _lastFiredAct = DescribeAction(rule); _lastFiredAt = rule.LastFiredAt; + // Always in the log (a rule fires at most once per state entry): a tester's meta + // that stopped loading its nav left no trace of which state it was in or which + // rules fired (2026-10-01). Chat only with MetaDebug. + _host.Log($"[Meta] fired: state '{rule.State}' | {_lastFiredCond} -> {_lastFiredAct}"); if (_settings.MetaDebug) _host.WriteToChat($"[Meta] {rule.State} | {DescribeCondition(rule)} → {DescribeAction(rule)}", 1); @@ -330,7 +393,7 @@ internal sealed class MetaManager if (_settings.MetaDebug) _host.WriteToChat($"[Meta] Think exception: {ex.Message}", 1); _lastExprError = $"Think: {ex.GetType().Name}: {Truncate(ex.Message, 100)}"; - _lastExprErrorAt = DateTime.Now; + _lastExprErrorAt = Clock(); _settings.ForceStateReset = true; } } @@ -354,7 +417,8 @@ internal sealed class MetaManager case MetaConditionType.Any: { - if (rule.Children == null || rule.Children.Count == 0) return true; + // VTank: an empty Any is false (and Not of it is true); metas use it as a "disabled" gate. + if (rule.Children == null || rule.Children.Count == 0) return false; foreach (var child in rule.Children) if (EvaluateCondition(child, secondsInState)) return true; return false; @@ -365,28 +429,35 @@ internal sealed class MetaManager return !EvaluateCondition(rule.Children[0], secondsInState); // ── Vital checks (value) ────────────────────────────────────────── + // Compared signed: a (uint) cast made a negative threshold ~4 billion, + // so "health <= -1" was always true. MaxHealth > 0 = the vitals have been + // read at least once (they are all 0 until the first poll after login). case MetaConditionType.MainHealthLE: - return int.TryParse(rule.ConditionData, out int hv) && _vitals.CurrentHealth <= (uint)hv; + return int.TryParse(rule.ConditionData, out int hv) && _vitals.MaxHealth > 0 && (long)_vitals.CurrentHealth <= hv; case MetaConditionType.MainManaLE: - return int.TryParse(rule.ConditionData, out int mv) && _vitals.CurrentMana <= (uint)mv; + return int.TryParse(rule.ConditionData, out int mv) && _vitals.MaxHealth > 0 && (long)_vitals.CurrentMana <= mv; case MetaConditionType.MainStamLE: - return int.TryParse(rule.ConditionData, out int sv) && _vitals.CurrentStamina <= (uint)sv; + return int.TryParse(rule.ConditionData, out int sv) && _vitals.MaxHealth > 0 && (long)_vitals.CurrentStamina <= sv; // ── Vital checks (percentage) ───────────────────────────────────── + // "Main Health/Mana % >=" (the UI label, the engine meta panel and + // RynthScript's healthPct/manaPct >= N all mean >=, like VitaePHE). + // These are RynthAi-only conditions (VTank has no vital conditions, + // so no .met or metaf file carries them); the runtime used <=. case MetaConditionType.MainHealthPHE: return int.TryParse(rule.ConditionData, out int hpct) && _vitals.MaxHealth > 0 && - (_vitals.CurrentHealth * 100.0 / _vitals.MaxHealth) <= hpct; + (_vitals.CurrentHealth * 100.0 / _vitals.MaxHealth) >= hpct; case MetaConditionType.MainManaPHE: return int.TryParse(rule.ConditionData, out int mpct) && _vitals.MaxMana > 0 && - (_vitals.CurrentMana * 100.0 / _vitals.MaxMana) <= mpct; + (_vitals.CurrentMana * 100.0 / _vitals.MaxMana) >= mpct; case MetaConditionType.CharacterDeath: - return _vitals.CurrentHealth == 0; + return _deathNow || (_vitals.MaxHealth > 0 && _vitals.CurrentHealth == 0); case MetaConditionType.VitaePHE: { @@ -399,32 +470,36 @@ internal sealed class MetaManager // ── Time ────────────────────────────────────────────────────────── case MetaConditionType.SecondsInState_GE: - case MetaConditionType.SecondsInStateP_GE: return double.TryParse(rule.ConditionData, out double reqSecs) && secondsInState >= reqSecs; + // VTank: "Persistent timer; does not reset if meta is stopped/started." + // It still restarts when the state is entered again (SetState, Call, Return). + case MetaConditionType.SecondsInStateP_GE: + return double.TryParse(rule.ConditionData, out double reqPSecs) + && (Clock() - _statePStartTime).TotalSeconds >= reqPSecs; + // ── Chat ────────────────────────────────────────────────────────── case MetaConditionType.ChatMessage: case MetaConditionType.ChatMessageCapture: - { - if (string.IsNullOrEmpty(rule.ConditionData)) return false; - if ((DateTime.Now - _lastChatTime).TotalSeconds > 1.0) return false; - var match = RegexCache.Match(_lastChatText, rule.ConditionData); - if (match.Success) - { - if (rule.Condition == MetaConditionType.ChatMessageCapture) - _lastChatMatch = match; - return true; - } - return false; - } + return EvaluateChat(rule); // ── Pack slots ──────────────────────────────────────────────────── case MetaConditionType.PackSlots_LE: { - if (!int.TryParse(rule.ConditionData, out int targetSlots) || _objectCache == null) return false; + if (!int.TryParse(rule.ConditionData, out int targetSlots) || _objectCache == null || _playerId == 0) return false; + // Empty slots in the MAIN pack (VTank "Pack Slots <="): only loose items + // whose container is the player count. Side packs, their contents and + // foci don't use the 102 item slots (same rule as GetMainPackEmptySlots). int used = 0; + int pid = unchecked((int)_playerId); foreach (var item in _objectCache.GetDirectInventory()) - if (item.WieldedLocation <= 0) used++; + { + if (item.WieldedLocation > 0) continue; + if (item.Container != pid) continue; + if (item.ObjectClass is AcObjectClass.Container or AcObjectClass.Foci) continue; + if (item.Values(LongValueKey.EquippedSlots, 0) > 0) continue; + used++; + } return (102 - used) <= targetSlots; } @@ -436,10 +511,12 @@ internal sealed class MetaManager var parts = rule.ConditionData.Split(','); if (parts.Length < 2 || !int.TryParse(parts[1], out int targetCount)) return false; string itemName = parts[0].Trim(); + // The supply, not the number of stacks: a stack of 80 tapers is 80 + // (VTank's "Inventory Item Count"; getitemcountininventorybyname sums the same way). int count = 0; foreach (var item in _objectCache.GetDirectInventory()) if (item.Name.Equals(itemName, StringComparison.OrdinalIgnoreCase)) - count++; + count += Math.Max(1, item.Values(LongValueKey.StackCount, 1)); return rule.Condition == MetaConditionType.InventoryItemCount_LE ? count <= targetCount : count >= targetCount; @@ -537,7 +614,12 @@ internal sealed class MetaManager if (!_host.TryGetPlayerPose(out uint cellId, out _, out _, out _, out _, out _, out _, out _)) return false; uint landblock = cellId >> 16; if (uint.TryParse(rule.ConditionData, System.Globalization.NumberStyles.HexNumber, null, out uint hex)) + { + // metaf writes the full value ("BlockE 00070000", "BlockE 8B370000"), + // and VTank matches its leading 4 digits. RynthAi's own files use 4. + if (hex > 0xFFFF) hex >>= 16; return landblock == hex; + } if (uint.TryParse(rule.ConditionData, out uint dec)) return landblock == dec; return false; @@ -564,7 +646,7 @@ internal sealed class MetaManager return _openVendorId != 0; case MetaConditionType.VendorClosed: - return _vendorClosedThisTick; + return _vendorClosedNow; case MetaConditionType.Expression: { @@ -577,7 +659,7 @@ internal sealed class MetaManager if (v.StartsWith("ERR:", StringComparison.Ordinal)) { _lastExprError = $"{rule.State}: {Truncate(v, 120)}"; - _lastExprErrorAt = DateTime.Now; + _lastExprErrorAt = Clock(); if (_settings.MetaDebug) _host.WriteToChat($"[Meta] expr error in '{rule.State}': {Truncate(v, 80)}", 1); return false; @@ -606,11 +688,13 @@ internal sealed class MetaManager double minDist = double.MaxValue; foreach (var pt in _settings.CurrentRoute.Points) { - if (pt.Type != NavPointType.Point) continue; + if (!NavRouteParser.IsPlainWaypoint(pt.Type)) continue; double d = Math.Sqrt((pt.NS - ns) * (pt.NS - ns) + (pt.EW - ew) * (pt.EW - ew)); if (d < minDist) minDist = d; } - return minDist != double.MaxValue && minDist >= threshold; + // NS/EW are map coordinates (1.0 = 240 yd); the threshold is in yards + // (metaf: "shortest distance to current navroute >= Distance (in yards)"). + return minDist != double.MaxValue && minDist * 240.0 >= threshold; } // ── Priority monster count within distance ──────────────────────── @@ -647,6 +731,51 @@ internal sealed class MetaManager } } + /// + /// True if a chat line from the last second (checked oldest first) matches + /// the rule's pattern and the rule being evaluated hasn't already fired on + /// that line or a later one. + /// + private bool EvaluateChat(MetaRule rule) + { + if (string.IsNullOrEmpty(rule.ConditionData) || _chatLines.Count == 0) return false; + bool capture = rule.Condition == MetaConditionType.ChatMessageCapture; + long consumed = _evalRule != null && _chatConsumed.TryGetValue(_evalRule, out long c) ? c : 0; + DateTime now = Clock(); + for (int i = 0; i < _chatLines.Count; i++) + { + ChatLine line = _chatLines[i]; + if (line.Seq <= consumed) continue; + if ((now - line.At).TotalSeconds > 1.0) continue; + if (capture && !ChatColorListAllows(rule.ChatColors, line.Type)) continue; + var match = RegexCache.Match(line.Text, rule.ConditionData); + if (!match.Success) continue; + if (line.Seq > _evalChatSeq) _evalChatSeq = line.Seq; + if (capture) + { + _lastChatMatch = match; + // VTank: each named group goes to capturegroup_, the line's + // colour (chat type) to capturecolor. + foreach (Group g in match.Groups) + if (!int.TryParse(g.Name, out _)) + Expressions.SetVariable("capturegroup_" + g.Name, g.Value); + Expressions.SetVariable("capturecolor", line.Type.ToString(System.Globalization.CultureInfo.InvariantCulture)); + } + return true; + } + return false; + } + + /// VTank ChatCapture colour list ("2;4"): empty matches any line. A line + /// whose chat type the engine didn't give (-1) isn't filtered. + private static bool ChatColorListAllows(string? colors, int chatType) + { + if (string.IsNullOrWhiteSpace(colors) || chatType < 0) return true; + foreach (string part in colors.Split(new[] { ';', ',', ' ' }, StringSplitOptions.RemoveEmptyEntries)) + if (int.TryParse(part, out int id) && id == chatType) return true; + return false; + } + // ── Action execution ───────────────────────────────────────────────────── private void ExecuteAction(MetaRule rule) @@ -701,7 +830,9 @@ internal sealed class MetaManager string callState = ProcessData(rule.ActionData); if (!string.IsNullOrEmpty(callState)) { - _stateStack.Push(_settings.CurrentState); + // VTank pushes the rule's ReturnState; empty (older RynthAi rules) = this state. + string ret = ProcessData(rule.CallReturnState); + _stateStack.Push(string.IsNullOrEmpty(ret) ? _settings.CurrentState : ret); _settings.CurrentState = callState; _settings.ForceStateReset = true; } @@ -796,7 +927,7 @@ internal sealed class MetaManager _watchdogState = parts[0].Trim(); if (!float.TryParse(parts[1].Trim(), out _watchdogMetersRequired)) _watchdogMetersRequired = 5f; if (!double.TryParse(parts[2].Trim(), out _watchdogSecondsConfig)) _watchdogSecondsConfig = 5.0; - _watchdogExpiration = DateTime.Now.AddSeconds(_watchdogSecondsConfig); + _watchdogExpiration = Clock().AddSeconds(_watchdogSecondsConfig); if (_host.HasGetPlayerPose && _host.TryGetPlayerPose(out _, out float wx, out float wy, out float wz, out _, out _, out _, out _)) _lastWatchdogPos = new Vector3(wx, wy, wz); @@ -810,12 +941,26 @@ internal sealed class MetaManager case MetaActionType.SetRAOption: { + // VTank SetOpt {Option} {Expression}: evaluate the expression and set the + // real option, the same way '/vt opt set' does. It used to store the raw + // text in a private option table nothing reads, so SetOpt {EnableNav} {True} + // (and every other SetOpt) did nothing. string optData = ProcessData(rule.ActionData); if (!string.IsNullOrEmpty(optData)) { - var parts = optData.Split(';'); + var parts = optData.Split(';', 2); if (parts.Length >= 2) - Expressions.SetOption(parts[0].Trim(), parts[1].Trim()); + { + string raw = parts[1].Trim(); + string value = Expressions.Evaluate(raw); + if (value.StartsWith("ERR:", StringComparison.Ordinal)) + { + _lastExprError = $"{rule.State}: SetOpt {parts[0].Trim()}: {Truncate(value, 100)}"; + _lastExprErrorAt = Clock(); + value = raw; + } + TrySetVtOption(parts[0].Trim(), value); + } } break; } @@ -830,7 +975,7 @@ internal sealed class MetaManager { string varName = parts[0].Trim(); string optName = parts[1].Trim(); - Expressions.SetVariable(varName, Expressions.GetOption(optName)); + Expressions.SetVariable(varName, GetVtOption(optName) ?? "0"); } } break; @@ -876,7 +1021,7 @@ internal sealed class MetaManager { _viewsWarned = true; _lastExprError = $"{rule.Action} ignored — VTank Views are not supported in RynthAi"; - _lastExprErrorAt = DateTime.Now; + _lastExprErrorAt = Clock(); _host.WriteToChat("[RynthAi] Meta uses VTank Views (CreateView/DestroyView) — not supported; those actions are ignored.", 1); _host.Log($"[Meta] {rule.Action} ignored — VTank Views unsupported"); } @@ -909,6 +1054,38 @@ internal sealed class MetaManager return TrySetVtOption(optName, optVal); } + // /vt opt get