Addition of Noblesse Presentation skill at Noble Material (10591).
Thanks to negrito8.
This commit is contained in:
@@ -21,6 +21,7 @@ import org.l2jmobius.gameserver.enums.QuestSound;
|
|||||||
import org.l2jmobius.gameserver.model.Location;
|
import org.l2jmobius.gameserver.model.Location;
|
||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.Player;
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.model.holders.SkillHolder;
|
||||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
import org.l2jmobius.gameserver.model.quest.State;
|
import org.l2jmobius.gameserver.model.quest.State;
|
||||||
@@ -70,6 +71,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
private static final int KNIGHT_CICLET_BOX_LV5 = 80913;
|
private static final int KNIGHT_CICLET_BOX_LV5 = 80913;
|
||||||
// Misc
|
// Misc
|
||||||
private static final int MIN_LEVEL = 100;
|
private static final int MIN_LEVEL = 100;
|
||||||
|
private static final SkillHolder NOBLESSE_PRESENTATION = new SkillHolder(18176, 1);
|
||||||
// Location
|
// Location
|
||||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||||
private static final Location HEIN = new Location(111257, 221071, -3550);
|
private static final Location HEIN = new Location(111257, 221071, -3550);
|
||||||
@@ -165,6 +167,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -182,6 +185,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -199,6 +203,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
|
@@ -25,6 +25,7 @@ import org.l2jmobius.gameserver.model.Location;
|
|||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.Player;
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
import org.l2jmobius.gameserver.model.holders.ItemHolder;
|
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.Quest;
|
||||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
import org.l2jmobius.gameserver.model.quest.State;
|
import org.l2jmobius.gameserver.model.quest.State;
|
||||||
@@ -77,6 +78,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
private static final int KNIGHT_CICLET_BOX_LV5 = 80913;
|
private static final int KNIGHT_CICLET_BOX_LV5 = 80913;
|
||||||
// Misc
|
// Misc
|
||||||
private static final int MIN_LEVEL = 100;
|
private static final int MIN_LEVEL = 100;
|
||||||
|
private static final SkillHolder NOBLESSE_PRESENTATION = new SkillHolder(18176, 1);
|
||||||
// Location
|
// Location
|
||||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||||
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
||||||
@@ -190,6 +192,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -207,6 +210,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -224,6 +228,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
|
@@ -25,6 +25,7 @@ import org.l2jmobius.gameserver.model.Location;
|
|||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.Player;
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
import org.l2jmobius.gameserver.model.holders.ItemHolder;
|
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.Quest;
|
||||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
import org.l2jmobius.gameserver.model.quest.State;
|
import org.l2jmobius.gameserver.model.quest.State;
|
||||||
@@ -77,6 +78,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
private static final int KNIGHT_CICLET_BOX_LV5 = 80913;
|
private static final int KNIGHT_CICLET_BOX_LV5 = 80913;
|
||||||
// Misc
|
// Misc
|
||||||
private static final int MIN_LEVEL = 100;
|
private static final int MIN_LEVEL = 100;
|
||||||
|
private static final SkillHolder NOBLESSE_PRESENTATION = new SkillHolder(18176, 1);
|
||||||
// Location
|
// Location
|
||||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||||
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
||||||
@@ -191,6 +193,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -209,6 +212,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -227,6 +231,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||||
|
player.doCast(NOBLESSE_PRESENTATION.getSkill());
|
||||||
qs.exitQuest(false, true);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
|
@@ -26,6 +26,7 @@ import org.l2jmobius.gameserver.model.Location;
|
|||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.Player;
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
import org.l2jmobius.gameserver.model.holders.ItemHolder;
|
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.Quest;
|
||||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
import org.l2jmobius.gameserver.model.quest.State;
|
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;
|
private static final int EXALTED_DUAL_DAGGERS = 81168;
|
||||||
// Misc
|
// Misc
|
||||||
private static final int MIN_LEVEL = 100;
|
private static final int MIN_LEVEL = 100;
|
||||||
|
private static final SkillHolder NOBLESSE_PRESENTATION = new SkillHolder(18176, 1);
|
||||||
// Location
|
// Location
|
||||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||||
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
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.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
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);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -224,6 +227,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
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);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -239,6 +243,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
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);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
|
@@ -26,6 +26,7 @@ import org.l2jmobius.gameserver.model.Location;
|
|||||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import org.l2jmobius.gameserver.model.actor.Player;
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
import org.l2jmobius.gameserver.model.holders.ItemHolder;
|
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.Quest;
|
||||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
import org.l2jmobius.gameserver.model.quest.State;
|
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;
|
private static final int EXALTED_DUAL_DAGGERS = 81168;
|
||||||
// Misc
|
// Misc
|
||||||
private static final int MIN_LEVEL = 100;
|
private static final int MIN_LEVEL = 100;
|
||||||
|
private static final SkillHolder NOBLESSE_PRESENTATION = new SkillHolder(18176, 1);
|
||||||
// Location
|
// Location
|
||||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||||
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
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.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
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);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -224,6 +227,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
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);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
@@ -239,6 +243,7 @@ public class Q10591_NobleMaterial extends Quest
|
|||||||
player.setNobleLevel(1);
|
player.setNobleLevel(1);
|
||||||
player.broadcastInfo();
|
player.broadcastInfo();
|
||||||
showOnScreenMsg(player, NpcStringId.CONGRATULATIONS_S1_YOU_ARE_NOW_A_NOBLESSE, ExShowScreenMessage.TOP_CENTER, 10000, player.getName());
|
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);
|
qs.exitQuest(false, true);
|
||||||
htmltext = event;
|
htmltext = event;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user