1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2026-01-26 21:02:46 +00:00
Files
l2jserver2/data/script/template/script/template/actor/character/SpectraldancerTemplate.java

63 lines
2.2 KiB
Java

/*
* 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 script.template.actor.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 SpectraldancerTemplate extends BladedancerTemplate {
@Inject
public SpectraldancerTemplate(CharacterTemplateIDFactory factory) {
super(factory.createID(CharacterClass.spectralDancer.id), CharacterClass.spectralDancer, Point.fromXYZ(28377, 10916, -4224));
// ATTRIBUTES
attributes.intelligence = 25;
attributes.strength = 41;
attributes.concentration = 32;
attributes.mentality = 26;
attributes.dexterity = 34;
attributes.witness = 12;
attributes.physicalAttack = 4;
attributes.magicalAttack = 6;
attributes.physicalDefense = 80;
attributes.magicalDefense = 41;
attributes.attackSpeed = 300;
attributes.castSpeed = 333;
attributes.accuracy = 35;
attributes.criticalChance = 45;
attributes.evasionChance = 35;
attributes.moveSpeed = 122;
attributes.maxWeigth = 69000;
attributes.craft = false;
}
protected SpectraldancerTemplate(CharacterTemplateID id,
CharacterClass characterClass, Point spawnLocation) {
super(id, characterClass, spawnLocation);
}
@Override
public L2Character create() {
final L2Character character = super.create();
// TODO register skills
return character;
}
}