- Talisman slayers fixed to account for inheritance. - Added repond slayer vulnerability to Troglodyte. - Added overload for AOS.Damage with chaos damage support. - Corrected order of ML artifact award messages. - MageAI corrected to not meditate when already meditating. - Changed MageAI necro/mage bias to something more sensible. - Changed speed of most named ML mobs. - Skeletal steeds are now bleed immune. - Damage cap of 200 (before resists) added to fire breath attacks. - Damaging aura effect added to BaseCreature. - Necromancy skill added to several undead mobs. - The succubus special drain effect message no longer shows. - Corrected Sir Patrick's drain effect to account for LOS. - Added healing skill to Troglodytes. - Added named ML mobs for the Labyrinth, Painted Caves, Palace of Paroxysmus, Sanctuary and Twisted Weald. - Added changelings. - Disabled auto unequiping of weapons when meditating for nonplayers. - Added cast animations for players in wraith form, lich form and horrific beast. - Fixed Holy Light to account for LOS. - Fixed Animate Dead to account for inheritance. - Fixed Wither friendly fire issue when cast by monsters.
83 lines
1.8 KiB
C#
83 lines
1.8 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a Malefic corpse" )]
|
|
public class Malefic : DreadSpider
|
|
{
|
|
[Constructable]
|
|
public Malefic()
|
|
{
|
|
Name = "Malefic";
|
|
Hue = 0x455;
|
|
|
|
SetStr( 210, 284 );
|
|
SetDex( 153, 197 );
|
|
SetInt( 349, 390 );
|
|
|
|
SetHits( 600, 747 );
|
|
SetStam( 153, 197 );
|
|
SetMana( 349, 390 );
|
|
|
|
SetDamage( 15, 22 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 20 );
|
|
SetDamageType( ResistanceType.Poison, 80 );
|
|
|
|
SetResistance( ResistanceType.Physical, 60, 70 );
|
|
SetResistance( ResistanceType.Fire, 40, 50 );
|
|
SetResistance( ResistanceType.Cold, 40, 49 );
|
|
SetResistance( ResistanceType.Poison, 100 );
|
|
SetResistance( ResistanceType.Energy, 41, 48 );
|
|
|
|
SetSkill( SkillName.Wrestling, 96.9, 112.4 );
|
|
SetSkill( SkillName.Tactics, 91.3, 105.4 );
|
|
SetSkill( SkillName.MagicResist, 79.8, 95.1 );
|
|
SetSkill( SkillName.Magery, 103.0, 118.6 );
|
|
SetSkill( SkillName.EvalInt, 105.7, 119.6 );
|
|
SetSkill( SkillName.Meditation, 0 );
|
|
|
|
Fame = 21000;
|
|
Karma = -21000;
|
|
|
|
/*
|
|
// TODO: uncomment once added
|
|
if ( Utility.RandomDouble() < 0.1 )
|
|
PackItem( new ParrotItem() );
|
|
*/
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.AosUltraRich, 4 );
|
|
}
|
|
|
|
public override WeaponAbility GetWeaponAbility()
|
|
{
|
|
return WeaponAbility.Dismount;
|
|
}
|
|
|
|
public override bool GivesMLMinorArtifact{ get{ return true; } }
|
|
|
|
public Malefic( 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();
|
|
}
|
|
}
|
|
}
|