Sync with L2JServer Jan 24th 2015.

This commit is contained in:
mobius
2015-01-24 20:02:32 +00:00
parent d349bd3924
commit 1c6301c46d
1012 changed files with 23069 additions and 6307 deletions

View File

@ -150,17 +150,20 @@ public final class GiftOfVitality extends LongTimeEvent
{
htmltext = "4306-nolevel.htm";
}
else if (!player.hasServitor())
else if (!player.hasServitors())
{
htmltext = "4306-nosummon.htm";
}
else
{
npc.setTarget(player.getSummon());
for (SkillHolder sk : SERVITOR_SKILLS)
player.getServitors().values().forEach(s ->
{
npc.doCast(sk.getSkill());
}
npc.setTarget(s);
for (SkillHolder sk : SERVITOR_SKILLS)
{
npc.doCast(sk.getSkill());
}
});
htmltext = "4306-okbuff.htm";
}
break;