穿透 加 穿透伤害比例 设定

This commit is contained in:
2025-07-03 10:39:50 +08:00
parent f72691cecb
commit 073a3bbd2f
3 changed files with 23 additions and 23 deletions

View File

@@ -109,13 +109,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "寒锋长剑(Lv1)",
type: EquipType.WEAPON,
quality: Quality.BLUE,
info: "攻击力增加70%穿透2个目标10%冰冻比率",
info: "攻击力增加70%穿透2个目标10%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 70, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 2, target: EquipAttrTarget.HERO }, // 穿刺2个目标
{ type: BuffAttr.FROST_RATIO, value: 10, target: EquipAttrTarget.HERO }, // 10%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 10, target: EquipAttrTarget.HERO }, // 10%穿刺伤害
],
},
2103: {
@@ -123,13 +123,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "虚空穿心剑(Lv1)",
type: EquipType.WEAPON,
quality: Quality.PURPLE,
info: "攻击力增加95%穿透3个目标20%冰冻比率",
info: "攻击力增加95%穿透3个目标20%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 95, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 3, target: EquipAttrTarget.HERO }, // 穿刺3个目标
{ type: BuffAttr.FROST_RATIO, value: 20, target: EquipAttrTarget.HERO }, // 20%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 20, target: EquipAttrTarget.HERO }, // 20%穿刺伤害
],
},
@@ -152,13 +152,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "寒锋长剑(Lv2)",
type: EquipType.WEAPON,
quality: Quality.BLUE,
info: "攻击力增加110%穿透2个目标15%冰冻比率",
info: "攻击力增加110%穿透2个目标15%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 110, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 2, target: EquipAttrTarget.HERO }, // 穿刺2个目标
{ type: BuffAttr.FROST_RATIO, value: 15, target: EquipAttrTarget.HERO }, // 15%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 15, target: EquipAttrTarget.HERO }, // 15%穿刺伤害
],
},
2203: {
@@ -166,13 +166,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "虚空穿心剑(Lv2)",
type: EquipType.WEAPON,
quality: Quality.PURPLE,
info: "攻击力增加140%穿透3个目标25%冰冻比率",
info: "攻击力增加140%穿透3个目标25%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 140, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 3, target: EquipAttrTarget.HERO }, // 穿刺3个目标
{ type: BuffAttr.FROST_RATIO, value: 25, target: EquipAttrTarget.HERO }, // 25%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 25, target: EquipAttrTarget.HERO }, // 25%穿刺伤害
],
},
@@ -195,13 +195,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "寒锋长剑(Lv3)",
type: EquipType.WEAPON,
quality: Quality.BLUE,
info: "攻击力增加150%穿透2个目标20%冰冻比率",
info: "攻击力增加150%穿透2个目标20%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 150, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 2, target: EquipAttrTarget.HERO }, // 穿刺2个目标
{ type: BuffAttr.FROST_RATIO, value: 20, target: EquipAttrTarget.HERO }, // 20%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 20, target: EquipAttrTarget.HERO }, // 20%穿刺伤害
],
},
2303: {
@@ -209,13 +209,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "虚空穿心剑(Lv3)",
type: EquipType.WEAPON,
quality: Quality.PURPLE,
info: "攻击力增加185%穿透3个目标30%冰冻比率",
info: "攻击力增加185%穿透3个目标30%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 185, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 3, target: EquipAttrTarget.HERO }, // 穿刺3个目标
{ type: BuffAttr.FROST_RATIO, value: 30, target: EquipAttrTarget.HERO }, // 30%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 30, target: EquipAttrTarget.HERO }, // 30%穿刺伤害
],
},
@@ -238,13 +238,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "寒锋长剑(Lv4)",
type: EquipType.WEAPON,
quality: Quality.BLUE,
info: "攻击力增加190%穿透2个目标25%冰冻比率",
info: "攻击力增加190%穿透2个目标25%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 190, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 2, target: EquipAttrTarget.HERO }, // 穿刺2个目标
{ type: BuffAttr.FROST_RATIO, value: 25, target: EquipAttrTarget.HERO }, // 25%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 25, target: EquipAttrTarget.HERO }, // 25%穿刺伤害
],
},
2403: {
@@ -252,13 +252,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "虚空穿心剑(Lv4)",
type: EquipType.WEAPON,
quality: Quality.PURPLE,
info: "攻击力增加240%穿透3个目标35%冰冻比率",
info: "攻击力增加240%穿透3个目标35%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 240, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 3, target: EquipAttrTarget.HERO }, // 穿刺3个目标
{ type: BuffAttr.FROST_RATIO, value: 35, target: EquipAttrTarget.HERO }, // 35%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 35, target: EquipAttrTarget.HERO }, // 35%穿刺伤害
],
},
@@ -281,13 +281,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "寒锋长剑(Lv5)",
type: EquipType.WEAPON,
quality: Quality.BLUE,
info: "攻击力增加230%穿透2个目标30%冰冻比率",
info: "攻击力增加230%穿透2个目标30%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 230, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 2, target: EquipAttrTarget.HERO }, // 穿刺2个目标
{ type: BuffAttr.FROST_RATIO, value: 30, target: EquipAttrTarget.HERO }, // 30%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 30, target: EquipAttrTarget.HERO }, // 30%穿刺伤害
],
},
2503: {
@@ -295,13 +295,13 @@ export const EquipInfo: { [key: number]: EquipData } = {
name: "虚空穿心剑(Lv5)",
type: EquipType.WEAPON,
quality: Quality.PURPLE,
info: "攻击力增加290%穿透3个目标40%冰冻比率",
info: "攻击力增加290%穿透3个目标40%穿刺伤害",
special_attr: [],
buff: [
{ type: BuffAttr.ATK, value: 290, target: EquipAttrTarget.HERO },
{ type: BuffAttr.ATK_CD, value: -20, target: EquipAttrTarget.HERO }, // CD修正-20%
{ type: BuffAttr.PUNCTURE, value: 3, target: EquipAttrTarget.HERO }, // 穿刺3个目标
{ type: BuffAttr.FROST_RATIO, value: 40, target: EquipAttrTarget.HERO }, // 40%冰冻比率
{ type: BuffAttr.PUNCTURE_DMG, value: 40, target: EquipAttrTarget.HERO }, // 40%穿刺伤害
],
},

View File

@@ -148,9 +148,9 @@ export class SkillCom extends CCComp {
single_damage(target:HeroViewComp){
this.hit_count++
console.log("[SkillCom]:onBeginContact hit_count:",this.hit_count,SkillSet[this.s_uuid].hit)
if(this.hit_count>=SkillSet[this.s_uuid].hit) this.is_destroy=true // 技能命中次数
if(this.hit_count>=(SkillSet[this.s_uuid].hit+this.puncture)) this.is_destroy=true // 技能命中次数
if(target == null) return;
if(this.hit_count > 0) this.ap=this.ap/2 // 穿刺后 伤害减半
if(this.hit_count > 0) this.ap=this.ap*(50+this.puncture_damage)/100 // 穿刺后 伤害减半
target.do_atked(this.ap,this.caster_crit,this.caster_crit_d) // ap 及暴击 属性已经在skill.ts 处理
if(SkillSet[this.s_uuid].debuff>0){
let deUP =this.get_debuff() // 因为不是每个技能都需要,debuff的增益在这里处理, ap 及暴击 属性已经在skill.ts 处理