Package net.sf.l2j.gameserver.skills.conditions

Examples of net.sf.l2j.gameserver.skills.conditions.Condition.test()


        env.player = activeChar;
        if (target instanceof L2Character) // TODO: object or char?
          env.target = (L2Character)target;
        env.skill = this;

        if (!preCondition.test(env))
        {
            String msg = preCondition.getMessage();
            if (msg != null)
            {
                SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.