- You can't anymore place castles or keeps in Malas facet
(http://www.runuo.com/bugs/index.php?cmd=view&id=38) - Unfilled commodity deeds now carry the etching "Unfilled" (http://www.runuo.com/bugs/index.php?cmd=view&id=40) - Empty scrolls can be deeded in a commodity deed (http://www.uodemise.com/discussion/showthread.php?t=127485) - Dying tubs, if locked down, can allow security level choices (http://www.uodemise.com/discussion/showthread.php?t=128546) - Changes in Energy Vortex skills: they'll have 120 wrestling (it was 100) and 100 tactics (it was 90) (http://www.uodemise.com/discussion/showthread.php?t=122733) - Wooden Footlockers now show the correct container gump (http://www.uodemise.com/discussion/showthread.php?t=126452) - Changes to Interior Decorator (still not includes the fix to turn paragon chests): --> single item addons can be raised/lowered --> the gump stays visible until target is cancelled --> target won't be cancelled automatically when the decorator is used on a target (http://www.uodemise.com/discussion/showthread.php?t=126668) - Doom Lever Puzzle item list changed to generics (http://www.uodemise.com/discussion/showthread.php?t=130396) - Morphed forms will check now the current skill level: the morph effect is lost if skill level goes under the minimum required. (http://www.uodemise.com/discussion/showthread.php?t=116542) - Mage NPC vendors now buy necro scrolls; the price of scrolls got tweaked (= raised) to match OSI (http://www.runuo.com/bugs/index.php?cmd=view&id=90) (http://www.runuo.com/bugs/index.php?cmd=view&id=113) - You can't anymore discord NPC vendors (http://www.runuo.com/bugs/index.php?cmd=view&id=33) - Removing a rune from runebook won't change the default rune set (http://www.runuo.com/bugs/index.php?cmd=view&id=41) - Various runebook security changes (see link for the list) (http://www.runuo.com/bugs/index.php?cmd=view&id=39) - You can't use the Sacrifice virtue while hidden (http://www.runuo.com/bugs/index.php?cmd=view&id=42) - Added the Deceit Brazier: doubleclicking it will summon a random "britannian" monster (check [props for delays) (http://www.uodemise.com/discussion/showthread.php?t=123805) - Casting spells will raise also the secondary skill associated (example: Necro and SpiritSpeak) (http://www.runuo.com/bugs/index.php?cmd=view&id=43) - Word of Death changes: --> the "pitful damage" is much powerful now --> you have to bring the target health below (5*arcanefocus)% to strike the powerful blast of 300 chaos damage --> the damage is influenced by SDI (http://www.runuo.com/bugs/index.php?cmd=view&id=36) - Teleporters generated by [telgen got corrected for the Wrong dungeon (http://www.runuo.com/bugs/index.php?cmd=view&id=34)
This commit is contained in:
parent
b54bf2c8bb
commit
95de3595cd
23 changed files with 586 additions and 115 deletions
|
|
@ -19,7 +19,8 @@ namespace Server.Multis
|
|||
BadItem,
|
||||
NoSurface,
|
||||
BadRegionHidden,
|
||||
BadRegionTemp
|
||||
BadRegionTemp,
|
||||
InvalidCastleKeep,
|
||||
}
|
||||
|
||||
public class HousePlacement
|
||||
|
|
@ -63,6 +64,9 @@ namespace Server.Multis
|
|||
if ( map == Map.Ilshenar || SpellHelper.IsFeluccaT2A( map, center ) )
|
||||
return HousePlacementResult.BadRegion; // No houses in Ilshenar/T2A
|
||||
|
||||
if ( map == Map.Malas && ( multiID == 0x007C || multiID == 0x007E ) )
|
||||
return HousePlacementResult.InvalidCastleKeep;
|
||||
|
||||
NoHousingRegion noHousingRegion = (NoHousingRegion) Region.Find( center, map ).GetRegion( typeof( NoHousingRegion ) );
|
||||
|
||||
if ( noHousingRegion != null )
|
||||
|
|
|
|||
|
|
@ -367,45 +367,45 @@ namespace Server.Items
|
|||
from.SendLocalizedMessage( 501271 ); // You already own a house, you may not place another!
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseHouse house = ConstructHouse( from );
|
||||
{
|
||||
BaseHouse house = ConstructHouse( from );
|
||||
|
||||
if ( house == null )
|
||||
return;
|
||||
if ( house == null )
|
||||
return;
|
||||
|
||||
house.Price = m_Cost;
|
||||
house.Price = m_Cost;
|
||||
|
||||
if ( from.AccessLevel >= AccessLevel.GameMaster )
|
||||
{
|
||||
from.SendMessage( "{0} gold would have been withdrawn from your bank if you were not a GM.", m_Cost.ToString() );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( Banker.Withdraw( from, m_Cost ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1060398, m_Cost.ToString() ); // ~1_AMOUNT~ gold has been withdrawn from your bank box.
|
||||
}
|
||||
else
|
||||
{
|
||||
house.RemoveKeys( from );
|
||||
house.Delete();
|
||||
from.SendLocalizedMessage( 1060646 ); // You do not have the funds available in your bank box to purchase this house. Try placing a smaller house, or adding gold or checks to your bank box.
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ( from.AccessLevel >= AccessLevel.GameMaster )
|
||||
{
|
||||
from.SendMessage( "{0} gold would have been withdrawn from your bank if you were not a GM.", m_Cost.ToString() );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( Banker.Withdraw( from, m_Cost ) )
|
||||
{
|
||||
from.SendLocalizedMessage( 1060398, m_Cost.ToString() ); // ~1_AMOUNT~ gold has been withdrawn from your bank box.
|
||||
}
|
||||
else
|
||||
{
|
||||
house.RemoveKeys( from );
|
||||
house.Delete();
|
||||
from.SendLocalizedMessage( 1060646 ); // You do not have the funds available in your bank box to purchase this house. Try placing a smaller house, or adding gold or checks to your bank box.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
house.MoveToWorld( center, from.Map );
|
||||
house.MoveToWorld( center, from.Map );
|
||||
|
||||
for ( int i = 0; i < toMove.Count; ++i )
|
||||
{
|
||||
object o = toMove[i];
|
||||
for ( int i = 0; i < toMove.Count; ++i )
|
||||
{
|
||||
object o = toMove[ i ];
|
||||
|
||||
if ( o is Mobile )
|
||||
( (Mobile)o ).Location = house.BanLocation;
|
||||
else if ( o is Item )
|
||||
( (Item)o ).Location = house.BanLocation;
|
||||
}
|
||||
}
|
||||
if ( o is Mobile )
|
||||
( (Mobile) o ).Location = house.BanLocation;
|
||||
else if ( o is Item )
|
||||
( (Item) o ).Location = house.BanLocation;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
@ -425,7 +425,12 @@ namespace Server.Items
|
|||
}
|
||||
case HousePlacementResult.BadRegionTemp:
|
||||
{
|
||||
from.SendLocalizedMessage( 501270 ); //Lord British has decreed a 'no build' period, thus you cannot build this house at this time.
|
||||
from.SendLocalizedMessage( 501270 ); // Lord British has decreed a 'no build' period, thus you cannot build this house at this time.
|
||||
break;
|
||||
}
|
||||
case HousePlacementResult.InvalidCastleKeep:
|
||||
{
|
||||
from.SendLocalizedMessage( 1061122 ); // Castles and keeps cannot be created here.
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -521,6 +526,11 @@ namespace Server.Items
|
|||
from.SendLocalizedMessage( 501270 ); //Lord British has decreed a 'no build' period, thus you cannot build this house at this time.
|
||||
break;
|
||||
}
|
||||
case HousePlacementResult.InvalidCastleKeep:
|
||||
{
|
||||
from.SendLocalizedMessage( 1061122 ); // Castles and keeps cannot be created here.
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue