Updated StatsSet to match newer branches.
This commit is contained in:
@@ -33,6 +33,7 @@ import org.l2jmobius.gameserver.geoengine.GeoEngine;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.Skill;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.World;
|
||||
import org.l2jmobius.gameserver.model.actor.Creature;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance;
|
||||
@@ -46,7 +47,6 @@ import org.l2jmobius.gameserver.network.serverpackets.Earthquake;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.GameServerPacket;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SpecialCamera;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
import org.l2jmobius.gameserver.templates.creatures.NpcTemplate;
|
||||
|
||||
/**
|
||||
@@ -259,12 +259,12 @@ public class Antharas extends Quest
|
||||
}
|
||||
else if (status == FIGHTING)
|
||||
{
|
||||
final int loc_x = info.getInteger("loc_x");
|
||||
final int loc_y = info.getInteger("loc_y");
|
||||
final int loc_z = info.getInteger("loc_z");
|
||||
final int heading = info.getInteger("heading");
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int loc_x = info.getInt("loc_x");
|
||||
final int loc_y = info.getInt("loc_y");
|
||||
final int loc_z = info.getInt("loc_z");
|
||||
final int heading = info.getInt("heading");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
_antharas = (GrandBossInstance) addSpawn(ANTHARASOLDID, loc_x, loc_y, loc_z, heading, false, 0);
|
||||
GrandBossManager.getInstance().addBoss(_antharas);
|
||||
_antharas.setCurrentHpMp(hp, mp);
|
||||
@@ -312,12 +312,12 @@ public class Antharas extends Quest
|
||||
if ((antharasId != 0) && (status == FIGHTING))
|
||||
{
|
||||
final StatsSet info = GrandBossManager.getInstance().getStatsSet(antharasId);
|
||||
final int loc_x = info.getInteger("loc_x");
|
||||
final int loc_y = info.getInteger("loc_y");
|
||||
final int loc_z = info.getInteger("loc_z");
|
||||
final int heading = info.getInteger("heading");
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int loc_x = info.getInt("loc_x");
|
||||
final int loc_y = info.getInt("loc_y");
|
||||
final int loc_z = info.getInt("loc_z");
|
||||
final int heading = info.getInt("heading");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
_antharas = (GrandBossInstance) addSpawn(antharasId, loc_x, loc_y, loc_z, heading, false, 0);
|
||||
GrandBossManager.getInstance().addBoss(_antharas);
|
||||
_antharas.setCurrentHpMp(hp, mp);
|
||||
|
@@ -33,6 +33,7 @@ import org.l2jmobius.gameserver.geoengine.GeoEngine;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.Effect;
|
||||
import org.l2jmobius.gameserver.model.Skill;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.WorldObject;
|
||||
import org.l2jmobius.gameserver.model.actor.Creature;
|
||||
import org.l2jmobius.gameserver.model.actor.Summon;
|
||||
@@ -48,7 +49,6 @@ import org.l2jmobius.gameserver.network.serverpackets.Earthquake;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.MoveToPawn;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
import org.l2jmobius.gameserver.util.Util;
|
||||
|
||||
/**
|
||||
@@ -139,12 +139,12 @@ public class Baium extends Quest
|
||||
}
|
||||
else if (status == AWAKE)
|
||||
{
|
||||
final int loc_x = info.getInteger("loc_x");
|
||||
final int loc_y = info.getInteger("loc_y");
|
||||
final int loc_z = info.getInteger("loc_z");
|
||||
final int heading = info.getInteger("heading");
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int loc_x = info.getInt("loc_x");
|
||||
final int loc_y = info.getInt("loc_y");
|
||||
final int loc_z = info.getInt("loc_z");
|
||||
final int heading = info.getInt("heading");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
final GrandBossInstance baium = (GrandBossInstance) addSpawn(LIVE_BAIUM, loc_x, loc_y, loc_z, heading, false, 0);
|
||||
if (Config.ANNOUNCE_TO_ALL_SPAWN_RB)
|
||||
{
|
||||
|
@@ -26,6 +26,7 @@ import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.util.Rnd;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.actor.Attackable;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.NpcInstance;
|
||||
@@ -34,7 +35,6 @@ import org.l2jmobius.gameserver.model.entity.Announcements;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.CreatureSay;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
|
||||
/**
|
||||
* Core AI
|
||||
|
@@ -28,6 +28,7 @@ import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.CommandChannel;
|
||||
import org.l2jmobius.gameserver.model.Party;
|
||||
import org.l2jmobius.gameserver.model.Skill;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.actor.Attackable;
|
||||
import org.l2jmobius.gameserver.model.actor.Creature;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance;
|
||||
@@ -47,7 +48,6 @@ import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SpecialCamera;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
|
||||
/**
|
||||
* Frintezza AI
|
||||
|
@@ -21,13 +21,13 @@ import org.l2jmobius.commons.util.Rnd;
|
||||
import org.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import org.l2jmobius.gameserver.datatables.SkillTable;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.NpcInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.entity.Announcements;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
|
||||
/**
|
||||
* @author Shyla
|
||||
@@ -94,8 +94,8 @@ public class Orfen extends Quest
|
||||
final int loc_y = 17368;
|
||||
final int loc_z = -5412;
|
||||
final int heading = 0;
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
_orfen = (GrandBossInstance) addSpawn(ORFEN, loc_x, loc_y, loc_z, heading, false, 0);
|
||||
if (Config.ANNOUNCE_TO_ALL_SPAWN_RB)
|
||||
{
|
||||
|
@@ -24,6 +24,7 @@ import org.l2jmobius.commons.util.Rnd;
|
||||
import org.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import org.l2jmobius.gameserver.datatables.SkillTable;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.actor.Attackable;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.MonsterInstance;
|
||||
@@ -34,7 +35,6 @@ import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.zone.type.BossZone;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
|
||||
public class QueenAnt extends Quest
|
||||
{
|
||||
@@ -121,8 +121,8 @@ public class QueenAnt extends Quest
|
||||
/*
|
||||
* int loc_x = info.getInteger("loc_x"); int loc_y = info.getInteger("loc_y"); int loc_z = info.getInteger("loc_z"); int heading = info.getInteger("heading");
|
||||
*/
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
final GrandBossInstance queen = (GrandBossInstance) addSpawn(QUEEN, -21610, 181594, -5734, 0, false, 0);
|
||||
if (Config.ANNOUNCE_TO_ALL_SPAWN_RB)
|
||||
{
|
||||
|
@@ -28,6 +28,7 @@ import org.l2jmobius.gameserver.datatables.SkillTable;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.Effect;
|
||||
import org.l2jmobius.gameserver.model.Skill;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.WorldObject;
|
||||
import org.l2jmobius.gameserver.model.actor.Creature;
|
||||
import org.l2jmobius.gameserver.model.actor.Summon;
|
||||
@@ -40,7 +41,6 @@ import org.l2jmobius.gameserver.model.zone.type.BossZone;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SocialAction;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SpecialCamera;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
import org.l2jmobius.gameserver.util.Util;
|
||||
|
||||
/**
|
||||
@@ -122,8 +122,8 @@ public class Valakas extends Quest
|
||||
final int loc_z = -1595;
|
||||
final int heading = 0;
|
||||
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
final GrandBossInstance valakas = (GrandBossInstance) addSpawn(VALAKAS, loc_x, loc_y, loc_z, heading, false, 0);
|
||||
GrandBossManager.getInstance().addBoss(valakas);
|
||||
final NpcInstance _valakas = valakas;
|
||||
|
@@ -41,6 +41,7 @@ import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.Effect;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.Skill;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.DoorInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.NpcInstance;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
@@ -49,7 +50,6 @@ import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.spawn.Spawn;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.MagicSkillUse;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.SpecialCamera;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
import org.l2jmobius.gameserver.templates.creatures.NpcTemplate;
|
||||
|
||||
/**
|
||||
|
@@ -28,6 +28,7 @@ import org.l2jmobius.gameserver.datatables.csv.DoorTable;
|
||||
import org.l2jmobius.gameserver.instancemanager.GrandBossManager;
|
||||
import org.l2jmobius.gameserver.model.Effect;
|
||||
import org.l2jmobius.gameserver.model.Skill;
|
||||
import org.l2jmobius.gameserver.model.StatsSet;
|
||||
import org.l2jmobius.gameserver.model.actor.Attackable;
|
||||
import org.l2jmobius.gameserver.model.actor.Creature;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.GrandBossInstance;
|
||||
@@ -36,7 +37,6 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.zone.type.BossZone;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
import org.l2jmobius.gameserver.templates.StatsSet;
|
||||
|
||||
/**
|
||||
* Zaken AI
|
||||
@@ -185,12 +185,12 @@ public class Zaken extends Quest
|
||||
}
|
||||
else
|
||||
{
|
||||
final int loc_x = info.getInteger("loc_x");
|
||||
final int loc_y = info.getInteger("loc_y");
|
||||
final int loc_z = info.getInteger("loc_z");
|
||||
final int heading = info.getInteger("heading");
|
||||
final int hp = info.getInteger("currentHP");
|
||||
final int mp = info.getInteger("currentMP");
|
||||
final int loc_x = info.getInt("loc_x");
|
||||
final int loc_y = info.getInt("loc_y");
|
||||
final int loc_z = info.getInt("loc_z");
|
||||
final int heading = info.getInt("heading");
|
||||
final int hp = info.getInt("currentHP");
|
||||
final int mp = info.getInt("currentMP");
|
||||
final GrandBossInstance zaken = (GrandBossInstance) addSpawn(ZAKEN, loc_x, loc_y, loc_z, heading, false, 0);
|
||||
zaken.setCurrentHpMp(hp, mp);
|
||||
spawnBoss(zaken);
|
||||
|
@@ -89,7 +89,7 @@ public class Q211_TrialOfTheChallenger extends Quest
|
||||
st.set("cond", "1");
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange35", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange35", false))
|
||||
{
|
||||
htmltext = "30644-05a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_35.get(player.getClassId().getId()));
|
||||
|
@@ -85,7 +85,7 @@ public class Q212_TrialOfDuty extends Quest
|
||||
st.set("cond", "1");
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange35", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange35", false))
|
||||
{
|
||||
htmltext = "30109-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_35.get(player.getClassId().getId()));
|
||||
|
@@ -107,7 +107,7 @@ public class Q213_TrialOfTheSeeker extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(DUFNER_LETTER, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange35", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange35", false))
|
||||
{
|
||||
htmltext = "30106-05a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_35.get(player.getClassId().getId()));
|
||||
|
@@ -135,7 +135,7 @@ public class Q214_TrialOfTheScholar extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(MIRIEN_SIGIL_1, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange35", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange35", false))
|
||||
{
|
||||
htmltext = "30461-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_35.get(player.getClassId().getId()));
|
||||
|
@@ -93,7 +93,7 @@ public class Q215_TrialOfThePilgrim extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(VOUCHER_OF_TRIAL, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange35", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange35", false))
|
||||
{
|
||||
htmltext = "30648-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_35.get(player.getClassId().getId()));
|
||||
|
@@ -110,7 +110,7 @@ public class Q216_TrialOfTheGuildsman extends Quest
|
||||
st.takeItems(57, 2000);
|
||||
st.giveItems(VALKON_RECOMMENDATION, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange35", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange35", false))
|
||||
{
|
||||
htmltext = "30103-06d.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_35.get(player.getClassId().getId()));
|
||||
|
@@ -123,7 +123,7 @@ public class Q217_TestimonyOfTrust extends Quest
|
||||
st.giveItems(LETTER_TO_ELF, 1);
|
||||
st.giveItems(LETTER_TO_DARK_ELF, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange37", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange37", false))
|
||||
{
|
||||
htmltext = "30191-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_37.get(player.getRace().ordinal()));
|
||||
|
@@ -108,7 +108,7 @@ public class Q218_TestimonyOfLife extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(CARDIEN_LETTER, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange37", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange37", false))
|
||||
{
|
||||
htmltext = "30460-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_37.get(player.getRace().ordinal()));
|
||||
|
@@ -138,7 +138,7 @@ public class Q219_TestimonyOfFate extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(KAIRA_LETTER, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange37", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange37", false))
|
||||
{
|
||||
htmltext = "30476-05a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_37.get(player.getRace().ordinal()));
|
||||
|
@@ -136,7 +136,7 @@ public class Q220_TestimonyOfGlory extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(VOKIAN_ORDER_1, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange37", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange37", false))
|
||||
{
|
||||
htmltext = "30514-05a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_37.get(player.getRace().ordinal()));
|
||||
|
@@ -140,7 +140,7 @@ public class Q221_TestimonyOfProsperity extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(RING_OF_TESTIMONY_1, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange37", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange37", false))
|
||||
{
|
||||
htmltext = "30104-04e.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_37.get(player.getRace().ordinal()));
|
||||
|
@@ -114,7 +114,7 @@ public class Q222_TestOfTheDuelist extends Quest
|
||||
st.giveItems(ORDER_OREN, 1);
|
||||
st.giveItems(ORDER_ADEN, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30623-07a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -103,7 +103,7 @@ public class Q223_TestOfTheChampion extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(ASCALON_LETTER_1, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30624-06a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -112,7 +112,7 @@ public class Q224_TestOfSagittarius extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(BERNARD_INTRODUCTION, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30702-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -108,7 +108,7 @@ public class Q225_TestOfTheSearcher extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(LUTHER_LETTER, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30690-05a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -99,7 +99,7 @@ public class Q226_TestOfTheHealer extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(REPORT_OF_PERRIN, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30473-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -122,7 +122,7 @@ public class Q227_TestOfTheReformer extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(BOOK_OF_REFORM, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30118-04b.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -111,7 +111,7 @@ public class Q228_TestOfMagus extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(RUKAL_LETTER, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30629-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -125,7 +125,7 @@ public class Q229_TestOfWitchcraft extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(ORIM_DIAGRAM, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30630-08a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -202,7 +202,7 @@ public class Q230_TestOfTheSummoner extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(GALATEA_LETTER, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30634-08a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -96,7 +96,7 @@ public class Q231_TestOfTheMaestro extends Quest
|
||||
st.set("cond", "1");
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30531-04a.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -105,7 +105,7 @@ public class Q232_TestOfTheLord extends Quest
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
st.giveItems(ORDEAL_NECKLACE, 1);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30565-05b.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
@@ -120,7 +120,7 @@ public class Q233_TestOfTheWarSpirit extends Quest
|
||||
st.set("cond", "1");
|
||||
st.playSound(QuestState.SOUND_ACCEPT);
|
||||
|
||||
if (!player.getVariables().getBool("secondClassChange39", false))
|
||||
if (!player.getVariables().getBoolean("secondClassChange39", false))
|
||||
{
|
||||
htmltext = "30510-05e.htm";
|
||||
st.giveItems(DIMENSIONAL_DIAMOND, DF_REWARD_39.get(player.getClassId().getId()));
|
||||
|
Reference in New Issue
Block a user