mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-08 08:23:11 +00:00
@@ -14,8 +14,4 @@ import com.l2jserver.model.world.capability.Attacker;
|
||||
public interface Attackable extends TemplateCapability {
|
||||
void attack(Attacker source,
|
||||
com.l2jserver.model.world.capability.Attackable target);
|
||||
|
||||
int getPhysicalDamage();
|
||||
|
||||
int getMagicalDamage();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
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 can be selled.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Depositable extends TemplateCapability {
|
||||
void sell(Attacker source,
|
||||
com.l2jserver.model.world.capability.Attackable target);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
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 can be selled.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Dropable extends TemplateCapability {
|
||||
void sell(Attacker source,
|
||||
com.l2jserver.model.world.capability.Attackable target);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
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 can be selled.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Sellable extends TemplateCapability {
|
||||
void sell(Attacker source,
|
||||
com.l2jserver.model.world.capability.Attackable target);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
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 can be selled.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Tradable extends TemplateCapability {
|
||||
void sell(Attacker source,
|
||||
com.l2jserver.model.world.capability.Attackable target);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.l2jserver.model.template.capability;
|
||||
|
||||
import com.l2jserver.model.template.Template;
|
||||
|
||||
/**
|
||||
* Defines an {@link Template template} {@link TemplateCapability capability}
|
||||
* that can be used.
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public interface Usable extends TemplateCapability {
|
||||
void canUse();
|
||||
}
|
||||
Reference in New Issue
Block a user