Various House Raffle fixes - http://jira.runuo.com/browse/RUNUO-94
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:
parent
216824a9b4
commit
44a4693fda
8 changed files with 193 additions and 21 deletions
|
|
@ -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.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue