public class Armor extends EquipableItem
Modifier and Type | Class and Description |
---|---|
static class |
Armor.Glyph |
Modifier and Type | Field and Description |
---|---|
int |
DR |
Armor.Glyph |
glyph |
int |
STR |
int |
tier |
cursed, cursedKnown, defaultAction, levelKnown, stackable
Constructor and Description |
---|
Armor(int tier) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
actions(Hero hero) |
Item |
degrade() |
boolean |
doEquip(Hero hero) |
boolean |
doUnequip(Hero hero,
boolean collect,
boolean single) |
void |
fromJson(org.json.JSONObject itemDesc) |
ItemSprite.Glowing |
glowing() |
java.lang.String |
info() |
Armor |
inscribe(Armor.Glyph glyph) |
boolean |
isCoveringHair() |
boolean |
isEquipped(Hero hero) |
boolean |
isHasCollar() |
boolean |
isHasHelmet() |
java.lang.String |
name() |
int |
price() |
int |
proc(Char attacker,
Char defender,
int damage) |
Item |
random() |
void |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
java.lang.String |
toString() |
int |
typicalDR() |
int |
typicalSTR() |
Item |
upgrade() |
Item |
upgrade(boolean inscribe) |
cast, doDrop, doUnequip, execute
affectLevelObjects, burn, collect, collect, degrade, desc, detach, detachAll, dontPack, doPickUp, doThrow, emitter, emitterInterval, evoke, execute, freeze, identify, image, imageFile, isFliesFastRotating, isFliesStraight, isIdentified, isUpgradable, level, level, pick, poison, quantity, quantity, removeItemFrom, status, trueName, updateQuickslot, upgrade, virtual, visiblyUpgraded
public int tier
public int STR
public int DR
public Armor.Glyph glyph
public void storeInBundle(Bundle bundle)
storeInBundle
in interface Bundlable
storeInBundle
in class Item
public void restoreFromBundle(Bundle bundle)
restoreFromBundle
in interface Bundlable
restoreFromBundle
in class Item
public java.util.ArrayList<java.lang.String> actions(Hero hero)
public boolean doEquip(Hero hero)
doEquip
in class EquipableItem
public boolean doUnequip(Hero hero, boolean collect, boolean single)
doUnequip
in class EquipableItem
public boolean isEquipped(Hero hero)
isEquipped
in class Item
public Item upgrade(boolean inscribe)
public int typicalSTR()
public int typicalDR()
public Armor inscribe(Armor.Glyph glyph)
public ItemSprite.Glowing glowing()
public boolean isHasHelmet()
public boolean isHasCollar()
public boolean isCoveringHair()