Examples of poison()


Examples of games.stendhal.server.entity.player.Player.poison()

  public boolean attack(final RPEntity victim) {
    final int roll = Rand.roll1D100();
    if (roll <= probability) {
      if (victim instanceof Player) {
        final Player player = (Player) victim;
        if (player.poison(new ConsumableItem(poison))) {
          return true;
        }
      }
    }
    return false;
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.