Groovy Documentation

de.dewarim.goblin.combat
[Groovy] Class WeaponAttribute

java.lang.Object
  de.dewarim.goblin.combat.WeaponAttribute
All Implemented Interfaces:
ICombatAttribute

class WeaponAttribute

Mapping between ItemType and CombatAttributeType. An Item may cause special types of damage (for example, a poisonous blade will cause extra poison damage), and in that case a WeaponAttribute will be added to the ItemType to specify the amount of damage caused. Expansion possibility: also allow individual WeaponAttributes on crafted or enchanted items.


Property Summary
static java.lang.Object belongsTo

java.lang.Double damageModifier

 
Constructor Summary
WeaponAttribute()

 
Method Summary
boolean equals(java.lang.Object o)

CombatAttributeType fetchCombatAttributeType()

java.lang.Double fetchDamageModifier()

int hashCode()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

belongsTo

static java.lang.Object belongsTo


damageModifier

java.lang.Double damageModifier


 
Constructor Detail

WeaponAttribute

WeaponAttribute()


 
Method Detail

equals

boolean equals(java.lang.Object o)


fetchCombatAttributeType

CombatAttributeType fetchCombatAttributeType()


fetchDamageModifier

java.lang.Double fetchDamageModifier()


hashCode

int hashCode()


 

Groovy Documentation