Proper import for WorldObject arrays.
This commit is contained in:
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
|
|||||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||||
import com.l2jmobius.gameserver.model.Location;
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
import com.l2jmobius.gameserver.model.StatsSet;
|
import com.l2jmobius.gameserver.model.StatsSet;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
import com.l2jmobius.gameserver.model.holders.ItemHolder;
|
||||||
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc))
|
if (!npc.isDead() && (player.getTarget() == npc))
|
||||||
{
|
{
|
||||||
|
@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
|
|||||||
|
|
||||||
import com.l2jmobius.commons.util.CommonUtil;
|
import com.l2jmobius.commons.util.CommonUtil;
|
||||||
import com.l2jmobius.gameserver.enums.QuestType;
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.WorldObject;
|
||||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, com.l2jmobius.gameserver.model.WorldObject[] targets, boolean isSummon)
|
public String onSkillSee(Npc npc, PlayerInstance player, Skill skill, WorldObject[] targets, boolean isSummon)
|
||||||
{
|
{
|
||||||
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
if (!npc.isDead() && (player.getTarget() == npc) && (skill.getId() == VACCINE))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user