mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-09 17:02:53 +00:00
22 lines
609 B
Java
22 lines
609 B
Java
package com.l2jserver.model.template.capability;
|
|
|
|
import com.l2jserver.model.template.Template;
|
|
import com.l2jserver.model.world.capability.Attacker;
|
|
|
|
/**
|
|
* Defines an {@link Template template} {@link TemplateCapability capability}
|
|
* that an {@link Attacker} can use to attack an
|
|
* {@link com.l2jserver.model.world.capability.Attackable}
|
|
*
|
|
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
|
*
|
|
*/
|
|
public interface Attackable extends TemplateCapability {
|
|
void attack(Attacker source,
|
|
com.l2jserver.model.world.capability.Attackable target);
|
|
|
|
int getPhysicalDamage();
|
|
|
|
int getMagicalDamage();
|
|
}
|