Proper import for WorldObject arrays.

This commit is contained in:
MobiusDevelopment
2019-03-28 12:32:12 +00:00
parent d78a0489d1
commit 64570493f6
21 changed files with 42 additions and 21 deletions

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds1;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -231,7 +232,7 @@ public final class FaeronTrainingGrounds1 extends AbstractInstance
}
@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))
{

View File

@@ -19,6 +19,7 @@ package instances.FaeronTrainingGrounds2;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.Location;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
@@ -228,7 +229,7 @@ public final class FaeronTrainingGrounds2 extends AbstractInstance
}
@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))
{

View File

@@ -18,6 +18,7 @@ package quests.Q00753_ReactingToACrisis;
import com.l2jmobius.commons.util.CommonUtil;
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.instance.PlayerInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
@@ -149,7 +150,7 @@ public final class Q00753_ReactingToACrisis extends Quest
}
@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))
{