fix: Fixes disarm, strangle, curse, summons, looting rights, creatures attacking, and items going to the floor (#1174)
* Fixes disarm * Fixes strangle not refreshing * Fixes curse not refreshing * Fixes 125% bonus to looting rights * Fixes mobs attacking each other, or not attacking each other * Fixes items dropping to the floor * Fixes protection spell * Fixes cure sending wrong message
This commit is contained in:
parent
906ec095b9
commit
060edaa76a
25 changed files with 127 additions and 112 deletions
|
|
@ -2050,9 +2050,9 @@ namespace Server
|
|||
var root = ip.RootParent;
|
||||
var rpm = root as Mobile;
|
||||
|
||||
if (ip.IsAccessibleTo(from) &&
|
||||
rpm?.CheckNonlocalDrop(from, this, ip) == true &&
|
||||
(!ip.Movable || rpm == from || ip.Map == bounce.Map && root.Location == bounce.WorldLoc)
|
||||
if (ip.IsAccessibleTo(from)
|
||||
&& rpm?.CheckNonlocalDrop(from, this, ip) != false
|
||||
&& (!ip.Movable || rpm == from || ip.Map == bounce.Map && root.Location == bounce.WorldLoc)
|
||||
)
|
||||
{
|
||||
Location = bounce.Location;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue