- Fixed Bloodwood Spirit and Totem of the Void sometimes not spawning with a protection attribute. (Prepatch ones are fixed on server start.) - Fixed crashes in BaseTalisman resulting from setting Summoner to null. - Paragon perks added to mobs dropping ML artifacts (by making them paragon "under the hood", seems to be the case on OSI as well). This also means the named mobs will now drop paragon chests. - Poison immunity level is now also increased by 1 for paragons. - Rend now drops ML minor artifacts. - ML named mobs no longer use the AoS specific loot packs, but will adjust to the era the server is set in. - The 'current speed' of paragons is now updated to account for the speed boost after spawning.
79 lines
1.7 KiB
C#
79 lines
1.7 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a Rend corpse" )]
|
|
public class Rend : Reptalon
|
|
{
|
|
[Constructable]
|
|
public Rend()
|
|
{
|
|
IsParagon = true;
|
|
|
|
Name = "Rend";
|
|
Hue = 0x455;
|
|
|
|
SetStr( 1261, 1284 );
|
|
SetDex( 363, 384 );
|
|
SetInt( 601, 642 );
|
|
|
|
SetHits( 5176, 6100 );
|
|
|
|
SetDamage( 26, 33 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 100 );
|
|
SetDamageType( ResistanceType.Poison, 0 );
|
|
SetDamageType( ResistanceType.Energy, 0 );
|
|
|
|
SetResistance( ResistanceType.Physical, 75, 85 );
|
|
SetResistance( ResistanceType.Fire, 81, 94 );
|
|
SetResistance( ResistanceType.Cold, 46, 55 );
|
|
SetResistance( ResistanceType.Poison, 35, 44 );
|
|
SetResistance( ResistanceType.Energy, 45, 52 );
|
|
|
|
SetSkill( SkillName.Wrestling, 136.3, 150.3 );
|
|
SetSkill( SkillName.Tactics, 133.4, 141.4 );
|
|
SetSkill( SkillName.MagicResist, 90.9, 110.0 );
|
|
SetSkill( SkillName.Anatomy, 66.6, 72.0 );
|
|
|
|
Fame = 21000;
|
|
Karma = -21000;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.UltraRich, 3 );
|
|
}
|
|
|
|
public override WeaponAbility GetWeaponAbility()
|
|
{
|
|
if ( Utility.RandomBool() )
|
|
return WeaponAbility.ParalyzingBlow;
|
|
else
|
|
return WeaponAbility.BleedAttack;
|
|
}
|
|
|
|
public override bool GivesMLMinorArtifact{ get{ return true; } }
|
|
|
|
public Rend( Serial serial )
|
|
: base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 ); // version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|