#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.

This commit is contained in:
WarrentyExpired 2026-08-06 11:06:05 -04:00
parent b51c58f514
commit 3045c83799
3512 changed files with 627673 additions and 0 deletions

View file

@ -0,0 +1,77 @@
using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a slimey corpse" )]
public class CorrosiveSlime : BaseCreature
{
[Constructable]
public CorrosiveSlime() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a corrosive slime";
Body = 51;
BaseSoundID = 456;
Hue = Utility.RandomSlimeHue();
SetStr( 22, 34 );
SetDex( 16, 21 );
SetInt( 16, 20 );
SetHits( 15, 19 );
SetDamage( 1, 5 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 5, 10 );
SetResistance( ResistanceType.Poison, 15, 20 );
SetSkill( SkillName.Poisoning, 36.0, 49.1 );
SetSkill(SkillName.Anatomy, 0);
SetSkill( SkillName.MagicResist, 15.9, 18.9 );
SetSkill( SkillName.Tactics, 24.6, 26.1 );
SetSkill( SkillName.Wrestling, 24.9, 26.1 );
Fame = 300;
Karma = -300;
VirtualArmor = 8;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 23.1;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Poor );
AddLoot( LootPack.Gems );
}
public override Poison PoisonImmune { get { return Poison.Regular; } }
public override Poison HitPoison { get { return Poison.Regular; } }
public override FoodType FavoriteFood{ get{ return FoodType.Fish; } }
//TODO: Damage weapon via acid
public CorrosiveSlime( 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();
}
}
}

View file

@ -0,0 +1,80 @@
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a reptalon corpse" )]
public class Reptalon : BaseMount
{
[Constructable]
public Reptalon() : base( "a reptalon", 0x114, 0x3E90, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.35 )
{
BaseSoundID = 0x16A;
SetStr( 1001, 1025 );
SetDex( 152, 164 );
SetInt( 251, 289 );
SetHits( 833, 931 );
SetDamage( 21, 28 );
SetDamageType( ResistanceType.Physical, 0 );
SetDamageType( ResistanceType.Poison, 25 );
SetDamageType( ResistanceType.Energy, 75 );
SetResistance( ResistanceType.Physical, 53, 64 );
SetResistance( ResistanceType.Fire, 35, 45 );
SetResistance( ResistanceType.Cold, 36, 45 );
SetResistance( ResistanceType.Poison, 52, 63 );
SetResistance( ResistanceType.Energy, 71, 83 );
SetSkill( SkillName.Wrestling, 101.5, 118.2 );
SetSkill( SkillName.Tactics, 101.7, 108.2 );
SetSkill( SkillName.MagicResist, 76.4, 89.9 );
SetSkill( SkillName.Anatomy, 56.4, 59.7 );
Tamable = true;
ControlSlots = 4;
MinTameSkill = 101.1;
}
public override void GenerateLoot()
{
AddLoot( LootPack.AosUltraRich, 3 );
}
public override WeaponAbility GetWeaponAbility()
{
return WeaponAbility.ParalyzingBlow;
}
public override int TreasureMapLevel{ get{ return 5; } }
public override int Meat{ get{ return 5; } }
public override int Hides{ get{ return 10; } }
public override bool CanBreath{ get{ return true; } }
public override bool CanAngerOnTame{ get { return true; } }
public override bool StatLossAfterTame{ get{ return true; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
public override bool CanFly { get { return true; } }
public Reptalon( 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();
}
}
}