On Essence orc mages have caster skills.
Contributed by manax182.
This commit is contained in:
parent
793614878d
commit
4b919b588b
@ -24,7 +24,6 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
import org.l2jmobius.Config;
|
import org.l2jmobius.Config;
|
||||||
import org.l2jmobius.commons.concurrent.ThreadPool;
|
import org.l2jmobius.commons.concurrent.ThreadPool;
|
||||||
import org.l2jmobius.gameserver.data.xml.ActionData;
|
import org.l2jmobius.gameserver.data.xml.ActionData;
|
||||||
import org.l2jmobius.gameserver.enums.Race;
|
|
||||||
import org.l2jmobius.gameserver.handler.IItemHandler;
|
import org.l2jmobius.gameserver.handler.IItemHandler;
|
||||||
import org.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
import org.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||||
import org.l2jmobius.gameserver.handler.ItemHandler;
|
import org.l2jmobius.gameserver.handler.ItemHandler;
|
||||||
@ -329,7 +328,7 @@ public class AutoUseTaskManager
|
|||||||
|
|
||||||
private boolean isMageCaster(PlayerInstance player)
|
private boolean isMageCaster(PlayerInstance player)
|
||||||
{
|
{
|
||||||
return player.isMageClass() && (player.getRace() != Race.ORC);
|
return player.isMageClass() /* && (player.getRace() != Race.ORC) - On Essence orc mages have caster skills. */;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static AutoUseTaskManager getInstance()
|
public static AutoUseTaskManager getInstance()
|
||||||
|
@ -24,7 +24,6 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
import org.l2jmobius.Config;
|
import org.l2jmobius.Config;
|
||||||
import org.l2jmobius.commons.concurrent.ThreadPool;
|
import org.l2jmobius.commons.concurrent.ThreadPool;
|
||||||
import org.l2jmobius.gameserver.data.xml.ActionData;
|
import org.l2jmobius.gameserver.data.xml.ActionData;
|
||||||
import org.l2jmobius.gameserver.enums.Race;
|
|
||||||
import org.l2jmobius.gameserver.handler.IItemHandler;
|
import org.l2jmobius.gameserver.handler.IItemHandler;
|
||||||
import org.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
import org.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||||
import org.l2jmobius.gameserver.handler.ItemHandler;
|
import org.l2jmobius.gameserver.handler.ItemHandler;
|
||||||
@ -329,7 +328,7 @@ public class AutoUseTaskManager
|
|||||||
|
|
||||||
private boolean isMageCaster(PlayerInstance player)
|
private boolean isMageCaster(PlayerInstance player)
|
||||||
{
|
{
|
||||||
return player.isMageClass() && (player.getRace() != Race.ORC);
|
return player.isMageClass() /* && (player.getRace() != Race.ORC) - On Essence orc mages have caster skills. */;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static AutoUseTaskManager getInstance()
|
public static AutoUseTaskManager getInstance()
|
||||||
|
Loading…
Reference in New Issue
Block a user