- 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:
daedalus 2010-01-19 13:45:00 +00:00
parent 208acafd7e
commit 65198a79ac
3 changed files with 15 additions and 11 deletions

View file

@ -2623,8 +2623,11 @@ namespace Server.Mobiles
if ( m_Paragon )
p = PoisonImpl.IncreaseLevel( p );
if ( p != null && HitPoisonChance >= Utility.RandomDouble() )
if ( p != null && HitPoisonChance >= Utility.RandomDouble() ) {
defender.ApplyPoison( this, p );
if ( this.Controlled )
this.CheckSkill(SkillName.Poisoning, 0, this.Skills[SkillName.Poisoning].Cap);
}
if( AutoDispel && defender is BaseCreature && ((BaseCreature)defender).IsDispellable && AutoDispelChance > Utility.RandomDouble() )
Dispel( defender );