Correct Monastery of Silence instance enter buypass.

This commit is contained in:
MobiusDev 2016-12-25 07:14:47 +00:00
parent 50358284e4
commit 1740adbc90
2 changed files with 3 additions and 3 deletions

View File

@ -23,6 +23,7 @@ import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.holders.SkillHolder;
import com.l2jmobius.gameserver.model.instancezone.Instance;
import com.l2jmobius.gameserver.model.skills.SkillCaster;
import com.l2jmobius.gameserver.network.NpcStringId;
import instances.AbstractInstance;
@ -157,8 +158,7 @@ public final class SSQMonasteryOfSilence extends AbstractInstance
if (player.isInCombat())
{
npc.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.YOUR_WORK_HERE_IS_DONE_SO_RETURN_TO_THE_CENTRAL_GUARDIAN);
npc.setTarget(player);
npc.doCast(BUFFS[getRandom(BUFFS.length)].getSkill());
SkillCaster.triggerCast(npc, player, BUFFS[getRandom(BUFFS.length)].getSkill());
}
else
{

View File

@ -1,3 +1,3 @@
<html><body>There's a globe with a strange aura. When you touch the globe, an image of a small room with books and supplies shows.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest MonasteryOfSilence">Activate the globe and go to the room.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SSQMonasteryOfSilence">Activate the globe and go to the room.</Button>
</body></html>