1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-08 08:23:11 +00:00

Change-Id: I3d4cd283cff0f3ea0202c4fe9b60ec5ed0b42ebd

This commit is contained in:
rogiel
2011-04-29 02:04:54 -03:00
parent 2749539f87
commit 4b9252c98f
30 changed files with 351 additions and 64 deletions

View File

@@ -6,5 +6,6 @@ public interface Attackable extends TemplateCapability {
void attack(Attacker source,
com.l2jserver.model.world.capability.Attackable target);
public int getDamage();
public int getPhysicalDamage();
public int getMagicalDamage();
}

View File

@@ -0,0 +1,11 @@
package com.l2jserver.model.template.capability;
import com.l2jserver.model.world.capability.Attacker;
public interface Defendable extends TemplateCapability {
void defend(Attacker source,
com.l2jserver.model.world.capability.Attackable target);
public int getPhysicalDefense();
public int getMagicalDefense();
}

View File

@@ -0,0 +1,7 @@
package com.l2jserver.model.template.capability;
import com.l2jserver.model.world.capability.Equiper;
public interface Equipable extends TemplateCapability {
void equip(Equiper equiper);
}

View File

@@ -0,0 +1,13 @@
package com.l2jserver.model.template.capability;
import com.l2jserver.model.world.capability.Damagable;
/**
* Indicates that an template has the ability to intercept incoming damage.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public interface IncomingDamageIntercept extends TemplateCapability {
void interceptIncomingDamage(Damagable target);
}

View File

@@ -0,0 +1,12 @@
package com.l2jserver.model.template.capability;
import com.l2jserver.model.world.capability.Damagable;
/**
* Indicates that an template has the ability to intercept outgoing damage.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface OutgoingDamageIntercept extends TemplateCapability {
void interceptOutgoingDamage(Damagable target);
}

View File

@@ -0,0 +1,14 @@
package com.l2jserver.model.template.capability;
import com.l2jserver.model.template.AbstractTemplate;
import com.l2jserver.model.world.capability.Equiper;
/**
* Indicated than an {@link AbstractTemplate} can add penalties to an given
* user.
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface Penalty extends TemplateCapability {
void penalty(Equiper user);
}