diff --git a/meng_yao/Assets/Config/MengYaoSkill.json b/meng_yao/Assets/Config/MengYaoSkill.json new file mode 100644 index 000000000..1bd798a15 --- /dev/null +++ b/meng_yao/Assets/Config/MengYaoSkill.json @@ -0,0 +1,86 @@ +[ + { + "temp_id": "M_H_001", + "monster_code": "火萌妖-01", + "skills": [ + { + "positioning": "长周期烧一条直线上", + "name": "火龙之舌", + "effects": { + "level_1": "射程提升2格位置", + "level_2": "伤害提升15%", + "level_3": "被火焰伤害的敌人有20%概率原地眩晕1秒,射程减少1格", + "level_4": "伤害提升35%", + "level_5": "喷火冷却时间减少50%,持续喷火时间减少50%" + } + }, + { + "positioning": "近身攻击多个敌人", + "name": "烈焰之舞", + "effects": { + "level_1": "喷出的火焰散开为3个,但每个火焰伤害减少50%", + "level_2": "伤害提升15%", + "level_3": "降低敌人20%移动速度,攻击CD增加5%", + "level_4": "伤害提升35%", + "level_5": "喷火冷却时间增加30%,持续喷火时间增加50%" + } + } + ] + }, + { + "temp_id": "M_S_001", + "monster_code": "水萌妖-01", + "skills": [ + { + "positioning": "快速射出子弹,增加对空伤害", + "name": "寒冰子弹", + "effects": { + "level_1": "攻击CD减少25%", + "level_2": "伤害提升15%", + "level_3": "增加子弹20%飞行速度,射程减少1格", + "level_4": "伤害提升35%", + "level_5": "对攻击减速的敌人造成额外30%伤害,攻击CD增加5%" + } + }, + { + "positioning": "增加对空debuff,对小型怪伤害加强", + "name": "冰霜风暴", + "effects": { + "level_1": "攻击CD减少25%", + "level_2": "伤害提升15%", + "level_3": "对小型敌人增加25%伤害,射程减少1格", + "level_4": "伤害提升35%", + "level_5": "每次攻击增加20%暴击率,攻击CD增加5%" + } + } + ] + }, + { + "temp_id": "M_M_001", + "monster_code": "木萌妖-01", + "skills": [ + { + "positioning": "子弹飞行速度射击高频", + "name": "高速射击", + "effects": { + "level_1": "子弹飞行速度增加30%", + "level_2": "伤害提升15%", + "level_3": "对小型敌人增加40%伤害,攻击CD增加5%", + "level_4": "伤害提升35%", + "level_5": "每次攻击增加20%暴击率,射程减少1格" + } + }, + { + "positioning": "精准子弹", + "name": "精制子弹", + "effects": { + "level_1": "攻击CD减少25%", + "level_2": "伤害提升15%", + "level_3": "对小型敌人增加25%伤害,射程减少1格", + "level_4": "伤害提升35%", + "level_5": "每次攻击增加20%暴击率,攻击CD增加5%" + } + } + ] + } +] \ No newline at end of file diff --git a/meng_yao/Assets/Config/MengYaoSkill.json.meta b/meng_yao/Assets/Config/MengYaoSkill.json.meta new file mode 100644 index 000000000..a647d9dd5 --- /dev/null +++ b/meng_yao/Assets/Config/MengYaoSkill.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0d35d55d2fc7c98458ca262430bf17ae +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs b/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs index 23777e59b..01c4aad33 100644 --- a/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs +++ b/meng_yao/Assets/script/A_Fight/SkillUp/SkillUp.cs @@ -11,8 +11,8 @@ public class SkillUp : JsonReadBase /// /// ʹü /// - /// /// + /// public virtual void UseSkill(int index, int level) { switch (index) @@ -57,6 +57,9 @@ public class SkillUp : JsonReadBase break; } break; + default: + Debug.LogWarning("û"); + break; } }