Runic sewing kits will no longer apply durability
http://www.uodemise.com/forum/showthread.php?t=133757 Vendor Look/Browse/View will now work properly http://www.uodemise.com/forum/showthread.php?t=135531 Stacked Eggbombs will now unstack correctly http://www.uodemise.com/forum/showthread.php?t=134321 Unbonded pets should logout too http://www.uodemise.com/forum/showthread.php?t=119262 Paragon chests placed on player vendors will now behave correctly http://www.uodemise.com/forum/showthread.php?t=116864 Proper party fame/karma sharing http://www.uodemise.com/forum/showthread.php?t=122749 Guild Alliance/War update bug fixed http://www.uodemise.com/forum/showthread.php?t=115236 Fukiya properties updates and loading bug fixed http://www.uodemise.com/forum/showthread.php?t=136042 Shuriken, same problems as fukiya http://www.uodemise.com/forum/showthread.php?t=120212 greater mongbats will now be recognised as quest objectives http://www.uodemise.com/forum/showthread.php?t=128072 divine fury sound tweaks. http://www.uodemise.com/forum/showthread.php?t=136489 pet stat gains fix http://www.uodemise.com/forum/showthread.php?t=134820 Pets follow speed corrected http://www.uodemise.com/forum/showthread.php?t=124774 E-fields no longer block in trammel rulesets. http://www.uodemise.com/forum/showthread.php?t=116680 Disguise kit timer fix http://www.uodemise.com/forum/showthread.php?t=133913 Meer Mage special abilities fixes. http://www.uodemise.com/forum/showthread.php?t=122134 Missing food property if eggs, in animal lore gump http://www.uodemise.com/forum/showthread.php?t=135258 Pets will follow after an attack is completed. http://www.uodemise.com/forum/showthread.php?t=135962 Hides should not be scissored whilst still on the corpse http://www.uodemise.com/forum/showthread.php?t=118799 Pet bonding changed to include jewelry skill adjustments. http://www.uodemise.com/forum/showthread.php?t=121060 Skinning knife can be used to cut corpses http://www.uodemise.com/forum/showthread.php?t=115248 PlayerVendors will correctly send update packets to the client when hair is changed http://www.uodemise.com/forum/showthread.php?t=120216 Corrections to house sign gump http://www.uodemise.com/forum/showthread.php?t=134406 pet "guarding" system message added http://www.uodemise.com/forum/showthread.php?t=134091 Giant toads should be aggressive http://www.uodemise.com/forum/showthread.php?t=133984 bardiche and halberds are axe tools. http://www.uodemise.com/forum/showthread.php?t=122739
This commit is contained in:
parent
d688c9e0f3
commit
208acafd7e
37 changed files with 1058 additions and 226 deletions
|
|
@ -153,17 +153,15 @@ namespace Server.Items
|
|||
if ( m_UsesRemaining < 1 )
|
||||
return;
|
||||
|
||||
--m_UsesRemaining;
|
||||
--UsesRemaining;
|
||||
|
||||
if ( m_PoisonCharges > 0 )
|
||||
{
|
||||
--m_PoisonCharges;
|
||||
--PoisonCharges;
|
||||
|
||||
if ( m_PoisonCharges == 0 )
|
||||
m_Poison = null;
|
||||
Poison = null;
|
||||
}
|
||||
|
||||
InvalidateProperties();
|
||||
}
|
||||
|
||||
public void ResetUsing()
|
||||
|
|
@ -175,21 +173,19 @@ namespace Server.Items
|
|||
|
||||
public void Unload( Mobile from )
|
||||
{
|
||||
if ( UsesRemaining < 1 )
|
||||
if ( m_UsesRemaining < 1 )
|
||||
return;
|
||||
|
||||
FukiyaDarts darts = new FukiyaDarts( UsesRemaining );
|
||||
FukiyaDarts darts = new FukiyaDarts( m_UsesRemaining );
|
||||
|
||||
darts.Poison = m_Poison;
|
||||
darts.PoisonCharges = m_PoisonCharges;
|
||||
|
||||
from.AddToBackpack( darts );
|
||||
|
||||
m_UsesRemaining = 0;
|
||||
m_PoisonCharges = 0;
|
||||
m_Poison = null;
|
||||
|
||||
InvalidateProperties();
|
||||
UsesRemaining = 0;
|
||||
PoisonCharges = 0;
|
||||
Poison = null;
|
||||
}
|
||||
|
||||
public void Reload( Mobile from, FukiyaDarts darts )
|
||||
|
|
@ -203,49 +199,72 @@ namespace Server.Items
|
|||
}
|
||||
else if ( darts.UsesRemaining > 0 )
|
||||
{
|
||||
bool canload = false;
|
||||
bool poison = false;
|
||||
|
||||
if ( need > darts.UsesRemaining )
|
||||
need = darts.UsesRemaining;
|
||||
|
||||
if ( darts.Poison != null && darts.PoisonCharges > 0 )
|
||||
if( darts.Poison != null && darts.PoisonCharges > 0 )
|
||||
{
|
||||
if ( m_PoisonCharges <= 0 || m_Poison == null || m_Poison.Level <= darts.Poison.Level )
|
||||
{
|
||||
if ( m_Poison != null && m_Poison.Level < darts.Poison.Level )
|
||||
Unload( from );
|
||||
poison = true;
|
||||
|
||||
if( m_Poison == null || ( m_Poison.Level < darts.Poison.Level ))
|
||||
{
|
||||
Unload( from );
|
||||
canload = true;
|
||||
}
|
||||
else if( m_Poison != null && ( m_Poison.Level == darts.Poison.Level ))
|
||||
{
|
||||
canload = true;
|
||||
}
|
||||
}
|
||||
else if( darts.Poison == null || darts.PoisonCharges <= 0 )
|
||||
{
|
||||
if( m_Poison == null || m_PoisonCharges <= 0 )
|
||||
{
|
||||
canload = true;
|
||||
}
|
||||
}
|
||||
|
||||
if( !canload )
|
||||
{
|
||||
from.SendLocalizedMessage( 1070767 ); // Loaded projectile is stronger, unload it first
|
||||
}
|
||||
else
|
||||
{
|
||||
if( poison )
|
||||
{
|
||||
if ( need > darts.PoisonCharges )
|
||||
{
|
||||
need = darts.PoisonCharges;
|
||||
}
|
||||
|
||||
if ( m_Poison == null || m_PoisonCharges <= 0 )
|
||||
m_PoisonCharges = need;
|
||||
{
|
||||
PoisonCharges = need;
|
||||
}
|
||||
else
|
||||
m_PoisonCharges += need;
|
||||
{
|
||||
PoisonCharges += need;
|
||||
}
|
||||
|
||||
m_Poison = darts.Poison;
|
||||
Poison = darts.Poison;
|
||||
|
||||
darts.PoisonCharges -= need;
|
||||
|
||||
if ( darts.PoisonCharges <= 0 )
|
||||
{
|
||||
darts.Poison = null;
|
||||
}
|
||||
}
|
||||
|
||||
m_UsesRemaining += need;
|
||||
darts.UsesRemaining -= need;
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendLocalizedMessage( 1070767 ); // Loaded projectile is stronger, unload it first
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_UsesRemaining += need;
|
||||
UsesRemaining += need;
|
||||
darts.UsesRemaining -= need;
|
||||
}
|
||||
|
||||
if ( darts.UsesRemaining <= 0 )
|
||||
darts.Delete();
|
||||
|
||||
InvalidateProperties();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue