- 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#:
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#:
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