萌妖技能

This commit is contained in:
wulongxiao 2024-12-23 14:28:09 +08:00
parent 7b504541c4
commit 85c3d81518
3 changed files with 97 additions and 1 deletions

View File

@ -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%"
}
}
]
}
]

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0d35d55d2fc7c98458ca262430bf17ae
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -11,8 +11,8 @@ public class SkillUp : JsonReadBase
/// <summary> /// <summary>
/// 使用技能 /// 使用技能
/// </summary> /// </summary>
/// <param name="type"></param>
/// <param name="index"></param> /// <param name="index"></param>
/// <param name="level"></param>
public virtual void UseSkill(int index, int level) public virtual void UseSkill(int index, int level)
{ {
switch (index) switch (index)
@ -57,6 +57,9 @@ public class SkillUp : JsonReadBase
break; break;
} }
break; break;
default:
Debug.LogWarning("没有这个技能");
break;
} }
} }