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
|
|
@ -176,7 +176,7 @@ namespace Server.Mobiles
|
|||
if ( from == animal || from.AccessLevel >= AccessLevel.GameMaster )
|
||||
return true;
|
||||
|
||||
if ( from.Alive && animal.Controlled && !animal.IsDeadPet && (from == animal.ControlMaster || from == animal.SummonMaster) )
|
||||
if ( from.Alive && animal.Controlled && !animal.IsDeadPet && ( from == animal.ControlMaster || from == animal.SummonMaster || animal.IsPetFriend( from ) ) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue