feat(throwing): wire SA loot flavor + Valkyrie's Glaive stealable (#2512)
Phase 2 follow-up to #2510 — wires acquisition for the gargoyle Throwing content that Phase 1 deliberately left out. ## Changes - **SA loot flavor (`IsStygian`)** — completes the dead loot path from the original PR: adds `SAWeaponTypes`/`SARangedWeaponTypes` pools + `isStygian` branches to `Loot.RandomWeapon`/`RandomRangedWeapon`, **and** the missing piece — computes `IsStygian` (`map == Map.TerMur`) in `LootPackEntry.Construct` and threads it through `LootPackItem.Construct`. Ter Mur creatures now roll SA gear + the three throwing weapons (Boomerang/Cyclone/SoulGlaive) from their normal `BaseWeapon`/`BaseRanged` loot entries. Conservative `TerMur`-only (not ServUO's extra `|| RandomBool()`). - **Valkyrie's Glaive** — re-added as a self-contained Ter Mur stealable artifact at `(843, 665, 27)`, matching ServUO/OSI, with the previously-missing `ArtifactRarity => 5`. ## Deferred (documented) The 5 host-dependent artifacts (Raptor Claw, Stone Slith Claw, Storm Caller, Banshee's Call, Wind of Corruption) are intentionally NOT included — their OSI drop sources (Raptor, StoneSlith, and the renowned/boss creatures + a `BaseRenowned` artifact-list system) don't exist in ModernUO yet, so re-adding the items now would leave them `[add`-only. They'll follow a dedicated SA-creatures effort. ## Notes - No new tests: both changes are property/plumbing with RNG-driven output — no deterministic complex logic to assert (consistent with the repo's test-scope conventions). - Verified: server + test project compile; throwing suite 14/14.
This commit is contained in:
parent
e42a62b1d3
commit
8c6eab5fca
5 changed files with 66 additions and 7 deletions
26
Projects/UOContent/Items/Weapons/Throwing/ValkyriesGlaive.cs
Normal file
26
Projects/UOContent/Items/Weapons/Throwing/ValkyriesGlaive.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[SerializationGenerator(0)]
|
||||
public partial class ValkyriesGlaive : SoulGlaive
|
||||
{
|
||||
[Constructible]
|
||||
public ValkyriesGlaive()
|
||||
{
|
||||
Hue = 1651;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.WeaponSpeed = 20;
|
||||
Attributes.WeaponDamage = 20;
|
||||
Slayer = SlayerName.Silver;
|
||||
WeaponAttributes.HitFireball = 40;
|
||||
}
|
||||
|
||||
public override int LabelNumber => 1113531; // Valkyrie's Glaive
|
||||
|
||||
public override int ArtifactRarity => 5;
|
||||
|
||||
public override int InitMinHits => 255;
|
||||
public override int InitMaxHits => 255;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue