public class ChaosCrystal extends UsableArtifact implements IChaosItem
Artifact.ArtifactBuff
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AC_FUSE |
static float |
TIME_TO_USE |
cursed, cursedKnown, defaultAction, levelKnown, stackable
Constructor and Description |
---|
ChaosCrystal() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
actions(Hero hero) |
void |
execute(Hero ch,
java.lang.String action) |
int |
getCharge() |
int |
getColor() |
java.lang.String |
getText() |
ItemSprite.Glowing |
glowing() |
Item |
identify() |
java.lang.String |
info() |
boolean |
isIdentified() |
java.lang.String |
name() |
void |
ownerDoesDamage(Char ch,
int damage) |
void |
ownerTakesDamage(int damage) |
void |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
activate, doEquip, doUnequip, isEquipped, isUpgradable
cast, doDrop, doUnequip
affectLevelObjects, burn, collect, collect, degrade, degrade, desc, detach, detachAll, dontPack, doPickUp, doThrow, emitter, emitterInterval, evoke, execute, freeze, fromJson, image, imageFile, isFliesFastRotating, isFliesStraight, level, level, pick, poison, price, quantity, quantity, random, removeItemFrom, status, toString, trueName, updateQuickslot, upgrade, upgrade, virtual, visiblyUpgraded
public static final float TIME_TO_USE
public static final java.lang.String AC_FUSE
public boolean isIdentified()
isIdentified
in class Item
public ItemSprite.Glowing glowing()
public void execute(Hero ch, java.lang.String action)
execute
in class EquipableItem
public java.util.ArrayList<java.lang.String> actions(Hero hero)
actions
in class UsableArtifact
public void ownerTakesDamage(int damage)
ownerTakesDamage
in interface IChaosItem
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 void ownerDoesDamage(Char ch, int damage)
ownerDoesDamage
in interface IChaosItem
public int getCharge()
getCharge
in interface IChaosItem