Housing
- house commit has inappropiate cost for certain parts
http://www.uodemise.com/forum/showthread.php?t=136453
- houses should not be placable on roads
http://www.uodemise.com/forum/showthread.php?t=139597
Bushido
- lightning strike should consume extra mana if player walks
http://www.uodemise.com/forum/showthread.php?t=127699
Weapons
- frenzied whirlwind should properly flag combatants.
http://www.uodemise.com/forum/showthread.php?t=138625
Magery
- PolyMorph should not turn the caster grey/criminal
http://www.uodemise.com/forum/showthread.php?t=116438
- Paralyze should interfere in casting paladin spells.
http://www.uodemise.com/forum/showthread.php?t=120742
Spellweaving
- Ethereal Voyage should not break when attempting to tame dragons, nightmares, etc.
http://www.uodemise.com/forum/showthread.php?t=135349
Misc
- refactor DrawRessource() to DrawResource()
http://www.uodemise.com/forum/showthread.php?t=127202
- random blood "spatter" itemid during combat: more visible blood.
http://www.uodemise.com/forum/showthread.php?t=140092
Taming
- Animal lore should check for skill modifiers when using lore on mobiles.
http://www.uodemise.com/forum/showthread.php?t=140658
Necromany
- Wraithform should allow push-through without stam loss always.
http://www.uodemise.com/forum/showthread.php?t=117126
- Wraithform mana leech should not lower the victim's mana + small cleanup to spellhelper.doleech()
http://www.uodemise.com/forum/showthread.php?t=120238
Chivalry
- Noble Sacrifice should work in houses. RunUO's does not.
http://www.uodemise.com/forum/showthread.php?t=122819
NCP Vendors
- Add necro regs for vendors to buy from players.
http://www.uodemise.com/forum/showthread.php?t=136435
This commit is contained in:
parent
d3e95b7e53
commit
1d74d05af4
16 changed files with 175 additions and 69 deletions
|
|
@ -890,7 +890,7 @@ namespace Server.Multis
|
|||
public void EndConfirmCommit( Mobile from )
|
||||
{
|
||||
int oldPrice = Price;
|
||||
int newPrice = oldPrice + CustomizationCost + ((DesignState.Components.List.Length - CurrentState.Components.List.Length) * 500);
|
||||
int newPrice = oldPrice + CustomizationCost + ((DesignState.Components.List.Length - ( CurrentState.Components.List.Length + CurrentState.Fixtures.Length )) * 500);
|
||||
int cost = newPrice - oldPrice;
|
||||
|
||||
if ( !this.Deleted ) { // Temporary Fix. We should be booting a client out of customization mode in the delete handler.
|
||||
|
|
@ -991,7 +991,7 @@ namespace Server.Multis
|
|||
if( context != null )
|
||||
{
|
||||
int oldPrice = context.Foundation.Price;
|
||||
int newPrice = oldPrice + context.Foundation.CustomizationCost + ((context.Foundation.DesignState.Components.List.Length - context.Foundation.CurrentState.Components.List.Length) * 500);
|
||||
int newPrice = oldPrice + context.Foundation.CustomizationCost + ((context.Foundation.DesignState.Components.List.Length - ( context.Foundation.CurrentState.Components.List.Length + context.Foundation.Fixtures.Count) ) * 500);
|
||||
int bankBalance = Banker.GetBalance( from );
|
||||
|
||||
from.SendGump( new ConfirmCommitGump( from, context.Foundation, bankBalance, oldPrice, newPrice ) );
|
||||
|
|
@ -1936,8 +1936,16 @@ namespace Server.Multis
|
|||
AddHtmlLocalized( 10, 235, 150, 20, 1061900, 1023, false, false ); // Cost To Commit:
|
||||
AddLabel( 170, 235, 90, newPrice.ToString() );
|
||||
|
||||
AddHtmlLocalized( 10, 260, 150, 20, 1061901, 31744, false, false ); // Your Cost:
|
||||
AddLabel( 170, 260, 40, (newPrice - oldPrice).ToString() );
|
||||
if ( newPrice - oldPrice < 0 )
|
||||
{
|
||||
AddHtmlLocalized( 10, 260, 150, 20, 1062059, 992, false, false ); // Your Refund:
|
||||
AddLabel( 170, 260, 70, (oldPrice - newPrice).ToString() );
|
||||
}
|
||||
else
|
||||
{
|
||||
AddHtmlLocalized( 10, 260, 150, 20, 1061901, 31744, false, false ); // Your Cost:
|
||||
AddLabel( 170, 260, 40, (newPrice - oldPrice).ToString() );
|
||||
}
|
||||
|
||||
AddButton( 10, 290, 4005, 4007, 1, GumpButtonType.Reply, 0 );
|
||||
AddHtmlLocalized( 45, 290, 55, 20, 1011036, 32767, false, false ); // OKAY
|
||||
|
|
|
|||
|
|
@ -30,22 +30,15 @@ namespace Server.Multis
|
|||
// Any land tile which matches one of these ID numbers is considered a road and cannot be placed over.
|
||||
private static int[] m_RoadIDs = new int[]
|
||||
{
|
||||
0x071, 0x08C,
|
||||
0x0E8, 0x0EB,
|
||||
0x14C, 0x14F,
|
||||
0x161, 0x174,
|
||||
0x1F0, 0x1F3,
|
||||
0x26E, 0x279,
|
||||
0x27E, 0x281,
|
||||
0x324, 0x3AC,
|
||||
0x547, 0x556,
|
||||
0x597, 0x5A6,
|
||||
0x637, 0x63A,
|
||||
0x7AE, 0x7B1,
|
||||
0x442, 0x479, // Sand stones
|
||||
0x501, 0x510, // Sand stones
|
||||
0x009, 0x015, // Furrows
|
||||
0x150, 0x15C // Furrows
|
||||
0x0071, 0x0078,
|
||||
0x00E8, 0x00EB,
|
||||
0x07AE, 0x07B1,
|
||||
0x3FF4, 0x3FF4,
|
||||
0x3FF8, 0x3FFB,
|
||||
0x0442, 0x0479, // Sand stones
|
||||
0x0501, 0x0510, // Sand stones
|
||||
0x0009, 0x0015, // Furrows
|
||||
0x0150, 0x015C // Furrows
|
||||
};
|
||||
|
||||
public static HousePlacementResult Check( Mobile from, int multiID, Point3D center, out ArrayList toMove )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue