This commit is contained in:
wulongxiao 2024-12-24 17:58:06 +08:00
parent 20c42d81e1
commit 315cc2cbd6
4 changed files with 5 additions and 98 deletions

View File

@ -1,86 +0,0 @@
[
{
"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

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

View File

@ -4397,10 +4397,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ef2ffa387be5c84478c8cf2baec66c02, type: 3} m_Script: {fileID: 11500000, guid: ef2ffa387be5c84478c8cf2baec66c02, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Asset: {fileID: 4900000, guid: ccad03cd6f4f0ab44a344e0a34526ef7, type: 3} m_Asset: {fileID: 4900000, guid: 6a6cdf5342b444d4fbff4fccbb54f98a, type: 3}
NameAsset: {fileID: 4900000, guid: 52acabe0a2e08eb4ea9d762d220531e8, type: 3} NameAsset: {fileID: 4900000, guid: e414de6ecc2f57d4ba107a5433dd54f5, type: 3}
LevelAsset: {fileID: 4900000, guid: bb3d00dd8f76e124faa356d8394be29a, type: 3} LevelAsset: {fileID: 4900000, guid: 89bbacca41b409b4dbf238a43bbb2e4b, type: 3}
SkillAsset: {fileID: 4900000, guid: a8003fd7bb7ee3f4da293b457be01220, type: 3} SkillAsset: {fileID: 4900000, guid: 3d441bff04ee5a64ea8b8967bcfbc070, type: 3}
m_Level: [] m_Level: []
--- !u!1 &1342038372 --- !u!1 &1342038372
GameObject: GameObject:

View File

@ -83,7 +83,7 @@ public class Prompt_box_generation : MonoBehaviour
} }
else else
{ {
Debug.Log(hintRectTransform.rect.width); //Debug.Log(hintRectTransform.rect.width);
// 如果图标在左边,则将提示框放到图标的右侧 // 如果图标在左边,则将提示框放到图标的右侧
hintRectTransform.position = new Vector3((iconPosition.x+ iconRectTransform.rect.width / 2) + hintRectTransform.rect.width/2, iconPosition.y+ 120f- iconRectTransform.rect.height / 2, iconPosition.z); hintRectTransform.position = new Vector3((iconPosition.x+ iconRectTransform.rect.width / 2) + hintRectTransform.rect.width/2, iconPosition.y+ 120f- iconRectTransform.rect.height / 2, iconPosition.z);
} }