Follow-up to the gargoyle Throwing work (#2510/#2512/#2514). Ports two Stygian Abyss creatures from ServUO so two of the throwing artifacts finally have a real OSI drop source instead of being `[add`-only. ## Changes - **`Raptor`** and **`StoneSlith`** — ported stat-for-stat from ServUO. They **spawn automatically**: `Distribution/Data/Spawns/post-uoml/termur/TerMur.json` already contained Raptor/StoneSlith spawner entries referencing these class names, so no spawn-file edits were needed. - **`RaptorClaw`** (Boomerang-based) and **`StoneSlithClaw`** (Cyclone-based) artifacts, dropped from each creature's `OnDeath` at ServUO's 0.5% rate (uncontrolled only). - StoneSlith retains its `GraspingClaw` monster ability; both use `BleedAttack`. ## ModernUO idioms Default range perception (16) / fight range, derived `GetSpeeds` (no `SetSpeed`), `[SerializationGenerator(0)]` codegen, collection-expression arrays. ## Documented omissions vs ServUO Flagged as TODO in-code — all are content missing from ModernUO, not silent drops: Raptor's friend-spawn timer + its 25% `AncientPotteryFragments` drop; StoneSlith's `TailSwipe`, `DragonBlood`, and `SlithEye`/`TatteredAncientScroll`/`AncientPotteryFragments` drops; plus `HideType.Horned/Spined` and `PackInstinct.Ostard` (no ModernUO equivalents yet). ## Not included The other three throwing artifacts (Storm Caller, Banshee's Call, Wind of Corruption) drop from renowned/boss creatures via a `BaseRenowned` artifact-list system that doesn't exist in ModernUO yet — a separate, larger effort. AbyssReaver stays with the (deferred) Into-the-Void quest. Verified: server builds clean; throwing suite 14/14.
56 lines
1.6 KiB
C#
56 lines
1.6 KiB
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Mobiles;
|
|
|
|
[SerializationGenerator(0)]
|
|
public partial class Slith : BaseCreature
|
|
{
|
|
// ServUO SpecialAbility.DragonBreath -> closest ModernUO monster ability.
|
|
private static readonly MonsterAbility[] _abilities = [MonsterAbilities.FireBreath];
|
|
|
|
[Constructible]
|
|
public Slith() : base(AIType.AI_Melee)
|
|
{
|
|
Body = 734;
|
|
|
|
SetStr(129, 136);
|
|
SetDex(72, 75);
|
|
SetInt(12, 13);
|
|
|
|
SetHits(84, 85);
|
|
|
|
SetDamage(6, 24);
|
|
|
|
SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
SetResistance(ResistanceType.Physical, 35, 40);
|
|
SetResistance(ResistanceType.Fire, 35, 45);
|
|
SetResistance(ResistanceType.Poison, 25, 35);
|
|
SetResistance(ResistanceType.Energy, 25, 30);
|
|
|
|
SetSkill(SkillName.MagicResist, 59.1, 63.5);
|
|
SetSkill(SkillName.Tactics, 74.6, 76.4);
|
|
SetSkill(SkillName.Wrestling, 62.0, 77.1);
|
|
|
|
Tamable = true;
|
|
ControlSlots = 1;
|
|
MinTameSkill = 80.7;
|
|
|
|
// TODO(SA-creatures): unported vs ServUO — DragonBlood carving and the minor drops
|
|
// SlithEye / AncientPotteryFragments / TatteredAncientScroll (item classes not yet in ModernUO).
|
|
}
|
|
|
|
public override string CorpseName => "a slith corpse";
|
|
public override string DefaultName => "a slith";
|
|
|
|
public override int TreasureMapLevel => 2;
|
|
public override int Meat => 6;
|
|
public override int Hides => 10;
|
|
|
|
public override MonsterAbility[] GetMonsterAbilities() => _abilities;
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.Average, 2);
|
|
}
|
|
}
|