Exemplo n.º 1
0
 protected void calculateSkillModifier() {
   this.skillModifier =
       Misc.skillCheck(manager.getSkillLevel(), Swords.counterAttackMaxBonusLevel);
 }
Exemplo n.º 2
0
 protected CounterAttackEventHandler(SwordsManager manager, LivingEntity attacker, int damage) {
   this.manager = manager;
   this.player = manager.getPlayer();
   this.attacker = attacker;
   this.damage = damage;
 }