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

Implemented XML templates

This commit is contained in:
2011-05-24 22:55:31 -03:00
parent 6497016e14
commit cc44946831
10377 changed files with 309163 additions and 6171 deletions

View File

@@ -81,12 +81,12 @@ public class CharacterEnterWorldPacket extends AbstractServerPacket {
buffer.writeInt(ActorExperience.LEVEL_1.level);
buffer.writeInt(0x00); // karma
buffer.writeInt(0x00); // pk
buffer.writeInt(character.getAttributes().getIntelligence()); // INT
buffer.writeInt(character.getAttributes().getStrength()); // STR
buffer.writeInt(character.getAttributes().getConcentration()); // CON
buffer.writeInt(character.getAttributes().getMentality()); // MEN
buffer.writeInt(character.getAttributes().getDexterity()); // DEX
buffer.writeInt(character.getAttributes().getWitness()); // WIT
buffer.writeInt(character.getStats().getIntelligence()); // INT
buffer.writeInt(character.getStats().getStrength()); // STR
buffer.writeInt(character.getStats().getConcentration()); // CON
buffer.writeInt(character.getStats().getMentality()); // MEN
buffer.writeInt(character.getStats().getDexterity()); // DEX
buffer.writeInt(character.getStats().getWitness()); // WIT
buffer.writeInt(250); // game time
buffer.writeInt(0x00);

View File

@@ -101,7 +101,7 @@ public class CharacterInformationPacket extends AbstractServerPacket {
buffer.writeInt((int) character.getMP()); // cur mp
buffer.writeInt(character.getSP()); // sp
buffer.writeInt(0); // load
buffer.writeInt(character.getAttributes().getMaxWeigth()); // max load
buffer.writeInt(character.getStats().getMaximumLoad()); // max load
// 20 no weapon, 40 weapon equippe
buffer.writeInt(20);

View File

@@ -72,12 +72,12 @@ public class CharacterSelectedPacket extends AbstractServerPacket {
buffer.writeInt(ActorExperience.LEVEL_1.level);
buffer.writeInt(0); // karma
buffer.writeInt(0); // pk
buffer.writeInt(character.getAttributes().getIntelligence());
buffer.writeInt(character.getAttributes().getStrength());
buffer.writeInt(character.getAttributes().getConcentration());
buffer.writeInt(character.getAttributes().getMentality());
buffer.writeInt(character.getAttributes().getDexterity());
buffer.writeInt(character.getAttributes().getWitness());
buffer.writeInt(character.getStats().getIntelligence());
buffer.writeInt(character.getStats().getStrength());
buffer.writeInt(character.getStats().getConcentration());
buffer.writeInt(character.getStats().getMentality());
buffer.writeInt(character.getStats().getDexterity());
buffer.writeInt(character.getStats().getWitness());
buffer.writeInt(0); // game time
buffer.writeInt(0x00); // unk

View File

@@ -50,22 +50,22 @@ public class CharacterTemplatePacket extends AbstractServerPacket {
buffer.writeInt(template.getRace().id);
buffer.writeInt(template.getCharacterClass().id);
buffer.writeInt(0x46);
buffer.writeInt(template.getBaseAttributes().getStrength());
buffer.writeInt(template.getBaseStrength());
buffer.writeInt(0x0a);
buffer.writeInt(0x46);
buffer.writeInt(template.getBaseAttributes().getDexterity());
buffer.writeInt(template.getBaseDexterity());
buffer.writeInt(0x0a);
buffer.writeInt(0x46);
buffer.writeInt(template.getBaseAttributes().getConcentration());
buffer.writeInt(template.getBaseConcentration());
buffer.writeInt(0x0a);
buffer.writeInt(0x46);
buffer.writeInt(template.getBaseAttributes().getIntelligence());
buffer.writeInt(template.getBaseIntelligence());
buffer.writeInt(0x0a);
buffer.writeInt(0x46);
buffer.writeInt(template.getBaseAttributes().getWitness());
buffer.writeInt(template.getBaseWitness());
buffer.writeInt(0x0a);
buffer.writeInt(0x46);
buffer.writeInt(template.getBaseAttributes().getMentality());
buffer.writeInt(template.getBaseMentality());
buffer.writeInt(0x0a);
}
}

View File

@@ -49,8 +49,7 @@ public class NPCInformationPacket extends AbstractServerPacket {
buffer.writeInt(npc.getID().getID());
buffer.writeInt(template.getID().getID() + 1000000); // npctype id
if (npc instanceof NPC) {
buffer.writeInt(((template).isAttackable() ? 0x01
: 0x00));
buffer.writeInt((template.isAttackable() ? 0x01 : 0x00));
} else {
buffer.writeInt(0x01);
}
@@ -59,8 +58,8 @@ public class NPCInformationPacket extends AbstractServerPacket {
buffer.writeInt(npc.getPoint().getZ());
buffer.writeInt((int) npc.getPoint().getAngle());
buffer.writeInt(0x00); // unk
buffer.writeInt(template.getCastSpeed());
buffer.writeInt(template.getAttackSpeed());
buffer.writeInt((int) template.getMagicalAttackSpeed());
buffer.writeInt((int) template.getPhysicalAttackSpeed());
buffer.writeInt((int) template.getRunSpeed());
buffer.writeInt((int) template.getWalkSpeed());
buffer.writeInt((int) template.getRunSpeed()); // swim run speed
@@ -69,8 +68,8 @@ public class NPCInformationPacket extends AbstractServerPacket {
buffer.writeInt((int) template.getWalkSpeed()); // swim walk speed
buffer.writeInt((int) template.getRunSpeed()); // fly run speed
buffer.writeInt((int) template.getWalkSpeed()); // fly run speed
buffer.writeDouble(template.getMovementSpeedMultiplier());
buffer.writeDouble(template.getAttackSpeedMultiplier());
buffer.writeDouble(0x01); // TODO
buffer.writeDouble(0x01);// TODO
buffer.writeDouble(template.getCollisionRadius());
buffer.writeDouble(template.getCollisionHeight());
buffer.writeInt((template.getRightHand() != null ? template
@@ -83,8 +82,8 @@ public class NPCInformationPacket extends AbstractServerPacket {
buffer.writeByte(0x00); // is in combat
buffer.writeByte(0x00); // is like dead (faking)
buffer.writeByte(0x00); // 0=teleported 1=default 2=summoned
BufferUtils.writeString(buffer, (template).getName());
BufferUtils.writeString(buffer, (template).getTitle());
BufferUtils.writeString(buffer, template.getName());
BufferUtils.writeString(buffer, template.getTitle());
buffer.writeInt(0x00); // Title color 0=client default
buffer.writeInt(0x00); // pvp flag
buffer.writeInt(0x00); // karma

View File

@@ -55,13 +55,13 @@ public class ServerObjectPacket extends AbstractServerPacket {
buffer.writeInt(npc.getPoint().getY()); // y
buffer.writeInt(npc.getPoint().getZ()); // z
buffer.writeInt((int) npc.getPoint().getAngle()); // angle
buffer.writeDouble(template.getMovementSpeedMultiplier());
buffer.writeDouble(template.getAttackSpeedMultiplier());
buffer.writeDouble(template.getCollisionRadius()); // coll radius
buffer.writeDouble(template.getCollisionHeight()); // coll height
buffer.writeDouble(0x01); // move mult
buffer.writeDouble(0x01); // attack spd mult
buffer.writeDouble(template.getCollisionRadius());
buffer.writeDouble(template.getCollisionHeight());
buffer.writeInt((int) (template.isAttackable() ? npc.getHP() : 0x00));
buffer.writeInt((int) (template.isAttackable() ? template.getMaxHP()
: 0x00));
buffer.writeInt((int) (template.isAttackable() ? template
.getMaximumHP() : 0x00));
buffer.writeInt(0x01); // object type
buffer.writeInt(0x00); // special effects
}

View File

@@ -34,7 +34,8 @@ public class ItemTemplateID extends TemplateID<ItemTemplate> {
private final TemplateService templateService;
@Inject
protected ItemTemplateID(@Assisted int id, TemplateService templateService) {
// FIXME this should be protected
public ItemTemplateID(@Assisted int id, TemplateService templateService) {
super(id);
this.templateService = templateService;
}

View File

@@ -27,22 +27,20 @@ import com.l2jserver.model.id.TemplateID;
* the type of object created by this template
*/
public abstract class AbstractTemplate<T> implements Template<T> {
/**
* The {@link TemplateID}F
*/
private final TemplateID<?> id;
// /**
// * The {@link TemplateID}
// */
// private final TemplateID<?> id;
/**
* Creates a new instance
*
* @param id
*/
protected AbstractTemplate(TemplateID<?> id) {
this.id = id;
}
// /**
// * Creates a new instance
// *
// * @param id
// */
// protected AbstractTemplate(TemplateID<?> id) {
// this.id = id;
// }
@Override
public TemplateID<?> getID() {
return id;
}
public abstract TemplateID<?> getID();
}

View File

@@ -19,10 +19,7 @@ package com.l2jserver.model.template;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.l2jserver.model.id.template.ActorTemplateID;
import com.l2jserver.model.world.Actor;
import com.l2jserver.model.world.actor.ActorAttributes;
import com.l2jserver.model.world.actor.stat.Stats;
/**
* Template for {@link Actor}
@@ -37,33 +34,6 @@ public abstract class ActorTemplate<T extends Actor> extends
private static final Logger log = LoggerFactory
.getLogger(ActorTemplate.class);
/**
* The movement speed multiplier
*/
protected double movementSpeedMultiplier = 1.0;
/**
* The attack speed multiplier
*/
protected double attackSpeedMultiplier = 1.0;
/**
* The Actor maximum HP
*/
protected double maxHP;
/**
* The Actor maximum MP
*/
protected double maxMP;
/**
* The base attributes instance
*/
protected ActorBaseAttributes attributes = new ActorBaseAttributes();
public ActorTemplate(ActorTemplateID<?> id) {
super(id);
}
@Override
public T create() {
log.debug("Creating a new Actor instance with template {}", this);
@@ -73,422 +43,4 @@ public abstract class ActorTemplate<T extends Actor> extends
}
protected abstract T createInstance();
public abstract Stats getTemplateStat();
/**
* @return the baseAttributes
*/
public ActorBaseAttributes getBaseAttributes() {
return attributes;
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getIntelligence()
*/
public int getIntelligence() {
return attributes.getIntelligence();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getStrength()
*/
public int getStrength() {
return attributes.getStrength();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getConcentration()
*/
public int getConcentration() {
return attributes.getConcentration();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getMentality()
*/
public int getMentality() {
return attributes.getMentality();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getDexterity()
*/
public int getDextry() {
return attributes.getDexterity();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getWitness()
*/
public int getWitness() {
return attributes.getWitness();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getPhysicalAttack()
*/
public double getPhysicalAttack() {
return attributes.getPhysicalAttack();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getMagicalAttack()
*/
public double getMagicalAttack() {
return attributes.getMagicalAttack();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getPhysicalDefense()
*/
public double getPhysicalDefense() {
return attributes.getPhysicalDefense();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getMagicalDefense()
*/
public double getMagicalDefense() {
return attributes.getMagicalDefense();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getAttackSpeed()
*/
public int getAttackSpeed() {
return attributes.getAttackSpeed();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getCastSpeed()
*/
public int getCastSpeed() {
return attributes.getCastSpeed();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getAccuracy()
*/
public int getAccuracy() {
return attributes.getAccuracy();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getCriticalChance()
*/
public int getCriticalChance() {
return attributes.getCriticalChance();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getEvasionChance()
*/
public int getEvasionChance() {
return attributes.getEvasionChance();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getRunSpeed()
*/
public double getRunSpeed() {
return attributes.getRunSpeed();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getWalkSpeed()
*/
public double getWalkSpeed() {
return attributes.getWalkSpeed();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#getMaxWeigth()
*/
public int getMaxWeigth() {
return attributes.getMaxWeigth();
}
/**
* @return
* @see com.l2jserver.model.template.ActorBaseAttributes#canCraft()
*/
public boolean canCraft() {
return attributes.canCraft();
}
/**
* @return the movementSpeedMultiplier
*/
public double getMovementSpeedMultiplier() {
return movementSpeedMultiplier;
}
/**
* @return the attackSpeedMultiplier
*/
public double getAttackSpeedMultiplier() {
return attackSpeedMultiplier;
}
/**
* @return the max hp
*/
public double getMaxHP() {
return maxHP;
}
/**
* Defines the attributes of an character
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public class ActorBaseAttributes implements ActorAttributes {
/**
* The character intelligence
*/
public int intelligence;
/**
* The character strength
*/
public int strength;
/**
* The character concentration
*/
public int concentration;
/**
* The character mentality power
*/
public int mentality;
/**
* The character dexterity
*/
public int dexterity;
/**
* The character witness
*/
public int witness;
/**
* The default physical attack
*/
public double physicalAttack;
/**
* The default magical attack
*/
public double magicalAttack;
/**
* The physical defense
*/
public double physicalDefense;
/**
* The magical defense
*/
public double magicalDefense;
/**
* The physical attack speed
*/
public int attackSpeed;
/**
* The "magical attack speed" (aka cast speed)
*/
public int castSpeed;
/**
* The character accuracy
*/
public int accuracy;
/**
* Chance of issuing an critical attack
*/
public int criticalChance;
/**
* Chance of avoiding an attack
*/
public int evasionChance;
/**
* The character's run speed
*/
public double runSpeed;
/**
* The character's walk speed
*/
public double walkSpeed;
/**
* The maximum weigth in items to be carried in the inventory
*/
public int maxWeigth;
/**
* If this character can craft
*/
public boolean craft;
/**
* @return the intelligence
*/
@Override
public int getIntelligence() {
return intelligence;
}
/**
* @return the strength
*/
@Override
public int getStrength() {
return strength;
}
/**
* @return the concentration
*/
@Override
public int getConcentration() {
return concentration;
}
/**
* @return the mentality
*/
@Override
public int getMentality() {
return mentality;
}
/**
* @return the dexterity
*/
@Override
public int getDexterity() {
return dexterity;
}
/**
* @return the witness
*/
@Override
public int getWitness() {
return witness;
}
/**
* @return the physicalAttack
*/
@Override
public double getPhysicalAttack() {
return physicalAttack;
}
/**
* @return the magicalAttack
*/
@Override
public double getMagicalAttack() {
return magicalAttack;
}
/**
* @return the physicalDefense
*/
@Override
public double getPhysicalDefense() {
return physicalDefense;
}
/**
* @return the magicalDefense
*/
@Override
public double getMagicalDefense() {
return magicalDefense;
}
/**
* @return the attackSpeed
*/
@Override
public int getAttackSpeed() {
return attackSpeed;
}
/**
* @return the castSpeed
*/
@Override
public int getCastSpeed() {
return castSpeed;
}
/**
* @return the accuracy
*/
@Override
public int getAccuracy() {
return accuracy;
}
/**
* @return the criticalChance
*/
@Override
public int getCriticalChance() {
return criticalChance;
}
/**
* @return the evasionChance
*/
@Override
public int getEvasionChance() {
return evasionChance;
}
/**
* @return the moveSpeed
*/
@Override
public double getRunSpeed() {
return runSpeed;
}
@Override
public double getWalkSpeed() {
return walkSpeed;
}
/**
* @return the maxWeigth
*/
@Override
public int getMaxWeigth() {
return maxWeigth;
}
/**
* @return the craft
*/
@Override
public boolean canCraft() {
return craft;
}
}
}

View File

@@ -16,7 +16,6 @@
*/
package com.l2jserver.model.template;
import com.l2jserver.model.id.template.ItemTemplateID;
/**
* Template for an Aumentation
@@ -24,17 +23,13 @@ import com.l2jserver.model.id.template.ItemTemplateID;
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class AugmentTemplate extends AbstractTemplate<Object> {
public AugmentTemplate(ItemTemplateID id) {
super(id);
}
@Override
public Object create() {
return null;
}
@Override
public ItemTemplateID getID() {
return (ItemTemplateID) super.getID();
}
// @Override
// public ItemTemplateID getID() {
// return (ItemTemplateID) super.getID();
// }
}

View File

@@ -2,238 +2,519 @@
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* GNU General public License for more details.
*
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.l2jserver.model.id.template.CharacterTemplateID;
import com.l2jserver.model.world.Actor.ActorRace;
import com.l2jserver.model.world.L2Character;
import com.l2jserver.model.world.actor.stat.Stats;
import com.l2jserver.model.world.character.CharacterClass;
import com.l2jserver.util.dimensional.Point;
import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter;
/**
* Template for {@link L2Character}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class CharacterTemplate extends ActorTemplate<L2Character> {
/**
* The character class
*/
protected final CharacterClass characterClass;
/**
* The initial location for the character to be spawned
*/
protected final Point spawnLocation;
@XmlRootElement(name = "character")
@XmlType(namespace = "character")
@XmlAccessorType(XmlAccessType.FIELD)
public class CharacterTemplate extends ActorTemplate<L2Character> {
@XmlJavaTypeAdapter(CharacterTemplateIDAdapter.class)
@XmlAttribute(name = "class")
protected CharacterTemplateID id = null;
protected double hpBase;
protected double hpAdd;
protected double hpMultiplier;
@XmlAttribute(name = "class")
protected CharacterClass characterClass = null;
protected double mpBase;
protected double mpAdd;
protected double mpMultiplier;
@XmlElement(name = "stats")
protected CharacterStatsMetadata stats = null;
protected double cpBase;
protected double cpAdd;
protected double cpMultiplier;
@XmlType(namespace = "character")
protected static class CharacterStatsMetadata {
@XmlAttribute(name = "level")
protected int level = 0;
@XmlAttribute(name = "crafter")
protected boolean crafter = false;
protected int minimumLevel;
@XmlElement(name = "hp")
protected Stat hp = null;
@XmlElement(name = "mp")
protected Stat mp = null;
@XmlElement(name = "cp")
protected Stat cp = null;
protected Integer attackDamage = null;
protected AttackType attackType;
@XmlType(namespace = "character")
protected static class Stat {
@XmlAttribute(name = "base")
protected double base = 0;
@XmlAttribute(name = "modifier")
protected double modifier = 0;
@XmlAttribute(name = "add")
protected double add = 0;
}
public enum AttackType {
FIST;
@XmlElement(name = "attack")
protected AttackMetadata attack = null;
@XmlType(namespace = "character")
protected static class AttackMetadata {
@XmlAttribute(name = "evasion")
protected int evasion = 0;
@XmlAttribute(name = "critical")
protected int critical = 0;
@XmlAttribute(name = "accuracy")
protected int accuracy = 0;
@XmlElement(name = "physical")
protected AttackValueMetadata physical = null;
@XmlElement(name = "magical")
protected AttackValueMetadata magical = null;
@XmlType(namespace = "character")
protected static class AttackValueMetadata {
@XmlAttribute(name = "damage")
protected double damage = 0;
@XmlAttribute(name = "speed")
protected double speed = 0;
}
}
@XmlElement(name = "defense")
protected DefenseMetadata defense = null;
@XmlType(namespace = "character")
protected static class DefenseMetadata {
@XmlElement(name = "physical")
protected DefenseValueMetadata physical = null;
@XmlElement(name = "magical")
protected DefenseValueMetadata magical = null;
@XmlType(namespace = "character")
protected static class DefenseValueMetadata {
@XmlAttribute(name = "value")
protected double value = 0;
}
}
@XmlElement(name = "move")
protected MoveMetadata move = null;
@XmlType(namespace = "character")
protected static class MoveMetadata {
@XmlAttribute(name = "run")
protected double run = 0;
@XmlAttribute(name = "walk")
protected double walk = 0;
}
@XmlElement(name = "base")
protected BaseMetadata base = null;
@XmlType(namespace = "character")
protected static class BaseMetadata {
@XmlAttribute(name = "int")
protected int intelligence = 0;
@XmlAttribute(name = "str")
protected int strength = 0;
@XmlAttribute(name = "con")
protected int concentration = 0;
@XmlAttribute(name = "men")
protected int mentality = 0;
@XmlAttribute(name = "dex")
protected int dexterity = 0;
@XmlAttribute(name = "wit")
protected int witness = 0;
}
@XmlElement(name = "maxload")
protected int maximumLoad = 0;
}
/**
* The collision radius for male instances
*/
protected double maleCollisionRadius = 0;
/**
* The collision height for male instances
*/
protected double maleCollisionHeight = 0;
/**
* The collision radius for female instances
*/
protected double femaleCollisionRadius = 0;
/**
* The collision height for female instances
*/
protected double femaleCollisionHeight = 0;
@XmlElement(name = "collision")
protected CollitionMetadataContainer collision = null;
protected CharacterTemplate(CharacterTemplateID id,
CharacterClass characterClass, Point spawnLocation) {
super(id);
this.characterClass = characterClass;
this.spawnLocation = spawnLocation;
@XmlType(namespace = "character")
protected static class CollitionMetadataContainer {
@XmlElement(name = "male")
protected CollisionMetadata male = null;
@XmlElement(name = "female")
protected CollisionMetadata female = null;
@XmlType(namespace = "character")
protected static class CollisionMetadata {
@XmlAttribute(name = "radius")
protected double radius = 0;
@XmlAttribute(name = "heigth")
protected double height = 0;
}
}
@Override
public L2Character createInstance() {
final L2Character character = new L2Character(this.getID());
character.setRace(getRace());
character.setCharacterClass(characterClass);
character.setPoint(spawnLocation);
return character;
}
@Override
public Stats getTemplateStat() {
return null;
protected L2Character createInstance() {
return new L2Character(id);
// character.setPosition(null); // TODO spawn location
// return null;
}
/**
* @return the race
*/
public ActorRace getRace() {
return characterClass.race;
}
/**
* @return the characterClass
* @return the character Class
*/
public CharacterClass getCharacterClass() {
return characterClass;
}
/**
* @return the initial spawn location
* @return the character race
*/
public Point getSpawnLocation() {
return spawnLocation;
public ActorRace getRace() {
return characterClass.race;
}
/**
* @return the hpBase
*/
public double getHpBase() {
return hpBase;
}
/**
* @return the hpAdd
*/
public double getHpAdd() {
return hpAdd;
}
/**
* @return the hpMultiplier
*/
public double getHpMultiplier() {
return hpMultiplier;
}
/**
* @return the mpBase
*/
public double getMpBase() {
return mpBase;
}
/**
* @return the mpAdd
*/
public double getMpAdd() {
return mpAdd;
}
/**
* @return the mpMultiplier
*/
public double getMpMultiplier() {
return mpMultiplier;
}
/**
* @return the cpBase
*/
public double getCpBase() {
return cpBase;
}
/**
* @return the cpAdd
*/
public double getCpAdd() {
return cpAdd;
}
/**
* @return the cpMultiplier
*/
public double getCpMultiplier() {
return cpMultiplier;
}
/**
* @return the minimumLevel
* @return the minimum level
*/
public int getMinimumLevel() {
return minimumLevel;
if (stats == null)
return 0;
return stats.level;
}
/**
* @return the attackDamage
* @return true if class is crafter
*/
public Integer getAttackDamage() {
return attackDamage;
public boolean isCrafter() {
if (stats == null)
return false;
return stats.crafter;
}
public double getBaseHP() {
if (stats == null)
return 0;
if (stats.hp == null)
return 0;
return stats.hp.base;
}
public double getBaseHPModifier() {
if (stats == null)
return 0;
if (stats.hp == null)
return 0;
return stats.hp.modifier;
}
public double getBaseHPAdd() {
if (stats == null)
return 0;
if (stats.hp == null)
return 0;
return stats.hp.add;
}
public double getBaseBaseMP() {
if (stats == null)
return 0;
if (stats.mp == null)
return 0;
return stats.mp.base;
}
public double getBaseMPModifier() {
if (stats == null)
return 0;
if (stats.mp == null)
return 0;
return stats.mp.modifier;
}
public double getBaseMPAdd() {
if (stats == null)
return 0;
if (stats.mp == null)
return 0;
return stats.mp.add;
}
public double getBaseCP() {
if (stats == null)
return 0;
if (stats.cp == null)
return 0;
return stats.cp.base;
}
public double getBaseCPModifier() {
if (stats == null)
return 0;
if (stats.cp == null)
return 0;
return stats.cp.modifier;
}
public double getBaseCPAdd() {
if (stats == null)
return 0;
if (stats.cp == null)
return 0;
return stats.cp.add;
}
/**
* @return the attackType
* @return the evasion
*/
public AttackType getAttackType() {
return attackType;
public int getBaseEvasion() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
return stats.attack.evasion;
}
/**
* @return the male collision radius
* @return the critical
*/
public int getBaseCritical() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
return stats.attack.critical;
}
/**
* @return the accuracy
*/
public int getBaseAccuracy() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
return stats.attack.accuracy;
}
/**
* @return the physical attack
*/
public double getBasePhysicalAttack() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
if (stats.attack.physical == null)
return 0;
return stats.attack.physical.damage;
}
/**
* @return the physical defense
*/
public double getBasePhysicalDefense() {
if (stats == null)
return 0;
if (stats.defense == null)
return 0;
if (stats.defense.physical == null)
return 0;
return stats.defense.physical.value;
}
/**
* @return the physical attack speed
*/
public double getBasePhysicalAttackSpeed() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
if (stats.attack.physical == null)
return 0;
return stats.attack.physical.speed;
}
/**
* @return the magical attack
*/
public double getBaseMagicalAttack() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
if (stats.attack.magical == null)
return 0;
return stats.attack.magical.damage;
}
/**
* @return the magical attack
*/
public double getBaseMagicalDefense() {
if (stats == null)
return 0;
if (stats.defense == null)
return 0;
if (stats.defense.magical == null)
return 0;
return stats.defense.magical.value;
}
/**
* @return the magical attack speed
*/
public double getBaseMagicalAttackSpeed() {
if (stats == null)
return 0;
if (stats.attack == null)
return 0;
if (stats.attack.magical == null)
return 0;
return stats.attack.magical.speed;
}
public double getBaseRunSpeed() {
if (stats == null)
return 0;
if (stats.move == null)
return 0;
return stats.move.run;
}
public double getBaseWalkSpeed() {
if (stats == null)
return 0;
if (stats.move == null)
return 0;
return stats.move.walk;
}
/**
* @return the intelligence
*/
public int getBaseIntelligence() {
if (stats == null)
return 0;
if (stats.base == null)
return 0;
return stats.base.intelligence;
}
/**
* @return the strength
*/
public int getBaseStrength() {
if (stats == null)
return 0;
if (stats.base == null)
return 0;
return stats.base.strength;
}
/**
* @return the concentration
*/
public int getBaseConcentration() {
if (stats == null)
return 0;
if (stats.base == null)
return 0;
return stats.base.concentration;
}
/**
* @return the mentality
*/
public int getBaseMentality() {
if (stats == null)
return 0;
if (stats.base == null)
return 0;
return stats.base.mentality;
}
/**
* @return the dexterity
*/
public int getBaseDexterity() {
if (stats == null)
return 0;
if (stats.base == null)
return 0;
return stats.base.dexterity;
}
/**
* @return the witness
*/
public int getBaseWitness() {
if (stats == null)
return 0;
if (stats.base == null)
return 0;
return stats.base.witness;
}
/**
* @return the witness
*/
public int getBaseMaximumLoad() {
if (stats == null)
return 0;
return stats.maximumLoad;
}
public double getMaleCollisionRadius() {
return maleCollisionRadius;
if (collision == null)
return 0;
if (collision.male == null)
return 0;
return collision.male.radius;
}
/**
* @return the male collision height
*/
public double getMaleCollisionHeight() {
return maleCollisionHeight;
if (collision == null)
return 0;
if (collision.male == null)
return 0;
return collision.male.height;
}
/**
* @return the female collision radius
*/
public double getFemaleCollisionRadius() {
return femaleCollisionRadius;
if (collision == null)
return 0;
if (collision.female == null)
return 0;
return collision.female.radius;
}
/**
* @return the female collision height
*/
public double getFemaleCollisionHeight() {
return femaleCollisionHeight;
if (collision == null)
return 0;
if (collision.female == null)
return 0;
return collision.female.height;
}
@Override
public CharacterTemplateID getID() {
return (CharacterTemplateID) super.getID();
return id;
}
}

View File

@@ -16,7 +16,6 @@
*/
package com.l2jserver.model.template;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Actor;
/**
@@ -25,10 +24,6 @@ import com.l2jserver.model.world.Actor;
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class EffectTemplate extends AbstractTemplate<Object> {
public EffectTemplate(ItemTemplateID id) {
super(id);
}
@Override
public Object create() {
return null;
@@ -44,8 +39,8 @@ public abstract class EffectTemplate extends AbstractTemplate<Object> {
}
@Override
public ItemTemplateID getID() {
return (ItemTemplateID) super.getID();
}
// @Override
// public ItemTemplateID getID() {
// return (ItemTemplateID) super.getID();
// }
}

View File

@@ -16,40 +16,54 @@
*/
package com.l2jserver.model.template;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Inject;
import com.l2jserver.game.net.Lineage2Connection;
import com.l2jserver.model.id.object.CharacterID;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.capability.Dropable;
import com.l2jserver.model.template.capability.Enchantable;
import com.l2jserver.model.template.capability.Sellable;
import com.l2jserver.model.template.capability.Tradable;
import com.l2jserver.model.world.Item;
import com.l2jserver.model.world.L2Character;
import com.l2jserver.service.network.NetworkService;
import com.l2jserver.util.jaxb.ItemTemplateIDAdapter;
/**
* Template for an {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class ItemTemplate extends AbstractTemplate<Item> {
@XmlRootElement(name = "item")
@XmlType(namespace = "item")
@XmlAccessorType(XmlAccessType.FIELD)
public class ItemTemplate extends AbstractTemplate<Item> {
/**
* The logger
*/
private static final Logger log = LoggerFactory
.getLogger(ItemTemplate.class);
@Inject
protected NetworkService networkService;
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(ItemTemplateIDAdapter.class)
protected ItemTemplateID id;
@XmlElement(name = "weight")
protected int weight = 0;
@XmlElement(name = "price")
protected int price = 0;
@XmlElement(name = "icon")
protected String icon;
protected boolean immediateEffect = true;
@XmlElement(name = "weight")
protected EffectContainer effect;
@XmlType(namespace = "item")
private static class EffectContainer {
@XmlAttribute(name = "type")
protected EffectType effect = null;
}
protected ItemMaterial material;
@@ -57,62 +71,14 @@ public abstract class ItemTemplate extends AbstractTemplate<Item> {
COTTON, WOOD, PAPER, FISH, ORIHARUKON, HORN, ADAMANTAITE, CHRYSOLITE, MITHRIL, COBWEB, RUNE_XP, CLOTH, SCALE_OF_DRAGON, BONE, GOLD, LEATHER, FINE_STEEL, SILVER, DYESTUFF, CRYSTAL, RUNE_REMOVE_PENALTY, STEEL, BRONZE, RUNE_SP, LIQUID, BLOOD_STEEL, DAMASCUS;
}
public ItemTemplate(ItemTemplateID id) {
super(id);
}
public ItemTemplate(final ItemTemplateID id, String icon,
ItemMaterial material) {
super(id);
this.icon = icon;
this.material = material;
public enum EffectType {
IMMEDIATE;
}
@Override
public Item create() {
log.debug("Creating a new Item instance with template {}", this);
return new Item(this.getID());
}
public final void use(Item item, L2Character character) {
final CharacterID id = character.getID();
final Lineage2Connection conn = networkService.discover(id);
this.use(item, character, conn);
}
protected void use(Item item, L2Character character, Lineage2Connection conn) {
conn.sendActionFailed();
}
public void stack(Item... object) {
}
/**
* @return true if item is enchantable
*/
public boolean isEnchantable() {
return (this instanceof Enchantable);
}
/**
* @return the sellable
*/
public boolean isSellable() {
return (this instanceof Sellable);
}
/**
* @return the dropable
*/
public boolean isDropable() {
return (this instanceof Dropable);
}
/**
* @return the tradable
*/
public boolean isTradable() {
return (this instanceof Tradable);
return new Item(id);
}
/**
@@ -139,8 +105,8 @@ public abstract class ItemTemplate extends AbstractTemplate<Item> {
/**
* @return the immediateEffect
*/
public boolean isImmediateEffect() {
return immediateEffect;
public EffectType getEffectType() {
return effect.effect;
}
/**
@@ -150,8 +116,18 @@ public abstract class ItemTemplate extends AbstractTemplate<Item> {
return material;
}
/*
* (non-Javadoc)
*
* @see com.l2jserver.model.template.AbstractTemplate#getID()
*/
@Override
public ItemTemplateID getID() {
return (ItemTemplateID) super.getID();
return id;
}
// @Override
// public ItemTemplateID getID() {
// return (ItemTemplateID) super.getID();
// }
}

File diff suppressed because it is too large Load Diff

View File

@@ -18,23 +18,18 @@ package com.l2jserver.model.template;
import com.l2jserver.model.game.Skill;
import com.l2jserver.model.id.template.SkillTemplateID;
import com.l2jserver.model.world.character.CharacterClass;
/**
* Template for {@link Skill} object
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class SkillTemplate extends AbstractTemplate<Skill> {
public class SkillTemplate extends AbstractTemplate<Skill> {
/**
* The maximum level supported by this skill
*/
protected int maximumLevel = 1;
public SkillTemplate(SkillTemplateID id) {
super(id);
}
/**
* @return the maximumLevel
*/
@@ -42,16 +37,15 @@ public abstract class SkillTemplate extends AbstractTemplate<Skill> {
return maximumLevel;
}
public abstract CharacterClass[] getClasses();
@Override
public Skill create() {
final Skill skill = new Skill(this.getID());
final Skill skill = new Skill(null);
return skill;
}
@Override
public SkillTemplateID getID() {
return (SkillTemplateID) super.getID();
// TODO Auto-generated method stub
return null;
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for Armor {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class ArmorTemplate extends ItemTemplate {
public ArmorTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,33 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for consumable {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class ConsumableTemplate extends ItemTemplate {
public ConsumableTemplate(ItemTemplateID id, String icon,
ItemMaterial material) {
super(id, icon, material);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for coupom {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class CoupomTemplate extends ItemTemplate {
public CoupomTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for crop {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class CropTemplate extends ItemTemplate {
public CropTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for consumable Dye {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class DyeTemplate extends ConsumableTemplate {
public DyeTemplate(ItemTemplateID id, String icon, ItemMaterial material) {
super(id, icon, material);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for consumable elixir {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class ElixirTemplate extends ConsumableTemplate {
public ElixirTemplate(ItemTemplateID id, String icon, ItemMaterial material) {
super(id, icon, material);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for consumable enchant scroll {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class EnchantScrollTemplate extends ScrollTemplate {
public EnchantScrollTemplate(ItemTemplateID id, String icon) {
super(id, icon);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for general items {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class EtcItemTemplate extends ItemTemplate {
public EtcItemTemplate(ItemTemplateID id, String icon, ItemMaterial material) {
super(id, icon, material);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for harvest {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class HarvestTemplate extends ItemTemplate {
public HarvestTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for lottery ticket {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class LotteryTicketTemplate extends TicketTemplate {
public LotteryTicketTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for lure {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class LureTemplate extends ItemTemplate {
public LureTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for material {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class MaterialTemplate extends ItemTemplate {
public MaterialTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for pet collar {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class PetCollarTemplate extends ItemTemplate {
public PetCollarTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for Potion {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class PotionTemplate extends ConsumableTemplate {
public PotionTemplate(ItemTemplateID id, String icon) {
super(id, icon, ItemMaterial.LIQUID);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for Race Ticket {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class RaceTicketTemplate extends TicketTemplate {
public RaceTicketTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for rune {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class RuneTemplate extends ItemTemplate {
public RuneTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for consumable scroll {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class ScrollTemplate extends ConsumableTemplate {
public ScrollTemplate(ItemTemplateID id, String icon) {
super(id, icon, ItemMaterial.PAPER);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for seed {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class SeedTemplate extends ItemTemplate {
public SeedTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,51 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.game.net.Lineage2Connection;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.id.template.SkillTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
import com.l2jserver.model.world.L2Character;
/**
* Template for general items {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class SkillEtcItemTemplate extends ItemTemplate {
protected SkillTemplateID skill;
public SkillEtcItemTemplate(ItemTemplateID id, String icon,
ItemMaterial material, SkillTemplateID skill) {
super(id, icon, material);
}
@Override
protected void use(Item item, L2Character character, Lineage2Connection conn) {
super.use(item, character, conn);
}
/**
* @return the skill
*/
public SkillTemplateID getSkill() {
return skill;
}
}

View File

@@ -1,31 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.world.Item;
/**
* Template for ticket of lord {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class TicketOfLordTemplate extends TicketTemplate {
public TicketOfLordTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,32 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
/**
* Template for ticket {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class TicketTemplate extends ItemTemplate {
public TicketTemplate(ItemTemplateID id) {
super(id);
}
}

View File

@@ -1,271 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.item;
import com.l2jserver.model.id.template.ItemTemplateID;
import com.l2jserver.model.template.ItemTemplate;
import com.l2jserver.model.world.Item;
import com.l2jserver.model.world.actor.stat.Stats;
import com.l2jserver.model.world.actor.stat.Stats.StatType;
import com.l2jserver.model.world.character.CharacterInventory.InventoryPaperdoll;
import com.l2jserver.util.calculator.Calculator;
/**
* Template for Weapon {@link Item}
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public abstract class WeaponTemplate extends ItemTemplate {
/**
* The paperldoll slot used by this weapon
*/
protected InventoryPaperdoll paperdoll = null;
/**
* The weapon type
*/
protected WeaponType type;
/**
* The weapon type enum
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public enum WeaponType {
FISHINGROD, CROSSBOW, BIG_SWORD, RAPIER, DUAL_FIST, ETC, DAGGER, BLUNT, BIG_BLUNT, DUAL_DAGGER, DUAL, FLAG, POLE, FIST, BOW, OWN_THING, SWORD, ANCIENT_SWORD;
}
/**
* The weapon's attributes
*/
protected final Stats stats = new Stats();
/**
* This weapon random damage
*/
protected int randomDamage = 0;
/**
* This weapon attack range
*/
protected int attackRange = 0;
/**
* Unknown!
*/
protected int[] damageRange = new int[] {};
/**
* Number of soulshots used per attack
*/
protected int soulshots = 0;
/**
* Number of spirithots used per cast
*/
protected int spiritshots = 0;
/**
* The crystal count for this weapon
*/
protected int crystals = 0;
/**
* This weapon crystal type
*/
protected CrystalType crystal;
/**
* Enum containing all crystal types possible
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public enum CrystalType {
GRADE_A, GRADE_B, GRADE_C, GRADE_D;
}
/**
* Creates a new instance. All arguments are required!
*
* @param id
* the template id
* @param icon
* the item icon
* @param material
* the item material
* @param paperdoll
* the paperdoll slot
* @param type
* the weapon type
*/
public WeaponTemplate(ItemTemplateID id, String icon,
ItemMaterial material, InventoryPaperdoll paperdoll, WeaponType type) {
super(id, icon, material);
this.paperdoll = paperdoll;
this.type = type;
}
/**
* Append all operation for this weapon
*
* @param type
* the attribute type
* @param calc
* the calculator
*/
public void calculator(StatType type, Calculator calc) {
stats.calculator(type, calc);
}
/**
* @return the paperdoll
*/
public InventoryPaperdoll getPaperdoll() {
return paperdoll;
}
/**
* @param paperdoll
* the paperdoll to set
*/
public void setPaperdoll(InventoryPaperdoll paperdoll) {
this.paperdoll = paperdoll;
}
/**
* @return the type
*/
public WeaponType getType() {
return type;
}
/**
* @param type
* the type to set
*/
public void setType(WeaponType type) {
this.type = type;
}
/**
* @return the randomDamage
*/
public int getRandomDamage() {
return randomDamage;
}
/**
* @param randomDamage
* the randomDamage to set
*/
public void setRandomDamage(int randomDamage) {
this.randomDamage = randomDamage;
}
/**
* @return the attackRange
*/
public int getAttackRange() {
return attackRange;
}
/**
* @param attackRange
* the attackRange to set
*/
public void setAttackRange(int attackRange) {
this.attackRange = attackRange;
}
/**
* @return the damageRange
*/
public int[] getDamageRange() {
return damageRange;
}
/**
* @param damageRange
* the damageRange to set
*/
public void setDamageRange(int[] damageRange) {
this.damageRange = damageRange;
}
/**
* @return the soulshots
*/
public int getSoulshots() {
return soulshots;
}
/**
* @param soulshots
* the soulshots to set
*/
public void setSoulshots(int soulshots) {
this.soulshots = soulshots;
}
/**
* @return the spiritshots
*/
public int getSpiritshots() {
return spiritshots;
}
/**
* @param spiritshots
* the spiritshots to set
*/
public void setSpiritshots(int spiritshots) {
this.spiritshots = spiritshots;
}
/**
* @return the crystals
*/
public int getCrystals() {
return crystals;
}
/**
* @param crystals
* the crystals to set
*/
public void setCrystals(int crystals) {
this.crystals = crystals;
}
/**
* @return the crystal
*/
public CrystalType getCrystal() {
return crystal;
}
/**
* @param crystal
* the crystal to set
*/
public void setCrystal(CrystalType crystal) {
this.crystal = crystal;
}
/**
* @return the attribute
*/
public Stats getAttribute() {
return stats;
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public abstract class AbstractVillageMasterNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected AbstractVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class AdventurerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected AdventurerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ArtefactNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ArtefactNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class AuctioneerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected AuctioneerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class BabyPetNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected BabyPetNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class BlockNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected BlockNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CabaleBufferNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CabaleBufferNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleBlacksmithNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleBlacksmithNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleChamberlainNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleChamberlainNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleDoormenNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleDoormenNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleMagicianNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleMagicianNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleTeleporterNPCTemplate extends TeleporterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleTeleporterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleWarehouseNPCTemplate extends WarehouseNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleWarehouseNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class CastleWyvernManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected CastleWyvernManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ChestNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ChestNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ChristmasTreeNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ChristmasTreeNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ClanTraderNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ClanTraderNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ClanhallDoormenNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ClanhallDoormenNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ClanhallManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ClanhallManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ClassMasterNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ClassMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ControlTowerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ControlTowerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DarkElfVillageMasterNPCTemplate extends AbstractVillageMasterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DarkElfVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DawnPriestNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DawnPriestNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DecoyNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DecoyNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DefenderNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DefenderNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DoormenNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DoormenNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DungeonGatekeeperNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DungeonGatekeeperNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DuskPriestNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DuskPriestNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class DwarfVillageMasterNPCTemplate extends AbstractVillageMasterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected DwarfVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class EffectPointNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected EffectPointNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class EventChestNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected EventChestNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FameManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FameManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FeedableBeastNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FeedableBeastNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FestivalGuideNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FestivalGuideNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FestivalMonsterNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FestivalMonsterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FightherVillageMasterNPCTemplate extends AbstractVillageMasterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FightherVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FishermanNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FishermanNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FlameTowerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FlameTowerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FlyNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FlyNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FlyRaidBossNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FlyRaidBossNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FlyTerrainObjectNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FlyTerrainObjectNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortBallistaNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortBallistaNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortCommanderNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortCommanderNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortDoormenNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortDoormenNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortEnvoyNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortEnvoyNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortLogisticsNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortLogisticsNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortSiegeNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortSiegeNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortSupportCaptainNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortSupportCaptainNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FortWyvernManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FortWyvernManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class FriendlyMonsterNPCTemplate extends MonsterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected FriendlyMonsterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class GrandBossNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected GrandBossNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class GuardNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected GuardNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class KamaelVillageMasterNPCTemplate extends AbstractVillageMasterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected KamaelVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ManorManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ManorManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class MercManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected MercManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class MercenaryManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected MercenaryManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class MerchantNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected MerchantNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class MerchantSummonNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected MerchantSummonNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class MysticVillageMasterNPCTemplate extends AbstractVillageMasterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected MysticVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class ObservationNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected ObservationNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,38 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
import com.l2jserver.model.template.NPCTemplate;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class OlympiadManagerNPCTemplate extends NPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected OlympiadManagerNPCTemplate(NPCTemplateID id) {
super(id);
}
}

View File

@@ -1,37 +0,0 @@
/*
* This file is part of l2jserver <l2jserver.com>.
*
* l2jserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* l2jserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with l2jserver. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.model.template.npc;
import com.l2jserver.model.id.template.NPCTemplateID;
/**
* @author <a href="http://www.rogiel.com">Rogiel</a>
*
*/
public class OrcVillageMasterNPCTemplate extends AbstractVillageMasterNPCTemplate {
/**
* Creates a new instance of this template
*
* @param id
* the template id
* @param race
* the npc race
*/
protected OrcVillageMasterNPCTemplate(NPCTemplateID id) {
super(id);
}
}

Some files were not shown because too many files have changed in this diff Show More