1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-10 09:22:49 +00:00

NPC skills added, updated item template

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-06-03 14:04:57 -03:00
parent b188f054df
commit fe7373ba29
10110 changed files with 181889 additions and 39634 deletions

View File

@@ -26,7 +26,6 @@ package com.l2jserver.game.ai.desires;
* @see com.l2jserver.game.ai.AI#handleDesire(Desire)
*/
public abstract class AbstractDesire implements Desire {
/**
* Desire power. It's used to calculate what npc whants to do most of all.
*/

View File

@@ -31,9 +31,9 @@ import com.l2jserver.model.id.object.provider.CharacterIDProvider;
import com.l2jserver.model.id.template.CharacterTemplateID;
import com.l2jserver.model.id.template.provider.CharacterTemplateIDProvider;
import com.l2jserver.model.template.CharacterTemplate;
import com.l2jserver.model.world.Actor.ActorRace;
import com.l2jserver.model.world.Actor.ActorSex;
import com.l2jserver.model.world.L2Character;
import com.l2jserver.model.world.L2Character.CharacterRace;
import com.l2jserver.model.world.character.CharacterAppearance.CharacterFace;
import com.l2jserver.model.world.character.CharacterAppearance.CharacterHairColor;
import com.l2jserver.model.world.character.CharacterAppearance.CharacterHairStyle;
@@ -80,7 +80,7 @@ public class CM_CHAR_CREATE extends AbstractClientPacket {
/**
* The race of the new character
*/
private ActorRace race;
private CharacterRace race;
/**
* The sex of the new character
*/
@@ -146,7 +146,7 @@ public class CM_CHAR_CREATE extends AbstractClientPacket {
@Override
public void read(Lineage2Connection conn, ChannelBuffer buffer) {
name = BufferUtils.readString(buffer);
race = ActorRace.fromOption(buffer.readInt());
race = CharacterRace.fromOption(buffer.readInt());
sex = ActorSex.fromOption(buffer.readInt());
characterClass = CharacterClass.fromID(buffer.readInt());
@@ -252,7 +252,7 @@ public class CM_CHAR_CREATE extends AbstractClientPacket {
/**
* @return the race
*/
public ActorRace getRace() {
public CharacterRace getRace() {
return race;
}
@@ -260,7 +260,7 @@ public class CM_CHAR_CREATE extends AbstractClientPacket {
* @param race
* the race to set
*/
public void setRace(ActorRace race) {
public void setRace(CharacterRace race) {
this.race = race;
}