3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 17177|回复: 43
打印 上一主题 下一主题

[修改] 自用DLL,属性获得加成提高至十倍。

[复制链接]

42

主题

2571

帖子

4442

积分

游戏精英

Rank: 8Rank: 8

贡献度
338
金元
30803
积分
4442
精华
1
注册时间
2007-12-3
跳转到指定楼层
主题
发表于 2020-5-31 23:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 touch 于 2020-6-1 18:30 编辑

比如每点力量,原为获得1%伤害,现在为10%。

仅玩家有效。

覆盖至目录:BlackthornArena_Data\Managed
以1.01版本修改,可能只适用此版本。

链接:https://pan.baidu.com/s/1wW07yfAfzDeiyHHYOvjsqQ
提取码:ix0j

不准备入正了,正版用户可以参考自己修改。以下是位置与修改方式。

// HumaniodUnit
// Token: 0x060024EE RID: 9454 RVA: 0x00148F44 File Offset: 0x00147144
public override void UpdateAttribute()

修改前

this.maxhp = this.info.BShp + (float)(6 * this.endurance) + (float)(this.Data.level * 2) + this.HPMD;


修改后


if (this.Data.team == Faction.player)
   
{
        
this.maxhp = this.info.BShp + (float)(60 * this.endurance) + (float)(this.Data.level * 2) + this.HPMD;
   
}
   
else
   
{
        
this.maxhp = this.info.BShp + (float)(6 * this.endurance) + (float)(this.Data.level * 2) + this.HPMD;
   
}

如果想让装备属性十倍,可以修改this.HPMD这类字段,如this.HPMD*10

还可以修改各难度的相关项,比如把冠军难度Monster_BUFF_RATE = 0.3f; 修改为Monster_BUFF_RATE = -0.3f;非人型怪就会减30%血和伤害。

namespace BlackthornArena
{
   
// Token: 0x02000424 RID: 1060
   
public static class ArenaModeDifficulty
   
{
        
// Token: 0x060018BD RID: 6333 RVA: 0x000EFEE8 File Offset: 0x000EE0E8
        
public static void SetDifficulty(ArenaModeDifficulty.Level lv)


case ArenaModeDifficulty.Level.Champion:
               
ArenaModeDifficulty.GLAIDATOR_DIE_CHANCE = 25;
               
ArenaModeDifficulty.PLAYER_EXECUTE_CHANCE = 100;
               
ArenaModeDifficulty.INITIAL_WEALTH = 10000;
               
ArenaModeDifficulty.NPC_GLADIATOR_COMBAT_EXP = new RandomValueInt(400, 650);
               
ArenaModeDifficulty.NPC_GLADIATOR_TRAINING_EXP = 90;
               
ArenaModeDifficulty.NPC_GLADIATOR_BUFF_RATE = 0.2f;
               
ArenaModeDifficulty.Monster_BUFF_RATE = 0.3f;
               
ArenaModeDifficulty.GLAIDATOR_INJURY_CHANCE = 100;




评分

1

查看全部评分

回复

使用道具 举报

1

主题

1198

帖子

2815

积分

游戏达人

Rank: 7Rank: 7Rank: 7

贡献度
10
金元
27753
积分
2815
精华
0
注册时间
2008-11-23
舒服的沙发
发表于 2021-4-10 16:25 | 只看该作者
回复 支持 反对

使用道具 举报

1

主题

456

帖子

639

积分

超级玩家

Rank: 5Rank: 5

贡献度
0
金元
6386
积分
639
精华
0
注册时间
2012-3-7

G胖の微笑

QQ
硬硬的板凳
发表于 2021-8-16 15:46 | 只看该作者
太牛逼了 一句沒看懂
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2025-4-21 07:25 , Processed in 0.103483 second(s), 18 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表