Examples of BattleExpMessage


Examples of org.pokenet.server.network.message.battle.BattleExpMessage

        //Make sure that value isn't negative.
        if (expTillLvl < 0){
          expTillLvl = 0;
        }
        TcpProtocolHandler.writeMessage(m_player.getTcpSession(),
            new BattleExpMessage(p.getSpeciesName(), exp, expTillLvl));

        String expGain = exp + "";
        expGain = expGain.substring(0, expGain.indexOf('.'));
        m_player.getTcpSession().write("Pe" + index + expGain);
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.