mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
59 lines
1.8 KiB
Java
59 lines
1.8 KiB
Java
package script.template.character;
|
|
|
|
import com.google.inject.Inject;
|
|
import com.l2jserver.model.id.template.CharacterTemplateID;
|
|
import com.l2jserver.model.id.template.factory.CharacterTemplateIDFactory;
|
|
import com.l2jserver.model.world.L2Character;
|
|
import com.l2jserver.model.world.character.CharacterClass;
|
|
import com.l2jserver.util.dimensional.Point;
|
|
|
|
public class HawkeyeTemplate extends RogueTemplate {
|
|
@Inject
|
|
public HawkeyeTemplate(CharacterTemplateIDFactory factory) {
|
|
super(factory.createID(CharacterClass.HAWKEYE.id),
|
|
CharacterClass.HAWKEYE,
|
|
// ATTRIBUTES
|
|
21,// INT
|
|
40,// STR
|
|
43,// CON
|
|
25,// MEN
|
|
30,// DEX
|
|
11,// WIT
|
|
4,// physical attack
|
|
6,// magical attack
|
|
80,// physical def
|
|
41,// magical def
|
|
300,// attack speed
|
|
333,// cast speed
|
|
33,// accuracy
|
|
44,// critical
|
|
33,// evasion
|
|
115,// move speed
|
|
81900,// max inventory weight
|
|
false,// can craft
|
|
Point.fromXYZ(-71338, 258271, -3104)// spawn location
|
|
);
|
|
}
|
|
|
|
protected HawkeyeTemplate(CharacterTemplateID id,
|
|
CharacterClass characterClass, int intelligence, int strength,
|
|
int concentration, int mentality, int dexterity, int witness,
|
|
int physicalAttack, int magicalAttack, int physicalDefense,
|
|
int magicalDefense, int attackSpeed, int castSpeed, int accuracy,
|
|
int criticalChance, int evasionChance, int moveSpeed,
|
|
int maxWeigth, boolean craft, Point spawnLocation) {
|
|
super(id, characterClass, intelligence, strength, concentration,
|
|
mentality, dexterity, witness, physicalAttack, magicalAttack,
|
|
physicalDefense, magicalDefense, attackSpeed, castSpeed,
|
|
accuracy, criticalChance, evasionChance, moveSpeed, maxWeigth,
|
|
craft, spawnLocation);
|
|
}
|
|
|
|
@Override
|
|
public L2Character create() {
|
|
final L2Character character = super.create();
|
|
// TODO register skills
|
|
return character;
|
|
}
|
|
}
|