Examples of gainExp()


Examples of com.herocraftonline.heroes.characters.Hero.gainExp()

        Hero hero = heroes.getCharacterManager().getHero(event.getPlayer());

        if (hero.hasParty()) {
            hero.getParty().gainExp(heroExp, HeroClass.ExperienceType.EXTERNAL, event.getPlayer().getLocation());
        } else {
            hero.gainExp(heroExp, HeroClass.ExperienceType.EXTERNAL, event.getPlayer().getLocation());
        }
    }

    public static Heroes getHeroes(Plugin plugin) {
        if (!(plugin instanceof com.herocraftonline.heroes.Heroes)) {
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.