Example #1
0
 public boolean isTraitInvul(TraitType traitType) {
   return _traitsInvul[traitType.getId()] > 0;
 }
Example #2
0
 public boolean hasDefenceTrait(TraitType traitType) {
   return _defenceTraitsCount[traitType.getId()] > 0;
 }
Example #3
0
 public boolean hasAttackTrait(TraitType traitType) {
   return _attackTraitsCount[traitType.getId()] > 0;
 }
Example #4
0
 public float getDefenceTrait(TraitType traitType) {
   return _defenceTraits[traitType.getId()];
 }
Example #5
0
 public float getAttackTrait(TraitType traitType) {
   return _attackTraits[traitType.getId()];
 }