1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-11 09:42:54 +00:00
Files
l2jserver2/data/script/template/script/template/actor/character/DreadnoughtTemplate.java
Rogiel 4c27add4ef Several changes
Signed-off-by: Rogiel <rogiel@rogiel.com>
2011-05-18 02:18:37 -03:00

75 lines
2.5 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 DreadnoughtTemplate extends WarlordTemplate {
@Inject
public DreadnoughtTemplate(CharacterTemplateIDFactory factory) {
super(factory.createID(CharacterClass.DREADNOUGHT.id),
CharacterClass.DREADNOUGHT,
// 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 DreadnoughtTemplate(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;
}
}