- Pet resurrection gump fixed to work as OSI
(http://www.uodemise.com/discussion/showthread.php?t=121055) - Every tamable pet with Poisoning skill can train Poisoning up to 100 skill (http://www.uodemise.com/discussion/showthread.php?t=134817)
This commit is contained in:
parent
208acafd7e
commit
65198a79ac
3 changed files with 15 additions and 11 deletions
|
|
@ -65,20 +65,12 @@ namespace Server.Gumps
|
|||
m_Pet.FixedEffect( 0x376A, 10, 16 );
|
||||
m_Pet.ResurrectPet();
|
||||
|
||||
double decreaseAmount;
|
||||
|
||||
if( from == m_Pet.ControlMaster )
|
||||
decreaseAmount = 0.1;
|
||||
else
|
||||
decreaseAmount = 0.2;
|
||||
|
||||
for ( int i = 0; i < m_Pet.Skills.Length; ++i ) //Decrease all skills on pet.
|
||||
m_Pet.Skills[i].Base -= decreaseAmount;
|
||||
m_Pet.Skills[i].Base -= 0.2;
|
||||
|
||||
if( !m_Pet.IsDeadPet && m_HitsScalar > 0 )
|
||||
m_Pet.Hits = (int)(m_Pet.HitsMax * m_HitsScalar);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue