Addition of Noblesse Presentation skill at Noble Material (10591).
Thanks to negrito8.
This commit is contained in:
@@ -26,6 +26,7 @@ import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.Player;
|
||||
import org.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||
import org.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
@@ -98,6 +99,7 @@ public class Q10591_NobleMaterial extends Quest
|
||||
private static final int EXALTED_DUAL_DAGGERS = 81168;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 100;
|
||||
private static final SkillHolder NOBLESSE_PRESENTATION = new SkillHolder(18176, 1);
|
||||
// Location
|
||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
||||
@@ -209,6 +211,7 @@ public class Q10591_NobleMaterial extends Quest
|
||||
player.setNobleLevel(1);
|
||||
player.broadcastInfo();
|
||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
||||
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
@@ -224,6 +227,7 @@ public class Q10591_NobleMaterial extends Quest
|
||||
player.setNobleLevel(1);
|
||||
player.broadcastInfo();
|
||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
||||
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
@@ -239,6 +243,7 @@ public class Q10591_NobleMaterial extends Quest
|
||||
player.setNobleLevel(1);
|
||||
player.broadcastInfo();
|
||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
||||
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
|
Reference in New Issue
Block a user