Resource icon

Custom Pet Bundle 1.1

Author
Feng
Downloads
30
Views
481
First release
Last update

Ratings

0.00 star(s) 0 ratings
No permission to download Join the discussion

More resources from Feng

Requirements
ServUO 57

Custom Pet Bundle: Legendary​

This bundle provides a collection of reverse-engineered and custom pets designed to enhance player retention through rarity-based spawning and unique training potential. These mechanics are proven to drive long-term engagement by providing players with high-value acquisition goals.


Legendary Pets (Nightmare, Phoenix for example)

Legendary pets are rare versions of standard creatures that trigger a transformation OnBeforeSpawn.
  • Mechanics: Low probability to spawn with enhanced attributes.
  • Advantages:
    • Lower Control Slots: Allows for more intensive Pet Training (more points available).
    • Modified Abilities: Pre-configured with specific ability sets (e.g., swapping Dragon Breath for Heal).
    • Unique Aesthetics: Distinct hues (e.g., Hue 2040 or 2753).
  • Phoenix Variants: Demonstrates a multi-path rarity system. A single spawn check can result in one of three distinct versions: Magery, Mysticism, or Spellweaving.

Configuration: Adjusting Spawn Rates

To modify the rarity, locate the OnBeforeSpawn method in the respective class file:

C#:
Expand Collapse Copy
public override void OnBeforeSpawn(Point3D location, Map map)
{
    base.OnBeforeSpawn(location, map);

    if (Utility.RandomDouble() < 0.10) // Change 0.10 to 0.05 for a 5% spawn rate
    {
        ConvertToLegendary();
    }
}

C#:
Expand Collapse Copy
if (Utility.RandomDouble() < 0.15) // Change 0.15 (15%) to desired rate
{
    switch (Utility.Random(3)) // Equally weights the 3 variants
    {
        case 0: ConvertToLegendaryMagery(); break;
        case 1: ConvertToLegendaryMysticism(); break;
        case 2: ConvertToLegendarySpellweaving(); break;
    }
}


  • License: Distributed under the GPL-3.0 licence
  • Legendary_Nightmare_Hue.jpg
    Legendary_Nightmare_Hue.jpg
    190.3 KB · Views: 128
  • Legendary_Phoenix_Spellweaving_Hue.jpg
    Legendary_Phoenix_Spellweaving_Hue.jpg
    208.9 KB · Views: 136

Latest Updates

  1. Added Companions, Named and several New Legacy pets

    New Legacy pets are based off currently available game art, and their stats are as presented on...

Donations

Total amount
$80.00
Goal
$500.00

Shards

Back