Examples of npcKills()


Examples of org.moparscape.msc.gs.model.player.attribute.KillDeathHistory.npcKills()

  public void killedBy(Mob mob, boolean stake) {
    if (mob instanceof Player) {
      Player player = (Player) mob;
      player.getActionSender().sendSound("victory");
      KillDeathHistory kdh = player.getProperty("killDeathHistory");
      kdh.npcKills_$eq(kdh.npcKills() + 1);
    }

    Mob opponent = super.getOpponent();
    if (opponent != null) {
      opponent.resetCombat(CombatState.WON);
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.