This commit is contained in:
mark 2009-08-02 06:27:15 +00:00
parent d94dced436
commit b2f44717cb
11 changed files with 146 additions and 17 deletions

View file

@ -19,6 +19,39 @@
<!-- magincia --> <!-- magincia -->
<rect x="3554" y="2132" width="18" height="18" /> <rect x="3554" y="2132" width="18" height="18" />
</region> </region>
<!--Mondain's Legacy-->
<region type="TownRegion" priority="50" name="Heartwood">
<rect x="6911" y="255" width="257" height="257" />
<go x="6984" y="337" z="0" />
<entrance x="535" y="995" />
<music name="ElfCity" />
</region>
<region type="DungeonRegion" priority="50" name="Painted Caves">
<rect x="6240" y="860" width="70" height="60" />
<go x="6308" y="892" z="-1" />
<entrance x="1716" y="892" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Prism of Light">
<rect x="6400" y="0" width="221" height="255" />
<go x="6474" y="188" z="0" />
<entrance x="3784" y="1097" z="14" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Blighted Grove">
<rect x="6440" y="820" width="160" height="150" />
<go x="6478" y="863" z="11" />
<entrance x="587" y="1641" z="-1" />
<music name="MelisandesLair" />
</region>
<region type="DungeonRegion" priority="50" name="Palace of Paroxysmus">
<rect x="6191" y="311" width="370" height="360" />
<go x="6222" y="335" z="60" />
<entrance x="5574" y="3024" z="31" />
<music name="ParoxysmusLair" />
<zrange min="-50" />
</region>
<!--End-->
<region type="TownRegion" priority="50" name="Cove"> <region type="TownRegion" priority="50" name="Cove">
<rect x="2200" y="1110" width="50" height="50" /> <rect x="2200" y="1110" width="50" height="50" />
<rect x="2200" y="1160" width="86" height="86" /> <rect x="2200" y="1160" width="86" height="86" />
@ -714,8 +747,6 @@
<rect x="1494" y="3767" width="12" height="11" /> <rect x="1494" y="3767" width="12" height="11" />
<!-- minoc --> <!-- minoc -->
<rect x="2694" y="685" width="15" height="16" /> <rect x="2694" y="685" width="15" height="16" />
<!-- haven -->
<rect x="3759" y="2767" width="10" height="10" />
<!-- trinsic --> <!-- trinsic -->
<rect x="1823" y="2943" width="11" height="11" /> <rect x="1823" y="2943" width="11" height="11" />
<!-- yew --> <!-- yew -->
@ -727,6 +758,51 @@
<!-- magincia --> <!-- magincia -->
<rect x="3554" y="2132" width="18" height="18" /> <rect x="3554" y="2132" width="18" height="18" />
</region> </region>
<!--Mondain's Legacy-->
<region type="TownRegion" priority="50" name="Heartwood">
<rect x="6911" y="255" width="257" height="257" />
<go x="6984" y="337" z="0" />
<entrance x="535" y="995" />
<music name="ElfCity" />
</region>
<region type="DungeonRegion" priority="50" name="Sanctuary">
<rect x="6157" y="4" width="242" height="251" />
<go x="6173" y="23" z="0" />
<entrance x="764" y="1646" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Painted Caves">
<rect x="6240" y="860" width="70" height="60" />
<go x="6308" y="892" z="-1" />
<entrance x="1716" y="892" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Prism of Light">
<rect x="6400" y="0" width="221" height="255" />
<go x="6474" y="188" z="0" />
<entrance x="3784" y="1097" z="14" />
<music name="Dungeon9" />
</region>
<region type="DungeonRegion" priority="50" name="Blighted Grove">
<rect x="6440" y="820" width="160" height="150" />
<go x="6478" y="863" z="11" />
<entrance x="587" y="1641" z="-1" />
<music name="MelisandesLair" />
</region>
<region type="DungeonRegion" priority="50" name="Palace of Paroxysmus">
<rect x="6191" y="311" width="370" height="360" />
<go x="6222" y="335" z="60" />
<entrance x="5574" y="3024" z="31" />
<music name="ParoxysmusLair" />
<zrange min="-50" />
</region>
<region priority="50" name="Bravehorn's drinking pool">
<rect x="1302" y="2331" width="38" height="22" />
</region>
<region priority="50" name="Huntsman's forrest">
<rect x="1595" y="550" width="120" height="120" />
</region>
<!--End-->
<region type="TownRegion" priority="50" name="Cove"> <region type="TownRegion" priority="50" name="Cove">
<rect x="2200" y="1110" width="50" height="50" /> <rect x="2200" y="1110" width="50" height="50" />
<rect x="2200" y="1160" width="86" height="86" /> <rect x="2200" y="1160" width="86" height="86" />
@ -885,11 +961,20 @@
<rect x="3314" y="2345" width="500" height="750" /> <rect x="3314" y="2345" width="500" height="750" />
<go x="3627" y="2606" z="0" /> <go x="3627" y="2606" z="0" />
<smartNoHousing active="true" /> <smartNoHousing active="true" />
<region type="GuardedRegion" name="New Haven Moongate">
<rect x="3446" y="2674" width="10" height="10" />
</region>
<region type="TownRegion" name="New Haven"> <region type="TownRegion" name="New Haven">
<rune name="New Haven City" /> <rune name="New Haven City" />
<rect x="3423" y="2480" width="111" height="143" /> <rect x="3423" y="2480" width="111" height="143" />
<go x="3503" y="2574" z="14" /> <go x="3503" y="2574" z="14" />
<music name="Ocllo" /> <music name="Ocllo" />
<region name="Gentle Rest Inn">
<rune name="The Gentle Rest Inn in New Haven" />
<rect x="3493" y="2513" width="10" height="10"/>
<rect x="3503" y="2513" width="7" height="17" />
<logoutDelay active="false" />
</region>
</region> </region>
<!-- <!--
<region type="TownRegion" name="Haven"> <region type="TownRegion" name="Haven">
@ -1142,9 +1227,9 @@
<object id="30" type="Miner" amount="2" /> <object id="30" type="Miner" amount="2" />
</spawning> </spawning>
</region> </region>
</region> </region>-->
-->
</region> </region>
<region type="TownRegion" priority="50" name="Trinsic"> <region type="TownRegion" priority="50" name="Trinsic">
<rect x="1856" y="2636" width="75" height="28" /> <rect x="1856" y="2636" width="75" height="28" />
<rect x="1816" y="2664" width="283" height="231" /> <rect x="1816" y="2664" width="283" height="231" />
@ -1650,6 +1735,17 @@
</region> </region>
</Facet> </Facet>
<Facet name="Ilshenar"> <Facet name="Ilshenar">
<!--Mondain's Legacy-->
<region type="DungeonRegion" priority="50" name="Twisted Weald">
<rect x="2107" y="1145" width="147" height="135" />
<go x="2189" y="1253" z="0" />
<music name="DreadHornArea" />
<entrance x="1450" y="1473" z="-23" />
</region>
<region priority="50" name="Sheep Farm">
<rect x="1303" y="1312" width="30" height="30" />
</region>
<!--End-->
<region priority="37" name="Shrine of Valor"> <region priority="37" name="Shrine of Valor">
<rect x="512" y="200" width="32" height="32" /> <rect x="512" y="200" width="32" height="32" />
<go x="539" y="221" z="-36" /> <go x="539" y="221" z="-36" />
@ -1987,6 +2083,20 @@
<go x="1731" y="981" z="-79" /> <go x="1731" y="981" z="-79" />
<smartNoHousing active="true" /> <smartNoHousing active="true" />
</region> </region>
<!--Mondain's Legacy-->
<region type="DungeonRegion" priority="50" name="Bedlam">
<rect x="80" y="1590" width="130" height="100" />
<go x="117" y="1681" z="0" />
<entrance x="2068" y="1372" z="-75" />
<music name="GrizzleDungeon" />
</region>
<region type="DungeonRegion" priority="50" name="Citadel">
<rect x="65" y="1865" width="130" height="125" />
<go x="106" y="1884" z="0" />
<entrance x="1349" y="769" z="14" />
<music name="Dungeon9" />
</region>
<!--End-->
<region type="TownRegion" priority="50" name="Luna"> <region type="TownRegion" priority="50" name="Luna">
<rect x="945" y="490" width="91" height="61" /> <rect x="945" y="490" width="91" height="61" />
<go x="989" y="520" z="-50" /> <go x="989" y="520" z="-50" />
@ -2006,7 +2116,7 @@
<logoutDelay active="false" /> <logoutDelay active="false" />
</region> </region>
</region> </region>
<region type="DungeonRegion" priority="50" name="Labrinth"> <region type="DungeonRegion" priority="50" name="Labyrinth">
<rect x="256" y="1795" width="243" height="230" /> <rect x="256" y="1795" width="243" height="230" />
<go x="336" y="1970" z="0" /> <go x="336" y="1970" z="0" />
<music name="Dungeon9" /> <music name="Dungeon9" />

View file

@ -336,7 +336,7 @@ namespace Server.Engines.Craft
toDelete = true; toDelete = true;
} }
} }
else if ( targeted is BaseClothing ) else if ( (targeted is BaseClothing) )
{ {
BaseClothing clothing = (BaseClothing)targeted; BaseClothing clothing = (BaseClothing)targeted;
SkillName skill = m_CraftSystem.MainSkill; SkillName skill = m_CraftSystem.MainSkill;
@ -358,7 +358,7 @@ namespace Server.Engines.Craft
toWeaken = 3; toWeaken = 3;
} }
if ( m_CraftSystem.CraftItems.SearchForSubclass( clothing.GetType() ) == null && !IsSpecialClothing( clothing )) if (m_CraftSystem.CraftItems.SearchForSubclass(clothing.GetType()) == null && !IsSpecialClothing(clothing) && !((targeted is TribalMask) || (targeted is HornedTribalMask) || targeted.GetType().IsSubclassOf(typeof(HornedTribalMask)) || targeted.GetType().IsSubclassOf(typeof(TribalMask))))
{ {
number = (usingDeed) ? 1061136 : 1044277; // That item cannot be repaired. // You cannot repair that item with this type of repair contract. number = (usingDeed) ? 1061136 : 1044277; // That item cannot be repaired. // You cannot repair that item with this type of repair contract.
} }

View file

@ -247,7 +247,7 @@ namespace Server.Engines.Craft
AddCraft( typeof( LeatherGorget ), 1015293, 1025063, 53.9, 78.9, typeof( Leather ), 1044462, 4, 1044463 ); AddCraft( typeof( LeatherGorget ), 1015293, 1025063, 53.9, 78.9, typeof( Leather ), 1044462, 4, 1044463 );
AddCraft( typeof( LeatherCap ), 1015293, 1027609, 6.2, 31.2, typeof( Leather ), 1044462, 2, 1044463 ); AddCraft( typeof( LeatherCap ), 1015293, 1027609, 6.2, 31.2, typeof( Leather ), 1044462, 2, 1044463 );
AddCraft( typeof( LeatherGloves ), 1015293, 1025062, 51.8, 76.8, typeof( Leather ), 1044462, 3, 1044463 ); AddCraft( typeof( LeatherGloves ), 1015293, 1025062, 51.8, 76.8, typeof( Leather ), 1044462, 3, 1044463 );
AddCraft( typeof( LeatherArms ), 1015293, 1025061, 53.9, 78.9, typeof( Leather ), 1044462, 8, 1044463 ); AddCraft( typeof( LeatherArms ), 1015293, 1025061, 53.9, 78.9, typeof( Leather ), 1044462, 4, 1044463 );
AddCraft( typeof( LeatherLegs ), 1015293, 1025067, 66.3, 91.3, typeof( Leather ), 1044462, 10, 1044463 ); AddCraft( typeof( LeatherLegs ), 1015293, 1025067, 66.3, 91.3, typeof( Leather ), 1044462, 10, 1044463 );
AddCraft( typeof( LeatherChest ), 1015293, 1025068, 70.5, 95.5, typeof( Leather ), 1044462, 12, 1044463 ); AddCraft( typeof( LeatherChest ), 1015293, 1025068, 70.5, 95.5, typeof( Leather ), 1044462, 12, 1044463 );
@ -269,7 +269,7 @@ namespace Server.Engines.Craft
SetNeededExpansion( index, Expansion.SE ); SetNeededExpansion( index, Expansion.SE );
index = AddCraft( typeof( LeatherNinjaJacket ), 1015293, 1030206, 85.0, 110.0, typeof( Leather ), 1044462, 13, 1044463 ); index = AddCraft( typeof( LeatherNinjaJacket ), 1015293, 1030206, 85.0, 110.0, typeof( Leather ), 1044462, 13, 1044463 );
SetNeededExpansion( index, Expansion.SE ); SetNeededExpansion( index, Expansion.SE );
index = AddCraft( typeof( LeatherNinjaBelt ), 1015293, 1030203, 50.0, 75.0, typeof( Leather ), 1044462, 15, 1044463 ); index = AddCraft( typeof( LeatherNinjaBelt ), 1015293, 1030203, 50.0, 75.0, typeof( Leather ), 1044462, 5, 1044463 );
SetNeededExpansion( index, Expansion.SE ); SetNeededExpansion( index, Expansion.SE );
index = AddCraft( typeof( LeatherNinjaMitts ), 1015293, 1030205, 65.0, 90.0, typeof( Leather ), 1044462, 12, 1044463 ); index = AddCraft( typeof( LeatherNinjaMitts ), 1015293, 1030205, 65.0, 90.0, typeof( Leather ), 1044462, 12, 1044463 );
SetNeededExpansion( index, Expansion.SE ); SetNeededExpansion( index, Expansion.SE );

View file

@ -136,7 +136,7 @@ namespace Server.Items
} }
public class Stormgrip : LeatherGloves public class Stormgrip : LeatherNinjaMitts
{ {
public override int InitMinHits { get { return 255; } } public override int InitMinHits { get { return 255; } }
public override int InitMaxHits { get { return 255; } } public override int InitMaxHits { get { return 255; } }

View file

@ -37,13 +37,30 @@ namespace Server.Items
public override void Serialize( GenericWriter writer ) public override void Serialize( GenericWriter writer )
{ {
base.Serialize( writer ); base.Serialize( writer );
writer.Write( (int) 0 ); writer.Write( (int) 2 );
} }
public override void Deserialize( GenericReader reader ) public override void Deserialize( GenericReader reader )
{ {
base.Deserialize( reader ); base.Deserialize( reader );
int version = reader.ReadInt(); int version = reader.ReadInt();
switch ( version )
{
case 1:
{
if ( reader.ReadBool() )
{
reader.ReadInt();
reader.ReadInt();
}
Weight = 2.0;
ItemID = 0x2792;
break;
}
}
} }
} }
} }

View file

@ -108,7 +108,8 @@ namespace Server.Items
this.Delete(); this.Delete();
HolidayTree tree = new HolidayTree( from, type, loc ); HolidayTree tree = new HolidayTree( from, type, loc );
BaseHouse house = BaseHouse.FindHouseAt( tree ); BaseHouse house = BaseHouse.FindHouseAt( tree );
house.Addons.Add( tree ); if ( house != null )
house.Addons.Add( tree );
} }
public override void OnDoubleClick( Mobile from ) public override void OnDoubleClick( Mobile from )

View file

@ -371,7 +371,7 @@ namespace Server.Mobiles
{ {
get get
{ {
return TimeSpan.FromSeconds( ((m_Mount.IsDonationItem && RewardSystem.GetRewardLevel( m_Rider ) < 3)? 12.5 : 5.0) ); return TimeSpan.FromSeconds( ((m_Mount.IsDonationItem && RewardSystem.GetRewardLevel( m_Rider ) < 3)? ( 7.5 + ( Core.AOS ? 2.0 : 3.0)) : ( Core.AOS ? 2.0 : 3.0)) );
} }
} }

View file

@ -74,7 +74,7 @@ namespace Server.Mobiles
SetSkill( SkillName.Wrestling, 100.1, 120.0 ); SetSkill( SkillName.Wrestling, 100.1, 120.0 );
Fame = 10000; Fame = 10000;
Karma = 10000; Karma = -10000;
Tamable = true; Tamable = true;
ControlSlots = 3; ControlSlots = 3;

View file

@ -9,7 +9,7 @@ namespace Server.Mobiles
public class DeathwatchBeetleHatchling : BaseCreature public class DeathwatchBeetleHatchling : BaseCreature
{ {
[Constructable] [Constructable]
public DeathwatchBeetleHatchling() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) public DeathwatchBeetleHatchling() : base( AIType.AI_Melee, Core.ML ? FightMode.Aggressor : FightMode.Closest, 10, 1, 0.2, 0.4 )
{ {
Name = "a deathwatch beetle hatchling"; Name = "a deathwatch beetle hatchling";
Body = 242; Body = 242;
@ -92,7 +92,7 @@ namespace Server.Mobiles
public DeathwatchBeetleHatchling( Serial serial ) : base( serial ) public DeathwatchBeetleHatchling( Serial serial ) : base( serial )
{ {
} }
public override int Hides{ get{ return 8; } }
public override void Serialize( GenericWriter writer ) public override void Serialize( GenericWriter writer )
{ {
base.Serialize( writer ); base.Serialize( writer );

View file

@ -125,7 +125,7 @@ namespace Server.Spells.Necromancy
// Dragons // Dragons
new CreatureGroup( new Type[] new CreatureGroup( new Type[]
{ {
typeof( AncientWyrm ), typeof( Dragon ), typeof( SerpentineDragon ), typeof( AncientWyrm ), typeof( Dragon ), typeof( GreaterDragon ), typeof( SerpentineDragon ),
typeof( ShadowWyrm ), typeof( SkeletalDragon ), typeof( WhiteWyrm ), typeof( ShadowWyrm ), typeof( SkeletalDragon ), typeof( WhiteWyrm ),
typeof( Drake ), typeof( Wyvern ), typeof( LesserHiryu ), typeof( Hiryu ) typeof( Drake ), typeof( Wyvern ), typeof( LesserHiryu ), typeof( Hiryu )
}, new SummonEntry[] }, new SummonEntry[]

View file

@ -45,6 +45,7 @@ namespace Server.Spells.Sixth
m.PlaySound( 0x3C4 ); m.PlaySound( 0x3C4 );
m.Hidden = true; m.Hidden = true;
m.Warmode = false;
RemoveTimer( m ); RemoveTimer( m );