public static enum Model.ItemEnchantment.Type extends java.lang.Enum<Model.ItemEnchantment.Type> implements com.google.protobuf.Internal.EnumLite
TODO: Dictate in the Rules which ItemEnchantment Types can be applied to which Item Types. TODO: Dictate rarity of each ItemEnchantment Type (except OTHER) in the Rules.Protobuf enum
ca.isupeene.charactersheet.cdk.ItemEnchantment.Type| Enum Constant and Description |
|---|
ABILITY_CHECK_ADVANTAGE
ABILITY_CHECK_ADVANTAGE = 11; |
ABILITY_SCORE_INCREASE
ABILITY_SCORE_INCREASE = 10; |
AC_BONUS
AC_BONUS = 3; |
ADAMANTINE
For armor, turns critical hits into normal hits.
|
ATTACK_AND_DAMAGE_BONUS
For weapons and ammunition, grants the attack and damage bonus only when the attack uses that
weapon or ammunition.
|
CLIMBING_SPEED
CLIMBING_SPEED = 22; |
CONDITION_IMMUNITY
CONDITION_IMMUNITY = 32; |
DAMAGE_BONUS
DAMAGE_BONUS = 2; |
DAMAGE_IMMUNITY
DAMAGE_IMMUNITY = 8; |
DAMAGE_RESISTANCE
DAMAGE_RESISTANCE = 7; |
DARKVISION
DARKVISION = 13; |
DISEASE_IMMUNITY
DISEASE_IMMUNITY = 31; |
EFFECT
EFFECT = 17; |
FLYING_SPEED
FLYING_SPEED = 24; |
HIT_POINTS
HIT_POINTS = 15; |
IGNORE_ARMOR_SPEED_PENALTY
IGNORE_ARMOR_SPEED_PENALTY = 21; |
IGNORE_DIFFICULT_TERRAIN
IGNORE_DIFFICULT_TERRAIN = 33; |
IGNORE_ENCUMBRANCE_SPEED_PENALTY
IGNORE_ENCUMBRANCE_SPEED_PENALTY = 20; |
IGNORE_PROFICIENCY_RESTRICTIONS
IGNORE_PROFICIENCY_RESTRICTIONS = 26; |
IGNORE_STRENGTH_RESTRICTIONS
E.g.
|
JUMP_MULTIPLIER
JUMP_MULTIPLIER = 18; |
MAX_ABILITY_SCORE_INCREASE
E.g.
|
MINIMUM_ABILITY_SCORE
Increases the specified ability score to the specified minimum.
|
MINIMUM_WALKING_SPEED
MINIMUM_WALKING_SPEED = 19; |
OTHER
Used for effects that are not handled by the Character Sheet app itself, but are instead
merely described textually.
|
PROFICIENCY_BONUS_INCREASE
PROFICIENCY_BONUS_INCREASE = 29; |
SAVING_THROW_ADVANTAGE
SAVING_THROW_ADVANTAGE = 12; |
SAVING_THROW_BONUS
SAVING_THROW_BONUS = 4; |
SLAYING
SLAYING = 9; |
SPELL_AT_WILL
TODO: Merge into "EFFECT"?
|
SPELL_ATTACK_BONUS
SPELL_ATTACK_BONUS = 34; |
SPELL_SAVE_DC_BONUS
SPELL_SAVE_DC_BONUS = 35; |
SWIMMING_SPEED
SWIMMING_SPEED = 23; |
TALENT_PROFICIENCY
TALENT_PROFICIENCY = 14; |
UNARMED_STRIKE_ENHANCEMENT
UNARMED_STRIKE_ENHANCEMENT = 25; |
UNRECOGNIZED |
WALKING_SPEED
WALKING_SPEED = 28; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ABILITY_CHECK_ADVANTAGE_VALUE
ABILITY_CHECK_ADVANTAGE = 11; |
static int |
ABILITY_SCORE_INCREASE_VALUE
ABILITY_SCORE_INCREASE = 10; |
static int |
AC_BONUS_VALUE
AC_BONUS = 3; |
static int |
ADAMANTINE_VALUE
For armor, turns critical hits into normal hits.
|
static int |
ATTACK_AND_DAMAGE_BONUS_VALUE
For weapons and ammunition, grants the attack and damage bonus only when the attack uses that
weapon or ammunition.
|
static int |
CLIMBING_SPEED_VALUE
CLIMBING_SPEED = 22; |
static int |
CONDITION_IMMUNITY_VALUE
CONDITION_IMMUNITY = 32; |
static int |
DAMAGE_BONUS_VALUE
DAMAGE_BONUS = 2; |
static int |
DAMAGE_IMMUNITY_VALUE
DAMAGE_IMMUNITY = 8; |
static int |
DAMAGE_RESISTANCE_VALUE
DAMAGE_RESISTANCE = 7; |
static int |
DARKVISION_VALUE
DARKVISION = 13; |
static int |
DISEASE_IMMUNITY_VALUE
DISEASE_IMMUNITY = 31; |
static int |
EFFECT_VALUE
EFFECT = 17; |
static int |
FLYING_SPEED_VALUE
FLYING_SPEED = 24; |
static int |
HIT_POINTS_VALUE
HIT_POINTS = 15; |
static int |
IGNORE_ARMOR_SPEED_PENALTY_VALUE
IGNORE_ARMOR_SPEED_PENALTY = 21; |
static int |
IGNORE_DIFFICULT_TERRAIN_VALUE
IGNORE_DIFFICULT_TERRAIN = 33; |
static int |
IGNORE_ENCUMBRANCE_SPEED_PENALTY_VALUE
IGNORE_ENCUMBRANCE_SPEED_PENALTY = 20; |
static int |
IGNORE_PROFICIENCY_RESTRICTIONS_VALUE
IGNORE_PROFICIENCY_RESTRICTIONS = 26; |
static int |
IGNORE_STRENGTH_RESTRICTIONS_VALUE
E.g.
|
static int |
JUMP_MULTIPLIER_VALUE
JUMP_MULTIPLIER = 18; |
static int |
MAX_ABILITY_SCORE_INCREASE_VALUE
E.g.
|
static int |
MINIMUM_ABILITY_SCORE_VALUE
Increases the specified ability score to the specified minimum.
|
static int |
MINIMUM_WALKING_SPEED_VALUE
MINIMUM_WALKING_SPEED = 19; |
static int |
OTHER_VALUE
Used for effects that are not handled by the Character Sheet app itself, but are instead
merely described textually.
|
static int |
PROFICIENCY_BONUS_INCREASE_VALUE
PROFICIENCY_BONUS_INCREASE = 29; |
static int |
SAVING_THROW_ADVANTAGE_VALUE
SAVING_THROW_ADVANTAGE = 12; |
static int |
SAVING_THROW_BONUS_VALUE
SAVING_THROW_BONUS = 4; |
static int |
SLAYING_VALUE
SLAYING = 9; |
static int |
SPELL_AT_WILL_VALUE
TODO: Merge into "EFFECT"?
|
static int |
SPELL_ATTACK_BONUS_VALUE
SPELL_ATTACK_BONUS = 34; |
static int |
SPELL_SAVE_DC_BONUS_VALUE
SPELL_SAVE_DC_BONUS = 35; |
static int |
SWIMMING_SPEED_VALUE
SWIMMING_SPEED = 23; |
static int |
TALENT_PROFICIENCY_VALUE
TALENT_PROFICIENCY = 14; |
static int |
UNARMED_STRIKE_ENHANCEMENT_VALUE
UNARMED_STRIKE_ENHANCEMENT = 25; |
static int |
WALKING_SPEED_VALUE
WALKING_SPEED = 28; |
| Modifier and Type | Method and Description |
|---|---|
static Model.ItemEnchantment.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.ItemEnchantment.Type> |
internalGetValueMap() |
static Model.ItemEnchantment.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.ItemEnchantment.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.ItemEnchantment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.ItemEnchantment.Type OTHER
Used for effects that are not handled by the Character Sheet app itself, but are instead merely described textually. It is up to the player and the DM to implement the effect. Example magic items include "Amulet of Proof against Detection and Location".
OTHER = 0;public static final Model.ItemEnchantment.Type ATTACK_AND_DAMAGE_BONUS
For weapons and ammunition, grants the attack and damage bonus only when the attack uses that weapon or ammunition. For all other items, all weapons and ammunition are affected. TODO: May need other restrictions. E.g. a magic gauntlet might only apply bonuses only to attacks with that hand
ATTACK_AND_DAMAGE_BONUS = 1;public static final Model.ItemEnchantment.Type DAMAGE_BONUS
DAMAGE_BONUS = 2;public static final Model.ItemEnchantment.Type AC_BONUS
AC_BONUS = 3;public static final Model.ItemEnchantment.Type SAVING_THROW_BONUS
SAVING_THROW_BONUS = 4;public static final Model.ItemEnchantment.Type ADAMANTINE
For armor, turns critical hits into normal hits. For weapons, deals automatic critical hits to objects, and bypasses resistance and immunity to nonmagical weapons when specified in the monster's stat block.
ADAMANTINE = 5;public static final Model.ItemEnchantment.Type MINIMUM_ABILITY_SCORE
Increases the specified ability score to the specified minimum. Has no effect if the character's specified ability score is already greater than or equal to the specified minimum.
MINIMUM_ABILITY_SCORE = 6;public static final Model.ItemEnchantment.Type DAMAGE_RESISTANCE
DAMAGE_RESISTANCE = 7;public static final Model.ItemEnchantment.Type DAMAGE_IMMUNITY
DAMAGE_IMMUNITY = 8;public static final Model.ItemEnchantment.Type SLAYING
SLAYING = 9;public static final Model.ItemEnchantment.Type ABILITY_SCORE_INCREASE
ABILITY_SCORE_INCREASE = 10;public static final Model.ItemEnchantment.Type MAX_ABILITY_SCORE_INCREASE
E.g. Manual of Bodily Health, Hammer of Thunderbolts
MAX_ABILITY_SCORE_INCREASE = 27;public static final Model.ItemEnchantment.Type ABILITY_CHECK_ADVANTAGE
ABILITY_CHECK_ADVANTAGE = 11;public static final Model.ItemEnchantment.Type SAVING_THROW_ADVANTAGE
SAVING_THROW_ADVANTAGE = 12;public static final Model.ItemEnchantment.Type DARKVISION
DARKVISION = 13;public static final Model.ItemEnchantment.Type TALENT_PROFICIENCY
TALENT_PROFICIENCY = 14;public static final Model.ItemEnchantment.Type HIT_POINTS
HIT_POINTS = 15;public static final Model.ItemEnchantment.Type SPELL_AT_WILL
TODO: Merge into "EFFECT"?
SPELL_AT_WILL = 16;public static final Model.ItemEnchantment.Type EFFECT
EFFECT = 17;public static final Model.ItemEnchantment.Type JUMP_MULTIPLIER
JUMP_MULTIPLIER = 18;public static final Model.ItemEnchantment.Type IGNORE_ENCUMBRANCE_SPEED_PENALTY
IGNORE_ENCUMBRANCE_SPEED_PENALTY = 20;public static final Model.ItemEnchantment.Type IGNORE_ARMOR_SPEED_PENALTY
IGNORE_ARMOR_SPEED_PENALTY = 21;public static final Model.ItemEnchantment.Type WALKING_SPEED
WALKING_SPEED = 28;public static final Model.ItemEnchantment.Type MINIMUM_WALKING_SPEED
MINIMUM_WALKING_SPEED = 19;public static final Model.ItemEnchantment.Type CLIMBING_SPEED
CLIMBING_SPEED = 22;public static final Model.ItemEnchantment.Type SWIMMING_SPEED
SWIMMING_SPEED = 23;public static final Model.ItemEnchantment.Type FLYING_SPEED
FLYING_SPEED = 24;public static final Model.ItemEnchantment.Type IGNORE_DIFFICULT_TERRAIN
IGNORE_DIFFICULT_TERRAIN = 33;public static final Model.ItemEnchantment.Type UNARMED_STRIKE_ENHANCEMENT
UNARMED_STRIKE_ENHANCEMENT = 25;public static final Model.ItemEnchantment.Type IGNORE_PROFICIENCY_RESTRICTIONS
IGNORE_PROFICIENCY_RESTRICTIONS = 26;public static final Model.ItemEnchantment.Type IGNORE_STRENGTH_RESTRICTIONS
E.g. Mithral Armor
IGNORE_STRENGTH_RESTRICTIONS = 30;public static final Model.ItemEnchantment.Type PROFICIENCY_BONUS_INCREASE
PROFICIENCY_BONUS_INCREASE = 29;public static final Model.ItemEnchantment.Type DISEASE_IMMUNITY
DISEASE_IMMUNITY = 31;public static final Model.ItemEnchantment.Type CONDITION_IMMUNITY
CONDITION_IMMUNITY = 32;public static final Model.ItemEnchantment.Type SPELL_ATTACK_BONUS
SPELL_ATTACK_BONUS = 34;public static final Model.ItemEnchantment.Type SPELL_SAVE_DC_BONUS
SPELL_SAVE_DC_BONUS = 35;public static final Model.ItemEnchantment.Type UNRECOGNIZED
public static final int OTHER_VALUE
Used for effects that are not handled by the Character Sheet app itself, but are instead merely described textually. It is up to the player and the DM to implement the effect. Example magic items include "Amulet of Proof against Detection and Location".
OTHER = 0;public static final int ATTACK_AND_DAMAGE_BONUS_VALUE
For weapons and ammunition, grants the attack and damage bonus only when the attack uses that weapon or ammunition. For all other items, all weapons and ammunition are affected. TODO: May need other restrictions. E.g. a magic gauntlet might only apply bonuses only to attacks with that hand
ATTACK_AND_DAMAGE_BONUS = 1;public static final int DAMAGE_BONUS_VALUE
DAMAGE_BONUS = 2;public static final int AC_BONUS_VALUE
AC_BONUS = 3;public static final int SAVING_THROW_BONUS_VALUE
SAVING_THROW_BONUS = 4;public static final int ADAMANTINE_VALUE
For armor, turns critical hits into normal hits. For weapons, deals automatic critical hits to objects, and bypasses resistance and immunity to nonmagical weapons when specified in the monster's stat block.
ADAMANTINE = 5;public static final int MINIMUM_ABILITY_SCORE_VALUE
Increases the specified ability score to the specified minimum. Has no effect if the character's specified ability score is already greater than or equal to the specified minimum.
MINIMUM_ABILITY_SCORE = 6;public static final int DAMAGE_RESISTANCE_VALUE
DAMAGE_RESISTANCE = 7;public static final int DAMAGE_IMMUNITY_VALUE
DAMAGE_IMMUNITY = 8;public static final int SLAYING_VALUE
SLAYING = 9;public static final int ABILITY_SCORE_INCREASE_VALUE
ABILITY_SCORE_INCREASE = 10;public static final int MAX_ABILITY_SCORE_INCREASE_VALUE
E.g. Manual of Bodily Health, Hammer of Thunderbolts
MAX_ABILITY_SCORE_INCREASE = 27;public static final int ABILITY_CHECK_ADVANTAGE_VALUE
ABILITY_CHECK_ADVANTAGE = 11;public static final int SAVING_THROW_ADVANTAGE_VALUE
SAVING_THROW_ADVANTAGE = 12;public static final int DARKVISION_VALUE
DARKVISION = 13;public static final int TALENT_PROFICIENCY_VALUE
TALENT_PROFICIENCY = 14;public static final int HIT_POINTS_VALUE
HIT_POINTS = 15;public static final int SPELL_AT_WILL_VALUE
TODO: Merge into "EFFECT"?
SPELL_AT_WILL = 16;public static final int EFFECT_VALUE
EFFECT = 17;public static final int JUMP_MULTIPLIER_VALUE
JUMP_MULTIPLIER = 18;public static final int IGNORE_ENCUMBRANCE_SPEED_PENALTY_VALUE
IGNORE_ENCUMBRANCE_SPEED_PENALTY = 20;public static final int IGNORE_ARMOR_SPEED_PENALTY_VALUE
IGNORE_ARMOR_SPEED_PENALTY = 21;public static final int WALKING_SPEED_VALUE
WALKING_SPEED = 28;public static final int MINIMUM_WALKING_SPEED_VALUE
MINIMUM_WALKING_SPEED = 19;public static final int CLIMBING_SPEED_VALUE
CLIMBING_SPEED = 22;public static final int SWIMMING_SPEED_VALUE
SWIMMING_SPEED = 23;public static final int FLYING_SPEED_VALUE
FLYING_SPEED = 24;public static final int IGNORE_DIFFICULT_TERRAIN_VALUE
IGNORE_DIFFICULT_TERRAIN = 33;public static final int UNARMED_STRIKE_ENHANCEMENT_VALUE
UNARMED_STRIKE_ENHANCEMENT = 25;public static final int IGNORE_PROFICIENCY_RESTRICTIONS_VALUE
IGNORE_PROFICIENCY_RESTRICTIONS = 26;public static final int IGNORE_STRENGTH_RESTRICTIONS_VALUE
E.g. Mithral Armor
IGNORE_STRENGTH_RESTRICTIONS = 30;public static final int PROFICIENCY_BONUS_INCREASE_VALUE
PROFICIENCY_BONUS_INCREASE = 29;public static final int DISEASE_IMMUNITY_VALUE
DISEASE_IMMUNITY = 31;public static final int CONDITION_IMMUNITY_VALUE
CONDITION_IMMUNITY = 32;public static final int SPELL_ATTACK_BONUS_VALUE
SPELL_ATTACK_BONUS = 34;public static final int SPELL_SAVE_DC_BONUS_VALUE
SPELL_SAVE_DC_BONUS = 35;public static Model.ItemEnchantment.Type[] values()
for (Model.ItemEnchantment.Type c : Model.ItemEnchantment.Type.values()) System.out.println(c);
public static Model.ItemEnchantment.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static Model.ItemEnchantment.Type valueOf(int value)
forNumber(int) instead.public static Model.ItemEnchantment.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.ItemEnchantment.Type> internalGetValueMap()