#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
66
Scripts/Spells/Spellweaving/Mobiles/ArcaneFey.cs
Normal file
66
Scripts/Spells/Spellweaving/Mobiles/ArcaneFey.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Misc;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "a pixie corpse" )]
|
||||
public class ArcaneFey : BaseCreature
|
||||
{
|
||||
public override double DispelDifficulty { get { return 70.0; } }
|
||||
public override double DispelFocus { get { return 20.0; } }
|
||||
|
||||
public override OppositionGroup OppositionGroup { get { return OppositionGroup.FeyAndUndead; } }
|
||||
public override bool InitialInnocent { get { return true; } }
|
||||
|
||||
[Constructable]
|
||||
public ArcaneFey() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "pixie" );
|
||||
Body = 128;
|
||||
BaseSoundID = 0x467;
|
||||
|
||||
SetStr( 20 );
|
||||
SetDex( 150 );
|
||||
SetInt( 125 );
|
||||
|
||||
SetDamage( 9, 15 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 80, 90 );
|
||||
SetResistance( ResistanceType.Fire, 40, 50 );
|
||||
SetResistance( ResistanceType.Cold, 40, 50 );
|
||||
SetResistance( ResistanceType.Poison, 40, 50 );
|
||||
SetResistance( ResistanceType.Energy, 40, 50 );
|
||||
|
||||
SetSkill( SkillName.EvalInt, 70.1, 80.0 );
|
||||
SetSkill( SkillName.Magery, 70.1, 80.0 );
|
||||
SetSkill( SkillName.Meditation, 70.1, 80.0 );
|
||||
SetSkill( SkillName.MagicResist, 50.5, 100.0 );
|
||||
SetSkill( SkillName.Tactics, 10.1, 20.0 );
|
||||
SetSkill( SkillName.Wrestling, 10.1, 12.5 );
|
||||
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
|
||||
ControlSlots = 1;
|
||||
}
|
||||
|
||||
public ArcaneFey( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
67
Scripts/Spells/Spellweaving/Mobiles/ArcaneFiend.cs
Normal file
67
Scripts/Spells/Spellweaving/Mobiles/ArcaneFiend.cs
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName( "an imp corpse" )]
|
||||
public class ArcaneFiend : BaseCreature
|
||||
{
|
||||
public override double DispelDifficulty { get { return 70.0; } }
|
||||
public override double DispelFocus { get { return 20.0; } }
|
||||
|
||||
public override PackInstinct PackInstinct { get { return PackInstinct.Daemon; } }
|
||||
public override bool BleedImmune { get { return true; } } //TODO: Verify on OSI. Guide says this.
|
||||
|
||||
[Constructable]
|
||||
public ArcaneFiend() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an imp";
|
||||
Body = 74;
|
||||
BaseSoundID = 422;
|
||||
|
||||
SetStr( 55 );
|
||||
SetDex( 40 );
|
||||
SetInt( 60 );
|
||||
|
||||
SetDamage( 10, 14 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 0 );
|
||||
SetDamageType( ResistanceType.Fire, 50 );
|
||||
SetDamageType( ResistanceType.Poison, 50 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 25, 35 );
|
||||
SetResistance( ResistanceType.Fire, 40, 50 );
|
||||
SetResistance( ResistanceType.Cold, 20, 30 );
|
||||
SetResistance( ResistanceType.Poison, 30, 40 );
|
||||
SetResistance( ResistanceType.Energy, 30, 40 );
|
||||
|
||||
SetSkill( SkillName.EvalInt, 20.1, 30.0 );
|
||||
SetSkill( SkillName.Magery, 60.1, 70.0 );
|
||||
SetSkill( SkillName.MagicResist, 30.1, 50.0 );
|
||||
SetSkill( SkillName.Tactics, 42.1, 50.0 );
|
||||
SetSkill( SkillName.Wrestling, 40.1, 44.0 );
|
||||
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
|
||||
ControlSlots = 1;
|
||||
}
|
||||
|
||||
public ArcaneFiend( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
87
Scripts/Spells/Spellweaving/Mobiles/NatureFury.cs
Normal file
87
Scripts/Spells/Spellweaving/Mobiles/NatureFury.cs
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Misc;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class NatureFury : BaseCreature
|
||||
{
|
||||
public override bool DeleteCorpseOnDeath { get { return Core.AOS; } }
|
||||
public override bool IsHouseSummonable { get { return true; } }
|
||||
|
||||
public override double DispelDifficulty { get { return 125.0; } }
|
||||
public override double DispelFocus { get { return 90.0; } }
|
||||
|
||||
public override bool BleedImmune { get { return true; } }
|
||||
public override Poison PoisonImmune { get { return Poison.Lethal; } }
|
||||
|
||||
public override bool AlwaysMurderer { get { return true; } }
|
||||
|
||||
[Constructable]
|
||||
public NatureFury()
|
||||
: base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a nature's fury";
|
||||
Body = 0x33;
|
||||
Hue = 0x4001;
|
||||
|
||||
SetStr( 150 );
|
||||
SetDex( 150 );
|
||||
SetInt( 100 );
|
||||
|
||||
SetHits( 80 );
|
||||
SetStam( 250 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 6, 8 );
|
||||
|
||||
SetDamageType( ResistanceType.Poison, 100 );
|
||||
SetDamageType( ResistanceType.Physical, 0 );
|
||||
SetResistance( ResistanceType.Physical, 90 );
|
||||
|
||||
SetSkill( SkillName.Wrestling, 90.0 );
|
||||
SetSkill( SkillName.MagicResist, 70.0 );
|
||||
SetSkill( SkillName.Tactics, 100.0 );
|
||||
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
|
||||
ControlSlots = 1;
|
||||
}
|
||||
|
||||
public override void MoveToWorld( Point3D loc, Map map )
|
||||
{
|
||||
base.MoveToWorld( loc, map );
|
||||
Timer.DelayCall( TimeSpan.Zero, DoEffects );
|
||||
}
|
||||
|
||||
public void DoEffects()
|
||||
{
|
||||
FixedParticles( 0x91C, 10, 180, 0x2543, 0, 0, EffectLayer.Waist );
|
||||
PlaySound( 0xE );
|
||||
PlaySound( 0x1BC );
|
||||
|
||||
if( Alive && !Deleted )
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 7.0 ), DoEffects );
|
||||
}
|
||||
|
||||
public NatureFury( Serial serial )
|
||||
: base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int)0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue