Награда за 3 профессию - Форум администраторов игровых серверов
Форум администраторов игровых серверов StormWall - Защита от DDos атак
Регистрация Мнения Справка Сообщество Календарь
Вернуться   Форум администраторов игровых серверов > MMO > Lineage II > Работа со скриптами

Работа со скриптами Помощь в редактировании и написании квестов к Java серверам, а так же эвентов.

Ответ
Опции темы
Непрочитано 18.09.2015, 04:56   #1
Аватар для dantest
Пользователь

Автор темы (Топик Стартер) Награда за 3 профессию

Здравствуйте, подскажите где меняется награда за 3 профессию.
Во всех квестах в скрипте есть иды итемов и колличество, открываю квесты на 3 профессии там только вот это.

Код:
public class _085_SagaOfTheCardinal extends SagasSuperclass implements ScriptFile
{
	   
	public void onLoad()
	{
		super.onLoad();
	}

	   
	public void onReload()
	{}

	   
	public void onShutdown()
	{}

	public _085_SagaOfTheCardinal()
	{
		super(85);

		NPC = new int[] { 30191, 31626, 31588, 31280, 31644, 31646, 31647, 31651, 31654, 31655, 31658, 31280 };
		Items = new int[] { 7080, 7522, 7081, 7500, 7283, 7314, 7345, 7376, 7407, 7438, 7087, 0 };
		Mob = new int[] { 27267, 27234, 27274 };
		classid = 97;
		prevclass = 0x10;
		X = new int[] { 119518, 181215, 181227 };
		Y = new int[] { -28658, 36676, 36703 };
		Z = new int[] { -3811, -4812, -4816 };
		Text = new String[] {
				"PLAYERNAME! Pursued to here! However, I jumped out of the Banshouren boundaries! You look at the giant as the sign of power!",
				"... Oh ... good! So it was ... let's begin!",
				"I do not have the patience ..! I have been a giant force ...! Cough chatter ah ah ah!",
				"Paying homage to those who disrupt the orderly will be PLAYERNAME's death!",
				"Now, my soul freed from the shackles of the millennium, Halixia, to the back side I come ...",
				"Why do you interfere others' battles?",
				"This is a waste of time.. Say goodbye...!",
				"...That is the enemy",
				"...Goodness! PLAYERNAME you are still looking?",
				"PLAYERNAME ... Not just to whom the victory. Only personnel involved in the fighting are eligible to share in the victory.",
				"Your sword is not an ornament. Don't you think, PLAYERNAME?",
				"Goodness! I no longer sense a battle there now.",
				"let...",
				"Only engaged in the battle to bar their choice. Perhaps you should regret.",
				"The human nation was foolish to try and fight a giant's strength.",
				"Must...Retreat... Too...Strong.",
				"PLAYERNAME. Defeat...by...retaining...and...Mo...Hacker",
				"....! Fight...Defeat...It...Fight...Defeat...It..." };

		registerNPCs();
	}
}
dantest вне форума Ответить с цитированием
Непрочитано 18.09.2015, 06:51   #2
Пользователь

По умолчанию Re: Награда за 3 профессию

public class _085_SagaOfTheCardinal extends SagasSuperclass implements ScriptFile
HiredKiller вне форума Ответить с цитированием
Непрочитано 18.09.2015, 16:17   #3
Аватар для dantest
Пользователь

Автор темы (Топик Стартер) Re: Награда за 3 профессию

Цитата:
Сообщение от HiredKiller Посмотреть сообщение
public class _085_SagaOfTheCardinal extends SagasSuperclass implements ScriptFile
А можно по подробнее, я чайник)

Добавлено через 5 минут
Цитата:
Сообщение от HiredKiller Посмотреть сообщение
public class _085_SagaOfTheCardinal extends SagasSuperclass implements ScriptFile
От души! Добра тебе!

Последний раз редактировалось dantest; 18.09.2015 в 16:22. Причина: Добавлено сообщение
dantest вне форума Ответить с цитированием
Непрочитано 19.09.2015, 16:27   #4
Аватар для Magister

По умолчанию Re: Награда за 3 профессию

Сомтри в корне каталога квестов, файл "SagasSuperclass.java".

Когда откроешь данный файл, смотри :

Код:
private void FinishQuest(QuestState st, Player player)
	{
		_kills.remove(player.getObjectId());
		_archons.remove(player.getObjectId());
		_spawnInfos.remove(player.getObjectId());

		st.addExpAndSp(2586527, 0);
		st.giveItems(ADENA_ID, 5000000);
		st.giveItems(6622, 1, true);
		st.exitQuest(true);
		player.getPlayerClassComponent().setClassId(getClassId(player), false, true);
		if(!player.getPlayerClassComponent().isSubClassActive() && player.getPlayerClassComponent().getBaseClassId() == getPrevClass(player))
		{
			player.getPlayerClassComponent().setBaseClass(getClassId(player));
		}
		player.broadcastCharInfo();
		Cast(st.findTemplate(NPC[0]), player, 4339, 1);
	}
Тут добавляй что тебе будет нужно.
__________________
Magister вне форума Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
itamename-e.dat UFODriverr Lineage II 5 28.02.2021 18:17
Награда по пати L2J Работа со скриптами 7 23.07.2014 20:02
награда за смс Tolyamba18 Работа со скриптами 3 12.01.2013 11:13
Награда за PvP Time of Gods Работа со скриптами 8 03.01.2013 08:40
Cлучайная награда за выполнение заказов kolovratt Серверная часть 1 24.09.2010 14:15


© 2007–2024 «Форум администраторов игровых серверов»
Защита сайта от DDoS атак — StormWall
Работает на Булке неизвестной версии с переводом от zCarot
Текущее время: 07:53. Часовой пояс GMT +3.

Вверх