Sync with L2jServer HighFive Jul 3rd 2015.

This commit is contained in:
MobiusDev
2015-07-03 21:10:51 +00:00
parent 9c11f00722
commit ac006cde6a
29 changed files with 311 additions and 268 deletions

View File

@ -365,12 +365,7 @@ public final class L2Weapon extends L2Item
return;
}
L2Character[] targets =
{
target
};
onCritSkill.activateSkill(caster, targets);
onCritSkill.activateSkill(caster, target);
}
/**
@ -429,18 +424,18 @@ public final class L2Weapon extends L2Item
return;
}
L2Character[] targets =
{
target
};
// Launch the magic skill and calculate its effects
// Get the skill handler corresponding to the skill type
onMagicSkill.activateSkill(caster, targets);
onMagicSkill.activateSkill(caster, target);
// notify quests of a skill use
if (caster instanceof L2PcInstance)
{
L2Character[] targets =
{
target
};
//@formatter:off
caster.getKnownList().getKnownObjects().values().stream()
.filter(Objects::nonNull)