Examples of femaleOnly()


Examples of org.moparscape.msc.gs.model.definition.skill.ItemWieldableDef.femaleOnly()

      Inventory inv = player.getInventory();
      for (int slot = 0; slot < inv.size(); slot++) {
        InvItem i = inv.getSlot(slot);
        ItemWieldableDef def = ItemAttributes.getWieldable(i.id);
        if (ItemAttributes.isWieldable(i.id) && def.getWieldPos() == 1
            && i.wielded && def.femaleOnly()) {
          inv.setWield(slot, false);
          player.updateWornItems(def.getWieldPos(), player
              .getPlayerAppearance().getSprite(def.getWieldPos()));
          player.getActionSender().sendUpdateItem(slot);
          break;
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.