Pet friends should have access to pack animals' backpacks - http://jira.runuo.com/browse/RUNUO-95
Animal Lore wrong GM skill perk - http://jira.runuo.com/browse/RUNUO-92
This commit is contained in:
athena 2011-11-20 04:46:44 +00:00
parent 216824a9b4
commit 44a4693fda
8 changed files with 193 additions and 21 deletions

View file

@ -42,11 +42,11 @@ namespace Server.SkillHandlers
{
if ( c.Body.IsAnimal || c.Body.IsMonster || c.Body.IsSea )
{
if ( (!c.Controlled || !c.Tamable) && from.Skills[SkillName.AnimalLore].Value < 100.0 )
if ( !c.Controlled && from.Skills[SkillName.AnimalLore].Value < 100.0 )
{
from.SendLocalizedMessage( 1049674 ); // At your skill level, you can only lore tamed creatures.
}
else if ( !c.Tamable && from.Skills[SkillName.AnimalLore].Value < 110.0 )
else if ( !c.Controlled && !c.Tamable && from.Skills[SkillName.AnimalLore].Value < 110.0 )
{
from.SendLocalizedMessage( 1049675 ); // At your skill level, you can only lore tamed or tameable creatures.
}