|
|
|
import { createExtraEntry, createBase, createSamples } from './base';
|
|
|
|
import { Entry, Quality, EquipBase, Equip, Categorys } from './bean';
|
|
|
|
import { qualitys, extra_entry_num } from './constant';
|
|
|
|
|
N多功能新增与调整
1.新增装备属性:伤害加成,伤害减免,暴击避免,爆伤减免,移动速度,转生属性副本行进速度更改为移动速度
2.新增装备类型:饰品,裤子,鞋子,护腕
3.新增装备品质:多彩,多彩品质装备拥有独特的主被动技能
4.新增部分多彩品质装备(暂无产出途径)
5.调整战斗逻辑,适配新增属性和技能
6.调整护甲减伤比例(调低)
7.调整格挡属性数值(调低)
8.调整暴击率和暴击伤害数值随装备等级线性增长(1级为原来一半,100级与原来相等)
9.调整转生点对移动速度的加成(调低)
10.新增装备图标资源
11.装备图鉴显示方式调整
3 weeks ago
|
|
|
const extraEntrys = ['atk', 'crit', 'critDmg', 'hp', 'def', 'atkPercent', 'defPercent', 'hpPercent', 'dmgPercent'];
|
|
|
|
const coefficient = { shabby: 0.7, ordinary: 1, artifact: 1.5, epic: 1.8, unique: 2, colorful: 2 };
|
|
|
|
|
|
|
|
class WeaponCategory extends Categorys {
|
|
|
|
type: string = 'weapon';
|
|
|
|
}
|
|
|
|
|
|
|
|
export const weaponColorfulCategorys: Categorys[] = [
|
|
|
|
new WeaponCategory(
|
|
|
|
'qiuai',
|
|
|
|
'weapon/求爱.png',
|
|
|
|
[
|
N多功能新增与调整
1.新增装备属性:伤害加成,伤害减免,暴击避免,爆伤减免,移动速度,转生属性副本行进速度更改为移动速度
2.新增装备类型:饰品,裤子,鞋子,护腕
3.新增装备品质:多彩,多彩品质装备拥有独特的主被动技能
4.新增部分多彩品质装备(暂无产出途径)
5.调整战斗逻辑,适配新增属性和技能
6.调整护甲减伤比例(调低)
7.调整格挡属性数值(调低)
8.调整暴击率和暴击伤害数值随装备等级线性增长(1级为原来一半,100级与原来相等)
9.调整转生点对移动速度的加成(调低)
10.新增装备图标资源
11.装备图鉴显示方式调整
3 weeks ago
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
],
|
|
|
|
'IceBlade,SeeRed'
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'qici',
|
|
|
|
'weapon/鳍刺.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 2 },
|
|
|
|
{ type: 'bloc', valCoefficient: 1.2 },
|
|
|
|
{ type: 'def', valCoefficient: 1.2 },
|
|
|
|
],
|
|
|
|
'QiCi'
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'kantou',
|
|
|
|
'weapon/砍头.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 1.6 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.5 },
|
|
|
|
],
|
|
|
|
'BaoNue'
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'shangxin',
|
|
|
|
'weapon/伤心刺.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.2 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.8 },
|
|
|
|
],
|
|
|
|
'ZhaXin'
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'aozhidu',
|
|
|
|
'weapon/鳌之毒.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 1.6 },
|
|
|
|
{ type: 'bloc', valCoefficient: 1.2 },
|
|
|
|
{ type: 'hp', valCoefficient: 1.6 },
|
|
|
|
],
|
|
|
|
'AoZhiDu'
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'shijiucha',
|
|
|
|
'weapon/十九叉.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 1.2 },
|
|
|
|
{ type: 'def', valCoefficient: 1.6 },
|
|
|
|
{ type: 'hp', valCoefficient: 1.6 },
|
|
|
|
],
|
|
|
|
'ShiJiuCha',
|
|
|
|
0.98
|
|
|
|
),
|
|
|
|
new WeaponCategory('datiecheng', 'weapon/大铁城.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 4.2 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 4.2 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory(
|
|
|
|
'qingguang',
|
|
|
|
'weapon/青光.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 1.5 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.5 },
|
|
|
|
],
|
|
|
|
'JianQiDongSiFang',
|
|
|
|
0.8
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'baoxue',
|
|
|
|
'weapon/暴雪.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
],
|
|
|
|
'BaoFengXue'
|
|
|
|
),
|
|
|
|
new WeaponCategory(
|
|
|
|
'shayi',
|
|
|
|
'weapon/杀意.png',
|
|
|
|
[
|
|
|
|
{ type: 'atk', valCoefficient: 2.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
],
|
|
|
|
'BoDongShaYi',
|
|
|
|
0.9
|
|
|
|
),
|
N多功能新增与调整
1.新增装备属性:伤害加成,伤害减免,暴击避免,爆伤减免,移动速度,转生属性副本行进速度更改为移动速度
2.新增装备类型:饰品,裤子,鞋子,护腕
3.新增装备品质:多彩,多彩品质装备拥有独特的主被动技能
4.新增部分多彩品质装备(暂无产出途径)
5.调整战斗逻辑,适配新增属性和技能
6.调整护甲减伤比例(调低)
7.调整格挡属性数值(调低)
8.调整暴击率和暴击伤害数值随装备等级线性增长(1级为原来一半,100级与原来相等)
9.调整转生点对移动速度的加成(调低)
10.新增装备图标资源
11.装备图鉴显示方式调整
3 weeks ago
|
|
|
];
|
|
|
|
|
|
|
|
export const weaponUniqueCategorys: WeaponCategory[] = [
|
|
|
|
new WeaponCategory('creation', 'U_Sword01.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('nameless', 'U_Sword02.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 2.7 },
|
|
|
|
{ type: 'crit', valCoefficient: 2.5 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('scarlet', 'U_Sword03.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('death', 'U_Sword04.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('frostDragon', 'U_Sword05.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.8 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.5 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('dragon', 'U_Sword06.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 2.8 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 2.2 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('adventurer', 'U_Sword07.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 2.4 },
|
|
|
|
{ type: 'hp', valCoefficient: 1.8 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('seraphim', 'U_Sword08.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 2.6 },
|
|
|
|
{ type: 'def', valCoefficient: 1.8 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('shuzhuwan', 'U_Sword09.png', [{ type: 'atk', valCoefficient: 3.9 }]),
|
|
|
|
new WeaponCategory('leibse', 'U_Sword10.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.9 },
|
|
|
|
{ type: 'def', valCoefficient: 1.2 },
|
|
|
|
{ type: 'bloc', valCoefficient: 0.4 },
|
|
|
|
]),
|
|
|
|
];
|
|
|
|
export const weaponCategorys: WeaponCategory[] = [
|
|
|
|
new WeaponCategory('hellrock', 'W_Sword016.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.2 },
|
|
|
|
{ type: 'crit', valCoefficient: 1.3 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('warrior', 'W_Sword007.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.2 },
|
|
|
|
{ type: 'def', valCoefficient: 0.5 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('redWillow', 'W_Sword019.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.3 },
|
|
|
|
{ type: 'hp', valCoefficient: 1.1 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('sword', 'W_Sword001.png', [{ type: 'atk', valCoefficient: 1.7 }]),
|
|
|
|
new WeaponCategory('waveBlade', 'W_Sword021.png', [{ type: 'atk', valCoefficient: 1.7 }]),
|
|
|
|
new WeaponCategory('furryPaw', 'W_Fist003.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 2 },
|
|
|
|
{ type: 'crit', valCoefficient: 0.7 },
|
|
|
|
]),
|
|
|
|
new WeaponCategory('iceCrystals', 'W_Sword018.png', [
|
|
|
|
{ type: 'atk', valCoefficient: 1.4 },
|
|
|
|
{ type: 'critDmg', valCoefficient: 1.3 },
|
|
|
|
]),
|
|
|
|
];
|
|
|
|
|
|
|
|
export const initialWeapon = () => {
|
|
|
|
const type = 'weapon';
|
|
|
|
const qualityBean = new Quality(qualitys[0], coefficient[qualitys[0]], '');
|
N多功能新增与调整
1.新增装备属性:伤害加成,伤害减免,暴击避免,爆伤减免,移动速度,转生属性副本行进速度更改为移动速度
2.新增装备类型:饰品,裤子,鞋子,护腕
3.新增装备品质:多彩,多彩品质装备拥有独特的主被动技能
4.新增部分多彩品质装备(暂无产出途径)
5.调整战斗逻辑,适配新增属性和技能
6.调整护甲减伤比例(调低)
7.调整格挡属性数值(调低)
8.调整暴击率和暴击伤害数值随装备等级线性增长(1级为原来一半,100级与原来相等)
9.调整转生点对移动速度的加成(调低)
10.新增装备图标资源
11.装备图鉴显示方式调整
3 weeks ago
|
|
|
const base = new EquipBase('zhanma', 'weapon/初拥.png', [new Entry('atk', 1, '+1', 1, 1)]);
|
|
|
|
const extraEntry = [new Entry('atk', 1, '+1', 1, 1)];
|
|
|
|
return new Equip(type, 1, qualityBean, base, extraEntry);
|
|
|
|
};
|
|
|
|
|
|
|
|
export const createweapon = (quality, lv, category, extraQuality) => {
|
|
|
|
const type = 'weapon';
|
|
|
|
const qualityBean = new Quality(quality, coefficient[quality], extraQuality);
|
|
|
|
const base = createBase(quality, lv, category, coefficient, extraQuality);
|
|
|
|
const extraEntry = new Array();
|
|
|
|
const extraEntryNum = extra_entry_num[quality];
|
|
|
|
for (let i = 0; i < extraEntryNum; i++) {
|
|
|
|
extraEntry.push(weaponExtraEntry(quality, lv, extraQuality));
|
|
|
|
}
|
|
|
|
return new Equip(type, lv, qualityBean, base, extraEntry);
|
|
|
|
};
|
|
|
|
|
|
|
|
export const weaponExtraEntry = (quality, lv, extraQuality) => {
|
|
|
|
return createExtraEntry(quality, lv, extraEntrys, coefficient, extraQuality);
|
|
|
|
};
|
|
|
|
|
|
|
|
export const weaponSamples = createSamples(weaponCategorys, weaponUniqueCategorys, weaponColorfulCategorys, 'weapon', coefficient);
|