1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 08:52:51 +00:00

Semi-working attack service

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-30 20:02:19 -03:00
parent 52d4be0bf2
commit ae3007559f
61 changed files with 537 additions and 181 deletions

View File

@@ -78,6 +78,22 @@ public class AttackHit {
}
}
/**
* Creates a new instance
*
* @param attacker
* the actor attacking <tt>target</tt>
* @param target
* the actor being attacked by <tt>attacker</tt>
* @param damage
* the damage issued in this hit
*/
public AttackHit(Actor attacker, Actor target, double damage) {
this.attacker = attacker;
this.target = target;
this.damage = damage;
}
/**
* Creates a new instance
*