示例#1
0
 @Override
 public void onAction(L1PcInstance pc) {
   L1Attack attack = new L1Attack(pc, this);
   if (attack.calcHit()) {
     attack.calcDamage();
     attack.addPcPoisonAttack(pc, this);
   }
   attack.action();
   attack.commit();
 }
示例#2
0
 @Override
 public void onAction(L1PcInstance pc, int skillId) {
   L1Attack attack = new L1Attack(pc, this, skillId);
   if (attack.calcHit()) {
     attack.calcDamage();
     attack.calcStaffOfMana();
     attack.addPcPoisonAttack(pc, this);
     attack.addChaserAttack();
   }
   attack.action();
   attack.commit();
 }