本模组为 Minecraft 添加了 RPG 机制。击杀生物会获得经验值,该经验值与用于附魔的原版经验值相互独立。积累足够的经验值后,你将获得更多生命值,并且每次攻击造成的伤害也会增加。本模组的大部分功能均可配置。
通过击杀生物获得的经验值按以下步骤计算:
- 根据生物的最大生命值(默认每半颗心 0.05)和攻击伤害(默认每半颗心 0.1)添加一个数值
- 将上述数值乘以基于护甲值的系数(默认每点护甲 0.1)
- 再将结果乘以基于游戏难度的系数(默认:和平 0.25、简单 0.75、普通 1.0、困难 1.25、硬核 1.5)
玩家默认基础生命值为 20,每升一级增加 2 点生命值,并额外获得相当于等级减一乘以 0.0075 的乘数加成。攻击伤害通过将基础伤害乘以以下公式计算得出:
atk * 0.1
其中 atk 由以下公式计算:
(1 + flat * (level - 1)) * (1 + (level - 1) * rate)
其中 flat 和 rate 为配置文件中设定的值。(默认 flat 为 1,rate 为 0.005)
随后,该数值再乘以基于配置文件中两个设定值的系数。(默认基础伤害为 0.75,波动系数为 0.5)
本模组还包含一个自定义覆盖层,可在配置中禁用:

(难度条并非本模组的一部分,它属于 Scaling Health)
经验值条位于屏幕顶部,可在配置中移动和调整大小。
本模组还提供了一条命令,用于查看覆盖层未显示的统计数据以及其他玩家的统计数据:
/pilotsrpg_stats [player]
或
/simplerpg_stats [player]
你可以启用基于伤害的经验模式。在此模式下,你不再因击杀生物而获得经验值,而是根据以下公式基于造成的伤害、生物生命值、生物护甲和生物攻击力来获取经验值:
(damage * Damage Value) * (1 + (XP Per Health * Mob Health * 0.1)) * (1 + (XP Per Attack * Mob Attack * 0.4)) * (1 + (XP Per Armor * Mob Armor * 0.2)) * Difficulty Modifier
其中 damage 为玩家造成的伤害,Damage Value 为配置文件中设定的值。(默认值为 0.13333333333333333)
2017年12月6日编辑:修正了默认值以匹配 2.x 版本,并更新了覆盖层的截图。
This mod add RPG mechanics to Minecraft. Killing mobs gives experience that is separate from the vanilla experience used to enchant. Gain enough experience and you earn more health and deal more damage per hit. Most of the mod is configurable.
Experience gained by killing a mob is calculated in the following steps:
- A value is added based on the max health (default 0.05 per half-heart) and attack damage (default 0.1 per half-heart) of the mob
- The above value is then multiplied by a value based on armor (default 0.1 per armor point)
- The value is then multiplied by a value based on difficulty (default: peaceful 0.25, easy 0.75, normal 1.0, hard 1.25, 1.5 hardcore)
The player has a default base health of 20 and gain 2 health every level plus a multiplier of 0.0075 per level. Attack damage is calculated by multiplying the base damage of the hit by the following formula:
atk * 0.1
where atk is calculated from this formula:
(1 + flat * (level - 1)) * (1 + (level - 1) * rate)
where flat and rate are values set in the config. (default 1 flat, 0.005 rate)
After that the value is then multiplied by a value based on two values set in the config. (default 0.75 base damage, 0.5 variation)
The mod also has a custom overlay that can be disabled in the config:

(The difficulty bar is not part of this mod, it is part of Scaling Health)
The XP bar is at the top of the screen, and can be moved around and resized in the config.
The mod also has a command to view the stats not shown on the overlay and view the stats of other players:
/pilotsrpg_stats [player]
OR
/simplerpg_stats [player]
You can enable damage based experience mode. Instead of gaining experience when you kill a mob, you gain it based on damage dealt, mob health, mob armor, and mob attack from the following formula:
(damage * Damage Value) * (1 + (XP Per Health * Mob Health * 0.1)) * (1 + (XP Per Attack * Mob Attack * 0.4)) * (1 + (XP Per Armor * Mob Armor * 0.2)) * Difficulty Modifier
where damage is the damage dealt by the player and Damage Value is a value set in the config. (default 0.13333333333333333)
Edit Dec 6, 2017: Corrected defaults to the ones in version 2.x and updated the screenshot of the overlay.
评论 0
登录后参与评分
还没有评论,来抢沙发吧