Sync with L2jServer HighFive Oct 10th 2015.

This commit is contained in:
MobiusDev
2015-10-10 13:28:13 +00:00
parent 2a827d8120
commit 2dd6094e0f
39 changed files with 601 additions and 556 deletions

View File

@@ -424,4 +424,10 @@ public final class BuffInfo
}
return 0;
}
@Override
public String toString()
{
return "BuffInfo [effector=" + _effector + ", effected=" + _effected + ", skill=" + _skill + ", effects=" + _effects + ", tasks=" + _tasks + ", scheduledFutureTimeTask=" + _scheduledFutureTimeTask + ", abnormalTime=" + _abnormalTime + ", periodStartTicks=" + _periodStartTicks + ", isRemoved=" + _isRemoved + ", isInUse=" + _isInUse + "]";
}
}

View File

@@ -977,7 +977,7 @@ public final class Skill implements IIdentifiable
public boolean isBad()
{
return _effectPoint < 0;
return (_effectPoint < 0) && (_targetType != L2TargetType.SELF);
}
public boolean checkCondition(L2Character activeChar, L2Object object, boolean itemOrWeapon)