游戏达人
  
- 贡献度
- 75
- 金元
- 19871
- 积分
- 2287
- 精华
- 0
- 注册时间
- 2017-7-24

|
本帖最后由 宇智波京 于 2024-11-21 00:46 编辑
具体参考touch大佬的帖子[修改] 自用DLL,属性获得加成提高至十倍
(更新)不是很强的属性加成,其他自行体验,
首先打开steam游戏根目录然后打开BlackthornArena Reforged_Data\Managed,打开Assembly-CSharp.dll,搜索类humaniodunit,然后Ctrl+f搜索public override void UpdateUnitAttribute然后具体看下面我改完的对照原文自己改吧
DialogueLua.SetVariable("Willpower", this.willpower);
}
上面是这个
if (this.Data.team == Faction.player)
{
this.MeleeDamageMD += (float)this.strength * 0.1f;
this.MagicDamageMD += (float)this.intelligence * 0.1f;
this.SummonDamageBonus += (float)this.intelligence * 0.2f;
this.SummonHealthBonus += (float)this.willpower * 0.3f;
this.critMultiple += (float)this.intelligence * 0.5f;
this.cooldownReduce += (float)this.intelligence * 0.5f;
this.AttackSpeedMD += (float)this.agility * 0.1f;
this.MovementSpeedMD += (float)this.agility * 0.05f;
this.AtcMD += (float)this.precision;
this.DodMD += (float)this.agility + 1f * (float)this.intelligence;
this.DefMD += (float)this.precision;
this.CriMD += (float)this.precision;
this.HPMD += (float)(this.Data.level * 50);
this.HPMD += (float)(50 * this.endurance);
this.SPMD += (float)(50 * this.endurance);
this.MPMD += (float)(50 * this.willpower);
this.HPRMD += 5f * (float)this.endurance;
this.SPRMD += 2f * (float)this.endurance + 2f * (float)this.willpower;
this.MPRMD += 2f * (float)this.willpower;
this.PDRMD += (float)this.strength;
this.MDRMD += (float)this.willpower;
this.totalWeight += (float)(this.strength * 20);
this.totalInventoryWeight += (float)(this.strength * 50);
this.initiative = 2 * this.agility + this.intelligence;
this.turnSpeed *= 1f + 0.01f * (float)this.agility;
}
else
{
this.MeleeDamageMD += (float)this.strength * 0.01f;
this.MagicDamageMD += (float)this.intelligence * 0.01f;
this.SummonDamageBonus += (float)this.intelligence * 0.02f;
this.SummonHealthBonus += (float)this.willpower * 0.03f;
this.critMultiple += (float)this.intelligence * 0.01f;
this.cooldownReduce += (float)this.intelligence * 0.01f;
this.AttackSpeedMD += (float)this.agility * 0.01f;
this.MovementSpeedMD += (float)this.agility * 0.005f;
this.AtcMD += (float)this.precision;
this.DodMD += (float)this.agility + 0.5f * (float)this.intelligence;
this.DefMD += (float)this.precision;
this.CriMD += (float)this.precision;
this.HPMD += (float)(this.Data.level * 5);
this.HPMD += (float)(5 * this.endurance);
this.SPMD += (float)(5 * this.endurance);
this.MPMD += (float)(5 * this.willpower);
this.HPRMD += 0.05f * (float)this.endurance;
this.SPRMD += 0.1f * (float)this.endurance + 0.2f * (float)this.willpower;
this.MPRMD += 0.2f * (float)this.willpower;
this.PDRMD += (float)this.strength;
this.MDRMD += (float)this.willpower;
this.totalWeight += (float)(this.strength * 2);
this.totalInventoryWeight += (float)(this.strength * 5);
this.initiative = 2 * this.agility + this.intelligence;
this.turnSpeed *= 1f + 0.01f * (float)this.agility;
}
下面是这个
if (this.buffmanger.ContainBuff("ScoutPostureBuff") && this.spellmanger.FindSpell("ScoutPosture") != null)
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
评分
-
1
查看全部评分
-
|