|
|
本帖最后由 lcsy 于 2020-2-1 20:27 编辑
改派-让神修降临,真仙历练,激活6张符咒,可控神民上限,神修心境突破天数(1楼),门派人数上限修改(1楼)
修改文件 "\AmazingCultivationSimulator\Amazing Cultivation Simulator_Data\Managed\Assembly-CSharp.dll"
修改工具 dnspy
1,神修降临
文本位置 Assembly-CSharp\Wnd_World.cs
所在行号 164
g_emGongStageLevel.God 圆满境
g_emGongStageLevel.God2 在世真仙
就是改==后的参数
意思是 npc功法状态是在世真仙且不是神修者---- 修改成 npc功法状态是在世真仙或圆满境(神修境界)
修改前
List<Npc> zhenxians = World.Instance.map.Things.GetActiveNpcs(g_emNpcRaceType.Wisdom, g_emFightCamp.Player, (Npc n) => n.PropertyMgr.Practice.GongStateLevel == g_emGongStageLevel.God2 && !n.IsGod);
修改后
List<Npc> zhenxians = World.Instance.map.Things.GetActiveNpcs(g_emNpcRaceType.Wisdom, g_emFightCamp.Player, (Npc n) => n.PropertyMgr.Practice.GongStateLevel == g_emGongStageLevel.God2 || n.PropertyMgr.Practice.GongStateLevel == g_emGongStageLevel.God);
-------------------------------------------------------------------------------------------------------------------------------------分割线----------------------------------------------------------------------------------------------------------------------------
2,真仙历练
文本位置:文本位置 Assembly-CSharp\Wnd_World.cs
文本行号: 1705-1728
说明:这个只针对提示瓶颈松动的提示,其实就是删除对应的代码
修改前
{
Npc npc = ThingMgr.Instance.FindThingByID(id) as Npc;
if ((npc.PropertyMgr.Practice.TouchNeck && npc.PropertyMgr.Practice.CurNeck != null && npc.PropertyMgr.Practice.CurNeck.NeckCountdown > 0f && !npc.HasSpecialFlag(g_emNpcSpecailFlag.FLAG_PRACTICEDIE)) || (npc.GongKind == g_emGongKind.God && (npc.PropertyMgr.Practice.GodPracticeData.FaithJieColdDown > 0f || npc.PropertyMgr.Practice.GodPracticeData.FeishengJieColdDown > 0f)))
{
Wnd_Message.Show(string.Format(TFMgr.Get("{0}的的瓶颈即将松动,暂时不宜外出历练。"), npc.GetName()), 1, null, true, Wnd_World.GoTexts[gotype], 0, 0, string.Empty);
}
else if (npc.HasSpecialFlag(g_emNpcSpecailFlag.FLAG_CANTEXPLORESTAY))
{
Wnd_Message.Show(string.Format(TFMgr.Get("{0}正在静修中,不能外出历练。"), npc.GetName()), 1, null, true, Wnd_World.GoTexts[gotype], 0, 0, string.Empty);
}
else if (!npc.IsRent)
{
if (gotype == 2)
{
gooutnpcs.Add(npc);
}
else
{
gooutnpcs.Add(npc);
}
}
}
修改后
{
Npc npc = ThingMgr.Instance.FindThingByID(id) as Npc;
if (npc.HasSpecialFlag(g_emNpcSpecailFlag.FLAG_CANTEXPLORESTAY))
{
Wnd_Message.Show(string.Format(TFMgr.Get("{0}正在静修中,不能外出历练。"), npc.GetName()), 1, null, true, Wnd_World.GoTexts[gotype], 0, 0, string.Empty);
}
else if (!npc.IsRent)
{
if (gotype == 2)
{
gooutnpcs.Add(npc);
}
else
{
gooutnpcs.Add(npc);
}
}
}-------------------------------------------------------------------------------------------------------------------------------------分割线----------------------------------------------------------------------------------------------------------------------------
3,同时激活6张符咒
文本位置:\Assembly-CSharp\XiaWorld\NpcEquipData.cs
文本行号: 504
修改前
if (this._FuThingActiveList.Count >= 3)
修改后
if (this._FuThingActiveList.Count >= 6)
-------------------------------------------------------------------------------------------------------------------------------------分割线----------------------------------------------------------------------------------------------------------------------------
4,可控神民上限
文本位置:Assembly-CSharp\XiaWorld\GameDefine.cs
文本行号: 4268-4348
修改前
{
g_emMindStateLevel.Lv0,
new GameDefine.MindStateLevel2Logic
{
Display = "动",
Color = "#B0ACA1",
SpeedDesc = "神修在心境为“动”时,心境会自然提高,情绪越好,提高速度越快。",
BrokenDesc = "欲动中求静,需在放纵之下保持心境为100,持续{0:N1}天。",
SafePopulation = 1000
}
},
{
g_emMindStateLevel.Lv1,
new GameDefine.MindStateLevel2Logic
{
Display = "静",
Color = "#FFFFFF",
SpeedDesc = "神修在心境为“静”时,心境会匀速自然提高,不收任何外部条件影响。",
BrokenDesc = "欲静中求寂,需在心斋之下保持心境200,且心绪低于50,持续{0:N1}天。角色悟性越高,需要持续的时间越长。",
SafePopulation = 20000
}
},
{
g_emMindStateLevel.Lv2,
new GameDefine.MindStateLevel2Logic
{
Display = "寂",
Color = "#33CC00",
SpeedDesc = "神修在心境为“寂”时,心境只有在心绪低于100时才会增加。心绪越低,增加速度越快。反之则会减少。",
BrokenDesc = "欲寂中求圣,必须达神国境后,在克己状态下保持心境300,神性大于20,持续{0:N1}天。角色悟性越高,需要持续的时间越长。",
SafePopulation = 100000,
Stage = g_emGongStageLevel.Dan2
}
},
{
g_emMindStateLevel.Lv3,
new GameDefine.MindStateLevel2Logic
{
Display = "圣",
Color = "#0099FF",
SpeedDesc = "神修在心境为“圣”时,心境只有在神性大于50的情况下才会增加,神性越高,增加速度越快。反之则会减少。",
BrokenDesc = "欲圣中求慧,必须保持心境400,持续{0:N1}天。角色悟性越高,需要持续的时间越短。",
SafePopulation = 200000
}
},
{
g_emMindStateLevel.Lv4,
new GameDefine.MindStateLevel2Logic
{
Display = "慧",
Color = "#F700FF",
SpeedDesc = "神修在心境为“慧”时,心境只有在悟性大于8的情况下才会增加,悟性越高,增加速度越快。反之则会减少。",
BrokenDesc = "欲慧中求空,必须达圆满境后,在心斋之下保持心境500,且心绪低于10,持续{0:N1}天。",
SafePopulation = 500000,
Stage = g_emGongStageLevel.God
}
},
{
g_emMindStateLevel.Lv5,
new GameDefine.MindStateLevel2Logic
{
Display = "空",
Color = "#FFA900",
SpeedDesc = "神修在心境为“空”时,心境只有在心绪低于50的情况下才会增加,心绪越低,增加速度越快。反之则会减少。",
BrokenDesc = "欲空中求灵,必须在纵欲状态下,保持心境600,且人性大于60,持续{0:N1}天。角色机缘越高,需要持续时间越短。",
SafePopulation = 1000000
}
},
{
g_emMindStateLevel.Lv6,
new GameDefine.MindStateLevel2Logic
{
Display = "灵",
Color = "#FF99FF",
SpeedDesc = "神修在心境为“灵”时,心境已然圆满,将持续上升,不收任何外部条件影响。",
BrokenDesc = "已然圆满,不可突破。",
SafePopulation = 2000000
}
}
};
修改后 {
g_emMindStateLevel.Lv0,
new GameDefine.MindStateLevel2Logic
{
Display = "动",
Color = "#B0ACA1",
SpeedDesc = "神修在心境为“动”时,心境会自然提高,情绪越好,提高速度越快。",
BrokenDesc = "欲动中求静,需在放纵之下保持心境为100,持续{0:N1}天。",
SafePopulation = 9999999
}
},
{
g_emMindStateLevel.Lv1,
new GameDefine.MindStateLevel2Logic
{
Display = "静",
Color = "#FFFFFF",
SpeedDesc = "神修在心境为“静”时,心境会匀速自然提高,不收任何外部条件影响。",
BrokenDesc = "欲静中求寂,需在心斋之下保持心境200,且心绪低于50,持续{0:N1}天。角色悟性越高,需要持续的时间越长。",
SafePopulation = 9999999
}
},
{
g_emMindStateLevel.Lv2,
new GameDefine.MindStateLevel2Logic
{
Display = "寂",
Color = "#33CC00",
SpeedDesc = "神修在心境为“寂”时,心境只有在心绪低于100时才会增加。心绪越低,增加速度越快。反之则会减少。",
BrokenDesc = "欲寂中求圣,必须达神国境后,在克己状态下保持心境300,神性大于20,持续{0:N1}天。角色悟性越高,需要持续的时间越长。",
SafePopulation = 9999999,
Stage = g_emGongStageLevel.Dan2
}
},
{
g_emMindStateLevel.Lv3,
new GameDefine.MindStateLevel2Logic
{
Display = "圣",
Color = "#0099FF",
SpeedDesc = "神修在心境为“圣”时,心境只有在神性大于50的情况下才会增加,神性越高,增加速度越快。反之则会减少。",
BrokenDesc = "欲圣中求慧,必须保持心境400,持续{0:N1}天。角色悟性越高,需要持续的时间越短。",
SafePopulation = 9999999
}
},
{
g_emMindStateLevel.Lv4,
new GameDefine.MindStateLevel2Logic
{
Display = "慧",
Color = "#F700FF",
SpeedDesc = "神修在心境为“慧”时,心境只有在悟性大于8的情况下才会增加,悟性越高,增加速度越快。反之则会减少。",
BrokenDesc = "欲慧中求空,必须达圆满境后,在心斋之下保持心境500,且心绪低于10,持续{0:N1}天。",
SafePopulation = 9999999,
Stage = g_emGongStageLevel.God
}
},
{
g_emMindStateLevel.Lv5,
new GameDefine.MindStateLevel2Logic
{
Display = "空",
Color = "#FFA900",
SpeedDesc = "神修在心境为“空”时,心境只有在心绪低于50的情况下才会增加,心绪越低,增加速度越快。反之则会减少。",
BrokenDesc = "欲空中求灵,必须在纵欲状态下,保持心境600,且人性大于60,持续{0:N1}天。角色机缘越高,需要持续时间越短。",
SafePopulation = 9999999
}
},
{
g_emMindStateLevel.Lv6,
new GameDefine.MindStateLevel2Logic
{
Display = "灵",
Color = "#FF99FF",
SpeedDesc = "神修在心境为“灵”时,心境已然圆满,将持续上升,不收任何外部条件影响。",
BrokenDesc = "已然圆满,不可突破。",
SafePopulation = 9999999
}
}
};
|
评分
-
1
查看全部评分
-
|