Removed list from MountEnabledSkillList.

This commit is contained in:
MobiusDevelopment 2021-04-16 17:36:47 +00:00
parent 7810605bff
commit 66e894b70c
21 changed files with 63 additions and 210 deletions

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}

View File

@ -16,23 +16,16 @@
*/
package org.l2jmobius.gameserver.model.skills;
import java.util.ArrayList;
import java.util.List;
/**
* @author Mobius
*/
public class MountEnabledSkillList
{
private static final List<Integer> ENABLED_SKILLS = new ArrayList<>(2);
static
{
ENABLED_SKILLS.add(4289); // Wyvern Breath
ENABLED_SKILLS.add(325); // Strider Siege Assault
}
private static final int STRIDER_SIEGE_ASSAULT = 325;
private static final int WYVERN_BREATH = 4289;
public static boolean contains(int skillId)
{
return ENABLED_SKILLS.contains(skillId);
return (skillId == STRIDER_SIEGE_ASSAULT) || (skillId == WYVERN_BREATH);
}
}